LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2005, 09:01 PM   #1
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Rep: Reputation: 30
Simple Fluxbox Questions


Hello all, I am a clear n00b to fluxbox, but am slowly enjoying it more and more. I am running veriosn 0.9.11 and using suse 9.2. My only problem is how to change it up to make it work for me, much like KDE. Now I'm not trying to bloat it up or anything, but just add some icons and stuff. So here it is:

1) How do I make desktop Icons?
2) How do I add a program to the permanent startup routine? (I need kpowersave to run at flux-boot)
3) How do I change my background? I got an error that says to install eterm on the first boot of fluxbox, but I hate eterm, and it conflicts with my system. I'd much rather use xterm or aterm, or heck I even use konsole. What is this all about?

Thanx a bunch in advance! -Bill
 
Old 02-25-2005, 09:19 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
ok let me see here :
1) you can use FbDesk
2) in your ~/.xinitrc where it says:
Code:
exec fluxbox
make it look like :
Code:
exec fluxbox && kpowersave
i am just under the assumption that kpowersave is how it is executed...
if it is executed under a different name then just type that instead ...
3) depends on how your installation is done, but this should step you
in the right direction :
Code:
cd /usr/X11/share/fluxbox/styles
next :
Code:
vim nameoftheme
edit the line :
Code:
rootCommand:   fbsetbg -c ~/.fluxbox/styles/backgrounds/usewithTUX.jpg
now you can use whatever editor you want, i just like vim so thats what
i used in the example ...
and as of the last statement that is in the style file, that is the exact
example of my setting for my background to use "usewithTUX.jpg" ...
so in other words the rootCommand: is what your looking for
in the style file ..
 
Old 02-25-2005, 11:49 PM   #3
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
Re: Simple Fluxbox Questions

Quote:
Originally posted by TomalakBORG

I got an error that says to install eterm on the first boot of fluxbox, but I hate eterm, and it conflicts with my system. I'd much rather use xterm or aterm, or heck I even use konsole. What is this all about?

It's PROBABLY asking for eterm because fbsetbg (the fluxbox background setter tool) wants esetroot or an equivalent.

Whats the output of the
Code:
fbsetbg -i
command?
 
Old 02-26-2005, 04:39 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Firstly you shouldn't be editting the style files to change the background like DrOzz said - you'd have to edit each new theme if you changed the one you're using this way. Better is to edit ~/.fluxbox/init and change the rootCommand line in that.

Find the fsetbg command and edit it - it's only a text file. Uncomment the lines that refer to display and comment in the ones that use esetroot (uncomment = remove the #, comment means add them)
 
Old 02-26-2005, 09:39 AM   #5
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
2) Since you're using flux dev, as an alternative to using .xinitrc you could add your application to $HOME/.fluxbox/apps like this:
[startup] {name of command}

Doing it this way starts the command only with fluxbox. This is useful for applications which you don't want to start if you switch to a different window manager, such as dockapps that may not display properly without a slit.
 
Old 02-26-2005, 06:27 PM   #6
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Original Poster
Rep: Reputation: 30
Thankyou for the icon manager program, that works perfectally.

As for the eterm business, I'm still rather lost. Eterm will not install, and I was unable to solve it by modifying fbsetbg.

Thankyou to milkshaw, I added the command into the apps doc, and copied that from the root home dir to my user directory, and it loads just fine! (But thanx a million to all! This was all great help)

So as it stands, I am still unable to set a desktop backround, try as I might.
 
Old 02-26-2005, 07:16 PM   #7
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
fbsetbg is just a frontend to other commands like esetroot. I can't remember the others it will use, but it looks for esetroot first, then moves through a list of 3 commands I believe. Check the Fluxbox docs or type 'man fbsetbg' to find out the specifics. To set a specific background, I simply add 'fbsetbg wallpaper/name.jpg' to my ~/.xinitrc and edit as necessary.
 
Old 02-27-2005, 12:27 AM   #8
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
Hey, go here, my gf set this website up for a project,
http://electron.cs.uwindsor.ca/~bansnar/apps.html
Go to the "eye candy" section, and follow the instructions to install feh. It's a good wallpaper setter (as good as esetroot) and works with fbsetbg.
 
Old 02-27-2005, 03:42 PM   #9
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Original Poster
Rep: Reputation: 30
Well, I have feh, but it does not seem to mesh with fbsetbg, I'm still getting the same error message. How would I implement feh now? I swear, once that gets working... I'm home free!
 
Old 03-01-2005, 10:09 PM   #10
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
Quote:
Originally posted by Komakino
Firstly you shouldn't be editting the style files to change the background like DrOzz said - you'd have to edit each new theme if you changed the one you're using this way. Better is to edit ~/.fluxbox/init and change the rootCommand line in that.

my bad, only thinking of myself
i only use one, so i justed edited the style file itself
thanks for the correction.
 
Old 03-02-2005, 11:41 AM   #11
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Original Poster
Rep: Reputation: 30
No problems guys! I installed feh, but forgot to uncomment the line that conatined esetroot as in the previous post. That line also contained the setbg command for feh to use, and once I uncommented that line, it works pperfectally! Thanx a bunch for the help.
 
  


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
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 02:03 PM
Simple Questions...Hopfully Simple Answers. caps_phisto Linux - General 3 12-21-2004 12:40 PM
simple question about fluxbox the_sLiDe Linux - Software 6 11-08-2004 09:30 PM
Simple fluxbox problem?? jacksmash Linux - Software 4 10-16-2004 03:12 AM
Simple fluxbox question... NonSumPisces Linux - Software 3 07-04-2004 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration