Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 04-10-2011, 01:34 AM   #1
LQ Newbie
Registered: Apr 2011
Location: Canada
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
need better fluxbox tool for changing desktop picture

Hello Forum,

I am trying to changing the desktop image in the fluxbox environment. But every time I use "fbsetbg -f /path to image" and restart it doesnt change the image. I did load on image but I had to force restart because that "fbsetbg command will sometimes lock up my computer. I was wondering if anyone knows of a better tool, how to get it, and how I use it to change the desktop image

Old 04-10-2011, 06:59 PM   #2
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
you should have a "lastwallpaper" file in ~/.fluxbox/ and fbsetbg should be in your ~/.fluxbox/startup file
here's mine

# 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.
# fbsetbg -f /root/pictures/wallpaper.png
# This sets a black background

/usr/bin/fbsetroot -solid black

# This shows the fluxbox-splash-screen
# fbsetbg -C /usr/share/fluxbox/splash.jpg

# This sets a random background
# fbsetbg -r /usr/share/wallpapers/

# This sets the last used background in ~/.fluxbox/lastwallpaper
 fbsetbg -l /usr/share/wallpapers/

# 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 "/root/.fonts"
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
# Change your keymap:
# xmodmap "$HOME/.Xmodmap"

# Applications you want to run with fluxbox.
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &

# nitrogen --restore
# yeahconsole --perl-lib ${HOME}/.urxvt-perl/ -pe tabbed &
 lxpanel &
 conky -d
# pcmanfm -d &
# fbpanel &
# systray-volume-control &
# parcellite &

# tint2 &
# wbar-start &
 gvolwheel &

# 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/bin/fluxbox
# or if you want to keep a log:
# exec /usr/bin/fluxbox -log "/root/.fluxbox/log"
and here is my "lastwallpaper" file
$full $full|/usr/share/wallpapers//Fantasy-Dragon-14084-789948.jpeg||:0.0
you can use Nitrogen (SlackBuilds), PCManFM can also show folders on desktop and set the background
there are many others

Last edited by linus72; 04-10-2011 at 07:01 PM.
Old 04-10-2011, 07:05 PM   #3
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 486
Blog Entries: 2

Rep: Reputation: 153Reputation: 153
Open up /home/username/.fluxbox/init and edit "rootCommand":
session.screen0.rootCommand: fbsetbg -l
`fbsetbg -l` sets the previous wallpaper.

You can also add this to your menu file to change wallpapers quickly:
[wallpapers] (/home/username/pictures/wallpapers/) {}
Old 04-10-2011, 08:51 PM   #4
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,621
Blog Entries: 16

Rep: Reputation: 3245Reputation: 3245Reputation: 3245Reputation: 3245Reputation: 3245Reputation: 3245Reputation: 3245Reputation: 3245Reputation: 3245Reputation: 3245Reputation: 3245
fbsetbg should change your wall paper immediately. It should not require a restart.

I prefer to put my wallpaper command in .fluxbox/startup, but it works either way.

What is the output of fbsetbg -i?


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
Changing picture during boot Quads Linux - Newbie 3 03-24-2010 04:39 PM
convert command line picture tool benchcomptons Debian 1 07-29-2007 12:14 AM
Changing picture type in Linux mfo6463 Linux - Newbie 9 04-01-2004 08:47 PM
changing screen picture depth to 24 bit kousik_s Linux - Newbie 1 03-26-2004 06:52 AM
Radeon 9100 changing picture position jimdaworm Slackware 2 10-14-2003 11:13 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration