View previous topic :: View next topic |
Author |
Message |
KristyX Apprentice
Joined: 18 Dec 2003 Posts: 206 Location: Malaysia
|
Posted: Sun May 16, 2004 7:05 pm Post subject: [SOLVED] XFCE -:- Getting Programs To Auto-Start? |
|
|
Hi!
I've got a couple of things like gaim etc that I would like to start-up
automatically as soon as I log into XFCE.
Someone told me to place all the commands I want in the ~/.xsessions
file but that didn't work..
Anyone have any suggestions?
Thanks,
Kristy _________________ Knowledge is a process of piling up facts; wisdom lies in their simplification. [Martin Fischer]
Last edited by KristyX on Mon May 17, 2004 4:12 am; edited 1 time in total |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Sun May 16, 2004 7:35 pm Post subject: |
|
|
How do you start XFCE4? With startx or xdm/gdm/kdm...? If you use startx just stop them in the .xinitrc file, For example:
gkrellm2 & |
|
Back to top |
|
|
KristyX Apprentice
Joined: 18 Dec 2003 Posts: 206 Location: Malaysia
|
Posted: Mon May 17, 2004 12:51 am Post subject: |
|
|
Thanks for the reply :)
Actually, I'm using GDM (I was using Gnome 2.6 and decided to try something lighter).
How should I go about it?
~Kristy _________________ Knowledge is a process of piling up facts; wisdom lies in their simplification. [Martin Fischer] |
|
Back to top |
|
|
soda_popstar Apprentice
Joined: 03 May 2003 Posts: 177
|
Posted: Mon May 17, 2004 1:07 am Post subject: |
|
|
Make a small script in $HOME/Desktop/Autostart.
I have a script called xfce4startup which has:
Code: | #!/bin/bash
acme &
gdesklets & |
Then do a chmod +x to it and it should be good. |
|
Back to top |
|
|
KristyX Apprentice
Joined: 18 Dec 2003 Posts: 206 Location: Malaysia
|
Posted: Mon May 17, 2004 1:37 am Post subject: |
|
|
Hi!
Thanks for the tip :)
Just a couple of things..
1) I don't have a Desktop/AutoStart directory under my home.. only a Desktop directory which I believe refers to my Gnome desktop and not XFCE because placing anything under it only appears in Gnome
2) I'm assuming that this script doesn't run automatically but rather is a convenient way of starting everything you want when you first log into XFCE by manually opening it?
Thanks,
Kristy _________________ Knowledge is a process of piling up facts; wisdom lies in their simplification. [Martin Fischer] |
|
Back to top |
|
|
Silhouette n00b
Joined: 23 Aug 2002 Posts: 46
|
Posted: Mon May 17, 2004 3:35 am Post subject: |
|
|
for some reason, xfce looks into the gnome destkop directory for autostarting programs. just put a script into the ~/Desktop/Autostart/ directory and xfce will automatically run all scripts in that directory when it starts. if the directory doesn't exist, create it. |
|
Back to top |
|
|
KristyX Apprentice
Joined: 18 Dec 2003 Posts: 206 Location: Malaysia
|
Posted: Mon May 17, 2004 4:12 am Post subject: |
|
|
Thanks guys! It worked
For those who are in a similar situation, this is what I did:
1) Create the folder "Autostart" inside my "Desktop" folder under my home
directory.
2) Create a script inside the "Autostart" folder called "autorun" (apparently
the file name of the script doesn't make any difference). The script
contains:
Code: |
numlockx &
magicdev &
xbindkeys &
gdesklets &
gaim &
|
And it's permission is 755. That's it.
Thanks for the help people
~Kristy _________________ Knowledge is a process of piling up facts; wisdom lies in their simplification. [Martin Fischer] |
|
Back to top |
|
|
|