Compdigitec Labs

Linux

Simple C++ gettext-like toolkit

Sunday, December 20th, 2009

Here is a small gettext-compatible interface for reading simple translation catalogs (not to be confused with gettext’s *.mo style catalogs, which are binary) in form of “original/english string<tab>translated string”. It is not fool-proof, but you can play around with it and it works.

/*
* gettextpd.h
* Main file for GettextPD
[...]

How to take out the system built-in beeper in Linux

Friday, December 18th, 2009

Usually the system beeper (not to be confused with speakers) can be a rather useful tool in informing or alerting the user. Sometimes however, the beeper can be just plain annoying, especially if you already know what you are doing. For example, it is very annoying to have a laptop suddenly start beeping in the [...]

Virtual MIDI Keyboard in Ubuntu

Sunday, October 4th, 2009

On Windows, you could find many freeware virtual piano software. But on Linux, you have no such easy setup or such choice. There are two major pieces virtual piano software – they are Virtual Keyboard and Virtual MIDI Piano Keyboard.
You should be sure you have your sound card proper set before you start this – [...]

Mini-PulseAudio sound checklist

Sunday, September 27th, 2009

If you’ve been having trouble with your sound in Ubuntu or any other Linux distribution that uses PulseAudio, here is a mini-checklist for sound in Ubuntu in case it is not working properly (i.e. no sound at all, static-like sound or loud obnoxious buzzing sounds).
First, a few general hints in case the checklist doesn’t help [...]

KeePass password safe for Linux

Friday, August 7th, 2009

KeePass password safe is an effective way to manage your passwords securely and safely without writing them down in text files. However, the current Linux-native port KeePassX is still in development and not quite usable. Here is a port of KeePass 2.x (“Professional Edition”) to Linux without changing anythings. This is done with the help [...]

Solving svn: /opt/lampp/lib/libcrypto.so.0.9.8: no version information available

Tuesday, August 4th, 2009

If you are using WebSVN with XAMPP for Linux, you may find that when you try to invoke the svn binary, an error will occur when you try to browse a repository.

This error arises as a result of Apachefriends’ decision to strip all statically linked libraries’ symbols (debugging and version). As a result, when another [...]

MySQL Query Browser – a standalone MySQL administration tool

Monday, August 3rd, 2009

Online MySQL administration tools such as phpMyAdmin are great for administering MySQL databases, but unfortunately it is not so great if you work with large databases or have to mass manipulate records. By using an offline MySQL administration tool, you can remove the overhead of the HTTP(S), (X)HTML and the web browser by communicating directly [...]

Dynamically upgrade LiveCD packages

Friday, July 10th, 2009

If you attempt to follow APCMAG’s dual boot tutorial with an older version of the Ubuntu Live CD, you may unknowingly install an old version of GRUB. This is fine if yournewer Ubuntu installation uses paritions that an older version of GRUB will recognize, but with new partitions like ext4 the old Ubuntu Live CD [...]

Solving “XAMPP: Couldn’t start MySQL!”

Saturday, May 30th, 2009

XAMPP for Linux is a convenient package for installing the AMPP stack (Apache, MySQL, PHP, Perl) of web server software, but it also has its own share of problems. One such error is the generic and uninformative error of “XAMPP: Couldn’t start MySQL!“. This can confuse users because it does not say anything about [...]

Disable annoying update manager behaviour in Ubuntu 9.04

Friday, May 15th, 2009

After the upgrade to Ubuntu 9.04, the update manager will consistently try to pester you with upgrades, even if you select to not check for updates to Ubuntu. This behaviour annoys users because it attempts to force people to upgrade packages when they might be doing something important on the computer and also always comes [...]

« Previous Entries Next Entries »