Quickly switch between two custom screen resolutions from the Linux command line

Primarily as a reminder to myself, here’s a small script droppable into ~/bin that allows switching between two custom Linux screen resolutions, that is, resolutions the X server does not necessarily already know about, from the command line.

Fixing wireless regulatory support (crda, wireless-regdb) on openSUSE Tumbleweed

On recent SUSE-based distributions such as openSUSE Tumbleweed (and potentially also 13.2), executing iw reg get to check your WiFi device’s regulatory setup will likely get you an output such as this: global country 00: DFS-UNSET (2402 – 2472 @ 40), (N/A, 20), (N/A) (2457 – 2482 @ 40), (N/A, 20), (N/A), NO-IR (2474 -… Continue reading Fixing wireless regulatory support (crda, wireless-regdb) on openSUSE Tumbleweed

Correcting the soundcard order with onboard sound and HDMI output

Like many current devices with HDMI output, my Latitude E7450 offers multiple sound cards but configures the HDMI output as sound card 0 (the default). And xfce’s default sound mixer doesn’t offer switching the default output… To correct the soundcard order, add this to your /etc/modprobe.d/50-sound.conf (valid for openSUSE 13.2, probably other distros as well):… Continue reading Correcting the soundcard order with onboard sound and HDMI output

The shortcomings of the Linux LEDs API

In a recent post I mentioned that the Linux kernel has a dedicated API for LEDs. This API is composed of the drivers/leds/ directory and the additional <linux/leds.h> include file, Documentation exists in form of the Documentation/leds-class.txt file. To quote: “The underlying design philosophy is simplicity. LEDs are simple devices and the aim is to… Continue reading The shortcomings of the Linux LEDs API