From kde-devel Thu Jul 22 11:55:59 2010 From: Lubos Lunak Date: Thu, 22 Jul 2010 11:55:59 +0000 To: kde-devel Subject: Re: smserverconfigimpl: friendly application selector Message-Id: <201007221355.59101.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kde-devel&m=127979982604082 On Monday 12 of July 2010, Henk te Sligte wrote: > Hi all, > > I have a few applications that I don't want to start up when SMServer > restores my session. So I went to the dialog where I can add > applications I don't want to start up. But I found the text box there > not quite clear. I have to manually add the applications, but I didn't > know the executable name. Therefore, I needed to open the Menu Editor > to figure out what the executable was. In my opinion, that can be a > lot easier. So I started looking around how to create a nice overview > of the current applications, so I could create a review request, and > maybe even contribute to KDE. However, I can't figure out how to > create such an overview. You can't easily. The items entered in the lineedit are not executable names but internal identifiers applications pass to the session manager when communicating with it. In practice those are mostly executables from */bin but in general it can be a small wrapper somewhere in a private directory or similar. The only reasonable implementation for improving this would be adding a D-Bus call to ksmserver that would provide information about all applications that are currently connected to the session manager, the configuration dialog would present these and fill in the identifier automatically. Section 11 of http://www.x.org/releases/X11R7.5/doc/libSM/xsmp.pdf has a list of information ksmserver can get from applications and it is not much. -- Lubos Lunak openSUSE Boosters team, KDE developer l.lunak@suse.cz , l.lunak@kde.org >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<