LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2015, 03:39 PM   #1
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Remove shutdown, reboot, etc options from LXDE logout menu


Hi,
I'm trying to figure out a way to remove the options to shutdown, reboot, hibernate, and suspend from the LXDE logout menu. I haven't had much luck searching; everything I've found is about how to add the buttons if they aren't there to begin with. Many of those links suggested adding the user to the "power" group. My thought was to remove users from the power group, but on my Debian 8 system there isn't a power group. None of the users have sudo rights.

I'm not trying to keep anybody from shutting down via the terminal, I just want to remove the icon.

Does anyone have any thoughts?
 
Old 07-09-2015, 10:20 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,562

Rep: Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536
What happens then I pull the power plug?

I looked into that on a similar wm. Seems to me it was rather complex. Not a simple edit. I'd have had to rebuild the wm from sources and edit out those.

A possible solution may be to rename the commands. I get the feeling that commands actually are being called from the wm.

Maybe someone else knows a for sure way to edit them out easily.

Not sure this is any help at all. http://wiki.lxde.org/en/Main_Menu
 
Old 07-10-2015, 11:19 AM   #3
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Original Poster
Rep: Reputation: 265Reputation: 265Reputation: 265
Thanks for the reply!

The LXDE wiki didn't have anything about changing anything for lxde-logout. After looking around a bit I found this link that shows how to modify what happens when you hit the "Logout" button. I tried "pkill lxsession" and it seems to work fine so far.
 
Old 07-10-2015, 04:10 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,562

Rep: Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536Reputation: 3536
Thanks for the update. Looks like it is easier to configure than I counted on.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXDE can't shutdown or reboot qrange Debian 5 12-01-2013 01:29 AM
Cannot shutdown, reboot and logout on slackware 13.37 from kde menu unknown96 Slackware 10 02-09-2013 07:31 AM
Logout and Cancel are only options in KDE Menu jvk Fedora 3 12-17-2008 10:39 PM
Reboot,shutdown,logout issues in 10.1 Volt Slackware - Installation 3 08-13-2005 12:34 AM
no reboot options after first logout in mandrake 9.1 hobylinux Linux - Software 1 08-17-2003 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:07 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