Page 1 of 1

dont want "lxpanel" to start at bootup

Posted: Fri Apr 24, 2009 10:00 am
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

Re: dont want "lxpanel" to start at bootup

Posted: Fri Apr 24, 2009 11:25 am
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.

Re: dont want "lxpanel" to start at bootup

Posted: Fri Apr 24, 2009 2:28 pm
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

Re: dont want "lxpanel" to start at bootup

Posted: Mon Apr 27, 2009 8:50 pm
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

Re: dont want "lxpanel" to start at bootup

Posted: Wed Apr 29, 2009 4:10 pm
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.

Re: dont want "lxpanel" to start at bootup

Posted: Fri May 01, 2009 9:19 pm
by archibald haddock
Is there anywhere a documented set of config options like that?

Re: dont want "lxpanel" to start at bootup

Posted: Sat May 02, 2009 12:14 pm
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