Summary: | Cannot execute program xdiskusage by clicking its icon from konqueror | ||
---|---|---|---|
Product: | unknown | Reporter: | Vlad C. <vladc6> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | l.lunak |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Vlad C.
2004-10-22 17:25:34 UTC
Please report applications problems to developers of the application. You can find out why the app can't run from konqueror by looking at your ~/.xsession-errors Unfortunately, there's nothing in ~/.xsession-errors about xdiskusage. I even tried 'tail -f ~/.xsession-errors' while reproducing the error and ~/.xsession-errors did not change. I've talked to the author of Xdiskusage and he said that Xdiskusage thinks it is being piped du output through a tty, not stdin. Since Konqueror only provides stdin, the current version of Xdiskusage will not run in Konqueror. One way to get around this issue would be to add an “Open in Terminal” option when a user right-clicks on a file that meets the following criteria: 1) has an executable metadata (i.e. it shows up as a gear icon) and 2) has file permissions that would allow the user to actually execute it. I realize that adding a new option to the right-click menu will make it more crowded, but as long as the option only appears when the above criteria is met, I think it is worth to include it. It wouldn't be advisable to attach a tty console to everything by default because some programs might want to know whether or not they're running in a GUI. It would, however, make sense to give the user a choice as to whether they want to run the program from a terminal (just like the “Run Command” in K menu gives users that choice). Running xdiskusage in a terminal already works as expected. Withdrawing the bug report. |