From c0ae17c3de8cb864e89279f0159fd884ed1df835 Mon Sep 17 00:00:00 2001 From: ducoterra Date: Sat, 3 Aug 2024 12:44:37 -0400 Subject: [PATCH] various fixes for fprintd and AUR packages --- infrastructure/graduated/arch/README.md | 15 +++++---- infrastructure/graduated/arch/gaming.md | 14 +++++++++ infrastructure/graduated/arch/workstation.md | 33 ++------------------ 3 files changed, 24 insertions(+), 38 deletions(-) diff --git a/infrastructure/graduated/arch/README.md b/infrastructure/graduated/arch/README.md index 0084697..1fe658e 100644 --- a/infrastructure/graduated/arch/README.md +++ b/infrastructure/graduated/arch/README.md @@ -742,16 +742,15 @@ You can create chroot environments to run firejails or just use for testing purp 1. `pacman -S fprintd` 2. `systemctl enable --now fprintd` 3. `fprintd-enroll ducoterra` -4. ~~Enable fingerprint terminal login but prompt for password first (enter switches to prompt for fingerprint)~~ +4. Install to use fingerprint with gnome - DON'T DO THIS +In order to use fingerprint auth with gnome for privileged system stuff with gdm, +edit `/etc/pam.d/system-auth` and add the following to the top of the file: - /etc/pam.d/sudo - - ```conf - # fingerprint auth - auth sufficient pam_fprintd.so - ``` +```conf +auth sufficient pam_fprintd_grosshack.so +auth sufficient pam_unix.so try_first_pass nullok +``` ##### Turn Off Fingerprint When Laptop Lid Closed diff --git a/infrastructure/graduated/arch/gaming.md b/infrastructure/graduated/arch/gaming.md index 21d89e8..820102a 100644 --- a/infrastructure/graduated/arch/gaming.md +++ b/infrastructure/graduated/arch/gaming.md @@ -10,6 +10,9 @@ - [Sunshine and Moonlight](#sunshine-and-moonlight) - [Install Sunshine](#install-sunshine) - [Install Moonlight](#install-moonlight) + - [AUR](#aur) + - [AppImage](#appimage) + - [Commands](#commands) - [Configuration](#configuration) - [ProtonUp-QT](#protonup-qt) - [VSCode](#vscode) @@ -174,6 +177,14 @@ pacman -U --noconfirm sunshine.pkg.tar.zst ### Install Moonlight +#### AUR + +(Note, this requires [ffmpeg](#ffmpeg)) + + + +#### AppImage + ```bash @@ -195,6 +206,7 @@ Type=Application update-desktop-database ``` +#### Commands Ctrl + Alt + Shift + Q (Moonlight Stream) Quit the streaming session (leaving the game running on the host PC) @@ -425,6 +437,8 @@ on arch. +1. Install `jre-openjdk-headless` + ```bash cd ~/aur git clone https://github.com/MultiMC/multimc-pkgbuild.git diff --git a/infrastructure/graduated/arch/workstation.md b/infrastructure/graduated/arch/workstation.md index 50720ea..ce7cdf8 100644 --- a/infrastructure/graduated/arch/workstation.md +++ b/infrastructure/graduated/arch/workstation.md @@ -332,36 +332,10 @@ Type=Application ## Bambu Studio - - -I usually grab the Ubuntu appimage. The Fedora one seems to crash when displaying the camera. - -```bash -# You might need to install webkit2gtk -pacman -S webkit2gtk -``` - -```bash -mv ~/Downloads/Bambu_Studio_linux*.AppImage ~/Applications/BambuStudio.AppImage -chmod +x ~/Applications/*.AppImage -``` - -Note! The file name "BambuStudio.desktop" must match the appimage name "BambuStudio" for the icon to show up. - -~/.local/share/applications/BambuStudio.desktop - -```conf -[Desktop Entry] -Name=Bambu Studio -Exec=/home/ducoterra/Applications/BambuStudio.AppImage -Icon=/home/ducoterra/.icons/bambu_studio.png -Type=Application -``` - -```bash -update-desktop-database -``` + +1. Install +2. Install as normal with `makepkg -si` ## Orca Slicer @@ -387,7 +361,6 @@ Icon=/home/ducoterra/.icons/orca_slicer.png Type=Application ``` - ## AWS CLI