From 13fed0f3aec2342e24e70b7b19b91a41cdbf45e6 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Thu, 16 May 2024 10:43:56 +0100 Subject: [de] Improve JAVA GUIs --- home/.config/sh/envrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'home/.config/sh') diff --git a/home/.config/sh/envrc b/home/.config/sh/envrc index d3e29b2..64d85d7 100644 --- a/home/.config/sh/envrc +++ b/home/.config/sh/envrc @@ -127,6 +127,9 @@ fi export SXHKD_SHELL="sh" # Java: use system anti-aliased fonts and make swing use the GTK look and feel: export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Djava.util.prefs.userRoot=$XDG_CONFIG_HOME/java -Djdk.gtk.version=2" +# https://wiki.archlinux.org/title/Java#Gray_window,_applications_not_resizing_with_WM,_menus_immediately_closing +export _JAVA_AWT_WM_NONREPARENTING=1 +export AWT_TOOLKIT=MToolkit export QT_QPA_PLATFORMTHEME=qt5ct -- cgit v1.2.3-70-g09d2