dont want "lxpanel" to start at bootup

Please post all general support questions for LXDE here.

dont want "lxpanel" to start at bootup

Postby divisionmd » Fri Apr 24, 2009 11:00 am

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
divisionmd
 
Posts: 2
Joined: Fri Apr 24, 2009 10:57 am

Re: dont want "lxpanel" to start at bootup

Postby Marty Jack » Fri Apr 24, 2009 12:25 pm

/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.
Marty Jack
 
Posts: 381
Joined: Mon Mar 23, 2009 6:14 am

Re: dont want "lxpanel" to start at bootup

Postby divisionmd » Fri Apr 24, 2009 3:28 pm

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
divisionmd
 
Posts: 2
Joined: Fri Apr 24, 2009 10:57 am

Re: dont want "lxpanel" to start at bootup

Postby archibald haddock » Mon Apr 27, 2009 9:50 pm

Maybe it is easier to write your own Shutdown/Reboot Button Programm in some language, than hacking lxde, compiling it...
Maybe just some bash + [url="http://www.linuxjournal.com/article/2807"]dialog[/url]
archibald haddock
 
Posts: 148
Joined: Sun Jan 11, 2009 7:57 pm

Re: dont want "lxpanel" to start at bootup

Postby PCMan » Wed Apr 29, 2009 5:10 pm

Edit ~/.config/lxpanel/LXDE/config and add LogoutCommand=<your_logout_program> and you're done.
No hacking of the source code is needed.
PCMan
 
Posts: 85
Joined: Mon Oct 06, 2008 10:52 am

Re: dont want "lxpanel" to start at bootup

Postby archibald haddock » Fri May 01, 2009 10:19 pm

Is there anywhere a documented set of config options like that?
archibald haddock
 
Posts: 148
Joined: Sun Jan 11, 2009 7:57 pm

Re: dont want "lxpanel" to start at bootup

Postby maces » Sat May 02, 2009 1:14 pm

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
maces
 
Posts: 503
Joined: Sat Oct 25, 2008 7:04 pm


Return to General Help

Who is online

Users browsing this forum: Google [Bot] and 1 guest