Summary: | ability to run command with environment settings on-fly | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Maciej Pilichowski <bluedzins> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | alexander.lohnau, aseigo, frank.vandamme |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Maciej Pilichowski
2009-01-09 11:38:42 UTC
Indeed, krunner tries to be too intelligent! :-) I have the same issue pe with a command like DISPLAY=:0 wmaker (useful for Xephyr/Xnest) Suggestion: if the first word is not a command, run it anyway, but return an error (dialog box) if the program dies in the first 1 or 2 seconds with a non-0 exit status. [14:10] frank@limoen:~$ DISPLAY=:0 xterm ; echo $? 0 [14:10] frank@limoen:~$ DISPLAY=:0 xtderm ; echo $? No command 'xtderm' found, did you mean: Command 'xterm' from package 'xterm' (main) xtderm: command not found 127 "if the first word is not a command, run it anyway" that would be broken in 99% of queries, so that isn't an option. i'll have to do some testing, not even sure this will work properly without running it through a terminal, but will try to come up with a fix for 4.5 *** This bug has been marked as a duplicate of bug 409107 *** |