public static class LinuxAccessibilityWhich accessibility settings the desktop is running with, asked of gsettings.
Remarks
org.gnome.desktop.interface enable-animations and org.gnome.desktop.a11y.interface high-contrast. GNOME-named and not GNOME-only, exactly as the colour scheme is: these are the keys GTK itself reads, so every desktop that wants GTK applications to follow its settings writes them.
⚠ enable-animations is the inverse of the preference, the same way Windows' SPI_GETCLIENTAREAANIMATION is. It says whether animation is wanted, so false is the user asking for less of it.
⚠ Two subprocesses, so this is read once and never polled — see DesktopAppearance, which enforces that for the appearance and for this together. Following a change on Linux needs a portal subscription, which this does not have.
A missing schema is null rather than false: a desktop with no org.gnome.desktop.a11y.interface has not told us the user is happy with the default palette, it has told us nothing.
Methods (1)
public static SystemAccessibility Read()Reads the current settings.
Used by (1)
- DesktopAccessibilityVixen.Platform.Desktop