Linux

apache2: bad user name ${APACHE_RUN_USER}

While trying to check the vhost configuration on my Kubuntu dev box, I had to run httpd -S. Of course, since ubuntu renamed httpd to apache (a bit like calling a Veyron a Bugatti), I had to run apache2 -S. This however led to the following error message:
apache2: bad user name ${APACHE_RUN_USER}

console-kit-daemon running amok in htop

If you, like I was, are alarmed at the number of console-kit-daemon-s being listed by htop, calm yourself. It is a misrepresentation of threads as separate processes. To get a better view of what's going on, select "Setup" in htop and under "Display options", check the "Tree view" and "Display threads in a different colour" boxes and save the changes.

Compiling and installing KTorrent 3.3RC1 on Kubuntu Karmic

Compiling KTorrent 3.3 RC1 on Kubuntu 9.10 Karmic with KDE 4.3:

Update: This works with 3.3 final as well.

  1. Install cmake and related tools:
    sudo apt-get install cmake automoc build-essential gettext
  2. Install other required libraries:
    sudo apt-get install kdelibs5-dev kdebase-workspace-dev kdepimlibs5-dev python-kde4 libboost-dev libtag1-dev libqca2-dev libgmp3-dev

Opera: Middle-click does not scroll/pan in Linux

I'm pretty sure that this wasn't happening with the 9.x releases. But, I found that when I middle-clicked in Opera to get the scroll icon and scroll up/down a page, all that happened was that whatever was in my clipboard got pasted into the page, with the page trying to navigate to the clipboard text. In Opera's defence, the paste action is generally the default action across all applications in Linux. However, this also made this behaviour inconsistent across different platforms and even across other browsers on the same platform.

Samba: subprocess post-installation script returned error exit status 1

I made a mistake earlier today when looking for a GUI application to manage samba shares. I installed the wrong application - gadmin-samba (which is quite fugly and buggy) - instead of system-config-samba which is clean and has worked well for me in the past. gadmin-samba added all sorts of nonsense and in a bid to reset the samba configuration, I nuked the files in /etc/samba to give system-config-samba something of a fresh slate.

Opera 10 beta for Linux

With the advent of the Opera 10 Beta, I highly recommend that users check it out or upgrade to it. The biggest news is that one of my primary gripes, i.e., the lack of inline spell-checking, has been solved.

Wicd: connect to wifi network before logging in

One of my Linux boxen is primarily used as a server and frequently just sits around without monitor, keyboard or mouse attached. While previously, it used to be connected to the network via ethernet, now that I've got the USB wifi adapter for my machines, it's even niftier and only requires power to get up and running.

Edimax EW-7316Ug Wireless 11b/g adapter and Linux

Today, I purchased and installed the Edimax EW-7316Ug wireless 802.11b/g USB Adapter. While I usually approach the purchase of hardware for Linux, especially for non-mainstream products, I was heartened to note during my pre-purchase exercise that the Edimax page specifically mentioned Linux compatibility and even provided a source code download. How rare is that?!

Upgrading KTorrent to 3.2 RC1 on Kubuntu Intrepid with KDE 4.2

Upgrading KTorrent from 3.1.2 to 3.2 RC1 on Kubuntu 8.10 Intrepid with KDE 4.2:

  1. Install cmake and related tools:
    sudo apt-get install cmake automoc build-essential gettext
  2. Install other required libraries:
    sudo apt-get install kdelibs5-dev libqca2-dev libgmp3-dev kdebase-workspace-dev kdepimlibs5-dev libkrosspython0 libkrossruby0
  3. Remove the existing ktorrent installation as a precaution: sudo apt-get remove ktorrent. This should not affect your configuration files.

File renamer: Métamorphose

For those of you out there who have been hankering for a decent free, open-source file renaming utility, I highly recommend that you give Métamorphose a shot. I've been using the v2 beta in XP and it's been excellent. It's written in Python and is also available for Linux, BSD and Macs.

There are a few minor UI bugs though, but I'm sure that they'll be sorted out in due course.

Hooray for FOSS!

Syndicate content