LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-18-2007, 09:23 PM   #1
tbpollard
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Rep: Reputation: 0
Gnome Desktop launchers appear as .desktop and do not function


Whenever I try to use a launcher I have created I get an error window that says Cannot open *.desktop and has and error message. Ive attached an image on this thread http://ubuntuforums.org/showthread.php?t=616964
 
Old 11-19-2007, 03:17 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
First, let me give you a couple of pieces of info about your UbuntuForums posting that you might not be aware of. I imagine you gave us a link to the thread because LQ doesn't allow you to upload anything. None-the-less, people have to log in to view that image at UbuntuForums, which means only UbuntuForums members can view it. (Fortunately, I am such a member. Not many posts over there, but I can login. )

The other thing is that image takes a *very* *long* *time* to download over dialup. Only a small part of the image contains the actual information you want people to see. It would have been much better if you had taken an image of just the window with the error message.

But back to your problem ... That message appears to be a security warning that the content of the file does not match the extension for the file. Perhaps you should post the contents of the file.

Last edited by blackhole54; 11-19-2007 at 03:18 AM.
 
Old 11-19-2007, 09:40 AM   #3
tbpollard
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry about that, I guess it has become commonplace to ignore the considerations of dial-up users. This time I just used a firefox launcher, because no matter what I have the same effect on all of my launchers.

Code:
[Desktop Entry]
Encoding=UTF-8
Name=Firefox Web Browser
Name[ca]=Navegador web Firefox
Name[cs]=Firefox Webový prohlížeč
Name[es]=Navegador web Firefox
Name[fa]=مرورگر اینترنتی Firefox
Name[fi]=Firefox-selain
Name[fr]=Navigateur Web Firefox
Name[hu]=Firefox webböngésző
Name[it]=Firefox Browser Web
Name[ja]=Firefox ウェブ・ブラウザ
Name[ko]=Firefox 웹 브라우저
Name[nb]=Firefox Nettleser
Name[nl]=Firefox webbrowser
Name[nn]=Firefox Nettlesar
Name[no]=Firefox Nettleser
Name[pl]=Przeglądarka WWW Firefox
Name[pt]=Firefox Navegador Web
Name[pt_BR]=Navegador Web Firefox
Name[pt_BR]=Navegador Web Firefox
Name[sk]=Internetový prehliadač Firefox
Name[sv]=Webbläsaren Firefox
Comment=Browse the World Wide Web
Comment[ca]=Navegueu per el web
Comment[cs]=Prohlížení stránek World Wide Webu
Comment[de]=Im Internet surfen
Comment[es]=Navegue por la web
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
Comment[fi]=Selaa Internetin WWW-sivuja
Comment[fr]=Navigue sur Internet
Comment[hu]=A világháló böngészése
Comment[it]=Esplora il web
Comment[ja]=ウェブを閲覧します
Comment[ko]=웹을 돌아 다닙니다
Comment[nb]=Surf på nettet
Comment[nl]=Verken het internet
Comment[nn]=Surf på nettet
Comment[no]=Surf på nettet
Comment[pl]=Przeglądanie stron WWW
Comment[pt]=Navegue na Internet
Comment[pt_BR]=Navegue na Internet
Comment[pt_BR]=Navegue na Internet
Comment[sk]=Prehliadanie internetu
Comment[sv]=Surfa på webben
GenericName=Web Browser
GenericName[ca]=Navegador web
GenericName[cs]=Webový prohlížeč
GenericName[es]=Navegador web
GenericName[fa]=مرورگر اینترنتی
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[hu]=Webböngésző
GenericName[it]=Browser Web
GenericName[ja]=ウェブ・ブラウザ
GenericName[ko]=웹 브라우저
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[nn]=Nettlesar
GenericName[no]=Nettleser
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[pt_BR]=Navegador Web
GenericName[sk]=Internetový prehliadač
GenericName[sv]=Webbläsare
Exec=firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=firefox.png
Categories=Application;Network;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png
StartupWMClass=Firefox-bin
StartupNotify=true
 
Old 11-19-2007, 11:28 AM   #4
tbpollard
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
At least I have my dial-up friendly posting down now ;-p
 
Old 11-19-2007, 01:33 PM   #5
tbpollard
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Ok, the only way I was able to fix this problem was to create a new user account and transfer my files and settings. This is obviously a drastic solution, but nonetheless a solution.
 
Old 11-19-2007, 02:08 PM   #6
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Thanks for making that image more dial-up friendly. While you were fixing the problem, I was trying to Google to find out about MIME associations in Gnome. I still have not figured it out, but I suspect that is where the problem was. Gnome simply didn't think that was the right format for a .desktop file.

So I am glad you got it fixed even if the fix wasn't elegant! If anybody knows about how Gnome does the MIME associations or how they may have been altered (if indeed that was the problem) I would sure be interested in knowing it!
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome desktop icons appear as desktop text files nick623 Linux - Software 2 12-15-2006 03:05 PM
KDE Gnome Desktop Menu Edits (right click on desktop) jdier Linux - Software 11 08-03-2006 06:05 AM
Add launchers to desktop in Java Desktop System omega71122 Solaris / OpenSolaris 6 01-31-2006 06:15 PM
Loss of desktop functionality after setting new desktop from firefox in fc2/gnome. dr_zayus69 Linux - Software 3 03-09-2005 10:29 AM
Nautilus cannot open desktop launchers ptaylor Linux - General 2 01-05-2003 11:09 AM


All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration