3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/config
rnhmjoj dd38ae1f2c
nixos/fonts: scale X11 core cursor
Most desktop environments manage the cursor using the Xcursor library
by default; this comes with scalable or multiple-sized cursor themes.
However, when running just a simple WM (twm, bspwm, ...) the cursor
handling is left to the X server, which uses a very simple fixed bitmap
font (this is called a "core" cursor). The font is uncomfortably small
on a high DPI display and must be replaced with a saner default.

Up until recently[1] it used to be possible to change the font on the
xserver command line, however the font name is now hardcoded. It's still
possible to change it, though: here I override the `fontcursormisc`
package and set an alias that points to a vector variant of the original
cursor font. The font size is set to match the standard cursor
dimensions on a 96dpi display. It's not perfect but it's a very simple
and effective solution.

[1]: 56ea4c769c
2021-08-15 12:01:38 +02:00
..
fonts nixos/fonts: scale X11 core cursor 2021-08-15 12:01:38 +02:00
gtk
krb5
xdg nixos/xdg/portal/wlr: init 2021-06-20 11:53:45 +02:00
appstream.nix
console.nix nixos/console: allow console.font to be a path 2021-06-12 13:24:32 +02:00
debug-info.nix
gnu.nix nixos/modules: stdenv.lib -> lib 2021-01-17 21:40:51 +01:00
i18n.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
iproute2.nix nixos/modules/config/iproute2: avoid using iproute alias 2021-04-20 01:01:33 -07:00
ldap.nix Merge pull request #98731 from mayflower/ldap-nss-optional 2020-12-12 10:53:39 +01:00
locale.nix
malloc.nix Revert "Revert "apparmor: fix and improve the service"" 2021-04-23 07:17:55 +02:00
networking.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
no-x-libs.nix beam-packages: move wxSupport arg up to package set, add beam_nox 2021-01-24 21:04:52 +01:00
nsswitch.nix nixos/systemd: fix NSS database ordering 2021-07-17 23:55:35 +02:00
power-management.nix
pulseaudio.nix nixos/*: replace alsa* aliases 2021-06-10 09:46:55 +02:00
qt5.nix
resolvconf.nix
shells-environment.nix Removed wrong comment 2021-06-30 21:32:08 +02:00
swap.nix Merge pull request #129408 from kurnevsky/swap-luks-discards 2021-07-23 11:11:04 +01:00
sysctl.nix
system-environment.nix nixos/system-environment: prepend wrapperDir to PATH (#70430) 2019-10-15 13:17:38 +02:00
system-path.nix nixos/config: move nano to defaultPackages 2021-03-30 11:50:03 +02:00
terminfo.nix
unix-odbc-drivers.nix
update-users-groups.pl nixos/update-users-groups: read access to /etc/shadow for group shadow 2021-03-18 00:08:35 -07:00
users-groups.nix nixos/users-groups: check format of passwd entries 2021-04-22 13:18:38 +00:00
vte.nix
zram.nix