May 16, 2009

Fluxbox init file

The init file shown below fits everything else I write about, and is a good place to start making custom tweaks to your fluxbox setup.

 

#### Fluxbox init file
### Last edited 4-25-09 ~sleekmason
#
#### Alpha options
session.forcePseudoTransparency: true
session.screen0.window.focus.alpha: 150
session.screen0.window.unfocus.alpha: 125
session.screen0.menu.alpha: 125
session.screen0.toolbar.alpha: 0
session.screen0.slit.alpha: 0
session.screen0.opaqueMove: false
#### Iconbar options
session.screen0.iconbar.iconTextPadding: 0l
session.screen0.iconbar.deiconifyMode: Current
session.screen0.iconbar.wheelMode: Screen
session.screen0.iconbar.iconWidth: 70
session.screen0.iconbar.alignment: Relative
session.screen0.iconbar.usePixmap: false
session.screen0.iconbar.clientWidth: 0
session.screen0.iconbar.mode: {static groups} (minimized=yes) (workspace)
### Toolbar options
session.screen0.toolbar.placement: LeftTop
session.screen0.toolbar.maxOver: false
session.screen0.toolbar.layer: Normal
session.screen0.toolbar.onTop: false
session.screen0.toolbar.widthPercent: 100
session.screen0.toolbar.height: 0
session.screen0.toolbar.visible: true
session.screen0.toolbar.onhead: 0
session.screen0.toolbar.autoHide: false
session.screen0.toolbar.tools: prevworkspace, nextworkspace, iconbar, systemtray, prevwindow, nextwindow, clock
#### Tab options
session.tabs: true
session.focusTabMinWidth: 10
session.tabPadding: 10
session.tabsAttachArea: Window
session.screen0.tabs.intitlebar: true
session.screen0.tabs.maxOver: false
session.screen0.tabs.usePixmap: true
session.screen0.tab.placement: TopLeft
session.screen0.tab.rotatevertical: True
session.screen0.tab.width: 32
session.screen0.tab.height: 16
session.screen0.tab.alignment: Left
session.screen0.tabFocusModel: ClickToTabFocus
#### Slit options
session.screen0.slit.onTop: false
session.screen0.slit.placement: BottomLeft
session.screen0.slit.direction: Vertical
session.screen0.slit.maxOver: false
session.screen0.slit.layer: Normal
session.screen0.slit.alpha: 0
session.screen0.slit.onhead: 0
session.screen0.slit.acceptKdeDockapps: true
session.screen0.slit.autoHide: false
#### Menu options
session.screen0.menuMode: Delay
session.screen0.menuDelay: 0
session.screen0.menuDelayClose: 0
session.screen0.windowMenu:
#### Mouse options
session.screen0.desktopwheeling: true
session.screen0.reversewheeling: false
session.screen0.windowScrollReverse: false
session.doubleClickInterval: 250
session.screen0.noFocusWhileTypingDelay: 0l
session.screen0.clickRaises: true
#### Window options
### titlebar
session.screen0.titlebar.left: Stick
session.screen0.titlebar.right: Minimize Maximize Close
session.screen0.windowPlacement: RowSmartPlacement
session.screen0.focusLastWindow: true
session.screen0.focusNewWindows: true
session.screen0.showwindowposition: true
session.screen0.showposinsidewindow: true
session.screen0.maxDisableResize: false
session.screen0.windowScrollAction: false
session.screen0.resizeMode: Bottom
session.screen0.rowPlacementDirection: LeftToRight
session.screen0.decorateTransient: false
session.screen0.focusModel: ClickFocus
#### Clock
session.screen0.strftimeFormat: %l:%M
#### Workspace options
session.screen0.workspaces: 2
session.screen0.workspaceNames: 1,2,
session.screen0.workspacewarping: true
session.screen0.edgeSnapThreshold: 15
session.screen0.autoRaise: false
session.autoRaiseDelay: 0
session.screen0.fullMaximization: false
session.screen0.maxDisableMove: false
session.screen0.maxIgnoreIncrement: false
session.screen0.colPlacementDirection: TopToBottom
session.screen0.userFollowModel: Follow
session.screen0.followModel: Ignore
#### Overlay options
session.screen0.overlay.lineWidth: 1
session.screen0.overlay.lineStyle: LineSolid
session.screen0.overlay.joinStyle: JoinMiter
session.screen0.overlay.capStyle: CapNotLast
#### File/wallpaper locations.
session.screen0.rootCommand: fbsetbg -r ~/pictures/wallpapers
session.menuFile: ~/.fluxbox/menu1
session.appsFile: ~/.fluxbox/apps
session.groupFile: ~/.fluxbox/groups
session.slitlistFile: ~/.fluxbox/slitlist
session.styleFile: ~/.fluxbox/styles/sleek2flux
session.styleOverlay: ~/.fluxbox/overlay
session.keyFile: ~/.fluxbox/keys
#### Misc. options
session.numLayers: 13
session.colorsPerChannel: 4
session.configVersion: 10
session.screen0.allowRemoteActions: true
session.screen0.clientMenu.usePixmap: true
session.screen0.imageDither: false
session.screen0.tooltipDelay: 300
session.screen0.demandsAttentionTimeout: 500
#### Misc. Decorations
session.screen0.defaultDeco: NORMAL
session.screen0.antialias: true
session.ignoreBorder: false
#### Cache options
session.cacheMax: 500l
session.cacheLife: 5l
#### Key options
session.modKey: Mod1
###
#

Make sure to back up your current init file just in case. Type this in a terminal as user to do just that.

cp ~/.fluxbox/init ~/.fluxbox/init.bak

The other way to back it up is to navigate to ~/.fluxbox, right click on ~/.fluxbox/init, copy and paste anywhere in the ~/.fluxbox folder, find 'copy of init' and rename to init.bak

 

Enjoy;)

 

 Please comment if you are using this  'how -to'.  All suggestions and comments welcome.

Click Here!