about summary refs log tree commit diff
path: root/nixos/modules/services/x11
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2024-03-21 21:04:08 +0800
committerBobby Rong <rjl931189261@126.com>2024-03-21 22:16:25 +0800
commitb79ac84d845934ebb9b39dd93bdc4819797ecd6b (patch)
tree41cc8386aeb55df1c748d4561bc048391e48062c /nixos/modules/services/x11
parentb5f838a2ca3c874a756a45198b0413dce0d53197 (diff)
downloadnixlib-b79ac84d845934ebb9b39dd93bdc4819797ecd6b.tar
nixlib-b79ac84d845934ebb9b39dd93bdc4819797ecd6b.tar.gz
nixlib-b79ac84d845934ebb9b39dd93bdc4819797ecd6b.tar.bz2
nixlib-b79ac84d845934ebb9b39dd93bdc4819797ecd6b.tar.lz
nixlib-b79ac84d845934ebb9b39dd93bdc4819797ecd6b.tar.xz
nixlib-b79ac84d845934ebb9b39dd93bdc4819797ecd6b.tar.zst
nixlib-b79ac84d845934ebb9b39dd93bdc4819797ecd6b.zip
nixos/budgie: Use gnome-terminal by default
- Both budgie-desktop-view and cinnamon-desktop defaults to gnome-terminal, there
  are no clear reason why we don't use the defaults here.
  The cinnamon-desktop org.cinnamon.desktop.default-applications.terminal schema
  is used in nemo for default emulator, since we use nemo by default this fixes nemo
  open in terminal entry without introducing another override.
- There are theming issues with Qogir when opening right-click menu in a second tab.
- Transparency is broken when hovering on other windows, showing only the wallpaper.

This also ensures a stable default for budgie-desktop-view, by using only the
executable name and not a nix store path.

ref: https://github.com/BuddiesOfBudgie/budgie-desktop-view/blob/v1.3/data/org.buddiesofbudgie.budgie-desktop-view.gschema.xml#L60
ref: https://github.com/linuxmint/cinnamon-desktop/blob/6.0.0/schemas/org.cinnamon.desktop.default-applications.gschema.xml.in#L46
ref: https://github.com/linuxmint/nemo/blob/6.0.0/src/nemo-view.c#L7193
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r--nixos/modules/services/x11/desktop-managers/budgie.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/budgie.nix b/nixos/modules/services/x11/desktop-managers/budgie.nix
index 7d8bb1963d78..bcdd21ed5e28 100644
--- a/nixos/modules/services/x11/desktop-managers/budgie.nix
+++ b/nixos/modules/services/x11/desktop-managers/budgie.nix
@@ -144,7 +144,6 @@ in {
           mate.atril
           mate.engrampa
           mate.mate-calc
-          mate.mate-terminal
           mate.mate-system-monitor
           vlc
 
@@ -158,6 +157,9 @@ in {
         ] config.environment.budgie.excludePackages)
       ++ cfg.sessionPath;
 
+    # Both budgie-desktop-view and nemo defaults to this emulator.
+    programs.gnome-terminal.enable = mkDefault true;
+
     # Fonts.
     fonts.packages = [
       pkgs.noto-fonts