
Hi all,
Recently I changed my desktop manager from Gnome to Fluxbox.
Good bye Gnome!!! Welcome Fluxbox!!
The reasons:
* lightweight
**working with kernel development and using a laptop, it’s really important.
* Highly configurable
**after many years, my gnome was very customized and the shortcuts are very familiar.
Below I describe the main steps.
Install and start fluxbox.
$ sudo apt-get install fluxbox
The first contact with fluxbox is really hard and the most difficult part is configure the shortlkeys.
==== Keys(~/.fluxbox/keys)====
# Created by Francisco Alecrim # Based on: http://darkshed.net/files/rcs/fluxbox/keys.html# Syntax : [ ] key [key key] :command
# HELPING YOU# Mod1 = Tab# Mod4 = SuperKey(AKA window key)
# Mouse optionsOnDesktop Mouse1 :HideMenusOnDesktop Mouse2 :WorkspaceMenuOnDesktop Mouse3 :RootMenu#OnDesktop Mouse4 :NextWorkspace#OnDesktop Mouse5 :PrevWorkspace
################################## Application switch + operation#################################
Mod1 F1 :RootMenuMod1 F2 :ExecCommand fbrunMod1 F4 :CloseMod1 F5 :MinimizeMod1 F10 :MaximizeF11 :MaximizeMod1 Tab :NextWindowMod1 Shift Tab :PrevWindowShift Control Mod1 Right :TakeToNextWorkspace 1Shift Control Mod1 Left :TakeToPrevWorkspace 1
Shift Mod1 Left :MoveTo 0 * LeftShift Mod1 Right :MoveTo 0 * RightShift Mod1 Up :MoveTo * 0 UpperShift Mod1 Down :MoveTo * 0 LowerShift Mod1 1 :SetHead 1Shift Mod1 2 :SetHead 2
# Workspace switchControl Mod1 Right :NextWorkspaceControl Mod1 Left :PrevWorkspace
# Applicartion LauncherF1 :ExecCommand gnome-terminalF2 :ExecCommand xfeControl Mod1 x :ExecCommand xmmsControl Mod1 g :ExecCommand gaimControl Mod1 f :ExecCommand firefoxControl Mod1 t :ExecCommand thunderbirdControl Mod1 l :ExecCommand xlock
# XMMS keysMod4 z :ExecCommand xmms -rMod4 x :ExecCommand xmms -pMod4 c :ExecCommand xmms -uMod4 v :ExecCommand xmms -sMod4 b :ExecCommand xmms -f
#Mod1 Tab :NextWindow#Mod1 Shift Tab :PrevWindow#Mod1 F1 :Workspace 1#Mod1 F2 :Workspace 2#Mod1 F3 :Workspace 3#Mod1 F4 :Workspace 4#Mod1 F5 :Workspace 5#Mod1 F6 :Workspace 6#Mod1 F7 :Workspace 7#Mod1 F8 :Workspace 8#Mod1 F9 :Workspace 9#Mod1 F10 :Workspace 10#Mod1 F11 :Workspace 11#Mod1 F12 :Workspace 12
==== Define start up script (~/.fluxbox/init)====
Define the path to your start up script inside .fluxbox/init
Varible: rootCommand
alecrim@alecrim ~ $ cat .fluxbox/init | grep rootCommandsession.screen0.rootCommand: ~/.fluxbox/autostart.sh
Create you startup script. Below you can see mine.
alecrim@alecrim ~ $ cat ~/.fluxbox/autostart.sh#!/bin/bash
# Disable beep soundxset -b
# Wallpaperfbsetbg -f /home/alecrim/pessoal/image/paisagem/Grassy2.jpg
# IMgaim &
alecrim@alecrim ~ $ chmod +x ~/.fluxbox/autostart.sh
==== Define style (~/.fluxbox/style/snow)====
Snow style from http://customize.org/fluxbox
style.name: SnowFlowstyle.author: snkmchnbstyle.date: 12/23/07style.credits: Wallpaper: "Flow" by iTivo @ http://customize.org/wallpapers/55509style.comments: Part of the "12 Days of Christmas" theme pack
toolbar: raised gradient verticaltoolbar.color: rgb:c7/dd/betoolbar.colorTo: rgb:57/98/94
toolbar.button: raised gradient verticaltoolbar.button.color: rgb:57/98/94toolbar.button.colorTo: rgb:09/0b/17toolbar.button.picColor: rgb:ff/ff/ff
toolbar.button.pressed: sunken gradient verticaltoolbar.button.pressed.color: rgb:09/0b/17toolbar.button.pressed.colorTo: rgb:57/98/94
toolbar.clock: sunken gradient verticaltoolbar.clock.color: rgb:09/0b/17toolbar.clock.colorTo: rgb:57/98/94toolbar.clock.textColor: rgb:ff/ff/ff
toolbar.label: sunken gradient verticaltoolbar.label.color: rgb:09/0b/17toolbar.label.colorTo: rgb:57/98/94toolbar.label.textColor: rgb:ff/ff/ff
toolbar.windowLabel: parentrelativetoolbar.windowLabel.color: rgb:c7/dd/betoolbar.windowLabel.colorTo: rgb:57/98/94toolbar.windowLabel.textColor: rgb:c7/dd/be
toolbar.justify: center
menu.title: raised gradient verticalmenu.title.color: rgb:57/98/94menu.title.colorTo: rgb:09/0b/17menu.title.textColor: rgb:ff/ff/ffmenu.title.justify: center
menu.frame: raised gradient diagonalmenu.frame.color: rgb:c7/dd/bemenu.frame.colorTo: rgb:57/98/94menu.frame.textColor: rgb:ff/ff/ffmenu.frame.justify: center
menu.hilite: sunken gradient verticalmenu.hilite.color: rgb:09/0b/17menu.hilite.colorTo: rgb:57/98/94menu.hilite.textColor: rgb:ff/ff/ff
menu.bullet: emptymenu.bullet.position: right
window.title.focus: raised gradient verticalwindow.title.focus.color: rgb:c7/dd/bewindow.title.focus.colorTo: rgb:57/98/94window.title.unfocus: raised vertical gradientwindow.title.unfocus.color: rgb:c7/dd/bewindow.title.unfocus.colorTo: rgb:57/98/94
window.label.focus: sunken gradient verticalwindow.label.focus.color: rgb:09/0b/17window.label.focus.colorTo: rgb:57/98/94window.label.focus.textColor: rgb:ff/ff/ffwindow.label.unfocus: parentrelativewindow.label.unfocus.color: rgb:c7/dd/bewindow.label.unfocus.colorTo: rgb:57/98/94window.label.unfocus.textColor: rgb:ff/ff/ff
window.button.focus: raised gradient verticalwindow.button.focus.color: rgb:57/98/94window.button.focus.colorTo: rgb:09/0b/17window.button.focus.picColor: rgb:ff/ff/ffwindow.button.unfocus: parentrelativewindow.button.unfocus.color: rgb:c7/dd/bewindow.button.unfocus.colorTo: rgb:57/98/94window.button.unfocus.picColor: rgb:ff/ff/ffwindow.button.pressed: sunken gradient verticalwindow.button.pressed.color: rgb:09/0b/17window.button.pressed.colorTo: rgb:c7/dd/be
window.frame.focusColor: rgb:c7/dd/bewindow.frame.unfocusColor: rgb:57/98/94
window.handle.focus: raised gradient diagonalwindow.handle.focus.color: rgb:c7/dd/bewindow.handle.focus.colorTo: rgb:57/98/94window.handle.unfocus: raised gradient diagonalwindow.handle.unfocus.color: rgb:50/54/58window.handle.unfocus.colorTo: black
window.grip.focus: raised gradient verticalwindow.grip.focus.color: rgb:57/98/94window.grip.focus.colorTo: rgb:09/0b/17window.grip.unfocus: raised gradient verticalwindow.grip.unfocus.color: rgb:57/98/94window.grip.unfocus.colorTo: rgb:09/0b/17
window.justify: coenter
borderColor: rgb:57/98/94
bevelWidth: 2borderWidth: 1handleWidth: 5
*Font: nu-9
==== Define background ====
I configure it using the fluxbox wiki howto.
$ fbsetbg -i
display doesn't set the wallpaper properly. Transparency for fluxbox and apps like aterm and xchat won't work right with it. Consider installing feh, wmsetbg (from windowmaker) or Esetroot (from Eterm) and I'll use them instead.
$ sudo apt-get install feh
...
$ fbsetbg -i
feh is a nice wallpapersetter. You won't have any problems.
$ fbsetbg -f /home/alecrim/pessoal/image/paisagem/Grassy2.jpg
==== File manager ====
$ sudo apt-get install xfe
Based on:
http://darkshed.net/files/rcs/fluxbox/keys.html
http://fluxbox-wiki.org/index.php/Howto_set_the_background