LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-13-2005, 03:25 AM   #1
dagalicous
LQ Newbie
 
Registered: Oct 2003
Location: NC
Posts: 17

Rep: Reputation: 0
Question Simple Gnome questions about .desktop launcher files.


I have recently installed Fedora Core 3 on my Desktop, Old PC-file server, and my Laptop. I have noticed some weird behavor in Gnome (only) on the Ol' file server. I noticed that when creating new launchers/shortcut they do not show up properly. All launchers show up as a .desktop file (as they really are) on the desktop. And they have a generic icon like there is no association. I have even noticed this when I browse with nautilus the .desktop files show up as just that.

Another symptom is when I drag a icon from the menu to the panel it no longer shows the icon associated with the shortcut, when I click on the icon it gives me an error with the title: "Can't Display Location" Message: Couldn't display "applications:/// Internet/gaim.desktop".
Nautilus has no installed viewer capable of displaying the file."

Any suggestions? Is there some "file association" that needs to be set/reset? Is there a way to kill gnome settings to attempt to reset it all? Or what is the easiest way to reload gnome and nautilus RPMs?
 
Old 03-13-2005, 04:24 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
If you get a problem with the .desktop showing up, just rename the shortcuts back to the name you want. If you right click on the icon (the generic icon), there is an option to change an icon for the launcher. I don't know what the problem is but this is a temporary fix.
 
Old 03-13-2005, 01:30 PM   #3
dagalicous
LQ Newbie
 
Registered: Oct 2003
Location: NC
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks reddazz I appreciate it. However, I did try renaming and changing the icon again, however it's like it does recognize the launcher file as a launcher file.
 
Old 03-13-2005, 01:52 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
How about creating a launcher from scratch does that cause similar problems. Try that by right clicking on an empty space on your desktop. Let us know what the result is.
 
Old 03-13-2005, 02:00 PM   #5
dagalicous
LQ Newbie
 
Registered: Oct 2003
Location: NC
Posts: 17

Original Poster
Rep: Reputation: 0
Same thing unfortunately. I right click create a new Launcher (used file-roller), it shows up on the desktop as file-roller.desktop with a generic icon, when I click on it it brings up the interface asking if I would like to display the file or run it in terminal like it's a regular file.

I believe this machine was probably upgraded, what is the best way to "reset" gnome? Can I just delete all the ~/.gnome* files and directories, or is there a better way?
 
Old 03-13-2005, 03:25 PM   #6
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Yeah, you can delete the .gnome* as well as the .gconf* directories. It would be a good idea to back them up first.
 
Old 03-13-2005, 06:22 PM   #7
dagalicous
LQ Newbie
 
Registered: Oct 2003
Location: NC
Posts: 17

Original Poster
Rep: Reputation: 0
No dice... Thanks for the everything reddaz! I will keep investigating and I will update the thread. Any input, of course, is welcome.
 
Old 03-14-2005, 11:43 AM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Take a loot at this thread for a possible solution.
 
Old 03-14-2005, 08:42 PM   #9
dagalicous
LQ Newbie
 
Registered: Oct 2003
Location: NC
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks reddazz!!!! That helped!!! It must have slipped my radar between googling and searching LinuxQuesitons.org.

Initial when I ran it I received the following error:




***
* Updating MIME database in /usr/share/mime...
/usr/share/mime/packages/freedesktop.org.xml:1149: parser error : internal error
<comment xml:lang="sv">körbar</comment> <macic priority="40">
^
/usr/share/mime/packages/freedesktop.org.xml:1149: parser error : Extra content at the end of the document
<comment xml:lang="sv">körbar</comment> <macic priority="40">
^

** (process:6006): WARNING **: Failed to parse '/usr/share/mime/packages/freedesktop.org.xml'

***





So I copied the file freedesktop.org.xml from another system, put it in the /usr/share/mime/packages directory and ran the update-mime-database /usr/share/mime/packages again and we are now in business.

Thanks a million!!!!!
 
Old 03-14-2005, 08:58 PM   #10
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
I am glad its worked for you. Thats the beauty of this site, someone may have the same problem as you so you can stumble upon a solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gnome 2.10 *.desktop files Rossario Linux - Software 7 05-23-2005 09:48 PM
Gnome desktop launcher for apps with root premissions yotamk Linux - Newbie 3 04-22-2005 06:28 AM
New Launcher in Gnome doesn't appear on the desktop baltho Linux - Software 2 03-28-2005 10:46 PM
XFCE4 and desktop launcher utanja Debian 2 11-25-2004 04:09 PM
gnome desktop files zeedoo Linux - Software 1 07-12-2004 02:47 PM


All times are GMT -5. The time now is 03:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration