Cinnamon: 键盘布局小程序崩溃。

创建于 2019-01-03  ·  3评论  ·  资料来源: linuxmint/cinnamon

在 Cinnamon 会话期间的一个看似随机的点上,键盘布局小程序消失并且无法再加载。 在布局之间切换的键盘快捷键也停止工作。
我很确定它与 xapps 库有关,这就是为什么我在其存储库中打开了一个问题: https :

配置:

  • 肉桂版本:4.0.8
  • 分布:拱门
  • 显卡和驱动程序:Intel HD Graphics 620,驱动程序 i915
  • Linux 4.18,64 位

相关.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

最有用的评论

@pviotti ,感谢您的脚本,在适应我的布局后,切换对我
编辑:为我修复了什么:
1)在键盘设置中,点击“重置为默认值”
2) 右键单击​​面板,然后编辑面板。 键盘布局图标将出现,作为一个键盘。 右键单击它,然后删除该小程序。
3)注销,然后重新登录(这对我来说已经足够了,但我可以尝试重现它)
4)重新创建布局
5)再次添加键盘小程序。
好消息是我原来的问题现在也解决了:)

所有3条评论

如果有人需要它,这里有一个简单的脚本,可用作在键盘布局之间切换的解决方法。

#!/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:希望它可以帮助他人。

此页面是否有帮助?
0 / 5 - 0 等级