Skip to content

Commit

Permalink
Removed force keyboard setting in postinst
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeya committed Jun 4, 2024
1 parent 3aedd7e commit d5efbd2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
xrdp (0.10.0-1hamonikr2) jammy; urgency=medium

* Fixed bugs
- Removed force keyboard setting in postinst

-- HamoniKR <[email protected]> Tue, 04 Jun 2024 09:30:43 +0900

xrdp (0.10.0-1hamonikr1) jammy; urgency=medium

* Release for HamoniKr 7.0
Expand Down
3 changes: 3 additions & 0 deletions debian/startwm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ if [ ! "$DISPLAY" = ":0" ]; then

# 104 키보드 레이아웃 처리
if [ "$KEYBOARD_LAYOUT" = "kr" ]; then
localectl set-keymap us || true
localectl --no-convert set-x11-keymap kr pc105 kr106

xmodmap -e 'keycode 122 = Hangul'
xmodmap -e 'keycode 121 = Hangul_Hanja'
fi
Expand Down
6 changes: 0 additions & 6 deletions debian/xrdp.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ configure)
adduser xrdp ssl-cert
)

# For Korean Keyboard
if [ -f "/usr/bin/localectl" ]; then
localectl set-keymap us || true
localectl --no-convert set-x11-keymap kr pc105 kr106
fi

test -e /etc/xrdp/km-e0010412.ini || xrdp-genkeymap /etc/xrdp/km-e0010412.ini

;;
Expand Down

0 comments on commit d5efbd2

Please sign in to comment.