Font fix Intellij IDEA and java swing apps for ubuntu.
I have tried several times to use IntelliJ, but the sight of ugly fonts caused me sore eyes. A few days ago I found a solution.
You can find diffrents solution on the internet for better font rendering in Java applications, but only this works.
A patch is in PPA. It improves font rendering for Java / Swing apps.
sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
sudo apt-get update
sudo apt-get install openjdk-8-jdk
Global menu for Intellij
You can enable global menu by adding this line in the script, “idea.sh”. But in the last version 15.0.2 may cause a problem, the menu sometimes stops working.
export JAVA_TOOL_OPTIONS="-javaagent:/usr/share/java/jayatanaag.jar $JAVA_TOOL_OPTIONS"