Installing Fonts on Debian

Soo, I was told that the font I use isn't a proper coding font and I should use Source Code Pro. Fine. But if we're already installing fonts, let's download Source Sans Pro aswell. Source Code Pro is obviously for development environments, while Source Sans Pro is meant for user interface usage.
Installing fonts on a GNU/Linux machine is really simple; you just have to move them to a /usr/share/fonts/ folder and update the font cache. Thanks to Linux And Friends for providing me with this solution. Alright, let's begin.
Download the font packages
wget http://sourceforge.net/projects/sourcecodepro.adobe/files/SourceCodePro_FontsOnly-1.017.zip && wget http://sourceforge.net/projects/sourcesans.adobe/files/SourceSansPro_FontsOnly-1.038.zip
Extract the files
unzip SourceCodePro_FontsOnly-1.017.zip && unzip SourceSansPro_FontsOnly-1.038.zip
Copy the files to appropriate folders
sudo mv SourceCodePro_FontsOnly-1.017/OTF/ /usr/share/fonts/opentype/SourceCodePro/ && sudo mv SourceCodePro_FontsOnly-1.017/TTF/ /usr/share/fonts/truetype/SourceCodePro/
sudo mv SourceSansPro_FontsOnly-1.038/OTF/ /usr/share/fonts/opentype/SourceSansPro/ && sudo mv SourceSansPro_FontsOnly-1.038/TTF/ /usr/share/fonts/truetype/SourceSansPro/
Force (-f) a rebuild of the font information cache and show what's happening (-v)
sudo fc-cache -fv
And that's all! The fonts are now installed for all users on your system.


Network Manager: device not managed

Wait, what's going on? Device not managed? But I didn't even do anything I swear! Here's how to fix it, solution found on ask Ubuntu.
Open up your NetworkManager config file and change the line managed=false to managed=true.
sudo vim /etc/NetworkManager/NetworkManager.conf
Then, restart the network-manager service.
sudo service network-manager restart 
Everything should work fine now.


Installing WinVista on an Acer Aspire 7530G

The main problem was finding a Windows Vista setup disc that fit my needs. It needed to be Home Premium, 64 Bit and German. Luckily, I found this website that provides links to Windows Vista, Windows 7 and Windows 8. After downloading and trying to burn it in my own ways, I created an ISO disk image from the Vista setup files with a programme called WBI Creator 1.2 and burned it with Windows 7's Image Burner.
After putting the CD into the tray and booting the laptop, you will see the Windows Vista setup appear. Just follow through the instructions on the screen.
When Vista was running, I needed to install some drivers - mainly the Ethernet drivers from Atheros. You can get them from the Atheros website. Most drivers can then be downloaded via Windows Update or from the websites of Acer, Nvidia or Synaptic website.
From that point on, I had no further unexpected difficulties with the rest of the installation. Still, installing and running Windows Vista x64 is a pain, since the driver support is poor. If you don't want to fight your way through all the Vista issues, maybe you should try a GNU/Linux distribution instead. Why not Debian?

Booting Win8 to Desktop

Windows 8 Metro is a joke. Luckily, there are a few workarounds to start with the proper desktop shell. My favourite: Scheduling a task that runs explorer.exe after every log in. Since there are enough tutorials out there, I'm not going to bother writing it down here.

Make Windows 8 boot straight to the desktop

Alternatively, you could just download a GNU/Linux distribution. Why not Ubuntu?


Auto-detect monitor unplug

I know of no clean way to detect an unplugged screen, so I figured I'd force re-detection with a cron job.
To detect the monitors I'm using disper, you can get it from the Wheezy and Sid repositories.
Let's open up our crontab.
crontab -e
If you're doing this for other users too, you may use
sudo crontab -eu <username> 
Now add a new entry:
0-59 * * * * DISPLAY=:0.0 disper -ld auto > /dev/null
This will automatically detect (-d auto) and list (-l) all monitors every minute.
Of course, you can also use xrandr:
0-59 * * * * DISPLAY=:0.0 xrandr --auto > /dev/null
Both of these commands will adjust your desktop automatically, which will do just fine for most users. The > /dev/null at the end discards all standard output instead of sending you emails. You will still receive error messages.
Thanks to bammes for pointing me in the right direction regarding the display. 

Use mouse in text mode

All you have to do is install the General Purpose Mouse interface, GPM.
sudo apt-get install gpm
As soon as the installation finishes you're ready to use your mouse.