LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2004, 04:03 PM   #1
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
How do I start programs on x startup? xscreensaver & gkrellm


I've been trying to get this to work but somehow what people (and the docs ) say doesn't work. I want to run xscreensaver and gkrellm when my x starts. I don't use a graphical login manager and start with "startx /usr/bin/fluxbox" (where's the file in which I can change the default to fluxbox?). Now if I understand correctly the ~/.xinitrc is the first file run when I start x. That file runs the ~/.xsession file which I have to edit.

Now for xscreensaver I was told to put "xscreensaver &" at the end of the ~/.xsession file. And for gkrellm do I just have to put "gkrellm" at the end of this file as well?

Thanks for the helP!
 
Old 10-08-2004, 04:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
personally i'd say add them to the start of .xinitrc, that's what i do. just make sure you have an & on the end of all commands before the final call for the flux itself.
 
Old 10-08-2004, 04:09 PM   #3
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
Yeah, you can just put "/usr/bin/gkrellm &" at the end of the file also.
 
Old 10-08-2004, 04:15 PM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Thank you very much! that worked like a charm.

Now if I could get that xscreensaver popup away edit: fount it -no-splash

Last edited by darkleaf; 10-08-2004 at 04:18 PM.
 
  


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
Start programs at startup and get rid of current saved session Shwiing Linux - Software 2 08-04-2005 01:14 AM
Running Xscreensaver at Startup burningsun1981 DamnSmallLinux 1 07-04-2005 01:04 AM
Start Linux Programs Upon Booting - ie Windows' Startup? nathanield Linux - Newbie 4 12-18-2004 12:56 PM
XScreenSaver in startup hunterfighter Slackware 13 11-04-2004 05:07 AM
.xinitrc programs start twice on startup fasmaie Linux - Newbie 0 09-09-2003 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration