Debian as a Primary OS

It's surprisingly painless to setup Debian as a dual-boot OS on a laptop! I went with XFCE as my window manager for now. I only had to configure a few things.

External Monitors

I made a shortcut on my desktop to a script (~/bin/office-monitor.sh) that I run when I connect my office monitor:

#!/bin/sh

xrandr --output HDMI1 --primary --auto --pos 0x0 --output LVDS1 --auto --pos 1600x360  

This sets my external monitor (on "HDMI," even though it's actually on DisplayPort) as the primary monitor, and positions the output to match the physical positioning of the monitors. (Use xrandr -q to get this right.)

Another shortcut to a script (~/bin/home-monitor.sh) for my home monitor:

#!/bin/sh

xrandr --output DP1 --auto --primary --right-of LVDS1 --output LVDS1 --auto  

USB Audio

I use a USB DAC and amplifier in the office and at home. I just had to edit /etc/modprobe.d/alsa-base.conf to modify this line:

options snd-usb-audio enable=1 index=0  

Flash Player

Download Flash Player from Adobe, unpack the tarball, and sudo mv libflashplayer.so /usr/lib/mozilla/plugins/.

That's it!