Ubuntu – way I can rename Trash to Crap

filesystemxdg

I was trying to Rename the folder Trash to Crap.

I did this

I first ran cd /home/username/.local/share/

Now my present working directory is /home/username/.local/share

then when I typed ls I could see the folder Trash.

then I renamed it to Crap by typing mv Trash Crap

and then when I again typed ls I could see that the folder was renamed to Crap but on the launcher when I open the Trash folder it's still named as Trash and not Crap. Why is that so?

Best Answer

Yeah, you can abuse the translations system to do this.

Make a temporary text file using gedit

gedit /tmp/foo.po

and enter this text into it:

msgid "Trash"

msgstr "Crap"

Change to /usr/share/locale/en/LC_MESSAGES

cd /usr/share/locale/en/LC_MESSAGES

And then apply changes

sudo msgfmt -o unity.mo /tmp/foo.po

Now restart unity to make the changes take effect.

unity --replace

Source: https://askubuntu.com/a/225023/17722