Fun with KDE

Children are so much fun. With the release of Ubuntu 12.04 and Fedora we took a look at Desktop Environments. This time KDE won out hands down, although XFCE was a close second

After they spent most of the weekend playing with the desktop effects you just have to laugh.

KDE desktop

I counted 12 bouncing balls, 6 sets of xeyes, “life”, a doodle, and there is even a note to anyone snooping in on the desktop.

Posted in Linux | 4 Comments

Kwrite spell check

As of Fedora 17 I am using KDE and so am somewhat new to some of the default applications. The default text editor seems to be kwrite and although there is an option for spell checking , there was no dictionary enabled by default.

I was able to enable spell checking by installing enchant-aspell =)

yum install enchant-aspell

Worked for kate as well.

Posted in Linux | Tagged | 3 Comments

How to install ddate

ddate is a ‘fun’ program to display the date in Discordian calendar.

ddate prints the date in Discordian date format.


Today is Setting Orange, the 14th day of Confusion in the YOLD 3178

Unfortunately, ddate was disabled / removed from util-linux.

Discussion on Arch Linux
Fedora mailing list

If you would like to use ddate, it is rather trivial to compile.

Download the latest util-linux (2.21.2 at the time of this post)

Extract the archive:

tar xzvf util-linux-2.21.2.tar.gz

If needed, install gcc and ncurses headers (ncurses-devel on Fedora or libncurses5-dev on Ubuntu)

sudo yum install gcc ncurses-devel

sudo apt-get install gcc libncurses5-dev

Update: I also had to install the pam headers

sudo yum install pam-devel

Compile and install ddate

cd util-linux-2.21.2
./configure --prefix=/usr --enable-ddate
cd misc-utils
make ddate
sudo cp ddate /usr/local/bin

Posted in Linux | Tagged | 8 Comments

Proxmox using iptables in openvz guests

I recently upgraded Proxmox and noticed iptables was not working in the guests.

Turns out a small edit is required to /etc/vz/vz.conf (we need to add some more modules to be used in the openvz guests).

Using any editor, open /etc/vz/vz.conf and change and find the “IPTABLES=” line


IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"


IPTABLES="ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp"

Then reboot (you can probably just re-start your guests).

Posted in Linux | Tagged | 6 Comments

Fedora 17 GMA500 (Poulsbo)

Good news for those of us with the GMA500 (Poulsbo) graphics card !

Fedora 17 ships with the 3.3.4 kernel and my GMA500 works out of the box without the need for any customizations to the boot options. Simply put the .iso onto a flash drive and boot.

Again, the gma500_gfx offers 2d graphics (no 3d). So while gnome-shell is working with llvmpipe, but there is a noticeable performance hit.

While it is novel to see gnome-shell running on the GMA500, I suggest the kde spin (if you want eye candy) or the xfce or lxde spin.

The gma500 should work, with 2d graphics, using the 3.3.4 or higher kernel, on any Linux distribution.

You may need to add (kernel) boot options for suspend or brightness keys. These features are often BIOS dependent.

Posted in Linux | Tagged | 10 Comments

Desktop Environments RAM use

As a result of a recent discussion on IRC, I decided to take a number of DE (Desktop Environments) for a test drive and see how much ram they used.

Test machine – Netbook with 2 Gb RAM

Method – This is a very casual test (sorry no “benchmarks”), I merely booted the appropriate Live CD, opened a terminal, and reviewed the RAM use. YMMV.

These results are simply using the default configuration as provided by the developers of the various distros and I made no attempt to tweak or adjust the RAM use.

Please keep in mind, RAM use is a crude measure of “performance”. The “responsiveness” of your window manager is dependent on a number of variables including graphics cards, desktop effects, and even sometimes a misconfigured or misbehaving wireless card. For example, on my netbook gnome-shell is using llvmpipe. llvmpipe comes with a noticeable performance hit on my netbook so while the ram use is similar to Unity, Unity gives much better performance.

Distros: I used the latest distros, even if they are in Alpha/Beta, so as to get the best possible video performance on my netbook (gma500_gfx).

I chose a range of distros to make the comparisons a little more interesting. I find XFCE uses about the same amount of RAM on Xubuntu as it does on Fedora (XFCE spin). They are at least in the same ballpark. Notice how Lubuntu (openbox + LXDE) and Crunchbang (also openbox) are “close enough”, at least for my purpose, at 165 vs 112 mb RAM.

Bodhi Linux 2.0 (beta)
Crunchbang 11 (Waldorf)
Fedora 17 (Beefy Miracle)
Linux Mint 13 (Maya)
Ubuntu 12.10 (Quantal Quetzal) (Alpha)


Ubuntu 12.10 (Quantal Quetzal)

  • Unity – 335 mb
  • Lubuntu – 165 mb
  • Kubuntu – 261 mb
  • Xubuntu – 230 mb

Fedora 17 (Beefy Miracle)

  • Gnome-shell – 335 mb
  • lxde – 151 mb
  • kde – 277 mb
  • xfce – 179 mb

Linux Mint 13 (Maya)

Bodhi Linux 2.0 (Beta)

  • Enlightenment – 116 mb

Crunchbang 11 (Waldorf)

  • Openbox – 112 mb
Posted in Linux | Tagged | 40 Comments



Confessions of a “practical” FSF fanboi

Without getting into all the politics, we all use GNU/Linux and many of us appreciate the four freedoms advocated by the Free Software Foundation.

  • The freedom to run the program, for any purpose (freedom 0).
  • The freedom to study how the program works, and change it so it does your computing as you wish (freedom 1). Access to the source code is a precondition for this.
  • The freedom to redistribute copies so you can help your neighbor (freedom 2).
  • The freedom to distribute copies of your modified versions to others (freedom 3). By doing this you can give the community a chance to help from your changes. Access to the source code is a precondition for this.


Trisquel logo Parabola linux

I came across the GNU/Linux-libre almost by accident and have enjoyed taking Trisquel and Parabola gnulinux for a test drive. I found both communities friendly and helpful.

Trisquel 5.5 is based on Ubuntu 11.10 and has a visually pleasing gnome-shell


KDE is also available.

Trisquel thumb

Parabola gnu/linux is based on Arch and is thus a rolling release. The installer is a bit dated and hopefully they will release an updated CD in the near future.

I made a pair if user bars, feel free to use them if you wish

Trisquel user bar

Parabola user bar

Rubber meet pavement

Booting Trisquel, Parabola, or a gnu/linux-libre kernel is where the rubber hits the pavement and many people will find it frustrating if, as with any operating system, they do not have compatible hardware. The two most common problems are incompatibility with graphics cards and wireless, although you could also have problems with BIOS.

You basically have to buy hardware that is compatible with the FSF GNU/Linux-libre definition of open source drivers.

While this may sound harsh, it is true of any OS, and while I do not expect everyone to run out and purchase new hardware, understanding hardware compatibility is crucial to successful future purchases.

GNU/Linux pre-installed

Many people buy hardware with Windows or OSX pre-installed and then have a bad experience when they try to install “Linux”.

The simplest solution is to encourage “Linux users” (yes you) to make their next hardware purchase with Linux pre-installed. We should support OEM that support Linux.

Home work

It is due diligence to research your hardware before you buy. There are several online resources available, h-node maintains a hardware listing of -libre compatible equipment.

Using that guide, I was able to find graphics cards, manufactured in 2010, ranging from as little as $10 (single head) up to $50 (dual head) in less then 10 minutes.

Wireless cards are a little more difficult as you need to identify the wireless chip, which is not always easy. I found USB wireless cards ranging from $10 to $20.

So for a little as $20 I could find both a graphics card and wireless card that offer decent performance ( video single head 1600×1200 ).

Again, next time you purchase hardware, I strongly advise -libre compatible hardware. Compatible hardware is not more expensive, will work with any distro, and performance will be better than a more expensive, incompatible, unsupported piece of hardware.

Recent experiences

Politics aside, hardly a day goes by when I do not see someone on IRC converting from closed source hardware drivers to open source. The costs are minimal and it is simply less hassle to use compatible hardware. For example, if you have a Nvidia card, and you have not taken the open source nouveau driver for a test spin, I highly encourage you to do so. It is not uncommon for people to find adequate or sometimes better performance with the nouveau driver then the Nvidia driver.

Again, if you use Linux, consider supporting the OEM who support open source.

