LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 04-10-2011, 02:34 AM   #1
Melzanis
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

thanks
 
Old 04-10-2011, 07:59 PM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

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

Code:
# 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.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# 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
Quote:
$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 08:01 PM.
 
Old 04-10-2011, 08:05 PM   #3
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 307
Blog Entries: 2

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

You can also add this to your menu file to change wallpapers quickly:
Code:
[wallpapers] (/home/username/pictures/wallpapers/) {}
 
Old 04-10-2011, 09:51 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,091

Rep: Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535Reputation: 1535
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?
 
  


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


All times are GMT -5. The time now is 09:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration