Slightly updated my blogpost about X11 (again):
1) Add subsection about xlock to the "Screensaver" section with sample configuration involving xlock and xautolock usage.
2) Add subsection about how to properly start xdm — according to the documentation in the FreeBSD — the /etc/ttys should be changed, not the /etc/rc.conf.
3) In the "GTK3" subsection wrote about hack from ArchWiki to force GTK3 not to conform X server settings (I starting to think that this is impossible), but to display fonts and UI elements at least the same size like other toolkits — when the HighDPI display is in use.
4) Remove wrong line ("XTerm.vt100.selectToClipboard: true") from xterm X resources, so the mouse selection appears in the right clipboard and can be pasted with middle-click of mouse.

eugene-andrienko.com/it/2025/0

How to configure X11 in a simple way

TOC    Preamble High DPI Keyboard configuration Rewrite configuration for xorg.conf Mutlimedia keys Pointing devices Touchpad Trackpoint Trackball Mouse Drawing tablet Screensaver Disable screensaver for fullscreen videos Update 2025-12-13 (xlock): Compositor (no, not that thing from Wayland) Changing size of usual windows Transparent splash screens Sliding dialog windows Effects for Emacs Librewolf: menu fix Effects for StumpWM parts Disabling unwanted outputs Juggling with displays Terminal Display manager (XDM) Update 2025-10-20: Update 2025-12-13 (xdm startup): Xdg-utils Emacs Dired as a default file manager Emacs Compose as a default mail agent nSxiv as a default image viewer MPV as a default video/audio player Emacs as a default editor for some files Emacs PDF-tools as a default PDF viewer Beauty Changing the cursor theme GTK2 theme Update 2025-12-13 (hints from vermaden): GTK3 theme Update 2025-12-13 (tweaks from vermaden blog): Update 2026-01-08 GTK4 theme Qt 5 theme Qt 6 theme Librewolf theme Fonts Update 2025-12-13 (fonts changed): Icons Notes Preamble The modern common Linux and as a result also a UNIX desktop is heavily bloated. Even if you install not a full-scale DE like Gnome, but a small WM: i3wm, WindowMaker, XFCE, StumpWM, etc. These window managers are small itself, but when user installs a necessary GUI programs — then a lot of bloat will be installed too: gsettings-daemon, D-Bus daemon, polkitd, console-kit-daemon, etc, etc…

eugene-andrienko.com · Dragon’s notes

Link author: Eugene :freebsd: :emacslogo:@evgandr@bsd.cafe

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/evgandr/statuses/115856419513541413 on your instance and quote it. (Note that quoting is not supported in Mastodon.)