GNOME: Difference between revisions

Jasi (talk | contribs)
GNOME desktop: Remove snippet for pre-25.11 as it has passed EOL.
Jasi (talk | contribs)
m Experimental features: remove period from comment.
 
(4 intermediate revisions by the same user not shown)
Line 143: Line 143:
For more details, see [https://discourse.nixos.org/t/guide-to-installing-qt-theme/35523/2 this] forum post.{{Note|Qt integration with the adwaita style isn't perfect and your mileage may vary.}}
For more details, see [https://discourse.nixos.org/t/guide-to-installing-qt-theme/35523/2 this] forum post.{{Note|Qt integration with the adwaita style isn't perfect and your mileage may vary.}}


=== Experimental settings ===
=== Experimental features ===
GNOME has a number of experimental settings for features not fully completed and thus hidden from the user. As of GNOME 48, these are the experimental features you may want to use:
GNOME has a number of experimental options for features not fully completed and thus hidden from the user. As of GNOME 49, these are the experimental features you may want to use:
{{File|3={
{{File|3={
   programs.dconf.profiles.user.databases = [
   programs.dconf.profiles.user.databases = [
Line 154: Line 154:
             "variable-refresh-rate" # Enables Variable Refresh Rate (VRR) on compatible displays
             "variable-refresh-rate" # Enables Variable Refresh Rate (VRR) on compatible displays
             "xwayland-native-scaling" # Scales Xwayland applications to look crisp on HiDPI screens
             "xwayland-native-scaling" # Scales Xwayland applications to look crisp on HiDPI screens
            "autoclose-xwayland" # automatically terminates Xwayland if all relevant X11 clients are gone
           ];
           ];
         };
         };
Line 195: Line 196:


=== Enable system tray icons ===
=== Enable system tray icons ===
GNOME does not currently support system tray icons. However, Ubuntu has created an [https://extensions.gnome.org/extension/615/appindicator-support/ extension] that implements this in the top bar. You can install this extension with the following in NixOS:
GNOME does not currently support system tray icons. However, Ubuntu has created an [https://extensions.gnome.org/extension/615/appindicator-support/ extension] that implements this in the top panel. You can install this extension with the following in NixOS:
{{File|3={
{{File|3={
   environment.systemPackages = [ pkgs.gnomeExtensions.appindicator ];
   environment.systemPackages = [ pkgs.gnomeExtensions.appindicator ];
Line 233: Line 234:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
   environment.gnome.excludePackages = with pkgs; [
   environment.gnome.excludePackages = with pkgs; [
     totem
     showtime
   ];
   ];
</nowiki>}}
</nowiki>|name=/etc/nixos/configuration.nix|lang=nix}}


== Troubleshooting ==
== Troubleshooting ==


=== Missing cursor/cursor is a white box ===
=== Missing cursor/cursor is a white box ===
This occurs when installing GNOME from an existing NixOS installation that used a different desktop environment that modified dconf (most likely switching from KDE to GNOME). To easily fix this: reset all dconf settings.<syntaxhighlight lang="bash">
This occurs when installing GNOME from an existing NixOS installation that used a different desktop environment that modified dconf (most likely switching from KDE to GNOME). To easily fix this alongside any number of silent incompatabilities: reset all dconf settings.<syntaxhighlight lang="bash">
$ dconf reset -f /
$ dconf reset -f /
</syntaxhighlight>
</syntaxhighlight>