From 96eb3c68e1dc9c728bafcf10b140c82973d12aa6 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 21 Sep 2023 10:46:37 +0100 Subject: [PATCH] Add xfreerdp Flatpak launcher --- roles/home-gui/files/xfreerdp-flatpak.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 roles/home-gui/files/xfreerdp-flatpak.sh diff --git a/roles/home-gui/files/xfreerdp-flatpak.sh b/roles/home-gui/files/xfreerdp-flatpak.sh new file mode 100755 index 0000000..cb4b65d --- /dev/null +++ b/roles/home-gui/files/xfreerdp-flatpak.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# Get X11 working by disabling 'socket=fallback-x11' with Flatseal. +# +# Force single-monitor working by changing 'use multimon:i:1' to +# 'use multimon:i:0' in the .rdpw file. + +/usr/bin/flatpak run \ + --command=xfreerdp \ + com.freerdp.FreeRDP \ + /w:1600 /h:900 \ + /dynamic-resolution \ + $*