I was pleasantly surprised when one of the managers at work gave me a new computer to replace my three year old desktop. This new computer is not your ordinary run of the mill 32-bit computer. It’s one of those systems that use an AMD 64-bit CPU.
What better way to take advantage of the 64-bit CPU than running Linux. Which Linux? My favorite Linux distribution is Debian. But I’m starting to grow some dissatisfaction with that distribution. The versions of software that come with the “stable” release is very old. I guess Debian likes to sacrifice features for the sake of stability. But having aging software is beginning to bother me. I can’t compile new applications because my libraries are old. I can’t install new libraries, because they would conflict with the existing old applications which need the old libraries. If I re-install all the dependencies, then I might as well build my own linux distribution. Not something I would like to undertake. I need to use my computer, not fiddle with it until it is usable.
Enter Ubuntu. A Debian based distribution that comes with all the modern linux software one could ever want. I installed Ubuntu with no major mishaps. A few things I wanted to change:
1) The default fonts are too large. They make the screen look beautiful. But I’d rather have smaller fonts so I can fit a lot of windows on my desktop.
2) There is no easy way to edit the menus.
3) The default installation of the new version of gnome in Ubuntu did not provide a mail notification applet like my old gnome 1.x did.
The first problem was fixed by enabling bitmap font support using the command ‘dpkg-reconfigure fontconfig
The second problem was more bothersome. I tried Smeg. It was buggy. It didn’t place my menu entries where I want them to be placed. However it was useful in teaching me how Gnome2 menus work. By using Smeg and adding one simple sub menu, with one entry, I discovered that menu entries are .desktop files located in $HOME/.local/share/applications. Sub-menus are located in .directory files in $HOME/.local/share/desktop-directories. The actual menu that defines what items are in the gnome menu is located in $HOME/.config/menus/applications.menu (an XML file that is easy to understand and can be edited using any text editor).
Problem #3 was easy. Install the “mail-notification” package. Once installed, it can be configured in the “System->Preferences->Mail Notification” menu selection.
So far, my experience with Ubuntu is positive. However I’m not so sure about my AMD-64 system. Sure it’s fast. Very fast. And my software takes advantage of it. However, switching architectures is not painless.
1) My plugins for firefox do not work. This is because firefox has been built as a 64-bit application. The plugins are 32-bit. Since firefox uses dynamic loading/linking to load the plugins, this does not work across architectures. It is currently not possible to mix 64-bit apps and libraries with 32-bit ones.
2) Adobe acrobat fails with a core dump. Possibly also related to the fact that acrobat may be using a plugin architecture which may be mixing 64 and 32 bit binaries in my setup.
3) Running 32-bit applications work, most of the time. Unless they start using some libraries that are only available in Ubuntu as 64-bit binaries.
To fix these issues, all applications would have to be built as 64-bit. All plugins must be built as 64-bit binaries. All 64-bit libraries need to have their 32-bit counterparts as well to allow older 32-bit applications to continue to work.
I’ll leave that to the developers.
-- Posted in Geeks Paradise