I3wm

From campisano.org
Jump to navigation Jump to search

I3 window manager

Install i3wm

sudo apt-get install i3 suckless-tools

Configure i3wm as default env

  • A graphic login managers like slim (or xdm, lightdm, etc) can be used. They will start your session as defined in ~/.xsession file.

So, to start i3 as default window manager:

echo "exec i3 $@" > ~/.xsession
chmod 750 ~/.xsession

However, a more complete configurantion can setup keyboard layout, wireless, bluetooth and audio tray icons, defines touchpad settings, display a background and so on, like in the follow example:

source ~/.bashrc

bash -c "
sleep 5s                # start after X
#
# X Settings
setxkbmap br, it, us    # keyboard layout
xset -b                 # disable pc speaker bell
# enabling MAC touchpad
synclient\
 VertTwoFingerScroll=1 HorizTwoFingerScroll=1\
 TapButton1=1 TapButton2=3 TapButton3=2
#
# Monitor
nice -10 conky &
#
# applets
nm-applet &             # wireless gnome applet
#wicd-client -t &       # wireless alternative applet
blueman-applet &        # bluetooth applet
pasystray &
#
# Background
feh --bg-scale /home/shared/graphics/backgrounds/i3wm\ 800x600.png
" &
#
# finally, the X manager
exec i3 $@

Dual monitor

See DualMonitor

References