Some time ago I published an article that showed how install and configure KDE 4.6 on Debian Testing, and this one that I write below, is the same, but it contains updates because there are packages that no longer exist or have another name.
Today morning I did a clean install (from scratch) of Debian, to better document the packages I need to install and so on, so if you follow this article step by step, you will have no reason to have any problems.
Table of Contents
- 1 Debian installation.
- 2 Actualización
- 3 KDE installation
- 4 Additional packages.
- 5 Customizing KDE
- 6 Eliminating effects.
- 7 Properly displaying Gtk applications
- 8 Eliminating processes at the beginning.
- 9 Eliminating elastic cursor.
- 10 Classic desk.
With regard to the installation there is a peculiarity. I normally use Debian Testing and the most logical thing is that I have downloaded an iso of this link and with that you have completed the installation.
Installation, either with iso de Squeeze o Wheezy, it is exactly the same as how I explain it in this pdf, except I don't install Graphic Environment, but only the Standard System Utilities. For this guide I am going to assume that the installation was done from the iso of Testing.
Once we finish installing without a graphical environment, we log in as root and configure the repositories:
# nano /etc/apt/sources.list
in the sources file we put:
deb http://ftp.debian.org/debian testing main contrib non-free
# aptitude update
When finished, we update the packages already installed:
# aptitude safe-upgrade
Once this process is finished, if everything has gone well, we restart the PC and we went on to install KDE.
In this guide we are only going to install the necessary packages so that KDE is displayed correctly and be able to use it. We will also install some necessary packages that are not included by default. Once we log in as root, we will have a fully functional environment by installing the following packages:
# aptitude install kde-plasma-desktop kde-l10n-es kwalletmanager
With this it is enough so that once it finishes and we restart, we can enter our brand new desktop. Since I use intel, I just add: xserver-xorg-video-intel, being this way:
# aptitude install kde-plasma-desktop kde-l10n-es kde-i18n-es kwalletmanager lightdm xserver-xorg-video-intel
This is enough, but we can install other packages related to the appearance of KDE:
# aptitude install kde-style-qtcurve kdeartwork gtk2-engines-oxygen gtk2-engines-qtcurve gtk-qt-engine kdm-theme-aperture kdm-theme-bespin kdm-theme-tibanna
They are packages with which we will improve the applications Gtk that we use and some icons that we add. If you don't use the wallet KDE to manage passwords, you can remove kwalletmanager.
Before restarting, it would be good to install other packages that we may need, for example:
Audio / Video Related Packages
# aptitude install clementine kmplayer vlc (instalado por defecto) gstreamer0.10-esd gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-bad lame pulseaudio kmix
System utility related packages:
# aptitude install ark rar unrar htop mc network-manager-kde gdebi-kde rcconf ksnapshot kde-config-touchpad xfonts-100dpi xfonts-75dpi konsole sudo kate kwrite bash-completion less
Graphics and Images related packages:
# aptitude install gwenview gimp inkscape okular
NO / KDE applications I use:
# aptitude install libreoffice-writer libreoffice-l10n-es libreoffice-kde libreoffice-impress libreoffice-calc diffuse
Internet related packages:
# aptitude install choqok pidgin quassel
Packages I remove:
# aptitude purge exim4 exim4-base exim4-config exim4-daemon-light
Of course you should add or remove what you need 😀
If we pass the previous steps without problems, we come to the most interesting part of this whole thing: customizing KDE to save us a few Mb of consumption. First we will do it manually (by console) to later move on to the graphic aspects.
Deactivating Akonadi + Nepomuk:
I will not go into details about what it is Akonadi o Nepomuk, especially since there is an excellent article that describes very well what is the function of each of them. You can read it here. To deactivate Akonadi completely, we do the following:
$ nano ~/.config/akonadi/akonadiserverrc
We look for the line that says:
and we set it to true:
Keep in mind that applications such as Kmail they use Akonadi, so we may not be able to use them. To deactivate Nepomuk edit the file:
$ nano ~/.kde/share/config/nepomukserverrc
We leave it like this:
In theory all this can be done by The Preferences of the System, but nothing, around here is faster 😀
We can save a bit of resources by eliminating the effects (transparencies, transitions) that comes in KDE by default. For this we open the System Preferences Manager » Appearance and behavior of the workspace »Desktop Effects and uncheck » Enable desktop effects.
We can also remove other effects by setting oxygen-settings. For this we press Alt + F2 and we write oxygen-settings. We should get something like this:
There we can entertain ourselves removing effects of various types. I simply uncheck: Activate animations.
Properly displaying Gtk applications
The first thing we do is install the motors Gtk necessary if we did not do it before:
$ sudo aptitude install gtk2-engines-oxygen gtk2-engines-qtcurve
Later we open a terminal and put:
$ echo 'include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"' >> $HOME/.gtkrc-2.0
$ echo 'include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"' >> $HOME/.gtkrc.mine
Ready, when we open any application GTK Be Firefox, Pidgin o Gimp should be displayed without problems.
Eliminating processes at the beginning.
We open the System Preferences Manager »System Administration» Startup and Shutdown »Service Manager and uncheck the ones we don't want to start. Example of one that I always disable: Nepomuk search modules.
Eliminating elastic cursor.
Although it may not seem like it, the little jump of the icon that appears on the cursor when we open an application consumes resources. To eliminate it we open the System Preferences Manager »Common appearances and behaviors» System and app notifications »Launch notification and where does it say Elastic cursor we put: No busy cursor.
I have always liked having the traditional desk, as in Gnome o KDE 3. For this we go to the desktop and click on the icon in the upper right part and select Folder view preference:
And in the window that comes out we change the disposition to Folder view.
Ready, with this we are done for now 😀