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.
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.
Re: Automatically start an application on gnome
Hi
I want that the other user does not notice that the application is launched!
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.
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.
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:
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.
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.