LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2006, 02:15 AM   #1
Sonikku
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Fluxbox Random Background problem


When I use fbsetbg -r (dir) it does set a random background but it's not streched fullscreen, theres black borders around it. When I load any pic nornmally with just fbsetbg (pic) it streches fine. Is there a way to stretch to my screen and randomly select the pic? thx.
 
Old 08-15-2006, 04:22 AM   #2
athanatos
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, OpenBSD 4.0
Posts: 58

Rep: Reputation: 15
Hi!

This is how I do it:

1. You first need 'shuffle': http://wiw.org/~drz/software.html

2. This is the root command I use to set a random background:
Code:
rootCommand:    fbsetbg /home/max/wallpapers/slackware/`ls /home/max/wallpapers/slackware | shuffle | head -n 1`
Regards,
athanatos.
 
  


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
Fluxbox background problem inverted.gravity Linux - Software 3 04-29-2007 07:10 AM
fluxbox background problem matrixon Linux - Software 2 01-30-2006 11:15 AM
Fluxbox background problem rgriffin Linux - Software 22 03-29-2004 11:43 PM
fluxbox background ambelos Linux - Software 16 02-26-2004 02:11 AM
fluxbox background again! nxny Linux - Software 2 08-12-2002 02:19 PM


All times are GMT -5. The time now is 07:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration