rdp-scripts/rdp.sh
2020-02-23 11:39:54 +01:00

23 lines
515 B
Bash

#!/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 \
$@