If you have a Debian netinstall or LinuxBBQ noX (Spring 2014.1 for example), you can safely follow this guide.
1) Set up an X environment
This is needed to have a graphical interface for working.
Code: Select all
sudo apt-get install xorg xinit x11-utils x11-common xserver-xorg-video-all xserver-xorg-input-mouse xserver-xorg-input-evdev xserver-xorg-input-kbd
2) Get your window manager
Now this depends largely on what you like. We take i3 here as example ;)
Code: Select all
sudo apt-get install i3 i3status i3lock
To actually get our xsession with i3 starting, we create an .xinitrc file:
Code: Select all
nano ~/.xinitrc
Code: Select all
#!/bin/bash
xset s off &
xset -dpms &
xrdb -merge ~/.Xresources &
xsetroot -cursor_name left_ptr &
setxkbmap us &
exec i3
Save and exit the editor (Ctrl-o , Enter, Ctrl-x) and now enter
Code: Select all
startx