Cinnamon ์ธ์
์ค ๊ฒ๋ณด๊ธฐ์ ์์์ ์ง์ ์์ ํค๋ณด๋ ๋ ์ด์์ ์ ํ๋ฆฟ์ด ์ฌ๋ผ์ง๊ณ ๋ ์ด์ ๋ก๋ํ ์ ์์ต๋๋ค. ๋ ์ด์์ ๊ฐ ์ ํ์ ์ํ ํค๋ณด๋ ๋จ์ถํค๋ ์๋์ ๋ฉ์ถฅ๋๋ค.
๋๋ ๊ทธ๊ฒ์ด xapps ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ๊ด๋ จ๋ ๊ฒ์ด๋ผ๊ณ ํ์ ํฉ๋๋ค. ๊ทธ๋์ ์ ์ฅ์์์ ๋ฌธ์ ๋ฅผ ์ด์์ต๋๋ค. https://github.com/linuxmint/xapps/issues/63 . ๋๋ ์ด๊ฒ์ ๊ฒฝํํ๋ ์ฌ๋์ ์ํด ์ฐธ๊ณ ๋ก ์ฌ๊ธฐ์์๋ ํ๋๋ฅผ ์ด ์๊ฐ์ด์์ต๋๋ค.
๊ตฌ์ฑ:
๊ด๋ จ .xsession-error
:
Cjs-Message: 19:13:16.380: JS LOG: Unknown network device type, is 14
Cjs-Message: 19:13:16.392: JS LOG: Unknown network device type, is 13
Cjs-Message: 19:13:16.392: JS LOG: Unknown network device type, is 13
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.953: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:265:9
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:265:9
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:265:9
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:269:9
Cinnamon warning: Log level 8: xapp_kbd_layout_controller_get_current_group: assertion 'controller->priv->enabled' failed
(cinnamon:1043): Cjs-WARNING **: 19:13:45.954: JS ERROR: TypeError: item is undefined
_syncGroup@/usr/share/cinnamon/applets/[email protected]/applet.js:269:9
(cinnamon:1043): Cjs-CRITICAL **: 19:13:47.841: JS ERROR: SyntaxError: unterminated character class @ /usr/share/cinnamon/js/misc/fileUtils.js line 210 > Function:3251
ํ์ํ ๊ฒฝ์ฐ๋ฅผ ๋๋นํ์ฌ ๋ค์์ ํค๋ณด๋ ๋ ์ด์์ ๊ฐ ์ ํ์ ์ํ ํด๊ฒฐ ๋ฐฉ๋ฒ์ผ๋ก ์ฌ์ฉํ ์ ์๋ ๊ฐ๋จํ ์คํฌ๋ฆฝํธ์ ๋๋ค.
#!/bin/bash
# Simple script to switch between Irish and Italian keyboard layouts
current=`setxkbmap -print | awk -F"+" '/xkb_symbols/ {print $2}'`
case $current in
ie)
setxkbmap it
;;
it)
setxkbmap ie
;;
esac
์๋
ํ์ธ์ @pviotti๋ , ์คํฌ๋ฆฝํธ์ ๊ฐ์ฌ๋๋ฆฝ๋๋ค. ๋ด ๋ ์ด์์์ ์ ์ํ ํ ์ ํ์ด ์ ์๊ฒ
ํธ์ง : ๋๋ฅผ ์ํด ๊ณ ์น ๊ฒ :
1) ํค๋ณด๋ ์ค์ ์์ "๊ธฐ๋ณธ๊ฐ์ผ๋ก ์ฌ์ค์ " ํด๋ฆญ
2) ํจ๋์ ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ๋ฒํผ์ผ๋ก ํด๋ฆญํ๊ณ ํจ๋์ ํธ์งํฉ๋๋ค. ํค๋ณด๋ ๋ ์ด์์ ์์ด์ฝ์ด ํค๋ณด๋๋ก ๋ํ๋ฉ๋๋ค. ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ๋ฒํผ์ผ๋ก ํด๋ฆญํ๊ณ ํด๋น ์ ํ๋ฆฟ์ ์ ๊ฑฐํฉ๋๋ค.
3) ๋ก๊ทธ์์ํ๋ค๊ฐ ๋ค์ ๋ก๊ทธ์ธํฉ๋๋ค.
4) ๋ ์ด์์ ๋ค์ ๋ง๋ค๊ธฐ
5) ํค๋ณด๋ ์ ํ๋ฆฟ์ ๋ค์ ์ถ๊ฐํ์ญ์์ค.
์ข์ ์์์ ๋ด ์๋ ๋ฌธ์ ๋ ์ด์ ํด๊ฒฐ๋์๋ค๋ ๊ฒ์
๋๋ค :)
๊ทธ๋ฅ ์ํธ ์ฐธ์กฐํ์ญ์์ค.
@camypaj๋ ์ ์๊ฒฌ์ ํด๋น ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๋ ๋ฐ ๋์์ด ๋์์ต๋๋ค: #7792, ์ ์ด๋ ์ ์๊ฒ๋.
์ข์ ์น๊ตฌ:+1: ๋ค๋ฅธ ์ฌ๋๋ค์ ๋์ธ ์ ์๊ธฐ๋ฅผ ๋ฐ๋๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์๋ ํ์ธ์ @pviotti๋ , ์คํฌ๋ฆฝํธ์ ๊ฐ์ฌ๋๋ฆฝ๋๋ค. ๋ด ๋ ์ด์์์ ์ ์ํ ํ ์ ํ์ด ์ ์๊ฒ
ํธ์ง : ๋๋ฅผ ์ํด ๊ณ ์น ๊ฒ :
1) ํค๋ณด๋ ์ค์ ์์ "๊ธฐ๋ณธ๊ฐ์ผ๋ก ์ฌ์ค์ " ํด๋ฆญ
2) ํจ๋์ ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ๋ฒํผ์ผ๋ก ํด๋ฆญํ๊ณ ํจ๋์ ํธ์งํฉ๋๋ค. ํค๋ณด๋ ๋ ์ด์์ ์์ด์ฝ์ด ํค๋ณด๋๋ก ๋ํ๋ฉ๋๋ค. ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ๋ฒํผ์ผ๋ก ํด๋ฆญํ๊ณ ํด๋น ์ ํ๋ฆฟ์ ์ ๊ฑฐํฉ๋๋ค.
3) ๋ก๊ทธ์์ํ๋ค๊ฐ ๋ค์ ๋ก๊ทธ์ธํฉ๋๋ค.
4) ๋ ์ด์์ ๋ค์ ๋ง๋ค๊ธฐ
5) ํค๋ณด๋ ์ ํ๋ฆฟ์ ๋ค์ ์ถ๊ฐํ์ญ์์ค.
์ข์ ์์์ ๋ด ์๋ ๋ฌธ์ ๋ ์ด์ ํด๊ฒฐ๋์๋ค๋ ๊ฒ์ ๋๋ค :)