Summary: | Konsole sessions die immediately when binaries not present, diagnostic missing | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Peter Rockai <me> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | sheeettin, stevan_white |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Peter Rockai
2006-01-17 16:39:01 UTC
In KDE 3.5.x, if the Exec= command is not valid, the session is removed from the menu. A warning is displayed if you run konsole from another terminal. Here, my system doesn't have mc installed: konsole: WARNING: Unable to use /opt/KDEDIRS/branches/3.5/share/apps/konsole/mc.desktop konsole: WARNING: Unable to use /opt/KDEDIRS/branches/3.5/share/apps/konsole/sumc.desktop If you remove mc and try using the mc session in an already open Konsole, perhaps a popup message? This would have to wait for KDE4 anyway. Ah, thanks, i managed to not notice it. I would say this is more than sufficient, so unless you specifically want to implement the popup message and have this bug remind you about it, feel free to close the report, i have no more wishes in this respect than what you describe. Thanks again. *** Bug 146506 has been marked as a duplicate of this bug. *** *** Bug 146786 has been marked as a duplicate of this bug. *** Update - Konsole still gives the same pty error regardless of what causes the session to fail to start. Better diagnostics are needed. KDE 4.0. All of the default profiles (mc,root,python etc.) found in earlier Konsoles have been removed so people will hopefully not be tripped up so easily by this. However the basic problem about a lack of diagnostic messages is still present. SVN commit 787709 by knight: Display a warning message in the terminal in red if starting the session fails because the binary does not exist or if the shell crashes or exits with a non-zero status code. In these cases, also prevent the tab from being closed automatically. If the binary for the session cannot be found, display a warning and try to fall back to $SHELL or as a last attempt, /bin/sh. This should mean that users should always be given a semi-functional basic environment if their profiles get messed up, the shell program gets uninstalled etc. BUG: 120322 M +70 -22 Session.cpp M +7 -0 Session.h WebSVN link: http://websvn.kde.org/?view=rev&revision=787709 |