Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfce4 start adesklets automatically
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
statmobile
Apprentice
Apprentice


Joined: 16 Jul 2004
Posts: 286
Location: Chapel Hill, NC

PostPosted: Sat Apr 16, 2005 7:41 pm    Post subject: xfce4 start adesklets automatically Reply with quote

It seems that the session manager does not remember some programs such as adesklets. Is there some file I can use to execute some commands automatically?
_________________
Comp Specs:
Asus A7V(rev1.02)|AMDXP2100+@1.7GHz|Creative SB128PCI|32MB NVIDIA/TNT2AGP|512MBPC-133
Back to top
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Sat Apr 16, 2005 7:59 pm    Post subject: Reply with quote

Usually it's your ~/.xinitrc...

taurus
Back to top
View user's profile Send private message
statmobile
Apprentice
Apprentice


Joined: 16 Jul 2004
Posts: 286
Location: Chapel Hill, NC

PostPosted: Sat Apr 16, 2005 8:03 pm    Post subject: Reply with quote

My .xinitrc
Code:

exec startxfce4
exec adesklets

But it doesn't work :(
_________________
Comp Specs:
Asus A7V(rev1.02)|AMDXP2100+@1.7GHz|Creative SB128PCI|32MB NVIDIA/TNT2AGP|512MBPC-133
Back to top
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Sat Apr 16, 2005 8:46 pm    Post subject: Reply with quote

Maybe you need to add & at the end of adesklets
Code:
adesklets &
taurus
Back to top
View user's profile Send private message
mouacha
n00b
n00b


Joined: 20 Sep 2004
Posts: 24

PostPosted: Sat Apr 16, 2005 9:14 pm    Post subject: How I got adesklets to run on xfce4 startup Reply with quote

I had the same problem too, until I dug through some XFCE4 documentation.

On startup, xfce4 executes any scripts inside ${HOME}/Desktop/Autostart. So I wrote a simple script called init.sh and put this script in the afforementioned folder. (Just remember to make it "executable".) This worked for me.

Contents of init.sh:
Code:

#!/bin/sh

adesklets

#other commands I may want to run
#...

Back to top
View user's profile Send private message
statmobile
Apprentice
Apprentice


Joined: 16 Jul 2004
Posts: 286
Location: Chapel Hill, NC

PostPosted: Sun Apr 17, 2005 12:54 am    Post subject: Reply with quote

thanks mouacha, that did the trick. Now I have my nice little desklet running at startup in xfce.
_________________
Comp Specs:
Asus A7V(rev1.02)|AMDXP2100+@1.7GHz|Creative SB128PCI|32MB NVIDIA/TNT2AGP|512MBPC-133
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