I'm trying to move to a more minimalistic Gnome desktop setup, and I would like to be able to add the ability to Logout of my session from the Context Menu (right-click).
I am a user of the nautilus-open-terminal extension package that allows me to open a terminal window from the Context Menu. That is the kind of thing I'm trying to mimic, only it would be a logout option using the following command:
Code:
gnome-session-save --kill
I've been trying to get nautilus-actions to do this, but so far, the best I've managed is to right-click on a file to get the logoff option to show up. I'd be perfectly happy with restricting the logoff option to showing up only when the Desktop is in focus if necessary.
I've spent hours searching the Interwebs for any clues and so far, I've gotten nothing.
Anyone have any insight on this?
Thanx!