The perfect light Debian with Fluxbox
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 necesary software for my job while abroad.
First, I made a list of the necessary software:
- Firefox
- Thunderbird
- Word Processor
- Spread Sheet
- Skype
- MSN chat client
- MP3 player
- Vmware
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.
Once this is done, we start making the real work, first, I prefer to have Lenny instead of Etch so upgrade to Lenny
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:
aptitude install sudo
then add the following line to your /etc/sudoers file using the command visudo
ggarron ALL=(ALL) ALL
change ggarron for your user, if you want to read more about sudoers click here
Installing X
I 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 :).
sudo aptitude install fluxbox
Now install the X-server
sudo aptitude install xserver-xorg
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 cp /etc/X11/fluxbox/system.fluxbox-menu /etc/X11/fluxbox/fluxbox-menu
And copy the default user menu to your own Home directory to be your first fluxbox menu
cp /etc/X11/fluxbox/fluxbox.menu-user $HOME/.fluxbox/menu
Add X-term
I 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
sudo aptitude 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
startx
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 Desktop
Before 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_window option 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 $HOME/.fluxbox/startup
conky &
be sure it to appear before this other line
exec /usr/bin/fluxbox
which needs to be the last one
Configuring the necessary Laptop software
If yours is not a Laptop jump to the next section
Wifi
sudo aptitude install wifi-radar
Read manage your Wifi networks with wifi-radar to learn more.
Your own DNS server
As some WiFi routers do now work as they should when they act as DNS server, I prefer to have my own on my laptop, so lets install pdnsd
sudo aptitude install pdnsd
And configure it to work with root server, when it asks you about that, after that, edit your /etc/dhcp3/dhclient.conf and be sure this line is uncommented
prepend domain-name-servers 127.0.0.1;
CPU frequency
You may want to install this, to save battery power, and avoid overheating, for both your laptop and battery.
sudo aptitude install cpufreqd
Now start it:
sudo /etc/init.d/cpufreqd start
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 modprobe powernow-k7
for AMD Duron/Sempron/Athlon/Opteron 64 ( K8 )
sudo modprobe powernow-k8
for Intel Core Duo and Intel Pentium M
sudo modprobe speedstep-centrino
for Others (Unknown) - This one worked for me with a Pentium IV -
sudo modprobe acpi-cpufreq
The applications software
Now we are ready to install the application software
sudo aptitude install firefox thunderbird centericq htop vim gftp
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.
Installing the rest of the software
Office 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:
sudo aptitude install openoffice.org
and if abiword and gnumeric
sudo aptitude install abiword gnumeric
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
Trackback URL for this post:
If you like this article, subscribe to our full rss
Please post your question in our forum and use comments only to leave your comments about the article, thanks.













Nice walk-through. This is
Nice walk-through. This is something I'd prefer on older laptops. What about installing other softwares you mentioned in the beginning:
- Word Processor
- Spread Sheet
- Skype
- MP3 player
- Vmware ?
Hi, It will depends on the
Hi,
It will depends on the software you whould like, I will update the post, with that info.
Guillermo Garron
Nice article. I run a
Nice article. I run a similar basic system but with XFCE as my preferred DT. Great performance from 450MHz/192M ram system. Just a minor point: xserver is deprecated and xorg calls on it so there is no need to install xserver-xorg, just install xorg
Thanks I did not know
Thanks I did not know that!
Guillermo Garron
very nice tutorial , i
very nice tutorial , i didn't knew about pdnsd :)
i use xfce as my main DE (ubuntu) and on low systems i install xfce+debian (amd k6-2@350Mhz and ~128M ram)
I have also tried fluxbox and i like it
The most common cases of
The most common cases of lightweight installs are required on old ardware, and not always this kind of ardware can afford a 2.6-kernel, so could be very useful to know how to install a 2.4-kernel with debian-etch.
You are right, I think that
You are right, I think that will be of my next posts.
thanks for the idea.
Guillermo Garron
Vmware? Pff, use VirtualBox
Vmware? Pff, use VirtualBox dude ;)
Yes, I like VirtualBox, too,
Yes, I like VirtualBox, too, it is only that my XP is all installed with all drivers in VMware, and I am lazy, I do not want to install XP again, no matter what they say, for me it is more difficult than installing Linux :)
Guillermo Garron
I can't seem to install
I can't seem to install Firefox because of a dependency that is unmet within iceweasel, the version I have is higher, and it just stops. Any suggestions?
Can you please copy here the
Can you please copy here the message you are reading?
Guillermo Garron
This is great guide cause I
This is great guide cause I have a old dell, and didn't want to bog it down with anything too heavy (XP just made it run badly), and this was exactly what I needed.
I didn't have a problem until I went to add conky to the fluxbox startup file, it doesn't seem to exist, so I created it, added the line, but its totally ignored, I can't work out where startx is told to load fluxbox. I am sure I will find it somewhere.
Thank-you for this guide.
Please post here or better
Please post here or better at:
http://www.go2linux.org/forums/
all the info, like:
the name and directory of you fluxbox startup guide and its content, also the content of your .xinitrc, thanks.
Guillermo Garron
Yeah, I had a look at the
Yeah, I had a look at the xorg website and it pointed me to .xinitrc, so I am all good now, my next step was installing alsa-base and alsa-utils, then turning my volume up, so now I have sound too, thanks again for a great guide, perhaps adding a section on sound would be good. :)
:) Here was the sound's
:)
Here was the sound's guide:
http://www.go2linux.org/audacious-mp3-player-light-weight
I will add to the main guide also.
Guillermo Garron
Hi, I've install Lenny just
Hi, I've install Lenny just as you've suggested and is stuck with the wireless for the past few days.
Still unable to get the wireless working (Thinkpad R61, Intel 3945).
Any suggestions or articles would be nice :-)
Will be reinstalling soon....Aarghhhh !!
Hope to hear from you
Hi, please read here:
Hi,
please read here: http://www.go2linux.org/forums/lenny-thinkpad-r61-intel-3945-wireless-pr...
and post your output
Guillermo Garron
Do you have a tutorial on
Do you have a tutorial on how to create a Debian/vmWare installation CD that includes all necessary components to install Debian and vmware server without requiring internet connection? I am planning use this cd to virtualize few Windows XP PCs. I may not have access to the internet at the time of installation.
I tried to add a folder with vmWare installation files to the Debian cd ISO and get an error during the Debian installation.
Thanks in advance for any advise.
I think you will need two
I think you will need two CDs one with the Debian ISO and another with vmware files.
maybe I am miss-understanding what you are trying to do, please let me know.
Guillermo Garron
Thanks. I wish I can put
Thanks. I wish I can put everything in one CD as Debian bare installation is only around 100 mb. Also, probably due to my PC has no internet connection when running Linux (don't know how to configure to use corporate proxy server), I was unable to install Fluxbox, xterm, Conky, etc tools. Can you provide instructions on how to install thes tools from a CD? (and perhaps a list of URLs for me to download these software into a CD in order to complete the installation).
I downloaded latest vmware server into a CD and try to install it onto Linux. But I am getting "setup is unable to find the "killall" program...". I followed your other tutorial on installing Debian 4r3 etch. I am new to this and it seems something is missing.
My main purpose of using Debian is to use it as a thin host operating system for VMware so that I can allocate maximum memory for guest operating systems (Windows XP and Windows 2003). In doing so, purpose I can learn something about Linux.
Thanks again for your help.
Post new comment