Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] XFCE -:- Getting Programs To Auto-Start?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
KristyX
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 206
Location: Malaysia

PostPosted: Sun May 16, 2004 7:05 pm    Post subject: [SOLVED] XFCE -:- Getting Programs To Auto-Start? Reply with quote

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
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Sun May 16, 2004 7:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
KristyX
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 206
Location: Malaysia

PostPosted: Mon May 17, 2004 12:51 am    Post subject: Reply with quote

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
View user's profile Send private message
soda_popstar
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 177

PostPosted: Mon May 17, 2004 1:07 am    Post subject: Reply with quote

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
View user's profile Send private message
KristyX
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 206
Location: Malaysia

PostPosted: Mon May 17, 2004 1:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Silhouette
n00b
n00b


Joined: 23 Aug 2002
Posts: 46

PostPosted: Mon May 17, 2004 3:35 am    Post subject: Reply with quote

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
View user's profile Send private message
KristyX
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 206
Location: Malaysia

PostPosted: Mon May 17, 2004 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum