Page 1 of 1

No logout button

Posted: Wed Nov 04, 2009 2:46 am
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.

Re: No logout button

Posted: Wed Nov 04, 2009 1:07 pm
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
        }

Re: No logout button

Posted: Thu Jan 07, 2010 12:50 pm
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