From b4f1f50b6507ac1041bc654e0835b695c2f958e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 23 Feb 2020 11:39:54 +0100 Subject: [PATCH] Add 'rdp.sh' --- rdp.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 rdp.sh diff --git a/rdp.sh b/rdp.sh new file mode 100644 index 0000000..bcb584f --- /dev/null +++ b/rdp.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +DEFAULT_SIZE="1920x1010" +XFREERDP='xfreerdp' + +if [ "$SIZE" = "" ]; then SIZE="$DEFAULT_SIZE"; fi +$XFREERDP /size:$SIZE \ + /kbd:0x0000040E \ + +home-drive \ + +drive:tmp,/tmp \ + +clipboard \ + /gdi:hw \ + +fonts \ + -wallpaper \ + +aero \ + /u:tormakris \ + /dynamic-resolution \ + +window-drag \ + +sec-nla \ + /audio-mode:local \ + /bpp:16 \ + /compression \ + $@ \ No newline at end of file