Ldd for ARM cross-compiler

Using Sourcery CodeBench Lite you can quite easily cross-compile tons of open-source projects for Android. But sometimes regardless of all your efforts, the compiled binary contains library dependencies. To list these dependencies, we regularily use ldd. The cross-compiler does not have an ldd script, but we can work around that by executing this instead:
arm-none-linux-gnueabi-readelf -a my_cross-compiled_executable | fgrep "Shared library:"

Fix problem with Snow Leopard Services menu building loop

"Having trouble with your Snow Leopard Services menu telling you that it’s building (but never finishing)? Here are a few things you can try..."

The very first tip (running /System/Library/CoreServices/pbs from the commandline) helped. It didn't even need root privileges or a reboot.

Identifying which Java Thread is consuming most CPU

In short: use top (with shift+H to show threads) to get the most CPU intensive threads, use jstack to get a thread dump from the JVM and look for the "nid=<threadid in hex>" value of your rogue thread in the dump.

MSGConvert: A .MSG to mbox converter

A Perl script to convert from Outlook's MSG format ("Composite Document File V2 Document" if you use file to check) into a MIME format that eg. Thunderbird can open (if you rename the *.mime file into *.eml).

Various ways to set environment variables in Ubuntu

It came to me as a surprise that recent Ubuntu versions store user-level locale selection (i.e. LC_* variables) in $HOME/.pam_environment. Eg. if you set some LC_* variable in your shell config (eg. $HOME/.profile), chances are that the contents of your .pam_environment file will override it for most GUI apps.

Why DLNA is worth to be hated :-)

The article makes it quite clear that DLNA had to be designed by morons. Smile I've a better explanation: it was an attempt to hard code the compulsory use of a few standards into a protocol to insure that everybody had to pay license fees who wanted to comply with DLNA specifications. Tongue

Nautilus natural filename sorting

Unfortunately Nautilus developers decided a long time ago (back in 2006) that sorting by name should mean "natural sorting". In their interpretation this means that filenames containing both numbers and letters are devided into "chunks" (i.e. characters sequences containing only letters or only numbers) and numbers are sorted numerically.

How to prevent Unity and/or Gnome from grabbing Alt+F1 (etc.) keybindings in Ubuntu

There're a lot of places where you can set/change these keybindings:
  • System Settings / Keyboard / Shortcuts / Launchers
  • CompizConfig Settings Manager / Desktop / Ubuntu Unity Plugin / General
  • CompizConfig Settings Manager / General / Gnome Compatibility / General
I did check the first two, but Alt+F1 and Alt+F2 were still grabbed by the system. It took me quite some digging to find that I had to disable this in CCSM's Gnome Compatibility plugin as well.

Intel USB 3.0 Monitor

It's a funny thing: I googled "intel usb monitor" to check/verify the purpose of "iusb3mon.exe" that is running in a virtualmachine I have to use. It took me to Intel's driver page. Unfortunately I'm not closer to the answer. Neither the readme, nor the release notes say even a single word about this monitor app. Sad Both tell me the system requirements and the install process for the driver bundle (that contains this monitor program), but nothing about it's purpose. Obviously the company does not think it's any of our (users) concern. Tongue

How to configure Chrome (in Ubuntu) to handle ssh://user@hostname links

The easy answer is: you don't. Smile Chrome handles all "weird" protocol URLs to xdg-open. And you configure xdg-open via xdg-mime. You've to create a *.desktop file and reference it via xdg-mime to handle the x-scheme-handler/ssh mime type. And you can point (in your *.desktop file) to a custom shell script to do the actual URL handling:
Exec=gnome-terminal -x /usr/local/bin/ssh_handler.sh %u

Syndicate content Syndicate content