Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-03-2005, 11:18 AM   #1
LQ Newbie
Registered: Jan 2004
Posts: 20

Rep: Reputation: 0
Start programs automatically for xfce4

I am currently using using xfce4 on gentoo linux and i hope to get some programs started every time i start xfce4. How can i do this? I think there should be some startup script somewhere for me to write whatever commands i want to get started but don't know which. Can someone help me out? Appreciate it.
Old 01-03-2005, 11:33 AM   #2
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
There should be a .xinitrc file in your home directory. If not, you can create one. In it, you can put the path to the xfce executable(s) - I think there's more than one for the main xfce wm and taskbar etc., as well as any other stuff you might want to fire up automatically. I don't use xfce myself, but I've used blackbox in the past with a similar thing in mind. My .xinitrc went something along these lines:

exec bbkeys -i &
exec blackbox &
exec xfe

Where bbkeys is a keymapper that I had some custom things set for (the -i switch was to iconify aka minimize it at start), blackbox is the window manager, and xfe is the file manager I used, which I wanted to start up automatically.

Last edited by rbochan; 01-03-2005 at 11:34 AM.
Old 01-03-2005, 10:59 PM   #3
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You can create symbolic links or a shell script in ~/Desktop/Autostart. Anything in this directory will be run each time you start xfce.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatically launching programs during start up nanjil Linux - Newbie 2 08-10-2005 12:17 AM
How do I start programs automatically with boot up? Kasperisa Linux - Newbie 6 07-15-2004 04:29 PM
Programs Automatically Start When I log In To KDE deft Linux - Software 4 04-06-2004 08:54 PM
xfce4 won't run programs InsaneLampshade Linux - Newbie 0 02-17-2004 08:01 PM
How to start programs automatically at boot? onchiman Linux - Hardware 2 03-18-2003 11:19 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration