Author Topic: Konsole as Terminal  (Read 7407 times)

Offline koso

  • Multiple posting newcomer
  • *
  • Posts: 58
Konsole as Terminal
« on: September 26, 2009, 11:18:47 am »
Hello,

I am using konsole as terminal. Problem is that compiled programs ignores "Execution working directory" setting and uses my home directory. It is ignored even if I set it to absolute path.
Default xterm works as expected.

Any idea, how to solve this problem?


My C:B settings:
shell: /bin/sh -c
terminal command: konsole -e
system: 32bit Kubuntu, KDE4.3.1, latest Jens debian C::B build.

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Konsole as Terminal
« Reply #1 on: September 26, 2009, 02:47:20 pm »
Here is the answer.

In short, you have to use the --workdir option.

What I don't know is if there is a variable that can be used to get the Execution Working Directory.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Konsole as Terminal
« Reply #2 on: September 26, 2009, 03:42:28 pm »
It's $WORKDIR,
whole command:

Code
konsole --workdir $WORKDIR --title $TITLE -e

Don't use -T for the title.