No logout button

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
addr
Posts: 3
Joined: Sat Mar 07, 2009 5:06 pm

No logout button

Post by addr »

I have LXDE in Arch and Debian testing. In Arch I have no logout button available for the panel but in Debian I do.
Can someone tell me how to make one?
Everything else is fine.
phillipe
Posts: 41
Joined: Mon Apr 27, 2009 4:12 pm

Re: No logout button

Post by phillipe »

Go to your lxpanel configuration localized on $HOME/.config/lxpanel/LXDE/panels/panel

After section Global you'll see the first section Plugin, like this:

Code: Select all

Plugin {
    type = menu
    Config {
        image=/usr/share/lxde/images/lxde-icon.png
        system {
        }
        separator {
        }
        item {
            command=run
        }
        separator {
        }
        item {
            image=gnome-logout
            command=logout
        }
    }
}
The final item refers to the logout option.

You can also add a personalized command, just modify with this code:

Code: Select all

item {
            image=gnome-logout
            name=Logout
            action=lxde-logout
        }
==> Phillipe Smith ( SmithuX ) <==
Email: phillipe@archlinux.com.br
WebSite: http://www.smithux.com
aus9
Posts: 35
Joined: Tue Jun 02, 2009 8:42 am
Location: Australia

Re: No logout button

Post by aus9 »

hi

another way is to create a desktop entry...mine is called logout.desktop...placed under folder Desktop

-----contents--
[Desktop Entry]
Encoding=UTF-8
Name=Shutdown
Comment=Shutdown or Reboot
Icon=stock_exit
Exec=lxsession-logout
NoDisplay=true
Locked