Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
16
rated 0 times [  16] [ 0]  / answers: 1 / hits: 5248  / 3 Years ago, sun, june 20, 2021, 5:03:24

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?


More From » filesystem

 Answers
1

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


[#33224] Monday, June 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
terneive

Total Points: 329
Total Questions: 117
Total Answers: 105

Location: Denmark
Member since Tue, Oct 18, 2022
2 Years ago
;