LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Simple Fluxbox Questions (https://www.linuxquestions.org/questions/linux-software-2/simple-fluxbox-questions-294970/)

TomalakBORG 02-25-2005 09:01 PM

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

DrOzz 02-25-2005 09:19 PM

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 ..

gbhil 02-25-2005 11:49 PM

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?

Komakino 02-26-2005 04:39 AM

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)

mikshaw 02-26-2005 09:39 AM

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.

TomalakBORG 02-26-2005 06:27 PM

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.

Scruff 02-26-2005 07:16 PM

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.

95se 02-27-2005 12:27 AM

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.

TomalakBORG 02-27-2005 03:42 PM

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!

DrOzz 03-01-2005 10:09 PM

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.

TomalakBORG 03-02-2005 11:41 AM

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.


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