From 63cd59fb918eb36bce58ff4751eb9f6f535fbe9d Mon Sep 17 00:00:00 2001 From: The_miro Date: Wed, 20 May 2026 15:15:59 +0200 Subject: [PATCH] feat(modules): add lamco-rdp-server module Installs lamco-rdp-server from AUR (native Wayland RDP server, Rust, H.264/VA-API). Enables lamco-rdp-server.service as a systemd user service. Wired into tui-install.sh alongside the existing rdp-client and qemu entries. Co-Authored-By: Claude Sonnet 4.6 --- .../optional-Modules/apps/lamco-rdp-server.sh | 16 +++++++++++++++ setup/tui-install.sh | 20 +++++++++++-------- 2 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 setup/modules/optional-Modules/apps/lamco-rdp-server.sh diff --git a/setup/modules/optional-Modules/apps/lamco-rdp-server.sh b/setup/modules/optional-Modules/apps/lamco-rdp-server.sh new file mode 100644 index 0000000..5ada75b --- /dev/null +++ b/setup/modules/optional-Modules/apps/lamco-rdp-server.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -euo pipefail + +# lamco-rdp-server — native Wayland RDP server (Rust, H.264, VA-API) +# Builds from AUR; requires cargo, clang, cmake, nasm (auto-pulled as makedeps) +yay -S --answerdiff None --answerclean All --noconfirm lamco-rdp-server + +# Runs as a systemd user service (session-scoped, D-Bus activated) +systemctl --user enable lamco-rdp-server.service + +echo "lamco-rdp-server enabled as a user service." +echo "Start it with: systemctl --user start lamco-rdp-server" +echo "Or launch the GUI tray: lamco-rdp-server-gui" +echo "" +echo "Optional: install a matching xdg-desktop-portal for your compositor:" +echo " xdg-desktop-portal-hyprland / -wlr / -gnome / -kde" diff --git a/setup/tui-install.sh b/setup/tui-install.sh index a5559ee..c7612aa 100755 --- a/setup/tui-install.sh +++ b/setup/tui-install.sh @@ -160,8 +160,9 @@ count_steps() { [[ "$a" == *"geany"* ]] && TOTAL=$(( TOTAL + 1 )) [[ "$a" == *"codeblocks"* ]] && TOTAL=$(( TOTAL + 1 )) [[ "$a" == *"kate"* ]] && TOTAL=$(( TOTAL + 1 )) - [[ "$a" == *"rdp-client"* ]] && TOTAL=$(( TOTAL + 1 )) - [[ "$a" == *"qemu"* ]] && TOTAL=$(( TOTAL + 1 )) + [[ "$a" == *"rdp-client"* ]] && TOTAL=$(( TOTAL + 1 )) + [[ "$a" == *"lamco-rdp-server"* ]] && TOTAL=$(( TOTAL + 1 )) + [[ "$a" == *"qemu"* ]] && TOTAL=$(( TOTAL + 1 )) } # ── Answerfile ──────────────────────────────────────────────────────────────── @@ -359,8 +360,9 @@ else "codeblocks" "Code::Blocks C/C++ IDE (official)" off \ "kate" "Kate KDE advanced text editor (official)" off \ \ - "rdp-client" "RDP Client Remmina + FreeRDP + VNC plugins" off \ - "qemu" "QEMU/KVM full virt stack + virt-manager GUI" off \ + "rdp-client" "RDP Client Remmina + FreeRDP + VNC plugins" off \ + "lamco-rdp-server" "Lamco RDP Server native Wayland RDP server (AUR, Rust)" off \ + "qemu" "QEMU/KVM full virt stack + virt-manager GUI" off \ 3>&1 1>&2 2>&3) || SELECTED_APPS="" fi @@ -428,8 +430,9 @@ if ! $ANSWERFILE_MODE; then [[ "$SELECTED_APPS" == *"geany"* ]] && SUMMARY+=" ✦ Geany\n" [[ "$SELECTED_APPS" == *"codeblocks"* ]] && SUMMARY+=" ✦ Code::Blocks\n" [[ "$SELECTED_APPS" == *"kate"* ]] && SUMMARY+=" ✦ Kate\n" - [[ "$SELECTED_APPS" == *"rdp-client"* ]] && SUMMARY+=" ✦ RDP Client (Remmina + FreeRDP)\n" - [[ "$SELECTED_APPS" == *"qemu"* ]] && SUMMARY+=" ✦ QEMU/KVM + virt-manager\n" + [[ "$SELECTED_APPS" == *"rdp-client"* ]] && SUMMARY+=" ✦ RDP Client (Remmina + FreeRDP)\n" + [[ "$SELECTED_APPS" == *"lamco-rdp-server"* ]] && SUMMARY+=" ✦ Lamco RDP Server (native Wayland)\n" + [[ "$SELECTED_APPS" == *"qemu"* ]] && SUMMARY+=" ✦ QEMU/KVM + virt-manager\n" fi dialog --backtitle "$BACKTITLE" \ @@ -512,8 +515,9 @@ fi [[ "$SELECTED_APPS" == *"geany"* ]] && run_module "Geany" "$APPS/geany.sh" [[ "$SELECTED_APPS" == *"codeblocks"* ]] && run_module "Code::Blocks" "$APPS/codeblocks.sh" [[ "$SELECTED_APPS" == *"kate"* ]] && run_module "Kate" "$APPS/kate.sh" -[[ "$SELECTED_APPS" == *"rdp-client"* ]] && run_module "RDP Client" "$APPS/rdp-client.sh" -[[ "$SELECTED_APPS" == *"qemu"* ]] && run_module "QEMU/KVM" "$APPS/qemu.sh" +[[ "$SELECTED_APPS" == *"rdp-client"* ]] && run_module "RDP Client" "$APPS/rdp-client.sh" +[[ "$SELECTED_APPS" == *"lamco-rdp-server"* ]] && run_module "Lamco RDP Server" "$APPS/lamco-rdp-server.sh" +[[ "$SELECTED_APPS" == *"qemu"* ]] && run_module "QEMU/KVM" "$APPS/qemu.sh" # ── Colorway (final step) ───────────────────────────────────────────────────── # Read defaults from repo colors.conf for pre-population