On Fri, 2012-02-10 at 23:27 +0100, Will Stephenson wrote:
*) Leave session management enabled *) Autostart your application with a .desktop file in ~/.kde4/Autostart *) Exclude it from session management by adding the binary name to the "Applications to be excluded from sessions" list in the session management config dialog.
This is what we have done. I have added all the applications that start in Autostart. It is unclear how the names should be added. Full path? Or must it match the way the app is listed in, say, 'ps'.
Although Roger doesn't say so, I assume that this worked out of the box for him until 12.1. Without looking at the navit code, I am pretty sure the KDE session management code did not change, so maybe navit stopped skipping session management (the KDE equivalent is KApplication::disableSessionManagement()) in the 12.1 version. 'Session' in an English locale should return the 'Session management' config dialog in either Kickoff or KRunner.
A quirk that I cannot explain yet is that if you add the app's .desktop file (must be a desktop file, no symlink to the binary) in the legacy (pre-XDG) autostart folder ~/.kde4/share/autostart, it is automatically excluded from session management. I'll inquire why this is, but I wouldn't rely on this behaviour, it's probably an appendix from when KDE 2 walked the earth.
Ahh. That could be the thing. I do not have desktop files in the Autostart. I have executable shell scripts. They could be desktop files, I think. If this works, I can get back to the original behavior. OOC, in the desktop config, the Autostart items are listed. Even scripts. It would be nice to be able to disable/enable these items in the menu. This does not works for scripts. Would it work for desktop entry files? -- Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org