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:
commit
6ad1271a4c
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue