Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Automatically start an application on gnome

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-12-2009
Member
 
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.
Reply With Quote
  #2  
Old 25-12-2009
Member
 
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.
Reply With Quote
  #3  
Old 25-12-2009
Member
 
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.
Reply With Quote
  #4  
Old 25-12-2009
Member
 
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
Quote:
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.
Reply With Quote
  #5  
Old 25-12-2009
Member
 
Join Date: May 2008
Posts: 4,339
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.
Reply With Quote
  #6  
Old 25-12-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Automatically start an application on gnome"
Thread Thread Starter Forum Replies Last Post
At every start up, Spybot S&D will start scanning automatically Nasir h Networking & Security 5 18-07-2012 12:47 PM
What should I prefer Gnome 2 or Gnome 3 in Linux Mint? Sanaka Operating Systems 10 13-11-2011 12:02 AM
Duke Nukem forever the application was unable to start correctly(0xc0150002).click ok to close application Daksha90 Video Games 3 22-06-2011 11:38 AM
How to Start and Stop Gnome GUI Services Lilija Operating Systems 4 12-11-2010 07:30 AM
Adding application to Gnome menu cyber-noob Windows Software 3 26-11-2009 11:44 AM


All times are GMT +5.5. The time now is 07:56 PM.