dont want "lxpanel" to start at bootup

Please post all general support questions for LXDE here.
Locked
divisionmd
Posts: 2
Joined: Fri Apr 24, 2009 9:57 am

dont want "lxpanel" to start at bootup

Post by divisionmd »

Hello all,

Testing out LXDE but have some questions - been trying to achive this:

1. dont want "lxpanel" to start at bootup

- cant seem to stop this from loading, if i type killall lxpanel it is removed. However it loads back after reboot.

Tested to add killall lxpanel to several places at bootup but none seem to work. Can i modify some LXDE config file to stop lxpanel from starting ?


2. dont want the option "logout" from the shutdown menu

- want to remove this option "logout" users should only be allowed to reboot/shutdown.

Thanks for all help,

Best regards,
Johan
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: dont want "lxpanel" to start at bootup

Post by Marty Jack »

/etc/xdg/lxsession/LXDE/autostart is the configuration file to edit to control what does and does not start at login.

Unfortunately for your needs, the presence of the Logout button is unconditional. You would have to make a code change to accomplish this.
divisionmd
Posts: 2
Joined: Fri Apr 24, 2009 9:57 am

Re: dont want "lxpanel" to start at bootup

Post by divisionmd »

Hello,

- Thanks for help Marty!

- Can you help me make that code change so "logout" option is removed?

Thanks alot,

Have a nice weekend!

Best regards,
Johan
archibald haddock
Posts: 148
Joined: Sun Jan 11, 2009 6:57 pm

Re: dont want "lxpanel" to start at bootup

Post by archibald haddock »

Maybe it is easier to write your own Shutdown/Reboot Button Programm in some language, than hacking lxde, compiling it...
Maybe just some bash + dialog
PCMan
Posts: 85
Joined: Mon Oct 06, 2008 9:52 am

Re: dont want "lxpanel" to start at bootup

Post by PCMan »

Edit ~/.config/lxpanel/LXDE/config and add LogoutCommand=<your_logout_program> and you're done.
No hacking of the source code is needed.
archibald haddock
Posts: 148
Joined: Sun Jan 11, 2009 6:57 pm

Re: dont want "lxpanel" to start at bootup

Post by archibald haddock »

Is there anywhere a documented set of config options like that?
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: dont want "lxpanel" to start at bootup

Post by maces »

archibald haddock wrote:Is there anywhere a documented set of config options like that?
I would like something like this, too. commented lines about this options in the config files would be just as well.

maces
Locked