Posts categorized under: Linux

VPN-in-a-box

Isolating the network interface provided by VPN software (like OpenVPN or tinc) may be a good idea if you intent to use it to isolate a program to that specific network.

This can somewhat be achieved using a separate user or group, iptables (to mark packets sent by that user …

Compositing on Xfce: VSync issues

Unfortuantely Xfce's compositor uses Xrender which does not support vertical synchronization. This seems to create a very constant tearing effect in vsynced OpenGL applications. Some drivers like Intel's open source driver or AMD or NVidia's binary blobs manage to force Xrender to vsync but the open source radeon driver doesn't …

OpenVPN as IPv6 Tunnel Broker

Long story short: add "server-ipv6 network/netmask" (for example a /80 of your server's /64) to your existing openvpn config and install npd6.

The modification of the OpenVPN config is trivial. It seems to be made primarily for the tun mode but works fine with tap (Layer 2 tunelling) as …

Monitor Brightness on the Desktop

Since I found the buttons on my monitor to be inconvenient, I decided to try to go for a commandline utility that could set the brightness. There are several ways this can be implemented:

  • the driver offers screen brightness setting through ACPI (via /sys/class/backlight, should work on most …

Firefox, remote commands and Xfce

I replaced the default browser in Xfce (Settings → Preferred Applications) with a custom Python script to do some additional URL handling. To open a link in Firefox you just have to run firefox -remote OpenURL(<url>) and you can even use it with multiple instances (add -P <profile>). Using the …

Versatile USB Boot Stick

After trying for a long time I finally have my USB Stick boot everything I want: any Linux ISO & a Windows installer.

To make the USB stick still behave properly with Windows the NTFS partition needs to be the first partition. The bootloader, Syslinux/Extlinux in this case, goes onto …

XFCE Screen Brightness Issues

As I didn't want a full blown Desktop Environment like Gnome or KDE on my laptop (which is running ArchLinux), I went with XFCE.

It worked nicely out of the box, except for the screen brightness controls.

The hardware keys don't do anything at all by themselves except for firing …

Automated Backups using dirvish

So I finally got around to set up a daily, automated backup system.

Noop proposed dirvish to me, along with this tutorial. At first glance the tutorial looked quite complex because dirvish does have quite a lot of options to configure. I decided to try and after an hour of …