Is this to replace the original context menu of the desktop or an addition to the context menu?
If it is a replacement: is it possible to add the leave entry?
Is it possible to add "Switch user"?
Hi, very happy about every comment on "my baby" ;)
First, it is an addition in the sense that you - and every other user - will be able to keep the old context menu. More on http://www.staerk.de/thorsten/kde-contextmenu.
Second, it is a replacement in the sense that your context menu will not contain the entries from the original context menu any more. It will look as in the screenshot.
to implement the logout functionality, Chani implemented a function logout() which checks for priviledges and does
KWorkSpace::requestShutDown()
then. This function is used as a slot and triggered 10 seconds after the call of the function startLogOut(). startLogOut is connect()ed to logOutAction which is inserted into the menu. Should be doable in an hour.
Ratings & Comments
5 Comments
Is this to replace the original context menu of the desktop or an addition to the context menu? If it is a replacement: is it possible to add the leave entry? Is it possible to add "Switch user"?
Hi, very happy about every comment on "my baby" ;) First, it is an addition in the sense that you - and every other user - will be able to keep the old context menu. More on http://www.staerk.de/thorsten/kde-contextmenu. Second, it is a replacement in the sense that your context menu will not contain the entries from the original context menu any more. It will look as in the screenshot.
and yes, I am working on adding configurability. You should be able soon to add "lock screen", "leave" and maybe "switch user".
to implement the logout functionality, Chani implemented a function logout() which checks for priviledges and does KWorkSpace::requestShutDown() then. This function is used as a slot and triggered 10 seconds after the call of the function startLogOut(). startLogOut is connect()ed to logOutAction which is inserted into the menu. Should be doable in an hour.
did it, please use the latest version from github