Controlling XMMS using a gamepad

On windows I used to control winamp using global shortcuts. Since I didn’t immediately find this plugin on linux (although google seems to suggest it exists), I tried the joystick control plugin. But I never used a joystick before on linux.. 🙂

I plugged in my Logitech Dual Action Gamepad and a cpu spike indicated something got detected. 😉 I didn’t have high hopes it would work in XMMS though, since that’s about as archaic as one can get with a gui app. 😉 I enabled the libjoy.so plugin and set the path right to /dev/input/js0 instead of the default /dev/js0. I tried some button and some joystick. It didn’t do anything.

Let’s have a look at Yast. Yes, it has a joystick module, but it didn’t seem to list my gamepad. But then I read in the side column that you don’t have to configure anything if you use an USB gamepad. So next thing was to try KDE’s control center which turns out to also have joystick module. Indeed, the gamepad with all its axes and buttons was properly detected! While I was there, I also did a calibration, mostly for fun, as it didn’t seem necessary. So why didn’t it work with XMMS, because it was just too old?

In a final attempt, I tried testing a “general analog joystick” in yast, which triggered a package install (don’t remember which one). I don’t know if it was the package that did the trick, but after that, it worked in XMMS! It was just a matter of finding out the right buttons by trial and error (the mapping didn’t correspond to KDE’s mapping).

Fine-tuning Urban Terror configuration on linux

This has actually been too long ago, but I’ll to reproduce accurately. 🙂

First of all, why would you need to configure your urban terror install on linux? Can’t you just extract & play like on windows? Yeah, you could. Except when:

  1. You’re using a recent libcurl (which is used for downloading new maps through HTTP).
  2. You’re using an azerty keyboard (or a keyboard map which contains keys that are unknown to ioq3).

Which is quite a lot of people, at least, in Europe. 😉
Continue reading

Adobe doesn’t like Opera?

I was idly surfing the Adobe knowledge base (yeah, one of my secret hobbies is memorizing KB’s ;)), when I encountered to my surprise the following instructions for uninstalling Adobe Bridge:

Remove remaining folders and files for Adobe Bridge

Back up any personal files you want to save from the following directories, and then remove the listed folders and files:

All versions

Documents and Settings\ [User Name] \Application Data\Adobe\Bridge
Documents and Settings\ [User Name] \Application Data\Adobe\Updater\Data\bridge1.aum
Documents and Settings\ [User Name] \Application Data\Adobe\Updater\Data\bridge1_meta.txt
Documents and Settings\ [User Name] \Application Data\Opera
Documents and Settings\ [User Name] \My Documents\Updater\bridge1
Documents and Settings\All Users\Application Data\Adobe\Updater\Certs\bridge.cer
Documents and Settings\All Users\Start Menu\Programs\Adobe Bridge
Program Files\Adobe\Adobe Bridge
Program Files\Common Files\Adobe\Launch\bridge\1.0
Program Files\Common Files\Adobe\StartupScripts\bridge.jsx
Program Files\Common Files\Adobe\StartupScripts\bridgecenter.jsx
Program Files\Common Files\Adobe\StartupScripts\ols.jsx

They cunningly snuck in an instruction to remove all Opera application data! Can you believe this? 🙂 how evil 😉

New record

In my studio I reached a new record for lowest temperature. I have a min-max thermometer, so it’s easy to know 🙂
Last night when I arrived, it was 6.5 °C. After 6 hours of electrical heating, it became 12 °C. yay. Today, I won’t reach it. I tried playing an FPS, but my aim is totally frozen. 🙂

My last record was about 9-10 years ago on my student room, where the wind was blowing over the floor due to bad insulation. I was in the highest room and since there always came air in the heating circuit (central heating) I was lucky to have water at all in my radiator. And in the event it reached my room, it had already cooled down since the heating pipes weren’t insulated. I somehow still managed to get 12 °C anyway although I think I added another electrical heating device to achieve a temperature this high 😉 I remember playing Half life with my gloves and hat on. Now I only need a hat, probably because there is no wind anymore.