SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Simple question really (i would think at least), im trying to set a background in fluxbox wich works fine but when i restart X i have to set it again, is there a file that i have to set "bsetbg -f ~/filename.jpg " in so it loads when X starts?
you have ~/.xsession or ~/.xinitrc, BUT as you're basically changing what flux looks like... just go and change your theme. edit ~/.fluxbox/themes/current (somethign like that....) and replace the rootcommand with what you want.
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# bsetbg -f ~/pictures/wallpaper.png <------ Jus An Xample
Put it would be like that.
If you dont already have one, make one.
Jus another way to do it!!!!
Here's ma whole starup script
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# bsetbg -f ~/pictures/wallpaper.png
#
# This sets a black background
# /usr/X11R6/bin/bsetroot -solid black
# This shows the fluxbox-splash-screen
fbsetbg -C /usr/local/share/fluxbox/splash.jpg
# Other examples. Check man xset for details.
#
# Turn off beeps:
# xset -b
#
# Increase the keyboard repeat-rate:
# xset r rate 195 35
#
# Your own fonts-dir:
# xset +fp /home/navaboy/.font
#
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
#
# Change your keymap:
# xmodmap ~/.Xmodmap
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
idesk &
# wmdrawer &
# wmxmms &
# wmcpuload &
# wmclockmon &
# wmix &
# wmmemfree &
# xcompmgr -c &
gkrellm -w &
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec /usr/X11R6/bin/fluxbox
# or if you want to keep a log:
exec /usr/X11R6/bin/fluxbox -log ~/.fluxbox/log
Originally posted by acid_kewpie you have ~/.xsession or ~/.xinitrc, BUT as you're basically changing what flux looks like... just go and change your theme. edit ~/.fluxbox/themes/current (somethign like that....) and replace the rootcommand with what you want.
i dunno if i did that wrong or what but i found where everything is etc, how u mentioned it
and added the line to the theme im currently using:
Originally posted by jimdaworm Just a quick tip I just made my background back.jpg and then when ever I want to change it I just rm back.jpg and cp newpic.jpg back.jpg
That way you can change the background a in only a few seconds
If you're using 9.10 or newer, fluxbox has added a [wallpapers] menu item similar to the [stylesdir] menu item.
Assuming you have all your wallpapers in one directory, you can add
Obviously, if you have background directories scattered all over the place (like I do), just add a [wallpapers] item for each directory.
It's really nice for changing backgrounds on the fly. But if you want it to start up with a particular background, you will have to add it to the theme or to your fluxbox startup file as mentioned earlier.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.