LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 01-03-2005, 10:18 AM   #1
laiboonh
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, 10:33 AM   #2
rbochan
Member
 
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:

#begin
exec bbkeys -i &
exec blackbox &
exec xfe
#EOF

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 10:34 AM.
 
Old 01-03-2005, 09:59 PM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

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

--Ian
 
  


Reply


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-09-2005 11:17 PM
How do I start programs automatically with boot up? Kasperisa Linux - Newbie 6 07-15-2004 03:29 PM
Programs Automatically Start When I log In To KDE deft Linux - Software 4 04-06-2004 07:54 PM
xfce4 won't run programs InsaneLampshade Linux - Newbie 0 02-17-2004 07:01 PM
How to start programs automatically at boot? onchiman Linux - Hardware 2 03-18-2003 10:19 AM


All times are GMT -5. The time now is 06:41 PM.

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