From d63048083d3223d1657236d1f381acfbfd7373b8 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 1 Jun 2023 14:29:24 +0200 Subject: fix slow gtk application startup --- .xprofile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.xprofile') diff --git a/.xprofile b/.xprofile index 8b160d2..9abfa55 100755 --- a/.xprofile +++ b/.xprofile @@ -7,5 +7,16 @@ export _JAVA_OPTIONS='-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndF export TZ='Europe/Amsterdam' xrandr --dpi 92 + +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +# https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start +dbus-update-activation-environment --systemd DISPLAY + i3 -- cgit v1.2.3