Android Studio & ibus-daemon interactions
来源:互联网 发布:德州扑克源码 cocos2d 编辑:程序博客网 时间:2024/06/08 07:10
On Linux systems (where the ibus-daemon is active), there are scenarios where the IDE will stop responding to keyboard input or start inputting random characters. This document provides some workarounds for those bugs.
The bug seems to be triggered bysome missing synchronization between IBus (the server) and Xlib + AWT (the client JVM), exposed by a combination of a quick succession of key presses and the client’s slower event handling. The bug has already been reported upstream:
- https://youtrack.jetbrains.com/issue/IDEA-78860
- https://code.google.com/p/ibus/issues/detail?id=1770
Workaround #1: Force ibus in synchronous mode
Do this preferably before starting Studio. This workaround was suggested inhttps://code.google.com/p/ibus/issues/detail?id=1733 for a different Java application facing the same problems.
Workaround #2: Disable IBus input in Studio
$ XMODIFIERS= ./bin/studio.sh
This will only disable input methods for Studio, not the other applications. Restarting the daemon while Studio is running (‘ibus-daemon -rd’) effectively disables the input methodsfor all other applications,and can also crash Studio's JVM with a segmentation fault.
Double-check the shortcut bindings
Run ‘ibus-setup’ and check Keyboard Shortcuts / Next input method. Make sure it’s not Ctrl+space, which is also the code completion shortcut for Studio and other IDEs. Change it to Super+space or whatever seems appropriate. Ubuntu 14.04 (Trusty) makes Super+space the default shortcut, but it could be the case that settings from a previous version were kept around.
- Android Studio & ibus-daemon interactions
- ibus-daemon
- /usr/bin/ibus-daemon -d
- android studio Error:Unable to start the daemon process
- [Android Studio ERROR]Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- 【Android studio】 unable to start the daemon process
- Android studio Error:Unable to start the daemon process
- android studio 错误Error:Unable to start the daemon process.
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- Android studio Unable to start the daemon process
- Android Studio出现Unable to start the daemon process问题
- 10、android studio :Timeout waiting to lock daemon addresses registry
- android studio gradle project sync failed,和android studio Error:Unable to start the daemon process问题
- Deep Learning(深度学习)学习笔记整理系列之(八)
- C语言字符数组和字符串注意
- [Cocoa]_[NSTableView]_[添加复选框]
- Studio was unable to create a local connection
- ORA-01722:invalid number
- Android Studio & ibus-daemon interactions
- C++学习中的一点笔记(一)
- 垂直居中一个元素
- spark下读写lzo文件(java)
- android - anim translate中 fromXDelta、toXDelta、fromYDelta、toXDelta属性
- 过滤器,监听器,拦截器
- Android开源项目分类汇总
- 视图和基本表的区别
- iOS之---没有移动支付寸步难行