Shutdown only in panel
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Shutdown only in panel
I tried the steps provided here [url]http://forums.linuxmint.com/viewtopic.php?f=175&t=56101[/url] but when I clicked the shutdown icon nothing happens. please help.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Shutdown only in panel
additional info. i want to only have shutdown option when i clicked the power off button. so no more prompt whether to reboot,shutdown, log off, etc.
Re: Shutdown only in panel
[url]http://lxlinux.com/#13[/url]
Last edited by seppalta on Tue Aug 13, 2013 3:19 pm, edited 1 time in total.
Re: Shutdown only in panel
this is the content of lxde-logout.desktop
lxde-session-shutdown.sh
I rebooted my system and when I click the power off icon, nothing happens.
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Type=Application
name=Shutdown
Comment=Shutdown
Icon=stock_exit
Exec=/usr/bin/lxde-session-shutdown.sh
NoDisplay=false
Code: Select all
#! /bin/sh
sudo /sbin/shutdown -h now $*
Re: Shutdown only in panel
I edited ~/.config/lxpanel/LXDE/config as well
according to a guide i saw.. but it's still not working
Code: Select all
[Command]
FileManager=pcmanfm %s
Terminal=x-terminal-emulator
Logout=/usr/bin/lxde-session-shutdown.sh
Re: Shutdown only in panel
does it matter that i enabled autlogin? because i just noticed for below code it has sudo included.
lxde-session-shutdown.sh
lxde-session-shutdown.sh
Code: Select all
#! /bin/sh
sudo /sbin/shutdown -h now $*
Re: Shutdown only in panel
okay managed for it work i edited the following.
where password is the admin password.
Code: Select all
#! /bin/sh
echo <password> | sudo -S /sbin/shutdown -h now $*