Written by Jon Berg <jon.berg|a|turtlemeat.com>
Created: March 2011
This document will tell you the steps needed to install Arch Linux as a desktop computer. And in the process get rid of your Windows addiction.
A little rant about Windows and Microsoft
First a little rant about Microsoft and Windows... Back in the days of Windows 95, it was a big step up from Windows 3 and DOS. It was not perfect then, the blue screen and all of that. But it was easy to use and it mostly worked. Now 16 years later Windows is basically the same on the surface, but I suppose stuff behind the scenes have been improved. But Windows as a product seems to have hit a wall. I know a lot of companies still using Windows XP even though that there have been two releases of Windows after that, Windows Vista and Windows 7. Some alarms should be going off at Microsoft, but I suppose there are no alarms. The reason for not upgrading is that there are more hassles of switching to a new version and too few need to have features in the new versions. I suppose companies don't care about the changed Windows 7 user interface.
For me I have paid for my shares of Windows CDs and licenses. But when you need to reinstall Windows, you can't find the CD, or the product key. That is my fault to not take care of the CDs. There is nowhere to download it legally or get the product key. And now days you only get a partition on the hard drive with the install files. Obviously a lot of bumps in the road even for paying and legal users.
Why Linux as a desktop
The only drawback is that it is still in some ways not as automatic as Windows. You might have to edit some configuration files. You may have to research things on the web. You have to get your hands dirty some times.
Previously some of the hassle with Linux as a desktop has been that the selection of desktop programs have been limited. But more and more is done online. And Firefox is just the same on Linux as on Windows. It seems more snappier and responsive on Linux than on Windows on the same hardware. And if you just surf the web, download, watch movies, maybe programming or make web pages and listen to music you can do it just fine on Linux. If you need more than that you need to research what programs you need and what is available.
Some screenshots of Desktop Linux with Fluxbox
Getting Started Installing Linux as a Desktop
The Linux distribution of choice is Arch Linux. It is light weight, it works, it is great, has good documentation and helpful people on the forum.
Go to https://archlinux.org then go to the download page. Chose Netinstall Image, this will create a install CD that will download most of the files it needs during the installation from the Internet. Chose i686 CPU if you have an old 32 bit PC. Chose x86-64 CPU if you have a 64 bit PC. Burn the downloaded ISO-file as a bootable CD.
The Installation Process
Put the CD in the machine, and it will boot the installation program.
I like to have the operating system on a separate disk. And then have my user files on a different disk. That way it is easy to just format the disk with the operating system at will. This Linux setup does not take a lot of space. A 5 gigabyte disk is actually enough for the operating system.
Install a basic Arch Linux. Be careful not to format any disk you don't intend to format.
Then when you have a basic installation login as root.
Add a regular user called user9 and change the password:
useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash user9
Set no word wrap in nano:
edit /etc/rc.conf to change the keyboard mapping in this case to norwegian, and change the machine host name to deception:
disable pc-speaker, add !pcspkr in rc.config such as:
Pacman is the package manager program. It basically downloads, upgrades and installs new software. Writing pacman -S package-name downloads installs the package-name. So that is the install command that is used in the text below.
Setting up the desktop (window manager)
The window manager is the software that provides the desktop. There are many types of window managers to choose from, but I like Fluxbox (fluxbox.org) because it is very simple and clean. If you are used to Windows 7 you probably get a shock when you only get a blank screen with a thin bar at the bottom and a menu when clicking the right mouse button. But it is cool when you get used to it.
Install the drivers for the graphics card. This is the most cumbersome step.
pacman -S xf86-video-nouveau (this is the nvidia driver, use something that corresponds to your graphics card)
create /etc/X11/xorg.conf.d/20-nouveau.conf and add:
create .xinitrc in home directory and add:
Non us keyboard in X:
set keyboard-layout, in /etc/X11/xorg.conf.d/11.keyboard.conf add
Some additional packages that are useful:
At this point you should be able to start fluxbox, by typing startx. It basically starts what is put in .xinitrc.
Some more useful programs
Be able to watch video:
Samba client, be able to mount Windows shares and access files: pacman -S smbclient
Flash plug-in for firefox (this is a hassle and may not be stable, but hey in a year this is probably solved with HTML5 and no flash):
Ftp client with user interface:
Torrent download program: pacman -S ktorrent
Lock screen: xlock: (xlock -mode blank) pacman -S xlockmore
customize fluxbox, see the .fluxbox directory:
Store current volume as default.
Web (webmastering) Mix Computer related text
Mix Computer related text