3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #54113 from telotortium/xrdp-clipboard-fix

xrdp: fix clipboard for non-ASCII characters
This commit is contained in:
Jörg Thalheim 2019-01-22 18:51:04 +00:00 committed by GitHub
commit 6ad1271a4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,12 @@ let
substituteInPlace $out/sesman.ini \ substituteInPlace $out/sesman.ini \
--replace LogFile=xrdp-sesman.log LogFile=/dev/null \ --replace LogFile=xrdp-sesman.log LogFile=/dev/null \
--replace EnableSyslog=1 EnableSyslog=0 --replace EnableSyslog=1 EnableSyslog=0
# Ensure that clipboard works for non-ASCII characters
sed -i -e '/.*SessionVariables.*/ a\
LANG=${config.i18n.defaultLocale}\
LOCALE_ARCHIVE=${config.i18n.glibcLocales}/lib/locale/locale-archive
' $out/sesman.ini
''; '';
in in
{ {