Дана 26/09/01 07:35AM, Rob Schmersel написа: > https://gist.github.com/rosco-pc/d640bd2dddca458fd27031162447d93c
There's no need for (possibly X-breaking) removal of cursor fonts. Дана 26/08/31 08:26PM, 山卡洛 написа: > Chrome and Firefox ignore my cursor theme and size. > I get a tiny (mosquito-sized) Adwaita cursor. I have a HiDPI screen on a laptop, and I can set cursor theme and size without any problems. > My .Xresouces reads: > > Xft.dpi: 144 > Xft.antialias: 1 > Xcursor.theme: Breeze > Xcursor.size: 32 [...] > Which is replicated in .xsession: > > export XCURSOR_THEME=Breeze > export XCURSOR_SIZE=32 > > Both Web search and the LLM lie flat and have no idea. > So can anyone please help? AI is not a reliable source of information at all. Documentation is. Do you load your Xresources? Your ~/.xsession should have a line similar to: xrdb $HOME/.Xresources Test with xrdb -query Did you calculate your DPI correctly? There's a DPI calculator at[1]. You can test how X is configured with xdpyinfo | grep -B2 resolution Are the cursor themes' permissions and ownership set correctly? Are they in one of the directories checked by X[2]? The contents of Xcursor.theme resource or XCURSOR_THEME environment variable needs to exactly match the subdirectory name containing a cursor theme. Since Chrome/Chromium/Ungoogled Chromium and Firefox are using Gtk3, you also need to set up Gtk 3 for HiDPI. Eg. I have: $ xrdb -query | grep -E 'X(cursor|ft)' Xcursor.theme: macOS-BigSur Xft.dpi: 142 $ env | grep XCURSOR XCURSOR_PATH=~/.icons:~/.local/share/icons:/usr/local/share/icons:/usr/local/lib/X11/icons XCURSOR_SIZE=36 XCURSOR_THEME=macOS-BigSur $ xdpyinfo | grep -B2 resolution screen #0: dimensions: 1920x1080 pixels (343x193 millimeters) resolution: 142x142 dots per inch $ cat ~/.config/gtk-3.0/settings.ini [Settings] ... gtk-xft-dpi = 142 (Similar for ~/.config/gtk-4.0/settings.ini and ~/.gtkrc-2.0 - minus the '[Settings]' part for the latter, BTW.) And it works in all programs, including the Ungoogled Chromium which is my default browser. [1]: https://www.sven.de/dpi/ [2]: man -O tag=THEMES 3 Xcursor

