LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-22-2009, 12:47 PM   #1
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,338

Rep: Reputation: 154Reputation: 154
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.
 
Old 12-22-2009, 02:16 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
http://wiki.lxde.org/en/LXSession
 
Old 12-22-2009, 02:34 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
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
 
Old 12-22-2009, 06:00 PM   #4
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,338

Original Poster
Rep: Reputation: 154Reputation: 154
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.

Last edited by mark_alfred; 12-22-2009 at 06:02 PM.
 
Old 03-03-2010, 01:32 PM   #5
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,338

Original Poster
Rep: Reputation: 154Reputation: 154
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 12beta LXDE blank screen on startup Live CD Timmi Fedora - Installation 0 11-06-2009 05:06 PM
[SOLVED] LXDE - Auto start two programs kushalkoolwal Linux - Software 6 08-12-2009 03:52 PM
Managing startup programs; removing YOU icon from startup General SUSE / openSUSE 2 06-14-2007 08:48 PM
Control Start Up Programs GNewbie MEPIS 4 02-19-2006 10:31 PM
How do you control who run a particular program at startup? Akhran Linux - Newbie 1 02-07-2006 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration