Category Archives: Ubuntu

Four, then II

Observations on KDE 4.1:

1. Everytime I restarted, Kate (the editor) and Kopete kept starting up: I didn’t find any references to these programs in the regular location (.kde4/Autostart), so I did a grep on ps (as in ‘ps -e | grep kate’ and ‘ps -e | kopete’), killed both instances and this seems to work. There’s probably a file (cache) related to this, but you know, this is Linux and it doesn’t hurt to kill an app so once in a while.

2. The Wifi Manager: Don’t forget to install the WIFI manager (KWifiManager): it doesn’t get installed by default! Additionally, to force autoconnection to your router, you must store the router password in KWallet.

3. I cannot stand the fact that if I choose to Shutdown KDE, that I have to confirm this in a second dialog box.

4. Both Dolphin and Gwenview currently don’t support RAW image view or thumbnail generation. Nautilus (Gnome’s filebrowser) does.

5. If you keep the control key pressed for a couple of seconds, Konqueror will show the shortcut keys for all links and buttons currently in view. This works pretty good.

KDE starts up pretty fast but takes a while to close off, that is, longer than shutting down Gnome. I’ve seen Windows Vista take longer to close off. Heck, even KDE starts up faster than a (fully) loaded Windows XP. Additionally, I have the feeling that (for example) Konqueror doesn’t properly dispose of its resources. However, I will readily admit that I made KDE the default desktop environment for this computer.

Four, then

I decided to give KDE 4.1 a go on my current Ubuntu (Hardy Heron) install: There are many sites around with instructions how to install KDE on your Gnome-enabled installation, so I won’t go in too many details. The idea is to add specific Kubuntu sources to apt, log-out by choosing a different window manager (using a different session, particularly if you plan to keep Gnome) and then log-in as usual.

You still need the install applications of course: So, you may want to look for Konqueror (Firefox works OK, but, will look ‘GTK-ish’), Amorok (audio) and Kaffeine (video), KPhotoAlbum and yes, digiKam: Kubuntu uses the (KDE specific?) Adept application to install 3rd party software.

I’ve used KDE 2 and 3 in the past: KDE 4.1 is generally impressive but still shows inconsistencies so once in a while. For example, during the first startup, a default Folder View shows up empty (Desktop): The point (apparently) is that you’re supposed to drag your frequent used applications in there. There are other quirks, like non-hideable panels (what?) and that widget stuff: uh, don’t count on it working too well because, on the overall, it doesn’t feel thought out.

If you can live with that, there are a lot of excellent applications for KDE. Amarok feels like a work of love and makes all those Gnome music players look like Windows 3.1 applications. Kaffeine looks (a lot) less boring than Gnome’s ‘Movie Player’. Konqueror feels fast, but, be forewarned that you probably have to muck around with settings: for example, GMail refuses to work in Konqueror unless you set it to send the ‘Mozilla 1.7′ or ‘Safari 2.0′ identification strings. This is not entirely Konqueror’s fault: Google itself doesn’t (officially) support Konqueror.

Earlier, I was already surprised about Gnome/AWN’s minimal system requirements. The same is true for KDE 4.1: it runs excellent on the current system (a 512 MB Centrino based laptop with one of those crappy GMA video cards).

Continue reading


So, Avant Window Navigator after the “Ubuntu installation” dust is settling, it’s time to add some ‘candy’ to your desktop. After all, the default Gnome docks look quite boring.

- You can look for Themes and that over at Art at Gnome or GnomeLook. A word of caution: Gnome is not Windows. To install a theme, you download the tar/files, go to System | Preferences | Appearance -> Install. I recommend downloading the ClearLooks Themes (both Application and Window Border themes).

- The next thing is to install AWN, or, the Avant Window Navigator. It’s a sort of Leopard-like Dock and it works seamless with Compiz/Beryl. The good news is that Hardy includes AWN. The bad news is that Hardy doesn’t include the core set of applets. So, include the following lines to Software Sources:

deb hardy main
deb-src hardy main

Then, open up a terminal (you can also use the Synaptic Manager) and enter:

sudo apt-get install awn-manager-trunk awn-extras-applets-trunk

AWN will be installed in your Applications Menu. Additionally, the AWN manager will be installed in your System menu. Before you start up AWN, remove the bottom panel first (you don’t need that one anymore). Currently there are 10 to 15 applets available: You can obviously write your own applets too.

Earlier, I downloaded the trunk of the latest Banshee sources: I’ve opted to discard of RhythmBox Music Player only because Banshee allows the use of bookmarks, something I found handy while downloading and listening to the several CBC and PBS podcasts. The good thing is that most of Banshee’s dependencies (the libraries, the libraries) are included in Hardy (except for the latest GDK/GTK libs).

Huh. huh?

I wasMrs. Clinton trying to play a QuickTime movie on Ubuntu (“Hardy Heron”, 8.04) and was surprised to find out that Totem (the default Mozilla plug-in for streaming movies) had a (ahem) hard time to play the movie. VLC to the rescue: well, almost. It’s the codecs, dude.

First verify if the ‘ubuntu-restricted’ downloads are installed: You can either issue an ‘sudo apt-get install ubuntu-restricted-extras’ or you can look in the ‘Add/Remove’ option in the Application Menu. Select ‘All Available Applications’ and do a search for ‘ubuntu-restricted’. If not, on to the hard way.

First I recommend to get rid of the default Mozilla/Firefox video plugin (which is Totem and it totally sucks): sudo apt-get remove totem-mozilla mozilla-plugin-vlc xine-plugin kaffeine-mozilla helix-player mozilla-helix-player.

Then, install Mplayer by invoking sudo apt-get install mplayer mozilla-mplayer

After this, you should be able to view Quicktime movies in all of your installed videoplayers (Totem, VLC and MPlayer). When MPlayer is installed, don’t forget to enable the software-mixer in the preferences: and if you’re SOL, you may want to restart the computer right after that (I had some bad luck with my machine which may have been unrelated to the MPlayer installation).

I think my troubles started with the fact that I originally installed ‘Gutsy Gibbon’ on my machine: the dist-upgrade to Hardy Heron, issued just yesterday, most likely didn’t automatically finish the setup of the ‘ubuntu-restricted’ package, so, if you started out from scratch with ‘Hardy Heron’, you should not have any troubles viewing WMV/Quicktime, since it is supposed to have been installed. If you plan to stick to Gutsy (and upgrade to Hardy afterwards) , you most likely want to follow the steps mentioned above.

And now, back to watching Apple trailers or, uh, watching Evil Hillary movies.

Update 1: Notice that even if you issue ‘manual apt commands’, the installed packages will add the correct program icon to the appropriate ‘Application menu’ in Gnome. I assume, the same is true if you’re working with Kubuntu or Xubuntu.

Update 2: If you noticed that Ubuntu has problems playing sound in concurrent sessions (i.e. sound in a Flash player goes OK in FireFox, but no sound in MPlayer/Banshee or vice versa), you should definitely follow these instructions to correct the problem. Requires some editing of resource files: nothing spectacular.

Them links

Via Suzanne Vega’s site, I found out that she nowadays (also) blogs for the New York Time’s ‘Measure for Measure’ periodical. There are other musicians writing for that very same blog: the only (other) familiar author is Roseanne Cash.

You’re probably aware that music and mathematics are quite related: Pythagoras was quite interested in music and his theories form the basis of current musical notation. Anyway: Three music professors have come up with a new way to analyze and categorize music and notes.

I forgot to mention it in earlier (Ubuntu) entries: In a couple of days (5 to be exactly), the new Ubuntu is to be released, properly named ‘Hardy Heron’ (or rather 8.04). You can download (complete) test versions (RC3, I believe) from the ‘Ubuntu testing’ website. You can also upgrade your current 7.10 (“Gutsy Gibbon”) to this test version using Ubuntu’s Update Manager. If you’re curious what’s going to be new, here are “Hardy Heron”‘s release notes.

Update: I just updated to the RC of Hardy Heron. You should definitely install the compiz graphical effects manager by invoking ‘apt-get install compizconfig-settings-manager’. The manager will appear in your System menu: have fun playing with the options.

More Ubuntu

MoreA dragonfly annotations on Ubuntu:

  • The installation of MonoDevelop was a no-brainer: I think the .Net runtimes are installed the moment you install Ubuntu. I may port one minor application to Mono, if I have time later this evening.
  • At one time, I despised the multiple ‘desktop’ panels that are part of (most) Linux Windows managers. Nowadays, I’ve learnt to appreciate it: I gather that you should keep them limited to 2 or 4. I chose to keep the default set of panels (2 columns, 1 row)
  • Generally, keyboards shortcuts follow Mac and Windows standards. You may want to see into this document explaining all (or most) known shortcut keys known for Gnome and KDE.
  • I heart Audacity, which was one of the first apps I installed yesterday. Getting the application to both record and play was a bit of a nuisance: Make sure to go into the preferences (Edit | Preferences) and set both PlayBack and Recording sections to the proper sound card devices. I only got this going (both recording and playback) by plainly experimenting. The default Audacity settings definitely won’t work right out of the box.
  • Talking about sound: I haven’t settled on which mediaplayer to use. For now I use Ubuntu’s default one, which is RythmBox.
  • The specific graphical effects (I think these come from Compiz, which is installed by default too) work good on the built-in (and ‘low-end’) Mobile Intel 910 GMA card. So do the transparency effects, but, I have seen these in earlier Knoppix versions (which is KDE based, as you probably know) so these don’t really surprise me.

Without a doubt, you’ll run in a couple of hardware weirdness, all of them generally easy to solve: Ubuntu has started a LaptopTesting wiki where contributers test and write about their experiences installing Ubuntu on older laptops. An excellent resource, particularly for the laptop (an HP NC6120) I used. In my case, the Wifi-LED didn’t reveal if it was active or not while Ubuntu had already correctly made a WIFI connection to my network. This was easily fixed and it actually changed the behaviour of the WIFI-LED: currently the LED is blinking while it tries to make a connection (or whenever it finds wireless networks). That’s even better, not?

Update 1: For more recent versions of software, you should check out GetDeb, from which you can get the latest version of UFRaw (which I mentioned earlier).

The imminent

The CBC has an article about the prediction that Windows is about to ‘collapse’, because of Microsoft’s inaction towards the marked after the introduction of Windows Vista. Other industry experts say that Microsoft knows it’s Windows days are dwindling, which is why it’s pulling so hard at Yahoo so that it can refocus efforts to reclaim the territory lost on the Internet (services and advertisements, that is).

So, just earlier, I decided to go ahead with the installation of Ubuntu on one of the spare computers: I have my share of experience with Debian and Ubuntu (as a virtual machine, for example), so generally, I didn’t encounter problems I couldn’t fix: for example, every piece of hardware was detected correctly. Mind the following notes:

  • If you’re used to vi, you probably still want to install ‘vim’. The default vi version that comes with Gutsy sucks so hard that, well, if you thought vi already sucked… (so, yes, go ahead and apt-get install vim)
  • KeePass, the password manager that I use, is available too: apt-get install keepassx. I haven’t tested if it’s completely compatible with the Windows variant.
  • Skype is also available: you can download the Debian deb file from itself and install it right from your favourite browser.
  • Maybe it’s just me, but I like my terminal session to be white letters on a black background and not the other way around.
  • You still have to go through hoops to get DVD to play, but then, this is basically because this is Linux: after all, on your Mac and Windows PC, someone has already paid for being allowed to play DVDs on those computers.

So, yes: if you have a spare computer in your house and you think you may want to give Linux a try, you can’t go wrong with Ubuntu “Gutsy Gibbon”.