Articles with topic "Linux"

AwesomeWM: using a global title bar

This post shows how you can create a global titlebar. As I changed most of my client windows to not have a titlebar (except for floating clients), I lost the information that the clients display in their title bar.

On the other side, I didn’t like the taskbar. I know what tasks I have started and currently I don’t minimize clients (I even removed the key bindings for minimizing).

And so it was a natural though to use the space the taskbar occupied for a global titlebar.

AwesomeWM: Alternative bindings setup

The default rc.lua from the Awesome window manager uses a lot of globalkeys = awful.util.table.join(...) code.

I disliked this because …

  • they used functions to join the bindings. And in Lua, the parameters of a function cannot end with a trailing comma. Often when I moved an entry around, I ended up with a pointless syntax error because of a trailing comma — or a missing comma between arguments.
  • adding elements by joining seems somewhat complex
  • adding logic, e.g. only adding a keybinding under specific circumstances is suddenly more difficult

So let’s change this …

notmuch: automatically mark uninteresting mails as read

Now that I switched from Emacs’ GNUS to Emacs’ notmuch, I needed a method to automatically “discard” uninteresting mails. In some Linux mailing lists a huge amount of mails are about topics that I don’t care. So I a little shell script bin/pollmail.sh that polls the mails and efficiently marks uninteresting stuff as read.

Serial setup with C-Kermit

When you work with embedded devices (e.g. SabreLite, Arduino, Raspberry Pi) you often need to work over a serial port, e.g. to customize the Barebox or U-Boot boot loader.

On Linux, people often use “minicom” for this. Other options are “Putty” (yes, it’s not a Windows-only program, try “apt-get install putty”) or even the ancient C-Kermit. Surprisingly I found that Kermit suits my work-flow the best, when properly configured.