Compdigitec Labs

Linux

Compose key not working with iBus

Saturday, December 8th, 2012

The iBus input method does not work with the compose key - see Debian bug #591459 and Ubuntu bug #493766. It seems that iBus is intercepting all keystrokes and substituting its own instead, even though xev shows the Multi_key and accent being produced. For example, Multi_Key + ‘ + e leads to ‘e instead of […]

Exploring and rooting the iPPea TV

Saturday, November 24th, 2012

Skip to the rooting process, if you wish. The iPPea TV is a pretty neat gadget, to say the least. The USB-stick sized device features a full Android 4.0.3 OS, a 1Ghz Ingenic JZ4770 MIPS processor (complete with FPU!), 512 MB of RAM, 2 GB flash storage, and about 800 MB of internal memory. Overall, […]

A simple su implementation in C

Friday, November 23rd, 2012

Sometimes, you might need to keep things simple. Here is a very simple su implementation written in portable C that can be used on almost any architecture - e.g. Embedded Linux, Android, Windows, etc as long as it supports C. It is licensed under the 3-clause BSD licence so any use is OK as long […]

Solving “libtool: Version mismatch error”

Thursday, October 18th, 2012

After ./configure and make, you get this interesting scenario: The solution?

Quilt responding with “File series fully applied” and not working

Monday, October 15th, 2012

The story so far… File series fully applied (no output) # On branch master nothing to commit (working directory clean) What’s happening here? Well, it turns out that we need to reset and clean the .pc directory of quilt: Now, let’s try applying the patches: Applying patch patch-number-one.patch patching file configure.ac Applying patch fix-build.patch patching […]

When git am fails, use 3way

Tuesday, July 3rd, 2012

Applying: Very valuable piece of art error: patch failed: Apple.java:212 error: Apple.java: patch does not apply error: patch failed: Window.java:840 error: Window.java: patch does not apply Patch failed at 0001 Very valuable piece of art When you have resolved this problem run “git am --resolved”. If you would prefer to skip this patch, instead run […]

fclose() freezes/hangs when run inside pthread on Android 2.1

Monday, June 25th, 2012

There appears to be an obscure bug that has somehow recently activated on ARMv6, non-FPU builds of VLC for Android. This has been only observed on Android 2.1 and possibly on other Android 2.x platforms with ARMv6, non-FPU builds Android 2.2. On the other hand, it works perfectly on an Android 4.0 on a NEON […]

Enabling icons in Qt4 apps on GNOME / GTK

Sunday, June 3rd, 2012

By default on the latest versions of Debian and Ubuntu, the gconf preferences “/desktop/gnome/interface/menus_have_icons” and “/desktop/gnome/interface/buttons_have_icons” are set to false by default. Despite this, GTK2 and GTK3 applications both display icons next to their menus by default. However, Qt4-based applications such as VLC media player don’t display icons. To fix this: Or, open gconf-editor and […]

Set Debian to gksudo / sudo mode instead of su-to-root

Wednesday, May 30th, 2012

Or open gconf-editor and set /apps/gksu/sudo-mode to true. This way, you don’t have to set an insecure root password.

Creating Debian packages (properly) using debhelper

Saturday, April 28th, 2012

Now, open up debian/control and modify the section field to fit one of the valid Debian sections. Then, the Build-Depends field should have whatever packages you need - minimally it should have debhelper (>= 7.0.50~), dh-buildinfo, dh-autoreconf (if you need it), along with any libraries your application will need. Set the Homepage field to be […]

« Previous Entries Next Entries »