Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 53632  / 1 Year ago, wed, april 12, 2023, 12:30:14

I am using Ubuntu 12.04 LTS, and I want "XnRetro.desktop" file to be removed from directory /usr/share/applications using terminal . How to do it ?



I am new into Linux & I know something like "rm" command is used, but I don't wanna risk as there are many other files too in it.



Regards.


More From » 12.04

 Answers
7

I don't recommend you remove anything by hand from the /usr folder, but if you REALLY want to not listen to my recommendation you can remove it with this command:



sudo rm /usr/share/applications/XnRetro.desktop



But I really don't recommend that you remove things from /usr without removing whatever installed to there, because it can sometimes cause problems.



You might want to consider as an alternative moving the file so it has a .old extension. The method as outlined in another answer here, by Daniel, explains how to do this by using this command:



sudo mv /usr/share/applications/XnRetro.desktop /usr/share/applications/XnRetro.desktop.old


[#30906] Wednesday, April 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ticeate

Total Points: 497
Total Questions: 128
Total Answers: 112

Location: Samoa
Member since Fri, Nov 27, 2020
4 Years ago
;