Find the answer to your Linux question:
Results 1 to 4 of 4
How would I go about getting a program to start when x-windows starts. I am using Gnome, if that matters. I'd prefer to know which file to edit (or where ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Aug 2005
    Location
    Sterling, VA
    Posts
    100

    Starting A Program When X-Windows Starts


    How would I go about getting a program to start when x-windows starts. I am using Gnome, if that matters. I'd prefer to know which file to edit (or where to place a symbolic link, if that is how it is done), but if there is a utility to do it that would do as well I suppose.

    Thanks in advance,
    - EndianX -

  2. #2
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    I found this:

    http://k12linux.mesd.k12.or.us/docs/gnome/ch11s16.html

    Check the "Configuring Startup Applications" section.

  3. #3
    Just Joined! Varean's Avatar
    Join Date
    Sep 2005
    Location
    California, USA
    Posts
    69
    Try adding in the program exe into the ~/.xinitrc, but make sure your WM/DE is the last entry.

    An example of KDE and torsmo:

    Code:
    torsmo 
    startkde

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    One solution is what Varean suggested, that should work for all wm's if you type "startx" in commandline, however I think it reads .xsession or something instead if you use a graphical dm. Something gnome-spesific is to add it from Application Line on panel --> System --> User Options or something like that --> Sessions, in the tab "Startup Programs", or simply start the apps, select log out and save session.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •