Setting Thunar File Selection Dialogs in Fedora 40 Wayland & Gnome 46
If you're using Fedora 40 Wayland and Gnome 46, but dislike Nautilus, you're not alone. Many users find that Nautilus doesn't always meet their needs, especially when it comes to managing files and folders with many items. In this article, we'll show you how to set Thunar as your default file manager and customize its file selection dialogs to make working with files and folders in Fedora 40 Wayland and Gnome 46 a breeze.
Why Thunar?
Thunar is a lightweight, fast, and customizable file manager that is part of the Xfce desktop environment. It is known for its simplicity, stability, and ease of use, making it a popular choice among Linux users who prefer a minimalist approach to their desktop environment. Thunar also has a number of features that make it an excellent choice for managing files and folders, including customizable keyboard shortcuts, bulk file renaming, and support for various file systems.
Setting Thunar as the Default File Manager
To set Thunar as your default file manager in Fedora 40 Wayland and Gnome 46, follow these steps:
- Open the Gnome Terminal by pressing Ctrl + Alt + T.
- Type the following command and press Enter: ```bash xdg-mime default Thunar.desktop x-scheme-handler/trash ```
- Close the terminal.
Now, Thunar will open whenever you want to view or manage your files and folders. However, the default file selection dialogs in Thunar may not be optimized for managing files and folders with many items. In the next section, we'll show you how to customize these dialogs to make them more efficient and user-friendly.
Customizing Thunar File Selection Dialogs
To customize Thunar file selection dialogs, follow these steps:
- Open Thunar.
- Go to Edit > Preferences.
- Click on the Advanced tab.
- Check the box next to Enable experimental features.
- Close the Preferences window.
- Go to Edit > Configure Custom Actions.
- Click on the Add button.
- In the Name field, type a name for the custom action (e.g., "Open in Terminal").
- In the Command field, type the following command: ```bash mate-terminal --working-directory=%f ```
- Click on the Icon tab and select an icon for the custom action.
- Click on the Appearance Conditions tab.
- Check the box next to Directories.
- Click on the Close button.
Now, you can use the custom action to open a terminal window in the current directory. You can also create other custom actions to perform other tasks, such as compressing or extracting files, creating new directories, or running scripts.
Thunar is a lightweight, fast, and customizable file manager that is an excellent alternative to Nautilus in Fedora 40 Wayland and Gnome 46. By setting Thunar as your default file manager and customizing its file selection dialogs, you can make managing files and folders with many items more efficient and user-friendly. In this article, we've shown you how to set Thunar as your default file manager and customize its file selection dialogs with custom actions. With these tips, you can take control of your file management and work more efficiently in Fedora 40 Wayland and Gnome 46.
References
# Example code block
def hello\_world():
print("Hello, world!")
hello\_world()