LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /usr/share/applications (https://www.linuxquestions.org/questions/linux-newbie-8/usr-share-applications-416905/)

apocolpse 02-18-2006 12:46 PM

/usr/share/applications
 
oh guys, do i did something dumb. i was copying a *.desktop file to /usr/share/applications/, but instread copied it to /usr/share/application. I dont know what used to be in this file or how important it is. Could someone please tell me how to restore it ??

Thanks

Sargek 02-18-2006 02:14 PM

So, if you did exactly what you typed, you copied a .desktop file to the FILE /usr/share/application, right? If this is true, copy /usr/share/application back to /usr/share/applications/whatever.desktop and you should be OK. This is provided you remember the name of the original .desktop file. You do remember the filename, right?!

alienDog 02-18-2006 02:33 PM

Hmm... I think what has happened is that all the *.desktop files are copied to one single file /usr/share/application. I don't think there actually was a file called application in /usr/share before the copying, so probably you don't have to worry about it. I could be wrong though... If you only copied the files, then you have the original .desktop files still. No damage done.

pixellany 02-18-2006 03:28 PM

On my machine (Ubuntu), /usr/share has only directories. If yours is similar, then you may have simply created the file named "application". Read it and see if it looks familiar.

apocolpse 02-20-2006 03:14 AM

yeah you guys are right. I did just create a file called application. thanks anyway though;

Sargek 02-20-2006 07:08 AM

When you copy, you are literally creating a file. Spelling and capitalization are critical in GNU/Linux, as you have found out! One thing to remember which kind of throws new GNU/Linux users for a loop is in GNU/Linux, and Unix, "everything is a file". This is a totally alien concept in Windows, so takes a bit to get used to. Glad you figured out the issue.


All times are GMT -5. The time now is 12:30 AM.