I'm using Fedora 18 with Gnome 3.6, my keyboard layout settings is English (US). When I need to write accented characters, I use the compose key (right-alt) plus the accent key (`) followed by the vowel I want to be accented. It works fine in all applications except in those that are java based. Anyone knows how to solve this issue?
Set the XMODIFIERS variable to "":
$ env XMODIFIERS="" java -jar your_java_application.jar
$ export XMODIFIERS=""
$ java -jar your_java_application.jar
But in the later case, XMODIFIERS variable will remain modified after exiting the java application, and may be other commands need it in its default value.
I learnt this trick here: https://devnet.jetbrains.com/message/5485348;jsessionid=AC90E67E77944B70A337D368B22A788A#5485348
Try exporting the AWT_TOOLKIT environment variable this way