LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Add Logout to Gnome/Nautilus Context Menu (https://www.linuxquestions.org/questions/linux-desktop-74/add-logout-to-gnome-nautilus-context-menu-678403/)

Linville79 10-22-2008 04:50 PM

Add Logout to Gnome/Nautilus Context Menu
 
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!

theYinYeti 10-23-2008 10:40 AM

Use the nautilus-scripts extension.


All times are GMT -5. The time now is 09:20 AM.