Jump to content

fluxbox help


Ghil Vertefeuille
 Share

Recommended Posts

Why don't you install the CVS version (very easy to install) it comes with many improvements and support to pixmap styles.

 

As you can see here, there's an option in the menu to change backgrounds on the fly.

 

For fluxbox related issues you can also find some help, themes and tricks here.

I'm at work at this moment, but if you want I can post here a tutorial on how to generate menus with -B option, which will give you the possibility of changing backgrounds on the fly. (there are also some scripts to do that, etc)

 

Good luck

 

editted: and for the icon issue, have you tried to insert the command that loads fbdesk in you .xinitrc file?

Edited by william
Link to comment
Share on other sites

How can I change the wallpaper?

Here is a portion of the script I use on fluxbox startup that displays on each boot a different wallpaper choosed from a X-resources directory:

 

function wallpaperRandom () {

    # Random wallpaper.

                                                                       

    # on mandrake I use xli on debian, in mdk I use wmsetbg

    # wallpaper_cmd="${Xdir}/wmsetbg -s "

    wallpaper_cmd="${Xdir}/xli -onroot" # -fork"

    images_dir="${HOME}/xresources/backgrounds/"

    images_filter="*.jpg"

    error='Problems running ${wallpaper_cmd}'

                                                                       

    images_list=($(/bin/ls ${images_dir}/${images_filter}))

    image=${images_list[$((${RANDOM}%${#images_list[@]}))]}

                                                                       

    ${wallpaper_cmd} ${image} || echo ${error} >&2

}

                                                                       

# run the wallpaper function:

wallpaperRandom &

                                                                       

 

Place this code in your fluxbox startup script and enjoy. Also you can use this code with little modification to display a random wallpaper every N minutes.

 

If you don't have a startup script, create a new one and call it from .fluxbox/init as (in my case):

session.screen0.rootCommand:    ~/.fluxbox/fluxboxrc &

 

HTH

Link to comment
Share on other sites

Ghil:

As I told you, I'm using the CVS version and I use fluxbox-generate_menu -B in order to change backgrounds on the fly:

 

1 ) create a folder named "backgrounds" in your ~/.fluxbox directory;

2 ) copy (symlink doesn't worked with me) the wallpapers to backgrounds folder (i have more than 30 wallpapers);

3 ) open terminal and type: fluxbox-generate_menu -B

Your are done, just restart fluxbox and the background item will be there on the menu.

You can also try fluxbox-generate_menu -help to check the options you have.

This trick also change backgrounds at random if you want (not on the startup, but with the system already loaded)

Link to comment
Share on other sites

take a look at www.fluxmod.dk

 

And please everyone, the standard for setting wallpaper in fluxbox is fbsetbg, i know im being a bit pedantic and all as it calls other programs but its what is the main suggestion. He may already have chbg installed so what's the point of installing Eterm to get Esetroot?.

 

ANyway, for the icons i reccoment idesk. FBdesk has never agreed with me. Take a look at www.fluxmod.dk and check out the tutes there

Link to comment
Share on other sites

Have a look here

You should have a file named bdesk.iconFile in your fbdesk dir

bdesk.iconFile:  filename to icon file (default: ~/.fluxbox/icons)

Icon file format:
# this is a comment
# Start of one icon entry
[Deskop Entry]
Icon=the image filename
Name=the icon label
Exec=what it executes
Pos= 123 456  # position of the icon
[end]
# end of one icon entry

1 ) Insert the entire path to your icons folder with the file's name and extension.

2 ) Restart x

 

Notice that I don't use fbdesk, so not sure if it will work.

Edited by william
Link to comment
Share on other sites

[exec] (Eterm) {Eterm --trans -g 70x35+0+350 -b black -f honeydew2 -x --bordless --scrollbar=off --buttonbar=0 -c grey89 --font anorexia}

that's the position and size: -g 70x35+0+350 .

Now you can tip me, man!!!

Link to comment
Share on other sites

sorry but I don't know what tip me means, I'm french so...

I'm a Brazilian, so english isn't my mother language either, and maybe I haven't made myself understood. Actually, I was just kidding with you, what I meant to say was something like, "give me some money" for the given help. B)

What about the backgrounds, icons and terminal. Let us know if you succeeded in making it work!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...