maeries Posted April 19, 2014 Posted April 19, 2014 Hi there I'm playing attack of the b-team on ubuntu, but I'm not able to open the morph selector. I think it's because I have a German keyboard where the key to open the selector would be the ß-key (two left of the backspace), but minecraft does not recognize this key. Also in vanilla minecraft I'm not able to bind a function to this key, because it just says NONE when I press it. I also can not bind the selector to any other key. For example when I play aotb-t in windows and I go to options -> controls -> morph and set it to any other key, it still opens when I press "ß". Has someone an idea of how to fix this? Quote
Kr0nZ Posted April 19, 2014 Posted April 19, 2014 (edited) You could try remapping the keys using xmodmap and xev, both should come preinstalled in ubuntu. xev is used to display info about pressed keys, xmodmap is used to remap them. So for example the key information for [ and ] (the keys used to scroll through the morph menu) On my keyboard is: KeyRelease event, serial 37, synthetic NO, window 0x3600001, root 0x80, subw 0x0, time 143727145, (-201,75), root:(393,391), state 0x0, keycode 34 (keysym 0x5b, bracketleft), same_screen YES, XLookupString gives 1 bytes: (5b) "[" XFilterEvent returns: False KeyPress event, serial 37, synthetic NO, window 0x3600001, root 0x80, subw 0x0, time 143727261, (-201,75), root:(393,391), state 0x0, keycode 35 (keysym 0x5d, bracketright), same_screen YES, XLookupString gives 1 bytes: (5d) "]" XmbLookupString gives 1 bytes: (5d) "]" XFilterEvent returns: False What you would need to do is run xev from the terminal then press your 'ß' key, take note of the keycode. Then you can remap it using xmodmap (substitute 20 for the keycode of your 'ß' key) xmodmap -e "keycode 20 = bracketleft" This will only work for the current session, so if you reboot you will lose these changes. To make it work across reboots you need to export the changes to a file using: xmodmap -pke >~/.xmodmap Then to load your remaps at boot add the following line to the end of ~/.bashrc xmodmap .xmodmap Edited April 19, 2014 by Kr0nZ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.