![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
(Banned or Deleted)
Join Date: Jan 2012
Location: southern Adelaide 5163
Posts: 137
|
As title. I searched but found nothing. Thanks
|
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Jan 2005
Location: Melbourne
Posts: 328
|
Out of interest, what program are you trying to start?
__________________
NeOnServ 2.0: Ubuntu 12.04LTS | Q6600 | 8gb | G/A 8EP35-DS3P | AOC-USAS-L8i | 15x 2tb Samsung HD204UI (ZFS Raid-Z2) | CMStacker 810 |
|
|
|
|
|
#3 |
|
(Banned or Deleted)
Join Date: Jan 2012
Location: southern Adelaide 5163
Posts: 137
|
|
|
|
|
|
|
#4 |
|
Member
Join Date: Jan 2005
Location: Melbourne
Posts: 328
|
Why? If you're starting something that's a background service then it's different - but why would you want to start a text editor every time you load X? (Or any other productivity type GUI program..)
__________________
NeOnServ 2.0: Ubuntu 12.04LTS | Q6600 | 8gb | G/A 8EP35-DS3P | AOC-USAS-L8i | 15x 2tb Samsung HD204UI (ZFS Raid-Z2) | CMStacker 810 |
|
|
|
|
|
#5 | |
|
(Banned or Deleted)
Join Date: Jan 2012
Location: southern Adelaide 5163
Posts: 137
|
Quote:
and as for why, because I want to/for my own knowledge. |
|
|
|
|
|
|
#6 |
|
Member
Join Date: Mar 2003
Location: Armadale, Melbourne
Posts: 1,653
|
It depends, what display manager are you running?
Do you want it system wide or just per user. if you want to do it system wide there's a directory called /etc/X11/Xsession.d, if you place a symbolic link to the program you want to execute, it will do so once a user is logged in. If it's per user you want, the file ~/Xsession is what you're looking for. Here's an example ~/Xsession: Code:
#!/bin/sh xmms & xterm & |
|
|
|
|
|
#7 |
|
Member
Join Date: Jun 2001
Location: Brisbane
Posts: 19,937
|
What version of GNOME are you running?
__________________
Child's Play Charity |
|
|
|
|
|
#8 |
|
(Banned or Deleted)
Join Date: Jan 2012
Location: southern Adelaide 5163
Posts: 137
|
Gnome 2.32.x
I'll try the suggestion fenix |
|
|
|
|
|
#9 |
|
Member
Join Date: Nov 2007
Location: Goldcoast
Posts: 2,050
|
Under preferences check for sessions and you can add it in there
http://www.ghacks.net/2009/04/08/add...mes-autostart/ |
|
|
|
|
|
#10 | |
|
Member
Join Date: Jun 2001
Location: Brisbane
Posts: 19,937
|
Quote:
__________________
Child's Play Charity |
|
|
|
|
|
|
#11 |
|
(Banned or Deleted)
Join Date: Jan 2012
Location: southern Adelaide 5163
Posts: 137
|
thanks everyone. I tried the gnome2 autostart and works as intended.
|
|
|
|
|
|
#12 |
|
Member
Join Date: Oct 2009
Posts: 1,193
|
__________________
Microsoft gives you windows, linux gives you the whole house |
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|