View previous topic :: View next topic |
Author |
Message |
statmobile Apprentice
Joined: 16 Jul 2004 Posts: 286 Location: Chapel Hill, NC
|
Posted: Sat Apr 16, 2005 7:41 pm Post subject: xfce4 start adesklets automatically |
|
|
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 |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Sat Apr 16, 2005 7:59 pm Post subject: |
|
|
Usually it's your ~/.xinitrc...
taurus |
|
Back to top |
|
|
statmobile Apprentice
Joined: 16 Jul 2004 Posts: 286 Location: Chapel Hill, NC
|
Posted: Sat Apr 16, 2005 8:03 pm Post subject: |
|
|
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 |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Sat Apr 16, 2005 8:46 pm Post subject: |
|
|
Maybe you need to add & at the end of adesklets taurus |
|
Back to top |
|
|
mouacha n00b
Joined: 20 Sep 2004 Posts: 24
|
Posted: Sat Apr 16, 2005 9:14 pm Post subject: How I got adesklets to run on xfce4 startup |
|
|
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 |
|
|
statmobile Apprentice
Joined: 16 Jul 2004 Posts: 286 Location: Chapel Hill, NC
|
Posted: Sun Apr 17, 2005 12:54 am Post subject: |
|
|
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 |
|
|
|