Getting rid of NetworkManager authorization prompts

Not exactly rocket science but since it took me a while to find out I’ll keep this here for future reference: to get rid of NetworkManager authorization prompts in openSUSE Leap 15.0 and similar distros, create /etc/polkit-1/rules.d/80-networkmanager-allow-users-group.rules: polkit.addRule(function(action, subject) { if (/^org\.freedesktop\.NetworkManager\./.test(action.id) && subject.local && subject.active && subject.isInGroup(“users”)) { return polkit.Result.YES; } });

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

Connecting to libvirtd as non-root user on openSUSE 13.1

As a revisit to my previous post on connecting to libvirtd as a non-root user on openSUSE 12.2, the way to do it on openSUSE 13.1 is the same that worked for Marek Goldmann on Fedora 18 (although he used the wheel group). Create /etc/polkit-1/rules.d/80-libvirt-manage.rules with the following content: polkit.addRule(function(action, subject) { if (action.id ==… Continue reading Connecting to libvirtd as non-root user on openSUSE 13.1

Connecting to libvirtd as non-root user on openSUSE 12.2

An old bug still bites one trying to connect to libvirtd/, eg. when starting virt-manager. By default, a password prompt asking for the root password appears. You might think that virt-manager would behave like VirtualBox and adding yourself to the libvirt group would suffice but to no avail. While that group exists, in the default… Continue reading Connecting to libvirtd as non-root user on openSUSE 12.2