Sign in to follow this  
maeries

[Ubuntu Linux] Morph Selector does not open

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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 by Kr0nZ

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By MajorHeartAttack
      Just made a new Modpack called Heartattack, and wanted to advertise it, because it has mods like Galacticaft, Morph, SpeedsterHeroes, Nukes, Everything! Also the main reason would be if this Modpack gets support, I would open up a Public server, so I would really be looking forward to that with your support! Line: https://www.technicpack.net/profile/4864249/modpacks
    • By Caminon
      Whenever I try to run the sh in the server folder in the terminal, this happens:
      A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:564)
              at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:48)
              at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:17)
      Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
              at net.minecraft.launchwrapper.Launch.<init>(Launch.java:33)
              at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
              ... 6 more

      I'm running on Debian, just installed java fresh on this computer. I can't seem to figure out why it won't work.
    • By elvis8900
      I'm trying to run the Technic Launcher on mint linux 18.2. I can see the launcher. I just can't adjust the launcher window to access any mod packs.
    • By Subber
      ThormenLOTR is a server based on the amazing Lord of the Rings mod.
      The server has many features that official pack lacks of and some bug fixes to deliver the best playing experience.
      Some of the key features:
      * A new Middle-earth dimension
      * Over 100 new biomes, each with their own unique structures and resources
      * Biomes are generated in accordance with Tolkien's map of Middle-earth
      * The mysterious, unexplored lands of Rhûn and Harad
      * The ancient Pits of Utumno, a terrifying dungeon dimension full of Morgoth's evil creatures
      * Hundreds of new blocks, weapons, armours, foods, and items
      * People and races from the Lord of the Rings world
      * An alignment system, where faction inhabitants will aggro you unless you have positive or neutral alignment
      * New gameplay elements dependent on the player's alignment: trading, unit hiring, and an expanded achievement system
      * Randomly generated Mini-Quests, and the Red Book from kit "pouchbook" to record them
      * Seamless multiplayer integration in all areas of the mod
      IP and website: Thormenpvp.net
    • By Rigby293
      Technic Launcher crashes while trying to install, when trying to reinstall (without deleting .technic) it immediately crashes.
      [B#347] 2016/10/21 13:28:30 [INFO] Console Mode Activated
      [B#347] 2016/10/21 13:28:30 [SEVERE] java.io.FileNotFoundException: File '/home/owner/.technic/assets/launcher/OpenSans+Cyberbit.ttf' does not exist
      [B#347] 2016/10/21 13:28:30 [SEVERE]     at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:299)
      [B#347] 2016/10/21 13:28:30 [SEVERE]     at net.technicpack.ui.lang.ResourceLoader.getFontByName(ResourceLoader.java:76)
      [B#347] 2016/10/21 13:28:30 [SEVERE]     at net.technicpack.ui.lang.ResourceLoader.getFont(ResourceLoader.java:318)
      [B#347] 2016/10/21 13:28:30 [SEVERE]     at net.technicpack.ui.lang.ResourceLoader.getFont(ResourceLoader.java:314)
      [B#347] 2016/10/21 13:28:30 [SEVERE]     at net.technicpack.launcher.autoupdate.TechnicRelauncher.buildUpdaterTasks(TechnicRelauncher.java:114)
      [B#347] 2016/10/21 13:28:30 [SEVERE]     at net.technicpack.autoupdate.Relauncher.runAutoUpdater(Relauncher.java:97)
      [B#347] 2016/10/21 13:28:30 [SEVERE]     at net.technicpack.launcher.LauncherMain.main(LauncherMain.java:193)
      [B#347] 2016/10/21 13:28:30 [WARNING] Unable to load users from /home/owner/.technic/users.json because it does not exist.
      [B#347] 2016/10/21 13:28:31 [INFO] Starting download of http://launcher.technicpack.net/resources/OpenSans+Cyberbit.ttf, with 3 tries remaining
      [B#347] 2016/10/21 13:28:40 [INFO] Expected MD5: 94a9d4cbcb9ceaa25000fa303fa81acc Calculated MD5: 94a9d4cbcb9ceaa25000fa303fa81acc
      [B#347] 2016/10/21 13:28:40 [INFO] Starting download of http://launcher.technicpack.net/resources/Raleway+FireflySung.ttf, with 3 tries remaining
      [B#347] 2016/10/21 13:28:49 [INFO] Expected MD5: b62087eb4b11746987c800c0512890ef Calculated MD5: b62087eb4b11746987c800c0512890ef
      [B#347] 2016/10/21 13:28:49 [INFO] Starting download of http://mirror.technicpack.net/resources/aether-dep.jar, with 3 tries remaining
      [B#347] 2016/10/21 13:28:52 [INFO] Expected MD5: EBF34784444ABCB976F77C9E23692057 Calculated MD5: ebf34784444abcb976f77c9e23692057
      [B#347] 2016/10/21 13:28:52 [INFO] OS: linux
      [B#347] 2016/10/21 13:28:52 [INFO] Identified as linux