LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-21-2006, 06:37 PM   #1
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Rep: Reputation: 31
how do I get a Fluxbox background in Debian


I am using Fluxbox on Mepis, which is based on Debian.

I have downloaded two themes from Fresh Meat. I found the folder for the Styles at usr/share/fluxbox/styles, but was unable to find the folder for the backgrounds.

I then realized that I hadn't really seen any backgrounds in Fluxbox, so I made a folder named backgrounds in the same folder that styles was in, hoping it would suddenly appear like magic in my main menu, but it didnt.

So, 1. Where do I find the backgrounds folder in Debian for Fluxbox?

2. How do I create this if there isnt one, and point to it so I can use some background images?

Please be thourough in any answers given to this problem as I am very new.
 
Old 05-21-2006, 07:28 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Fluxbox themes typically don't use background images. You can set a background image by doing $fbsetbg <path to image>.
 
Old 05-21-2006, 08:15 PM   #3
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
The backgrounds folder is in ~/.fluxbox/ (at least mine is..)

To expand on the previous answer, you may find this section of the fluxbox wiki useful.

Cheers
 
Old 05-21-2006, 08:35 PM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 31
You can do it like that, but it's not going to magically happen like you had hoped. In your ./fluxbox directory there should be a file named "apps". Edit this file with this entry...

Code:
[startup] {fbsetbg ~/.fluxbox/styles/background/yourfile.png}
You'll want to put the path to your background. I'm guessing the above was the correct path. If not, edit it.
This will load the background every time fluxbox starts. To run it after you edited the file, just run "restart" from the fluxbox menu.
 
Old 05-21-2006, 09:21 PM   #5
lotusjps46
Member
 
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
WOW, there are alot of ways to do this. You can also have a file in your .fluxbox directory (note the dot means it is a hidden file) called startup. It includes some neat stuff, most of which is commented out with hashes like this one: #. The thing you want is like this:

# 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


Notice that I removed the # infront of

bsetbg -f ~/pictures/wallpaper.png

and added one to

#/usr/X11R6/bin/bsetroot -solid black

Now copy all your favorite wallpapers to /home/whoyouare/pictures. Any time you want to change the background use the following commands in a shell. Assume your new background is called mud.jpg:

cd pictures
cp mud.jpg wallpaper.png

So it makes a copy of the new background and when you boot Fluxbox it reads that file.

There are at least two more was to do it:

1. Run GQview. Find your new background. Click Edit, and select Set as Wallpaper. This will not survive restarting Fluxbox, however.

2. In the directory /home/whoyouare/.fluxbox there is a file called init. Near the bottom is a line like this:

session.screen0.rootCommand: /home/whoyouare/pictures/mud.jpg

I added the "/home/whoyouare/pictures/mud.jpg" part to mine. That sets the background.

Ok, how many more ways are there to do this?

Good Luck,

C

EDIT: I forgot that you can include a background in your Style text file. Download some cool Styles,and read the text files in them to see how.

C

Last edited by lotusjps46; 05-21-2006 at 09:34 PM.
 
Old 05-21-2006, 10:25 PM   #6
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Original Poster
Rep: Reputation: 31
ok. This is going to be really cool Before I got a response from anybody, I looked up where this had been asked before and saw that it would be a good idea to download and use FEH. FEH also needs the glibc libs, so I down loaded them but! Here is what I got when I tried to configure.:


GNU libc cannot be compiled in the source directory. You must build it
in a separate build directory. For example, if you have unpacked the
glibc sources in `/src/gnu/glibc-2.4', create a directory
`/src/gnu/glibc-build' to put the object files in. This allows
removing the whole build directory in case an error occurs, which is
the safest way to get a fresh start and should always be done.

From your object directory, run the shell script `configure' located
at the top level of the source tree. In the scenario above, you'd type

$ ../glibc-2.4/configure ARGS...


Ok, so I have everything lined out. The glibc file in usr/src and then I made a build file: usr/src/glibc-build.

What I dont understand is how to finish this off, How do I proceed? where do I go/ what do I type in order to make this work?

Of course this may be a mute point due to the above responses, but I would still like the libs anyway
 
Old 05-21-2006, 11:05 PM   #7
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Original Poster
Rep: Reputation: 31
I've gotta start spell checking what I write! Sorry about that. I know it can be irritating or downright painful to read bad writing (moot).
 
Old 05-21-2006, 11:30 PM   #8
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Original Poster
Rep: Reputation: 31
Thank you Mason. The simplist one wins! I now have a kickass background.
 
Old 05-22-2006, 08:55 AM   #9
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
No problem. In your ~/.fluxbox directory there is an init file. edit the line containing "root.command". add fbsetbg -l to that line and it will automatically set the background to the last one used when you start it up.
 
  


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 Problems tavilach Linux - General 3 07-05-2004 05:43 PM
fluxbox background ambelos Linux - Software 16 02-26-2004 01:11 AM
Transparent background for fluxbox shimmyt Linux - Software 0 10-12-2003 10:26 AM
fluxbox background again! nxny Linux - Software 2 08-12-2002 01:19 PM
fluxbox background yaker Linux - General 3 03-31-2002 04:11 PM


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

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