Category Archives: Uncategorized
Disable XF86Back/Forward
Real ThinkPad keyboards (not this monstruous ignominy) have directly accessible keys for XF86Back and XF86Forward. That is really problematic with web browsers such as Firefox or Chromium since pressing those keys transparently go back or forward into your history, discarding anything you were typing in the process, including that 3 hours long bug report you were just about to submit. That’s rather annoying, to say the least.
Some other blog post suggest to simply disable them with xmodmap. That is in ~/.xmodmaprc
(or whatever it is you use):
keycode 166 = NoSymbol keycode 167 = NoSymbol
I personally prefer to remap them to Next/Prior keys. Having these near the navigation keys might come up handy:
keycode 166 = Next keycode 167 = Prior
That’s on Linux though, on FreeBSD the keycodes are 233 and 234:
keycode 233 = Next keycode 234 = Prior
Anyway use the xev
command and xmodmap -pke
to find the keycodes and remap them to any other interesting key symbol.
Intel’s big bug
That’s pretty hot fucking big deal.
If you don’t mind my saying so.
A life of adventure
Support FreeBSD!
Aside
Meanwhile on Linux
Quake-like terminal for i3
Tiling window managers are cool but there are times when all you want is quick access to a terminal that you can toggle when needs be, so you can either do simple calculation, start jobs, open files or satisfy your weird Unix fetish through convoluted piping to dubious file descriptors, all that from the comfort of your own cozy shell interpreter.
Well if that applies to you i3 user then search no more because I may have got just what you need!
I’ve written a drop-down quake-like terminal for i3, i3-QuakeTerm, inspired by a similar drop-down terminal I did for AwesomeWM and i3-quickterm another similar terminal for i3. The later did not work for me because of a bug in i3ipc-python that was just fixed recently. So I implemented my own version as a workaround.
There are some notable differences however. First everything can be done from the command line, so there is no need for any configuration file. But it is still possible to register multiple drop-down terminal types by providing a different name to each one of them.
It also uses WM_CLASS instance attribute instead of i3’s mark to identify the terminal. As a result you can access the terminal window and control it early from i3’s configuration. Finally the terminal is created with a fork instead of in-place starting. That means that you can use any kind of graphical command as the terminal, even if it doesn’t start any shell or command itself, as long as you can use or modify its name as an unique identifier.
More info on the github page.
Bye bye Awesome!
My desktop is not awesome anymore, but it is full of high trees.
In a preceding post I complained about Awesome’s inconstant API and concluded that I would probably switch in the near future which I finally did last week. That’s right, I finally ditched AwesomeWM for i3, and so far not disappointed at all.
In overall the configuration is a lot easier with i3 than it is on Awesome. Sure you cannot play as much as you used to with lua, but the syntax of the configuration file is rich enough that you don’t need much scripting anyway. It’s very Unixy, simple in its core and delegates itself nicely to external tools (i3bar, i3status) and scripts. There is a very nice IPC mechanism (that goes through a Unix socket) that you can use from command line or librairies in C, Python, OCaml and many others.
Now there is no fancy widget as you do have in Awesome, everything is text + UTF8 with some coloring. Perhaps there is an i3bar alternative that can do more than this but I don’t know of any yet. Workspaces are also different, they are shared between outputs and not visible in i3bar until focused or contain a window, but in time you get used to it. Although there is nothing that I really miss from Awesome, also the simple API, simple configuration, nice documentation, clean IPC via Unix socket (which is really nice, you can communicate with i3 from virtually anywhere, even assembly), all of those were really worth the change.
Atari soldering day!
Had to do some soldering on my Atari recently, so I took the opportunity to take some photos of the mainboard (from both sides since I also had to desolder and replace some components). Not that it’s that much hard to find on the Internet, but here’s my two cents. It’s a 1040STE, however I took the photos with my phone so it’s not the best quality:
Also if you want more info about STE hardware I highly recommend this site.
Today’s movie: Valérian AND Laureline

If Luc Besson only had the occasion to do one single movie in its entire life, that would probably be it. That’s the consecration of the fifth element. Now go ahead in your Limouzingue fly me from Rubanis to Syrte the magnificient, we’ll stop by Point Central and we’ll head for the stars, or a world without star, par l’Espace.
Now if you think that’s a rip off of Mass Effect, you are wrong! Stop playing video games and go read your classics. Now if you think you are going to see an adventure of Valérian and Laureline, you are wrong! It’s heavily inspired but it’s nothing like it, and it’s something in its own right. Valérian is not that clumpsy hero of the equinox, a brave knight despite himself. Laureline is gratuitously aggressive (so much that it gets kind of scary). The Shingouz are not as dubious as they ought to be. The grumpy transmuter is not grumpy at all (they don’t even come from Bluxte, but they sure are rare), and except for the apparence they are closer to telepathic Spiglics than anything else. And for god sake, in this movie Point Central is the ISS!
It’s very close to the Ambassador of the Shadows (despite the title), but there are numerous nodes to some of the other albums in the series. The movie is still Valérian and Laureline (also despite the title) their is an unspoken balance about it that is very hard to find nowadays, they are acting as a team, they are each other’s sidekicks, and they are each other’s heroes and that’s incredibly refreshing.
It’s also very simple. You shouldn’t expect the need to turn your brain on for two hours. But I’m not sure you should expect anything else. Would it have been more faithful, it wouldn’t have been enough. Would it have been less faithful, it wouldn’t have been worth the name. And this movie tries hard to do just that by placing itself right in the middle. So in the end it’s a pleasant and visually stunning space adventure among the riches of cosmos.