SOLVED - Logout Button On lxpanel
-
- Posts: 25
- Joined: Thu Nov 13, 2008 9:14 am
SOLVED - Logout Button On lxpanel
Is it possible to place a logout button on the panel? Is so, please could you let me know how to do this?
Last edited by mashcaster on Thu Nov 27, 2008 10:42 am, edited 2 times in total.
Re: Logout Button On lxpanel
1.Add another application launcher to the panel.
2.Add a app button pointing to your logout command, such as lxde-logout. (needs a *.desktop file)
2.Add a app button pointing to your logout command, such as lxde-logout. (needs a *.desktop file)
-
- Posts: 25
- Joined: Thu Nov 13, 2008 9:14 am
Re: Logout Button On lxpanel
How do I give lxde-logout a *.desktop file?
-
- Posts: 116
- Joined: Tue Nov 11, 2008 4:51 pm
Re: Logout Button On lxpanel
You create the file /usr/share/applications/logout.desktopmashcaster wrote:How do I give lxde-logout a *.desktop file?
Here's mine:
Code: Select all
[Desktop Entry]
Name=Logout
Comment=Get me out of here
Exec=/usr/bin/lxsession-logout
Icon=/usr/share/icons/Human/48x48/apps/gnome-session-logout.png
Terminal=false
Type=Application
Categories=System;
StartupNotify=false
NoDisplay=false
Geology - It's not rocket science, it's rock science!
-
- Posts: 25
- Joined: Thu Nov 13, 2008 9:14 am
Re: Logout Button On lxpanel
Thanks that works!
Re: SOLVED - Logout Button On lxpanel
Alternatively
[Desktop Entry]
Encoding=UTF-8
Name=Log Out
Comment=Shutdown, reboot or change session
Icon=stock_exit
Exec=lxsession-logout
Terminal=false
Type=Application
Re: SOLVED - Logout Button On lxpanel
I've been putting .desktop files for panel launchers in my own ~/.local/share/applications folder instead of /usr/share/applications . You don't have to use root powers, and it seems to work OK as long as you browse to that folder when making the panel button.
Re: SOLVED - Logout Button On lxpanel
Thanks a lot this worked me too. Panel needed a little tweaks to get it the way i wanted.
By the way, i used this cause the path to the icon didnt work for me.
Icon=gnome-logout
Using Linux Mint LXDE 11 rc.
By the way, i used this cause the path to the icon didnt work for me.
Icon=gnome-logout
Using Linux Mint LXDE 11 rc.