LinuxQuestions.org
Help answer threads with 0 replies.
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 04-04-2006, 12:37 AM   #1
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Rep: Reputation: 30
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.
 
Old 04-04-2006, 02:00 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Try

rootCommand: feh --bg-center /home/hosler/wallpaper/3d_737.jpg

without session.screen0
 
Old 04-04-2006, 09:16 AM   #3
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
That didnt help. Is there some option I need to set to use rootCommands:
 
Old 04-04-2006, 01:01 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Not that I know of - I don't have feh but fbsetbg works fine for me from styles, command line, or ini's
 
Old 04-04-2006, 02:33 PM   #5
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
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.
 
Old 04-04-2006, 02:49 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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
 
Old 04-04-2006, 03:04 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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.
 
Old 04-04-2006, 03:28 PM   #8
hosler
Member
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 184

Original Poster
Rep: Reputation: 30
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.
 
  


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
Slackware 10 Mouse doesnt work Harlin Linux - Hardware 4 03-09-2005 02:49 AM
Transparencies doesnt work properly Slackware 10.1 + fluxbox Nah Slackware 5 03-06-2005 07:19 PM
Sound in Slackware 9.1 with ALSA doesnt work? Bauernkilla Slackware 5 09-20-2004 11:41 PM
switched to slackware now my cdrw doesnt work =( mnchur Linux - Hardware 4 06-22-2004 07:46 PM
BTaudio doesnt work slackware 9.1 bignester Linux - Hardware 0 01-13-2004 11:53 AM

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

All times are GMT -5. The time now is 05:15 PM.

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