LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Slackware rootCommand: doesnt work (https://www.linuxquestions.org/questions/linux-software-2/slackware-rootcommand-doesnt-work-431544/)

hosler 04-04-2006 12:37 AM

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.

dive 04-04-2006 02:00 AM

Try

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

without session.screen0

hosler 04-04-2006 09:16 AM

That didnt help. Is there some option I need to set to use rootCommands:

dive 04-04-2006 01:01 PM

Not that I know of - I don't have feh but fbsetbg works fine for me from styles, command line, or ini's

hosler 04-04-2006 02:33 PM

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.

dive 04-04-2006 02:49 PM

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

dive 04-04-2006 03:04 PM

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

hosler 04-04-2006 03:28 PM

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.


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