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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-04-2006, 12:37 AM
|
#1
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Rep:
|
Slackware rootCommand: doesnt work
I am trying to set my background in fluxbox with the rootCommand: option. I have session.screen0.rootCommand: feh --bg-center /home/hosler/wallpaper/3d_737.jpg
in my .fluxbix/init file, but everytime I start fluxbox no background will show up. I have allready try fbsetbg command, but that doesnt work either from the init file. I have tested feh on the command line and it works. I am using the latest development release of fluxbox on Ubuntu Breezy.
|
|
|
04-04-2006, 02:00 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Try
rootCommand: feh --bg-center /home/hosler/wallpaper/3d_737.jpg
without session.screen0
|
|
|
04-04-2006, 09:16 AM
|
#3
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Original Poster
Rep:
|
That didnt help. Is there some option I need to set to use rootCommands:
|
|
|
04-04-2006, 01:01 PM
|
#4
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Not that I know of - I don't have feh but fbsetbg works fine for me from styles, command line, or ini's
|
|
|
04-04-2006, 02:33 PM
|
#5
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Original Poster
Rep:
|
Well right now I have my background being set in the .xinitrc file, but I run into problems when I do this. When I type 'startx' for the first time after booting up my computer, my background gets loaded before fluxbox loads up so I get this annoying error that sits on top of my desktop saying that no background has been set. Can anyone recommend a quick fix or something? I cant use the .fluxbox/startup file because for some reason that doesnt work either.
|
|
|
04-04-2006, 02:49 PM
|
#6
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Sounds like a problem I had once. Check that your xinitrc uses the line
exec /usr/X11R6/bin/startfluxbox
and not /../../fluxbox
If flux starts up from fluxbox commands then some startup files do not get executed - ie startup and init
I forget which file I fixed this in but it was a kdm config file that broke it, maybe also gdm has same problem
|
|
|
04-04-2006, 03:04 PM
|
#7
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
If you are using kdm to login, check /opt/kde/share/apps/kdm/sessions/fluxbox.desktop (location may differ)
Check that exec and Tryexec lines are:
Exec=startfluxbox
TryExec=startfluxbox
Last edited by dive; 04-04-2006 at 03:06 PM.
|
|
|
04-04-2006, 03:28 PM
|
#8
|
Member
Registered: Mar 2005
Distribution: Gentoo
Posts: 184
Original Poster
Rep:
|
I dont use kdm, gmd, or xdm. I just type startx on command line. startfluxbox made the startup file work, but I still get that annoying message about the background. Even when I load the background from the startup file. I tried using the init and theme file again, but those still don't work.  This is weird.
Last edited by hosler; 04-04-2006 at 03:34 PM.
|
|
|
All times are GMT -5. The time now is 03:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|