Amarok's folly

The title sounds like the name of a fantasy novel ... but I'm of course talking (or, as you, stranger of the Internet, will find out, ranting) about the KDE audio player. Amarok is the default audio player for KDE which makes it the default audio player of Kubuntu, my Linux distro of choice. Now, some history before I begin spitting all over you. I usually use Windows as my primary desktop.

Stuck with a VGA monitor (that you love) in the days of HDMI

So, I have this old Samsung monitor that has served me very well. It's 21" in size and I don't really need anything larger. Only problem is that it is a VGA monitor and uses a VGA cable. My new PC however deems VGA to be of the same archaicity as Morse code and has therefore not deigned to support it. There then I was, stuck with a wonderful monitor that could not be used due to a compatibility issue. Rather wasteful.

Buzzing noise when using the front audio jack

New Windows 7 system: When I plugged in my headphones into the front audio jack, I immediately started hearing a buzzing and whistling noise in the earpiece. When I switched to the rear audio port, this noise went away. MP3s played clearly on both ports albeit with the buzzing noise in the background when using the front port.

Upgrading Sony's Xperia Ray from Android 2.3.4 (Gingerbread) to Cyanogenmod 10 (Jellybean 4.1) via Linux

So I wanted to upgrade my Sony Xperia Ray from its now old (and official) Gingerbread version of Android to the relatively more modern Jellybean. The most reliable alternative out there is Cyanogenmod.

While the Cyanogenmod wiki was generally useful, here's what I think is a cleaner guide. I performed the upgrade via a Kubuntu Trusty (14.04) laptop.

"Prime of place"

I've noticed a few people using the idiomatic phrase "prime of place" to denote the primacy of position in a group of things. For example, "My framed moustache-of-the-year certificate is given prime of place on the wall". While the idiom certainly appears to make sense, fits in quite well, and even sounds familiar, it is not really standard usage.

Disable CTRL + ALT + Function Key shortcuts in Kubuntu / KDE

In Kubuntu/Ubuntu (and presumably Debian and other derivatives), the CTRL + ALT + F4 (or any other function key) keyboard shortcut switches from the desktop to a virtual terminal while CTRL + ALT + F7 brings you back to the desktop. However, I want to disable this as it's messing up my HTPC thanks to its dodgy remote control. While I could find a solution for Gnome/Ubuntu readily enough, KDE/Kubuntu was not immediately apparent.

ssh: Connection refused rsync: connection unexpectedly closed

I ran into the following error while running a script that was performing backups of files via rsync over ssh.

Regenerating/renewing the SSH key for a known host which has been reinstalled

I ran into the following spiel when I attempted to SSH to a host just now:

Set the timezone of a Debian/Ubuntu server from the command-line

Setting the timezone of an Ubuntu (14.04, Trusty) or Debian (7, Wheezy) server from the command-line is simple. Just run dpkg-reconfigure tzdata and follow the on-screen prompts. However, if you are running an unattended installation, you might want to avoid interactive prompts and just gets the job done. To do this, simply run

$ sudo ln -sf /usr/share/zoneinfo/America/Anchorage /etc/localtime

Browse through /usr/share/zoneinfo/ to locate your timezone.

Disable pop-ups for an unattended/non-interactive apt-get install in Ubuntu/Debian

So, here I was writing a script that would automate the installation of a package in Ubuntu 14.04 and all was going swimmingly. Until I ran it. You know how some apt-get installs sometimes involve a technicolor pop-up that asks you for stuff? Well, those pop-ups interrupted my script which didn't proceed further. After much digging, I found that there are a couple of solutions for this:

Pages

Subscribe to languor.us RSS