LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-22-2008, 04:50 PM   #1
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
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!
 
Old 10-23-2008, 10:40 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
Use the nautilus-scripts extension.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add konsole context menu option kahn Linux - Software 1 12-01-2007 09:08 AM
gnome-desktop: add to right-click context menu? jhwilliams Linux - Software 1 07-28-2007 06:13 AM
how do i add context menu item in gnome/nautilus. keratos Ubuntu 7 06-03-2007 10:48 AM
GNOME Context Menu Disappearing in XGL mdiotto SUSE / openSUSE 4 06-29-2006 10:21 AM
openSuSE 10.0 + Gnome 2.12 desktop... NO TERMINAL ON THE CONTEXT MENU! hamstar Linux - Software 1 12-08-2005 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration