- Set your
XCURSOR_SIZE
to 32 (or desired size) in either your/etc/nixos/configuration.nix
environment.variables.XCURSOR_SIZE = "32";
or ~/.Xresources
:
Xcursor.size: 32
- in
~/.Xresources
, set the theme toAdwaita
. (You'd want thegnome3.adwaita-icon-theme
nix package installed.)
Xcursor.theme: Adwaita
- in
~/.gtkrc-2.0
set the following:
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=32
- in
~/.config/gtk-3.0/settings.ini
set the following:
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=32
- Logout and log back in. (If you changed
/etc/nixos/configuration.nix
do asudo nix-rebuild switch
and reboot.)
Change the size and theme as desired -- just make sure that the settings in the above files are in sync.
@themattchan Thanks for documenting this!
When I stopped using a desktop environment, I started getting a big old "X" cursor in some contexts (e.g. hovering over a zoomable image in chrome), even though I had set my default XCursor to the left pointer. The only other documentation/examples I found were in the context of home-manager, which I don't use.
Your suggestions fixed the issue and taught me a little more about how cursor themes are managed.