Change thunar icon back to generic folder icon

I was just being silly :slight_smile: I had just read a previous thread that mentioned the use of a hammer to “modify” a drive for security reasons. I appreciate the development history of an application and what goes into naming it.

1 Like

The developer didn’t wish to change it but I’m not mad or wanting to start arguments, I just wanted to simply make a point and so I just changed the icon but it’s going to be a minor pain to have to change this for family members and clients especially the ones that aren’t as computer literate will be confused.

Give them this script:

#!/usr/bin/env bash

echo "[Desktop Entry]
Name=Thunar File Manager
Comment=Browse the filesystem with the file manager
GenericName=File Manager
Keywords=file manager;explorer;finder;browser;folders;directory;directories;partitions;drives;network;devices;rename;move;copy;delete;permissions;home;trash;
Exec=thunar %F
Icon=system-file-manager
Terminal=false
StartupNotify=true
Type=Application
Categories=System;Utility;Core;GTK;FileTools;FileManager;
MimeType=inode/directory;
Actions=open-home;open-computer;open-trash;

[Desktop Action open-home]
Name=Home
Exec=thunar %U

[Desktop Action open-computer]
Name=Computer
Exec=thunar computer:///

[Desktop Action open-trash]
Name=Trash
Exec=thunar trash:///
" > "$HOME/.local/share/applications/thunar.desktop"

What it does: create a thunar.desktop file in the local app directory with the system-file-manager icon so the menu displays this instead of the one at /usr/share/applications/

1 Like