Click to See Complete Forum and Search --> : fluxbox question


lahook
12-28-2002, 02:40 PM
how do I get my background list to show up in the menu?
how do I get a style to apply a background when it it selected?
any help will appreciated.
thanx,
lahook
(Mandrake 9.0)
here is my init file:

session.screen0.slit.placement: BottomRight
session.screen0.slit.direction: Vertical
session.screen0.slit.onTop: False
session.screen0.slit.autoHide: False
session.screen0.slit.onHead: 0
session.screen0.tab.placement: Top
session.screen0.tab.rotatevertical: true
session.screen0.tab.alignment: Left
session.screen0.tab.width: 64
session.screen0.tab.height: 16
session.screen0.toolbar.onhead: 0
session.screen0.toolbar.placement: BottomCenter
session.screen0.toolbar.onTop: false
session.screen0.toolbar.autoHide: false
session.screen0.toolbar.widthPercent: 66
session.screen0.fullMaximization: false
session.screen0.showwindowposition: true
session.screen0.workspaceNames: one,two,three,four,
session.screen0.workspaces: 4
session.screen0.edgeSnapThreshold: 0
session.screen0.rowPlacementDirection: LeftToRight
session.screen0.focusModel: ClickToFocus
session.screen0.maxOverSlit: true
session.screen0.workspacewarping: true
session.screen0.rootCommand: bsetbg -f /usr/share/fluxbox/backgrounds/Aki_Ross.jpg
session.screen0.imageDither: false
session.screen0.focusNewWindows: true
session.screen0.windowPlacement: RowSmartPlacement
session.screen0.sloppywindowgrouping: true
session.screen0.desktopwheeling: true
session.screen0.colPlacementDirection: TopToBottom
session.screen0.strftimeFormat: %c
session.screen0.focusLastWindow: true
session.titlebar.left: Stick
session.titlebar.right: Minimize Maximize Close
session.opaqueMove: false
session.imageDither: True
session.autoRaiseDelay: 250
session.keyFile: ~/.fluxbox/keys
session.colorsPerChannel: 4
session.cacheMax: 200l
session.slitlistFile: /home/hyundai/.fluxbox/slitlist
session.cacheLife: 5l
session.menuFile: /home/hyundai/.fluxbox/menu
session.groupFile:
session.styleFile: /usr/share/fluxbox/styles/violetvalentine
session.doubleClickInterval: 250
session.iconbar: true
session.tabs: true

here's part of my menu file:

[submenu] (fluxbox) {}
[begin] (Mandrake)
[exit] (Exit)
[reconfig] (Reload Configuration)
[restart] (Restart)
[config] (configuration)
[submenu] (styles) {}
[begin] (Mandrake)
[stylesdir] (/usr/share/fluxbox/styles)
[stylesdir] (~/.fluxbox/styles)
[end]
[submenu] (backgrounds) {}
[begin] (Mandrake)
[backgroundsdir] (/usr/share/fluxbox/backgrounds)
[backgroundsdir] (~/.fluxbox/backgrounds)
[end]
[workspaces] (workspaces)
[end]
[end]

lamicedaxeh
12-28-2002, 03:01 PM
Hello lahook

Have a look at the following url: http://fluxbox.sourceforge.net/docs/en/newdoc.themes.php#background
and as far as I can see there is an option already present in ur menu "stylesdir] (/usr/share/fluxbox/styles) " for selecting styles!

HTH

Bill

Beckman
12-29-2002, 03:45 AM
just ad this to ur init file:
session.screen0.rootCommand: bsetbg -f /mnt/win_d/server/linux/drip.jpg
change the path to ur pic
it will stay..
and if u wanna change it, just come back to this file and edit it, or edit the target..

linux12414
12-29-2002, 11:19 AM
Originally posted by lahook
how do I get my background list to show up in the menu?
how do I get a style to apply a background when it it selected?
any help will appreciated.
thanx,
lahook
(Mandrake 9.0)
here is my init file:

session.screen0.slit.placement: BottomRight
session.screen0.slit.direction: Vertical
session.screen0.slit.onTop: False
session.screen0.slit.autoHide: False
session.screen0.slit.onHead: 0
session.screen0.tab.placement: Top
session.screen0.tab.rotatevertical: true
session.screen0.tab.alignment: Left
session.screen0.tab.width: 64
session.screen0.tab.height: 16
session.screen0.toolbar.onhead: 0
session.screen0.toolbar.placement: BottomCenter
session.screen0.toolbar.onTop: false
session.screen0.toolbar.autoHide: false
session.screen0.toolbar.widthPercent: 66
session.screen0.fullMaximization: false
session.screen0.showwindowposition: true
session.screen0.workspaceNames: one,two,three,four,
session.screen0.workspaces: 4
session.screen0.edgeSnapThreshold: 0
session.screen0.rowPlacementDirection: LeftToRight
session.screen0.focusModel: ClickToFocus
session.screen0.maxOverSlit: true
session.screen0.workspacewarping: true
session.screen0.rootCommand: bsetbg -f /usr/share/fluxbox/backgrounds/Aki_Ross.jpg
session.screen0.imageDither: false
session.screen0.focusNewWindows: true
session.screen0.windowPlacement: RowSmartPlacement
session.screen0.sloppywindowgrouping: true
session.screen0.desktopwheeling: true
session.screen0.colPlacementDirection: TopToBottom
session.screen0.strftimeFormat: %c
session.screen0.focusLastWindow: true
session.titlebar.left: Stick
session.titlebar.right: Minimize Maximize Close
session.opaqueMove: false
session.imageDither: True
session.autoRaiseDelay: 250
session.keyFile: ~/.fluxbox/keys
session.colorsPerChannel: 4
session.cacheMax: 200l
session.slitlistFile: /home/hyundai/.fluxbox/slitlist
session.cacheLife: 5l
session.menuFile: /home/hyundai/.fluxbox/menu
session.groupFile:
session.styleFile: /usr/share/fluxbox/styles/violetvalentine
session.doubleClickInterval: 250
session.iconbar: true
session.tabs: true

here's part of my menu file:

[submenu] (fluxbox) {}
[begin] (Mandrake)
[exit] (Exit)
[reconfig] (Reload Configuration)
[restart] (Restart)
[config] (configuration)
[submenu] (styles) {}
[begin] (Mandrake)
[stylesdir] (/usr/share/fluxbox/styles)
[stylesdir] (~/.fluxbox/styles)
[end]
[submenu] (backgrounds) {}
[begin] (Mandrake)
[backgroundsdir] (/usr/share/fluxbox/backgrounds)
[backgroundsdir] (~/.fluxbox/backgrounds)
[end]
[workspaces] (workspaces)
[end]
[end]

Go to wherever your fluxbox styles are (usually /usr/local/share; usr/share for SYSTEMWIDE styles of in your home directory .fluxbox/styles)

Go to the "style" file and look for "rootCommand". Edit this line to read:

bsetbg /usr/local/share/fluxbox/backgrounds/<filename>

Where, of course "usr/local/share" would be replaced by the path where your styles are kept. Make sure the image file is in the fluxbox/backgrounds directory. Restart flux, and you're done.