4 ms·
Also, it is possible for most settings to be dynamic, which is useful on a laptop where you can plug screens, with XSETTINGS. That's what Gnome and XFCE are usi
by vbernat 6y ago
Also, it is possible for most settings to be dynamic, which is useful on a laptop where you can plug screens, with XSETTINGS. That's what Gnome and XFCE are using. With Awesome WM, I am using a script [1] to update XSETTINGS (through xsettingsd configuration file). I explain more on my blog [2].
[1] https://github.com/vincentbernat/awesome-configuration/blob/master/bin/xsettingsd-setup https://github.com/vincentbernat/awesome-configuration/blob/...
[2] https://vincent.bernat.ch/en/blog/2018-4k-hidpi-dual-screen-linux https://vincent.bernat.ch/en/blog/2018-4k-hidpi-dual-screen-...
- podiki 6y agoNice, thanks for sharing! At most I've also hooked up a projector to my computer, but never needed to deal with any setting changes really (just for gaming or rarely for a presentation). A little off topic, but I've run into some weird issues with Display Port/Nvidia/Dell monitor where the monitor is not recognized on unplug/replug. In the past I know there were some issues with older Nvidia drivers and this particular monitor (P2715Q), though this seems like a weird problem that I've seen others have with different configurations online. It led to me needing a weird set of steps (I wrote about this in my Valve Index impressions [0]), using xrandr to add the display mode and switching to a virtual console too. I'm guessing this is mostly due to the older Dell monitor which has always been a bit wonky with Display Port. I assume things are better these days more broadly. Relevant part of [0]: xrandr --newmode "4K" 533.250 3840 3888 3920 4000 2160 2163 2168 2222 +hsync -vsync xrandr --addmode DP-0 4K xrandr --output DP-0 --mode 4K # switch to virtual terminal, i.e. Ctrl-Alt-F2 # switch to DisplayPort input on monitor which should display the terminal env DISPLAY=:0 xset dpms force off; sleep 5; env DISPLAY=:0 xset dpms force on # switch back to X, i.e. Ctrl-Alt-F7 The modeline to add can be found ahead of time with xrandr --verbose or using a tool like cvt or gtf (see the Arch wiki). Sometimes, though, I just need to power cycle the monitor or unplug and replug some cables. I hope this is just this older hardware, and probably solved, like everything else here, with a new GPU that has more DisplayPort outputs. [0] https://boilingsteam.com/the-valve-index-on-linux-on-a-min-spec-machine/ https://boilingsteam.com/the-valve-index-on-linux-on-a-min-s...