From my Notebook >
This problem with Freeplane’s canvas performance was annoying to figure out!
First, I had some really simple mind maps that were way too jerky to pan around in.
Then, every method I tried in the “Preferences” menu, like toggling Anti-Aliasing (AA) or changing rendering hints, didn’t work. Even after a restart.
The panning would stutter every time I panned around the mind map, making it annoying to work in the mind map format.
After lots of trial and error…here’s my fix!
Please note:
This method worked for me when the internal “AA” toggles didn’t do a thing.
1. Preparation Steps
~/freeplane-1.12.15/).freeplane.sh.freeplane.sh.bak just in case you make a typo.2. The Trick: Editing the Launch Script
freeplane.sh in your favorite text editor.if [ $JAVA_MAJOR_VERSION -ge 11 ]; thenfi).JAVA_OPTS="-Dsun.java2d.opengl=true $JAVA_OPTS"JAVA_OPTS="-Dsun.java2d.xrender=true $JAVA_OPTS"JAVA_OPTS="new_stuff $JAVA_OPTS" is how we “prepend” settings. Make sure you don’t forget the closing quote or the dollar sign.3. Final Steps
(It’s what worked for me, anyway!)
The answer seems to be: Java (Swing) is a bit of a “black box” when it comes to graphics. By default, it often uses a software-based “pipeline” to draw the map. This means your CPU is trying to calculate every line, bubble, and curve in real-time.
Turning off Anti-Aliasing makes the lines look jagged, but it doesn’t solve the core problem: the CPU is still doing all the work.
By adding the opengl=true flag, we are telling Java: “Hey, stop bothering the CPU and use the dedicated Graphics Processor instead.”
Did this information help you? Support the independent, ad-free web! Tips are much appreciated: $2 USD, $3 USD, or $5 USD.