Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-18-2006, 12:46 PM
|
#1
|
Member
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91
Rep:
|
/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
|
|
|
02-18-2006, 02:14 PM
|
#2
|
Member
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416
Rep:
|
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?!
|
|
|
02-18-2006, 02:33 PM
|
#3
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505
Rep:
|
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.
Last edited by alienDog; 02-18-2006 at 02:34 PM.
|
|
|
02-18-2006, 03:28 PM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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.
|
|
1 members found this post helpful.
|
02-20-2006, 03:14 AM
|
#5
|
Member
Registered: Oct 2004
Distribution: Fedora Core 4
Posts: 91
Original Poster
Rep:
|
yeah you guys are right. I did just create a file called application. thanks anyway though;
|
|
|
02-20-2006, 07:08 AM
|
#6
|
Member
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416
Rep:
|
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 09:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|