Summary: | khotkeys doesn't honour ENV variables in wrapper scripts | ||
---|---|---|---|
Product: | [Plasma] khotkeys | Reporter: | sphakka <marcoep> |
Component: | general | Assignee: | Michael Jansen <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | cfeck |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
sphakka
2012-04-30 13:56:59 UTC
Could you try "konsole --nofork", or a program which does not use KUniqueApplication? Tried, no luck. With '--nofork', khotkeys seems to refuse to run the command -- nothing happens. > #!/bin/sh
> export FOO='bar'
> konsole
bashism.
I assume the krun shell interpreter is used by khotkeys where this won't work.
=> Can you try whether assigning "env FOO=bar konsole" works for you?
No problem here. I will claim that this depends on what /bin/sh (which indeed is used for interpretation) actually is. Eg. bash/dash/whatnotsh show different behavior depending on the interactive mode or what $TERM is when invoked. => To be sure, operate on the "env" wrapper, otherwise check the setup of your shell interpreter (you may ask for help, if required) |