The perfect light Debian with Fluxbox [Updated]Follow @ggarron
[Update]I've decided to update this old post, as a warming post before the imminent release of Debian 6.0 Squeeze
As I have mentioned in previous posts, I use to work on Desktops PCs, one in my office and one in my Home, I use my Laptop (an old IBM T30) only when I travel, and as I like to travel light, this also goes for my Laptop, so here I will show how do I configured my Laptop with Debian Lenny, and just the necessary software for my job while abroad.
[Update]Well I now have an old T60, but still like to travel light, so I still use Fluxbox and Openbox in my Laptop
First, I made a list of the necessary software:
- Word Processor
- Spread Sheet
- MSN chat client
- MP3 player
This is for work and fun, now lets install first the system
The base system
I started with The base system of Debian Etch, but be sure to install only the base system not the Desktop environment.
[Update] Now a days, we better install Lenny, so go and pick the the latest stable Debian
Once this is done, we start making the real work, first, I prefer to have Lenny instead of Etch so upgrade to Lenny
[Update] How fast times go, we will now have upgrade to Squeeze, you of course may stay with the stable version, but I always prefer Testing on my Desktop or Laptop, and only use Stable for my servers.
Adding me to sudoers
I do not like to switch to root, each time I need to perform administrative tasks, so I like to use sudo instead, to do this install sudo first:
then add the following line to your
aptitude install sudo
/etc/sudoers file using the command
ggarron ALL=(ALL) ALL
change ggarron for your user, if you want to read more about
sudoers click here
Installing XI decided to use fluxbox, because it is light, and has all I need to work on my laptop, it the window manager that DSL uses, and I like DSL :).
Now install the X-server
sudo aptitude install fluxbox
OK now we should have Fluxbox up and running, lets go for the basing menus, copy the default menu example to be your first menu
sudo aptitude install xserver-xorg
And copy the default user menu to your own Home directory to be your first fluxbox menu
sudo cp /etc/X11/fluxbox/system.fluxbox-menu /etc/X11/fluxbox/fluxbox-menu
cp /etc/X11/fluxbox/fluxbox.menu-user $HOME/.fluxbox/menu
Add X-termI know you want to start fluxbox, but we need two more things to be able to start working in a GUI environment, the first thing is to install Xterm
Then add it to the Fluxbox menu, read how to add programs to Fluxbox menu to know how to do it. Note that we have not installed KDM, GDM or XDM so we will have to start GUI in the old way
sudo aptitude install xterm
If you do not want this, you can install gdm, or xdm, or kdm as you prefer, I want to keep this installation really light.
Beautifying the DesktopBefore installing the applications, lets make our Desktop a little bit more "eyecandy" if this word can be used, we will install conky which is one of my favorite applications in DSL, be sure to have
own_windowoption to "no", for it to appear directly on your Desktop, as it do on DSL To make Conky start each time you log into Fluxbox, add this line to
conky &be sure it to appear before this other line
exec /usr/bin/fluxboxwhich needs to be the last one
Configuring the necessary Laptop softwareIf yours is not a Laptop jump to the next section Wifi
Read manage your Wifi networks with wifi-radar to learn more.
sudo aptitude install wifi-radar
[Update] I must say that now a days I prefer wicd instead of wifi-radar, but now you have the two options, I also like the possibility to use
wicd-curses to manage wifi connections from the command line.
And configure it to work with root server, when it asks you about that, after that, edit your
sudo aptitude install pdnsd
/etc/dhcp3/dhclient.confand be sure this line is un-commented
prepend domain-name-servers 127.0.0.1;
[Update] If you are using wicd, you can configure the DNS directly on each connection wicd will manage.CPU frequency You may want to install this, to save battery power, and avoid overheating, for both your laptop and battery.
Now start it:
sudo aptitude install cpufreqd
If it can not start (as in my case) you may need to load the right module, read here to know how to do it, according to your processor, but basically you need to choose between these lines for AMD Sempron/Athlon/MP ( K7 )
sudo /etc/init.d/cpufreqd start
for AMD Duron/Sempron/Athlon/Opteron 64 ( K8 )
sudo modprobe powernow-k7
for Intel Core Duo and Intel Pentium M
sudo modprobe powernow-k8
for Others (Unknown) - This one worked for me with a Pentium IV -
sudo modprobe speedstep-centrino
sudo modprobe acpi-cpufreq
The applications softwareNow we are ready to install the application software
CenterICQ is a text based MSN, Yahoo, ICQ client. After installing all these stuff, remember to create the necessary menus to access the software from FluxBox, or you will have to start them using the command line.
sudo aptitude install firefox thunderbird centericq htop vim gftp
Installing the rest of the softwareOffice applications You should now decide between OpenOffice or other alternatives, like gnumeric and abiword, I do not consider Koffice as it will install a kdebase, and kdelibs, which is like having KDE in your system. If you want to install openoffice run:
and if abiword and gnumeric
sudo aptitude install openoffice.org
MP3 player You can try installing mpg123 Skype To install skype, you can download the .deb from its page, or install skype from repositories Vmware Here you will find a How to install vwmare on Debian You should now have a very light, fast and optimized computer with Debian, Fluxbox, and all the necessary software. Note: If you want to have this but with Fedora or CentOS or Ubuntu, install their server versions (With no servers at all) and then proceed like here. update: Following the advice of one of our readers, I am adding here the link to the guide to add sound control to these configuration Adding sound to Fluxbox Last note: If you liked this story, please do not forget Voting for it on StumbleUpon
sudo aptitude install abiword gnumeric