Registered Member
|
I want to start another terminal and set an environment variable for it. The help for konsole documents passing "properties" but this doesn't seem to work:
FOO doesn't appear in the output. So how do these properties work? Using KDE 4.4.5 (Kubuntu 10.04) |
Administrator
|
Properties belong to Konsole Profiles. Fortunately, this feature is possible. Try:
If you need to supply more than one variable, do it as follows:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Excellent... works as advertised. Thanks a lot.
|
Moderator
|
If the topic is solved please use the green hook to mark it as solved. Thanks.
|
Registered Member
|
Caught a couple of small flies in the ointment... so for the benefit of future readers: 1) if the command (-e) isn't in the default path the started shell won't find it, so you have to give it full path (`which foo`), or you may have to use another profile with a more complete path. 2) I can't find the proper syntax to pass several environment variables as indicated, the comma doesn't seem to act as a separator, even escaped. |
Administrator
|
According to the storage of environment variables in the configuration file, a comma is the correct seperator...
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Experimentation with
shows otherwise (shortened...):
also tried:
|
Administrator
|
I would suggest filing a feature request or bug report at bugs.kde.org regarding this.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell