Kde 4.2 / Ubuntu 8.10
January 22nd, 2009Just thought I’d share this lovely shot of my new work desktop (click for bigger)
It’s the latest Stable version of Ubuntu (8.10) with the latest, not quite so stable version of Kde (4.2). Kde 4.2 should be released this saturday but for now I’m using the nightly builds available from Project Neon (more about that later) and it seems pretty stable as well as being drop dead gorgeous. Some tinkering was required to get everything running, dual screen support with hardware acceleration was a complete pain for example, but by and large it’s been a pretty straightforward transition. Here’s some notes that might help you out if you’re planning the switch for yourself:
To get kde 4.2:
First off, you need to install Ubuntu (obviously). to make things easy you might want to download Kubuntu 8.10, which comes with kde 4.1 already installed. Once you’re up and running with kubuntu open up the software package manager (adept) and add the following line to your software sources:
deb http://ppa.launchpad.net/project-neon/ubuntu intrepid main
Then open up a terminal session and run this command:
sudo apt-get install kde-nightly
Once that command has finished, log out and you should be able to select ‘kde-nightly’ as a new session.
To join a windows domain:
First you need to install likewise open. It’s in the ubuntu repositories so (in a terminal session)
sudo apt-get install likewise-open sudo domainjoin-cli join DOMAIN ADMINISTRATOR sudo update-rc.d likewise-open defaults
Replace ‘DOMAIN’ with your fully qualified domain name, and ‘ADMINISTRATOR’ with the domain admin username. You can now log into your linux destop using ‘DOMAIN\\username’. One problem I ran into is that my new user was unable to run the sudo command. log into the linux machine with your original username and follow this procedure:
From a terminal do:
sudo visudo
this will open your sudoers file. We need to add line telling linux that we want our domain users to be able to sudo. You can use any domain group or user for this, but since I’m a domain admin I use this line:
DOMAIN\\domain^admins ALL=(ALL) ALL
log back into your domain user and you should be able to sudo.
To get dual desktops running with hardware acceleration
This was a complete arse to get working. I tried messing with xorg, using the catalyst control centre etc etc. The main problem I had was that the ati driver refuesed to detect my monitors as anything other than 1600*1200 screens. Since my monitors can only do 1280*1024 this caused serious issues. In the end I fixed it by adding the ‘proposed’ and ‘restricted’ repositories to my package manager, running a full update and then running the following commands. Obviously this means my machine now has lots of potentially unstable software on it, but I’ve not hit any problems yet. Anyway, once you’ve installed everything and (importantly) enabled the restricted driver (you can do this from the ‘hardware’ section of system settings in kde) do this from a terminal:
sudo aticonfig --intial aticonfig --resolution=0,1280x1024 aticonfig --mode2=1280x1024 aticonfig --dtop=horizontal
Obviously adjust the 1280×1024 to suit your monitors resolution. This worked for me, your mileage may vary.
Making GTK apps look good in kde:
Finally, you might find that GTK apps (such as firefox) look awful in the nightly build of kde. This is because this pre-release version of kde installs itself in a different location than kde is expected to be in, to avoid conflicts. The little piece of software that tells GTK apps how to behave in KDE doesn’t know about that, hence the problem. To fix it, you need to move a script from one place to another using the following command:
cp /home/$USER/.kde/env/gtk-qt-engine.rc.sh /home/$USER/.kde-neon/env/gtk-qt-engine.rc.sh
(replace $USER with your username). log out and back in and you should see lovely KDE themed apps.





