Skip to content

Instantly share code, notes, and snippets.

@stephen-hill
Last active May 14, 2018 20:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephen-hill/c3e914ee47c9020a0ae3a26cac31d50f to your computer and use it in GitHub Desktop.
Save stephen-hill/c3e914ee47c9020a0ae3a26cac31d50f to your computer and use it in GitHub Desktop.
Debian Notebook

Install Debian

  • Do not install a desktop environment

Minimal XFCE4

  • Login as root
  • Install sudo apt update;apt install sudo;
  • Create a user if required adduser USERNAME
  • Add your main user to sudo. usermod -a -G sudo USERNAME
  • Logout of root
  • Login as user
  • sudo apt install xorg
  • sudo apt-get --no-install-recommends install xfce4
  • sudo apt install xfce4-power-manager
  • Add the following to the end of ~/.profile
if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
    exec startx
fi
  • Reboot before starting xorg.

Wifi

  • sudo apt-get --no-install-recommends install xfce4-notifyd wicd

Useful Packages

  • xfce4-whiskermenu-plugin
  • xfce4-terminal
  • chromium
  • gnome-system-monitor

LXC Setup

  • sudo apt install lxc
  • sudo lxc-create -t /usr/share/lxc/templates/lxc-alpine -n mycontainer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment