Xfce: Difference between revisions

Klinger (talk | contribs)
m link to manual
A subsection on how to exclude packages in xfce.
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by one other user not shown)
Line 18: Line 18:
       xfce.enable = true;
       xfce.enable = true;
     };
     };
    displayManager.defaultSession = "xfce";
   };
   };
  services.displayManager.defaultSession = "xfce";
   ...
   ...
}
}
Line 25: Line 25:
}}
}}
{{Evaluate}}
{{Evaluate}}
=== Excluding xfce applications ===
Xfce does not include as many applications by default as some other desktop environments. Still, those can be excluded as demonstrated in the example below. Place this before the <code>services.xserver</code> snippet from above.
{{file|/etc/nixos/configuration.nix|nix|
<nowiki>
{
  environment.xfce.excludePackages = with pkgs.xfce; [
    mousepad
    parole
  # ristretto
    xfce4-appfinder
  # xfce4-notifyd
    xfce4-screenshooter
  # xfce4-session
  # xfce4-settings
  # xfce4-taskmanager
  # xfce4-terminal
  ];
}
</nowiki>
}}


=== Using as a desktop manager and not a window manager ===
=== Using as a desktop manager and not a window manager ===
Line 44: Line 65:
       };
       };
     };
     };
    displayManager.defaultSession = "xfce";
     windowManager.i3.enable = true;
     windowManager.i3.enable = true;
   };
   };
  services.displayManager.defaultSession = "xfce";
   ...
   ...
}
}
Line 92: Line 113:
       };
       };
     };
     };
    displayManager.defaultSession = "xfce+xmonad";
   };
   };
  services.displayManager.defaultSession = "xfce+xmonad";
   ...
   ...
}
}