Posted in Fedora, Linux | Tagged | 9 Comments

Fedora Audacious Skin

I have recently been playing with audacious skins and came up with a skin for Fedora. It is based on an old skin, BlubuntuBlue.

Fedora skin 1

Fedora skin 2

Ubuntu skin

To use these skins, save the following zip files to ~/.local/share/audacious/Skins/ .

You do NOT need to unzip the files =)

bodhi.zazen’s Fedora skin

Original BlubuntuBlue skin

Posted in Fedora, Linux | 3 Comments

Ubuntu 12.04 gma500 (poulsbo) boot options

Ubuntu 12.04 has been officially released and, with minor adjustments, the intel gma500 video card is working out of the box. See the last part of this post for suggestions on getting suspend working.

The “trick” is to use a few boot codes. Personally I use flash drives. Once I “install” Ubuntu to a flash drive, simply edit “syslinux.cfg” and add the following boot options.

quiet splash console=tty1 acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes mem=1920mb

Without the first option, console=tty1 the desktop (X) starts distorted, the desktop flickers and is partly displayed on the top of the screen. I could not get a screen shot of this. If you forget this option, simply run sudo service lightdm restart .

If you are getting a black screen, try disabling the boot splash (plymouth) by removing splash from the boot options.

quiet console=tty1 acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes mem=1920mb

Or if that fails, disable Plymouth altogether:

sudo mv /etc/init/plymouth.conf /etc/init/plymouth.conf.disabled

The next three options acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes enable the brightness buttons on the keyboard.

The acer_wmi module is both Acer specific and specific to my model (AO751h). If you do not have an AcerOne 751h, do not use it.

The acpi_backlight=vendor acpi_osi=Linux options are a bit more generic, but are also hardware dependent. Do not use them if your backlight works without these options (they have the potential to disable your backlight as was pointed out in the comments).

The last option, mem=1920mb allows more memory for the available for the gma500 and (slightly) improves performance. If you have 1 gb of ram, use mem=896mb

After installing, first restart X. ctrl-alt-f1 to get to a console, then

sudo service lightdm restart

Log in , then, using any editor, open /etc/default/grub

Change the line – GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty1 acpi_backlight=vendor acpi_osi=Linux acer_wmi.blacklist=yes mem=1920mb"

Or, if you are having a problem with a black screen, a more generic set of options would be

GRUB_CMDLINE_LINUX_DEFAULT="quiet console=tty1 acpi_backlight=vendor acpi_osi=Linux mem=896mb"

And then update grub

sudo update-grub

And finally reboot.

Additional workarounds / fixes

Black screen

From form dfrossar on the Ubuntu forums you can try 915resolution

Using any editor, create a file /etc/grub.d/01_915resolution , add in lines

echo insmod 915resolution
echo 915resolution 58 1366 768 32

Make the file executable

sudo chmod a+x /etc/grub.d/01_915resolution

Next, edit /etc/default/grub, assign value 1366x768x32 to variables GRUB_GFXMODE and GRUB_GFXPAYLOAD_LINUX (be sure to change “1366×768” to your desired resolution):

Then update grub.

sudo update-grub

and reboot.

Fix Suspend

From “unziberla” in the comments below:

Guys, i fixed suspend on my AO751h with 12.04 starting from old patch for 11.10 from which i removed one quirk.

Open a terminal and use the following commands:

gksu gedit /etc/pm/config.d/gma500

Add in one of the following codes and save the file (apparently one “-” works for some and others need two “--” in front of “quirk-vbemode-restore”):



Posted in Linux | Tagged | 106 Comments

Fedora 17 alpha gma500 poulsbo

As a part of the continuing saga with my netbook (gma500) I took the Fedora 17 Alpha release for a test drive with gnome shell. I was quite pleased with the result.

The good – The intel gma500 (poulsbo) graphics card, my wireless card, and most interestingly gnome-shell were all working out of the box. Wow, gnome is looking great !!!

The bad – Performance was a little slow (running from a flash drive), there was some occasional blanking out of the screen, and the netbook seemed to be running a bit hot.

Screen shots (click thumbnails for larger image):

fedora 1

fedora 2

Posted in Fedora, Linux | Tagged | 16 Comments