Results 1 to 6 of 6

Thread: Automatically start an application on gnome

  1. #1
    Join Date
    Nov 2009
    Posts
    359

    Automatically start an application on gnome

    Hello,
    I have an application that I'd like to start automatically when you start gnome.
    Constraint is that I have no possibility to be root on the machine! I saw in system / preferences / sessions that they could launch applications demarage gnome without being root! So I suppose a file contains text files to start at boot! Thanks in advance.
    Last edited by NetworkeR; 25-12-2009 at 11:28 AM.

  2. #2
    Join Date
    Apr 2008
    Posts
    2,139

    Re: Automatically start an application on gnome

    Hello,
    If you do not close before you close your session and if you check previous session recovers your program will be launched when you start the session. There is no risk because all processes are killed when they are closed.
    If you look in following directory, you can understand it
    Code:
    etc / gdm directory you PreSession
    Hope this will help you. Any more queries then do post back.

  3. #3
    Join Date
    Nov 2009
    Posts
    359

    Re: Automatically start an application on gnome

    Hi
    I want that the other user does not notice that the application is launched!
    Code:
    etc / gdm
    I think by doing this the other users can view the application.
    Code:
    I have no possibility to be root on the machine
    I think it will have some problems! Any more ideas or suggestions. Thanks in advance.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,139

    Re: Automatically start an application on gnome

    Hi
    Ok, please follow this procedure.
    Go to the system as follows
    System> Preferences> Sessions
    In the Program tab at startup
    add the command "xxxx" program name
    If you are under kde there is a folder .kde / Autostart and just put a link to the executable file.

  5. #5
    Join Date
    May 2008
    Posts
    4,345

    Re: Automatically start an application on gnome

    Hi
    I think there is another solution. Where to start Gnome, you use the startx command is that you must have a. Xinitrc with as content:
    Code:
    exec gnome-session
    If you want to run another program such as xscreensaver, you add the line:
    Code:
    xscreensaver-no-splash &
    Ultimately, the. xinitrc look like:
    Code:
    exec gnome-session
    xscreensaver-no-splash &
    Hoping to have answered your question.

  6. #6
    Join Date
    Nov 2009
    Posts
    359

    Re: Automatically start an application on gnome

    Hi,
    Yes, your solution is functional! It is true that I did not think about it. But I think I want something that do not have so many options. I have no hands on the client machine, I can not know how to start Gnome. The current solution is not satisfactory in my opinion "System> Preferences> Sessions" with a little tutorial that appears when the app is installed. Any other alternative to this.

Similar Threads

  1. At every start up, Spybot S&D will start scanning automatically
    By Nasir h in forum Networking & Security
    Replies: 5
    Last Post: 18-07-2012, 11:47 AM
  2. What should I prefer Gnome 2 or Gnome 3 in Linux Mint?
    By Sanaka in forum Operating Systems
    Replies: 10
    Last Post: 13-11-2011, 12:02 AM
  3. Replies: 3
    Last Post: 22-06-2011, 10:38 AM
  4. How to Start and Stop Gnome GUI Services
    By Lilija in forum Operating Systems
    Replies: 4
    Last Post: 12-11-2010, 07:30 AM
  5. Adding application to Gnome menu
    By cyber-noob in forum Windows Software
    Replies: 3
    Last Post: 26-11-2009, 11:44 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,625,310.73337 seconds with 17 queries