We will explore how to remove these programs. I started with a fresh install. To make things worst, I choosed to install kde. As it was not possible to install fvwm-crystal, I updated to Sid. After the installation of FVWM-Crystal, the first modification I made was to auto-login my user and to auto start X without the need of a display manager like kdm.
For that, I just removed all the symlinks to kdm in /etc/rc*.d. And I changed the following in /etc/inittab:
to:1respawn:/sbin/getty 38400 tty1
Code: Select all
1:2345:respawn:/bin/login -f dom tty1 </dev/tty1 >/dev/tty1 2>&1
In your home directory, create or edit ~/.bash_profile:
Code: Select all
source .bashrc
pidof X >/dev/null || startx
Code: Select all
/usr/bin/fvwm-crystal
Code: Select all
/usr/bin/fvwm-crystal 2> .errors_fvwm-crystal
This is only useful if you want to autostart X at boot time. An alternative, the Debian way, is to install nodm;
Code: Select all
sudo apt-get install nodm
For a multi-users system, you will have to login manualy, or to install a display manager that doesn't depend on *kit.
If you want to be able to start different display managers with starx, it is possible to script it, but this is another subject.
Now, we can remove the non wanted stuffs. What to do here, and its exact order, can depend on which softwares are installed on your system:
Code: Select all
su -
apt-get remove pulseaudio
apt-get remove kde #not sure for this one, it is in my history...
apt-get autoremove
apt-get remove kdelibs-bin kdelibs5-data
apt-get autoremove
apt-get remove libgnome
apt-get remove policykit
apt-get remove consolekit
apt-get autoremove
apt-get autoremove
If that fail, read the apt-get messages to know which package(s) is/are blocking the removing, and remove them. If you want to use kde in a *kit free system, use gentoo with a *kit free profile like the one in the pro-audio overlay. If you want to use Gnome in a * kit free system, wait for Gnome 4. If you want to use pulseaudio, wait for ever. A good alternative is jack-audio-connection-kit with the snd-aloop module and jack_connect, or best, zita-ajbridge.
The fonts in libreoffice will be very small. We need to install
Code: Select all
apt-get install libreoffice-gtk