Thunar: Difference between revisions
imported>SuperSamus Adapted after https://github.com/NixOS/nixpkgs/pull/179108 |
m added Category:File Manager. Link to Thunar on Xfce projectdocs |
||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
Thunar is a GTK file manager originally made for [[Xfce]]. | [https://docs.xfce.org/xfce/thunar/start Thunar] is a GTK file manager originally made for [[Xfce]]. | ||
== Installation == | == Installation == | ||
Thunar will automatically be installed by [ | Thunar will automatically be installed by [[Xfce#Enabling | enabling Xfce]]. | ||
If you want to install Thunar standalone, add to your <code>configuration.nix</code>: | If you want to install Thunar standalone, add to your <code>configuration.nix</code>: | ||
Line 9: | Line 9: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
programs.thunar.enable = true; | programs.thunar.enable = true; | ||
</syntaxhighlight> | |||
== Configuration == | |||
If xfce is not used as desktop and therefore <code>xfconf</code> is not enabled, preference changes are discarded. | |||
In that case enable the <code>xfconf</code> program manually to be able to save preferences: | |||
<syntaxhighlight lang="nix"> | |||
programs.xfconf.enable = true; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 16: | Line 24: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
programs.thunar.plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ]; | programs.thunar.plugins = with pkgs.xfce; [ | ||
thunar-archive-plugin | |||
thunar-volman | |||
]; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 27: | Line 38: | ||
services.tumbler.enable = true; # Thumbnail support for images | services.tumbler.enable = true; # Thumbnail support for images | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{Tip|You must logout and login again, after enabling gvfs, for the plugin to be active in Thunar}} | |||
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 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). | ||
Line 34: | Line 47: | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:File Manager]] |
Latest revision as of 15:27, 8 October 2024
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;
Configuration
If xfce is not used as desktop and therefore xfconf
is not enabled, preference changes are discarded.
In that case enable the xfconf
program manually to be able to save preferences:
programs.xfconf.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).