diff --git a/content/notes/hamradio-computer/index.md b/content/notes/hamradio-computer/index.md index 9c8632f..621348d 100644 --- a/content/notes/hamradio-computer/index.md +++ b/content/notes/hamradio-computer/index.md @@ -82,6 +82,17 @@ to reboot without su /etc/polkit-1/rules.d/49-nopasswd_global.rules +``` +/* Allow members of the wheel group to execute any actions + * without password authentication, similar to "sudo NOPASSWD:" + */ +polkit.addRule(function(action, subject) { + if (subject.isInGroup("wheel")) { + return polkit.Result.YES; + } +}); +``` + ### passwordless ssh login ssh-add -L > .ssh/authorized_keys @@ -104,6 +115,8 @@ can also be done on most installation media that use grub by hitting ### Wine +#### Default (Arch) + Windows tools will require wine, so we install this right now paru -S wine @@ -132,14 +145,18 @@ winetricks -q allfonts adding some .NET frameworks we will mostly use/need +``` winetricks -q dotnet35sp1 winetricks vb6run winetricks vcrun2015 +``` optional if errors +``` winetricks -q dotnet40 winetricks -q dotnet46 +``` registering notepad.exe as default application for logfiles @@ -147,6 +164,18 @@ create a backup of the wine installation tar -cJf wine-backup\_$(date +%Y-%m-%d-%H-%M-%S)\_initial-setup.tar.xz .wine-winlink +#### Debian + +``` +sudo dpkg --add-architecture i386 +sudo apt update +sudo apt install wine wine32 fonts-wine +``` + +``` +sudo apt install gcc-multilib g++-multilib +``` + ### VARA tools vara hf, vara fm