LMDE Homebrew: Mintified Debian with KDE Desktop
Posted: Fri Jun 01, 2012 6:47 am
[Edit]
29-07-2012
I've just announced my Unofficial LMDE KDE: http://forums.linuxmint.com/viewtopic.p ... 0&t=106426
[Edit]
==============================================================
If you, like me, love LMDE but prefer the KDE desktop environmont, you could simply apt-get install kde-standard.
But then you're left with a bloated system...MATE, Cinnamon and everything else you don't need is still there.
So, I started with KDE on a Debian Install and tried to Mintify that.
==============================================================
1. Download and install Debian Squeeze and install KDE
You have several options here:
a) Download the netintaller
http://www.debian.org/distrib
This will download everything: Debian Squeeze and KDE.
Installation:
In the Debian GNU/Linux installer boot menu:
– Advanced options
– Alternative desktop environments
– KDE
– Install
b) Download the live install iso with KDE (I used this for the purpose of this tutorial)
http://www.debian.org/CD/live
Simply follow installation.
c) Get the live install iso, “standard” install (gives more flexibility installing KDE – thanks to squeezy)
http://www.debian.org/CD/live
For this you need to know what you're doing.
After installation, reboot, login, open a konsole and su.
2. Prepare your system
To make things easier, start with adding your user to the sudo group.
Some packages are not in the LMDE repositories:
Some packages are safe to remove:
Point to the LMDE repositories (commenting or replacing the existing repositories)
Check for available mirrors: http://www.linuxmint.com/mirrors.php
Edit sources.list
Replace (or comment with #) the existing references with the following lines
Update repositories
Install the keyrings
Install mintsystem
3. Get the Linux Mint KDE artwork
Now the next step is a bit dirty, but we need the mint-artwork from the Linux Mint repositories.
Copy the following lines:
Copy the kde4rc file to /etc.
This will actually start plasma with the mint kde configuration
After this point, KDM will not start when you reboot. When you do, don't worry. Login and type “startx”. Now you can change the KDM theme or resume the tutorial.
4. Upgrade and install packages
Upgrade your system
Install packages
5. Mintify
Install Linux Mint packages
Create preferences file (thanks to zerozero)
Only implement the preferences file when using the standard latest/incoming UP-policy. Delete this file when tracking Debian repositories instead of LMDE repositories.
It should look like this:
Edit grub file:
Replace by:
Change default kdm theme: Caledonia
The next two changes (kdm and splash) I used the Caledonia theme. This is just a matter of taste, so change to your favorite theme.
KDM: http://kde-look.org/content/show.php/Ca ... ent=143130
Now, configure your theme through the KDM manager: System Settings / System Administration / Login Screen
Change default splash theme: Caledonia
http://kde-look.org/content/show.php/Ca ... ent=143576
Change ksplashrc to make it look like this:
Search for oxy-white.theme and type the selection number.
Change default wallpaper
Untar the attached wallpaper theme.
Change files coming with package mint-configuration-kde:
Replace string "Mint_Lisa" by "LMDE_KDE" in the following files:
Prevent package from being upgraded:
Check if the package is on hold:
If you ever want to reset the hold on the package:
Change icons for Wicd
If you prefer Wicd on you laptop, but don't care much about the icons, follow these steps:
http://kde-look.org/content/show.php/Al ... ent=125921
6. Finishing off
Delete the user's .kde directory
Now we need to delete the user's .kde directory. The .kde directory will be re-generated with the new Linux Mint KDE configuration on next login.
CTRL-ALT-F1
And now the exciting part: reboot your system.
If all went well, you are now the proud owner of a LMDE KDE system!
29-07-2012
I've just announced my Unofficial LMDE KDE: http://forums.linuxmint.com/viewtopic.p ... 0&t=106426
[Edit]
==============================================================
If you, like me, love LMDE but prefer the KDE desktop environmont, you could simply apt-get install kde-standard.
But then you're left with a bloated system...MATE, Cinnamon and everything else you don't need is still there.
So, I started with KDE on a Debian Install and tried to Mintify that.
==============================================================
1. Download and install Debian Squeeze and install KDE
You have several options here:
a) Download the netintaller
http://www.debian.org/distrib
This will download everything: Debian Squeeze and KDE.
Installation:
In the Debian GNU/Linux installer boot menu:
– Advanced options
– Alternative desktop environments
– KDE
– Install
b) Download the live install iso with KDE (I used this for the purpose of this tutorial)
http://www.debian.org/CD/live
Simply follow installation.
c) Get the live install iso, “standard” install (gives more flexibility installing KDE – thanks to squeezy)
http://www.debian.org/CD/live
For this you need to know what you're doing.
After installation, reboot, login, open a konsole and su.
2. Prepare your system
To make things easier, start with adding your user to the sudo group.
Code: Select all
usermod -G sudo your_user_name
Code: Select all
apt-get install debian-handbook ktorrent
Code: Select all
apt-get purge debian-installer-launcher xterm iceweasel kexec-tools update-notifier*
Check for available mirrors: http://www.linuxmint.com/mirrors.php
Edit sources.list
Code: Select all
nano /etc/apt/sources.list
- deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
Code: Select all
echo "Acquire::Check-Valid-Until \"false\";" > /etc/apt/apt.conf.d/80mintupdate-debian
Code: Select all
apt-get update
Code: Select all
apt-get install debian-multimedia-keyring linuxmint-keyring
Code: Select all
apt-get install mintsystem
Now the next step is a bit dirty, but we need the mint-artwork from the Linux Mint repositories.
Code: Select all
nano /etc/apt/sources.list.d/lisa.list
- deb http://packages.linuxmint.com/ lisa main upstream import
deb http://packages.linuxmint.com/ lisa-kde main upstream import
Code: Select all
apt-get update
apt-get install mint-artwork-common mint-artwork-kde mint-artwork-kde-extra mint-configuration-kde ksplash-theme-mint-kde mint-md5sum-kde rootactions-servicemenu
rm /etc/apt/sources.list.d/lisa.list
This will actually start plasma with the mint kde configuration
Code: Select all
cp /usr/lib/linuxmint/mintSystem/adjustments/kde/kde4rc /etc/
4. Upgrade and install packages
Upgrade your system
Code: Select all
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get autoremove
Code: Select all
apt-get install flashplayer-mozilla gecko-mediaplayer ffmpeg kde-config-gtk-style apt-xapian-index synaptic gdebi-kde gtk2-engines-oxygen xdg-user-dirs amarok minitube kscd krdc bluedevil kppp kuser ksystemlog kdf kcharselect winbind kvkbd kgpg partitionmanager xinit ndisgtk openprinting-ppds bluez-cups cups-pdf deborphan python-smbc kdenetwork-filesharing fusesmb unetbootin kde-config-touchpad samba ksaneplugin kid3 soundkonverter k9copy inkscape quassel
Install Linux Mint packages
Code: Select all
apt-get install mintinstall mintnanny mintupdate-debian mintupload mintbackup mintwifi grub2-theme-mint mint-search-addon virtuoso-minimal firefox thunderbird
Only implement the preferences file when using the standard latest/incoming UP-policy. Delete this file when tracking Debian repositories instead of LMDE repositories.
Code: Select all
nano /etc/apt/preferences
- Package: *
Pin: release o=linuxmint
Pin-Priority: 700
Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700
Package: *
Pin: release o=Debian
Pin-Priority: 500
Code: Select all
rm /etc/grub.d/05_debian_theme
Code: Select all
nano /etc/default/grub
- RUB_GFXPAYLOAD_LINUX=keep
GRUB_COLOR_HIGHLIGHT=light-blue/light-blue
GRUB_COLOR_NORMAL=black/black
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_DEFAULT=saved
GRUB_GFXMODE=1024x768
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
Code: Select all
update-grub
The next two changes (kdm and splash) I used the Caledonia theme. This is just a matter of taste, so change to your favorite theme.
KDM: http://kde-look.org/content/show.php/Ca ... ent=143130
Code: Select all
wget -c http://kde-look.org/CONTENT/content-files/143130-Caledonia-KDM.tar.gz
tar -C /usr/share/kde4/apps/kdm/themes -zxvf 143130-Caledonia-KDM.tar.gz
Change default splash theme: Caledonia
http://kde-look.org/content/show.php/Ca ... ent=143576
Code: Select all
wget -c http://kde-look.org/CONTENT/content-files/143576-Caledonia-KSplash.tar.gz
tar -C /usr/share/kde4/apps/ksplash/Themes -zxvf 143576-Caledonia-KSplash.tar.gz
nano /usr/share/desktop-base/profiles/kde-profile/share/config/ksplashrc
- [KSplash]
Engine=KSplashX
Theme=Caledonia-KSplash
Code: Select all
update-alternatives --config x-cursor-theme
Change default wallpaper
Untar the attached wallpaper theme.
Code: Select all
tar -C /usr/share/wallpapers -zxvf LMDE_KDE.tar.gz
Replace string "Mint_Lisa" by "LMDE_KDE" in the following files:
Code: Select all
nano /usr/share/mintkde-default-settings/kde4-profile/default/share/apps/plasma-desktop/init/00-defaultLayout.js
nano /usr/share/mintkde-default-settings/kde4-profile/default/share/apps/desktoptheme/default/metadata.desktop
nano /usr/lib/linuxmint/mintSystem/adjustments/kde/kde_ui.py
Code: Select all
sudo -s
echo "mint-configuration-kde hold" | dpkg --set-selections
Code: Select all
sudo -s
dpkg –set-selections mint-configuration-kde
Code: Select all
sudo -s
echo "mint-configuration-kde install" | dpkg --set-selections
If you prefer Wicd on you laptop, but don't care much about the icons, follow these steps:
http://kde-look.org/content/show.php/Al ... ent=125921
Code: Select all
wget -c http://kde-look.org/CONTENT/content-files/125921-wicd.tar.gz
tar -C /usr/share/pixmaps -zxvf 125921-wicd.tar.gz
mv /usr/share/pixmaps/wicd /usr/share/pixmaps/wicd-org
cp /usr/share/pixmaps/wicd-pale /usr/share/pixmaps/wicd
Delete the user's .kde directory
Now we need to delete the user's .kde directory. The .kde directory will be re-generated with the new Linux Mint KDE configuration on next login.
CTRL-ALT-F1
Code: Select all
rm -r /home/your_user_name/.kde
If all went well, you are now the proud owner of a LMDE KDE system!