Difference between revisions of "Thunar"
From NixOS Wiki
SuperSamus (talk | contribs) (Revamped the article) |
SuperSamus (talk | contribs) (Adapted after https://github.com/NixOS/nixpkgs/pull/179108) |
||
Line 3: | Line 3: | ||
== Installation == | == Installation == | ||
− | + | Thunar will automatically be installed by [https://nixos.wiki/wiki/Xfce#Enabling enabling Xfce]. | |
− | If you | + | If you want to install Thunar standalone, add to your <code>configuration.nix</code>: |
− | |||
− | |||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
− | + | programs.thunar.enable = true; | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | === Plugins === |
− | + | You can add plugins by including them in <code>programs.thunar.plugins</code> to your <code>configuration.nix</code>. For example: | |
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
− | + | programs.thunar.plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ]; | |
− | |||
− | |||
− | |||
− | |||
− | ]; | ||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
− | You can | + | === Other functionalities === |
+ | |||
+ | You can extend Thunar's functionalities by adding to your <code>configuration.nix</code>: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
− | + | services.gvfs.enable = true; # Mount, trash, and other functionalities | |
+ | services.tumbler.enable = true; # Thumbnail support for images | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | You can extend Tumbler's support to other file formats by adding more packages to <code>environment.systemPackages</code>. See [https://wiki.archlinux.org/title/File_manager_functionality#Thumbnail_previews here] for a list (the names may not match 1:1). | |
− | |||
− | You can extend | ||
== See also == | == See also == |
Revision as of 17:27, 26 June 2022
Thunar is a GTK file manager originally made for Xfce.
Installation
Thunar will automatically be installed by enabling Xfce.
If you want to install Thunar standalone, add to your configuration.nix
:
programs.thunar.enable = true;
Plugins
You can add plugins by including them in programs.thunar.plugins
to your configuration.nix
. For example:
programs.thunar.plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
Other functionalities
You can extend Thunar's functionalities by adding to your configuration.nix
:
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
You can extend Tumbler's support to other file formats by adding more packages to environment.systemPackages
. See here for a list (the names may not match 1:1).