LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   control lxde startup programs (https://www.linuxquestions.org/questions/linux-desktop-74/control-lxde-startup-programs-777494/)

mark_alfred 12-22-2009 12:47 PM

control lxde startup programs
 
Hello. How can I control which programs are started up with lxde? With fluxbox, there's a /home/mark/.fluxbox/startup file, but there isn't a similar file with lxde. I checked the $HOME/.config/openbox file, but I didn't find anything there. So, does anyone know how a user can control which programs are started up with lxde? I use Debian Lenny.

pljvaldez 12-22-2009 02:16 PM

http://wiki.lxde.org/en/LXSession

craigevil 12-22-2009 02:34 PM

lxsession-edit - configure what application start up automaticlly in LXDE

Use lxsession-edit or you can put the .desktop of whatever app you want to autostart in /home/username/.config/autostart

mark_alfred 12-22-2009 06:00 PM

Code:

mark@debian:~$ lxsession-edit
bash: lxsession-edit: command not found
mark@debian:~$ lxsession -edit
Usage: lxsession [-display display] [-session session_name] [-exit]
mark@debian:~$

I had previously tried inserting a desktop file into the autostart directory, but it did not work. However, when I checked out lxsession link that pljvaldez gave, it stated that some desktop files (gnome in particular) do not work. So, I tried a different non-gnome one, which did work. According to the site, the gnome ones will work if they are edited. What is done if there is no desktop file for an application that one wishes to have started? Do I have to create a desktop file first?*

____
* If so, that's kinda irritating. I much prefer the fluxbox approach to this.

mark_alfred 03-03-2010 01:32 PM

I did manage to get lxsession-edit to work, but it's kind of limited. So, I guess that putting desktop files in the ~/.config/autostart directory is the way to go (and creating the desktop files manually, if need be). As I said previously, I much prefer the fluxbox approach to this.


All times are GMT -5. The time now is 12:14 PM.