Last active
August 29, 2015 14:04
-
-
Save ckorn/ae8a603a2ee6587b24e1 to your computer and use it in GitHub Desktop.
workaround for https://bugs.launchpad.net/ubuntu/+source/mozc/+bug/1351657
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# when changing to Japanese input with ibus-mozc and changing | |
# back to German KeePassX does not type correctly any longer | |
# has to be a problem in ibus-mozc. For now run "setxkbmap de" | |
# before autotyping. | |
Index: keepassx-0.4.3+dfsg/src/lib/AutoTypeGlobalX11.cpp | |
=================================================================== | |
--- keepassx-0.4.3+dfsg.orig/src/lib/AutoTypeGlobalX11.cpp | |
+++ keepassx-0.4.3+dfsg/src/lib/AutoTypeGlobalX11.cpp | |
@@ -130,6 +130,8 @@ void AutoTypeGlobalX11::performGlobal(){ | |
} | |
focusWindow = getFocusWindow(); | |
+ | |
+ system("setxkbmap de"); | |
bool wasLocked = mainWin->isLocked(); | |
if (wasLocked) | |
Index: keepassx-0.4.3+dfsg/src/lib/AutoTypeX11.cpp | |
=================================================================== | |
--- keepassx-0.4.3+dfsg.orig/src/lib/AutoTypeX11.cpp | |
+++ keepassx-0.4.3+dfsg/src/lib/AutoTypeX11.cpp | |
@@ -84,6 +84,8 @@ void AutoTypeX11::perform(IEntryHandle* | |
if (inAutoType) | |
return; | |
inAutoType = true; | |
+ | |
+ system("setxkbmap de"); | |
QString indexStr; | |
if (nr==0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment