Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th March 2012, 03:24 PM
T3STY's Avatar
T3STY Offline
Registered User
 
Join Date: Feb 2012
Location: home@Fedora18
Posts: 92
linuxfirefox
Messed up with .desktop files...

This is what happens when you touch things you shouldn't touch.
I have been trying for some time to modify the names that the applications had in the gnome's "Applications" tab. I found alacarte and what I've done at first was only renaming the name of the applications. The result was very bad, many softwares that before existed in gnome's applications tab now are simply disappeared. I then restored the original configuration from alacarte using the restore button; but doing so I got back to the begginning. I have decided then to edit the .desktop files in .local/share/applications and usr/local/share/applications... by edit I mean rename, delete, edit the settings in .desktop file, move files from /usr to my.local folder... ahmm, in a word: a big mess.
Now I wish I have never done it... I can't open text files anymore because gedit is no longer listed in the applications; the same happens for most file formats, some applications kept disappearing from the gnome applications tab after renaming, and I really don't know how to rollback all of this (CTRL+Z won't help this time). The only good thing in this is that I'm still able to start applications from the terminal.

Can someone tell me if there's anything I could do to restore the situation, please?
__________________
MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)
Reply With Quote
  #2  
Old 19th March 2012, 06:13 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,711
linuxfirefox
Re: Messed up with .desktop files...

Did you back-up /usr/share/applications? If so restore it, otherwise I'd reinstall the affected packages to restore the standard .desktop files. Either way, delete .local/share/applications.

Gareth
Reply With Quote
  #3  
Old 19th March 2012, 07:35 PM
T3STY's Avatar
T3STY Offline
Registered User
 
Join Date: Feb 2012
Location: home@Fedora18
Posts: 92
linuxfirefox
Re: Messed up with .desktop files...

No, I didn't make any backup of both directories. Anyway, I didn't even think of reinstalling packages; i knew this was a way but it would take too long and there are too many packages to reinstall. I tried deleting /usr/local/share/applications but it didn't work; it also gave me an error on loggin in saying that the session could not be started and I wasn't able to login in gnome.
Then I thought I could get those .desktop files from somewhere else, like a live CD or another installation. I copied back most of the .desktop files from the Fedora installation I have on my pendrive. Now I'll have to manually create the remaining .desktop files for some other applications, I can handle that.

Thank you for the help Gareth
__________________
MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)
Reply With Quote
  #4  
Old 19th March 2012, 07:59 PM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Leamington Spa, UK
Age: 30
Posts: 1,711
linuxfirefox
Re: Messed up with .desktop files...

Is it /usr/share/applications or /usr/local/share/applications that's the problem?

"yum reinstall"-ing /usr applications shouldn't take too long (it's only the end-user programs that are affected, not the libraries etc.). For /usr/local, by which I assume you mean installed-from-source, have a look in the source tarballs if you still have them. Templates for the .desktop files should be included, and if you just run the ./configure commands you should be able to do something like "make prog.desktop" in the appropriate directory to save having to fill them in by hand.
Reply With Quote
  #5  
Old 19th March 2012, 09:14 PM
T3STY's Avatar
T3STY Offline
Registered User
 
Join Date: Feb 2012
Location: home@Fedora18
Posts: 92
linuxfirefox
Re: Messed up with .desktop files...

The problem is (was) with both of them

yum reinstall ... works fine, I've restored some other applications. But yes, there were a few ones that I've installed them from source. At first I have manually created .desktop files but some I couldn't make them work. But I could make them work by using ./configure and make _app_.desktop.

Now I have back all my .desktop files, thanks
__________________
MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)
Reply With Quote
Reply

Tags
desktop, files, messed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Desktop messed up. freekill Using Fedora 8 2nd September 2010 06:12 PM
Desktop Screen messed femyth Using Fedora 2 9th September 2009 10:38 AM
messed up desktop dyerotic Using Fedora 3 5th March 2008 08:07 AM
I messed up the Desktop joao82 Using Fedora 2 31st March 2007 05:20 PM
ati drivers messed up desktop ShibbyCoder Using Fedora 1 3rd January 2005 05:22 PM


Current GMT-time: 07:42 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat