done
This commit is contained in:
@@ -157,6 +157,15 @@
|
||||
mesa
|
||||
libGL
|
||||
dbus
|
||||
|
||||
# Lightweight alternatives for X11 forwarding
|
||||
firefox # Often faster than Chromium over X11
|
||||
qutebrowser # Keyboard-driven lightweight browser
|
||||
|
||||
# X11 performance tools
|
||||
xorg.xset
|
||||
xorg.xdpyinfo
|
||||
xorg.xwininfo
|
||||
];
|
||||
|
||||
# Enable X11 forwarding support
|
||||
@@ -173,4 +182,14 @@
|
||||
];
|
||||
fontconfig.enable = true;
|
||||
};
|
||||
|
||||
# X11 performance optimizations
|
||||
environment.variables = {
|
||||
# Disable some heavy X11 features for better performance over SSH
|
||||
"_JAVA_AWT_WM_NONREPARENTING" = "1";
|
||||
# Optimize Qt applications for X11 forwarding
|
||||
"QT_X11_NO_MITSHM" = "1";
|
||||
# Disable some graphics acceleration that doesn't work well over SSH
|
||||
"LIBGL_ALWAYS_INDIRECT" = "1";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user