VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Cannot execute xxx.desktop [SOLVED]  (Read 1371 times)

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Cannot execute xxx.desktop [SOLVED]
« on: July 20, 2009, 07:27:23 pm »

Today morning I try to open my VL 6 and notice some of my xx.desktop file in my desktop is not working. When I double click it, it open in a text editor instead of launch the actual application. It seem the same thing happen to all the xxx.desktop file in /usr/share/applications too. I try to log as root and the same thing happen. Any idea anyone?



Quote
VL6STD:/~/Desktop
hata_ph:$ ls -all
total 44
drwxr-xr-x  2 hata_ph hata_ph 4096 2009-07-21 10:19 ./
drwx------ 60 hata_ph hata_ph 4096 2009-07-21 10:24 ../
-rw-rw-r--  1 hata_ph hata_ph   69 2009-02-24 04:17 .directory
-rw-r--r--  1 hata_ph hata_ph  332 2009-07-21 10:19 11
-rw-r--r--  1 hata_ph hata_ph  228 2009-02-27 23:53 Pidgin\ Internet\ Messenger.desktop
-rw-r--r--  1 hata_ph hata_ph  233 2009-02-24 04:17 docs.desktop
-rw-r--r--  1 hata_ph hata_ph  233 2009-02-24 04:17 help.desktop
-rw-r--r--  1 hata_ph hata_ph  267 2009-03-14 16:11 mount_win.desktop
-rw-r--r--  1 hata_ph hata_ph  269 2009-03-14 16:11 umount_win.desktop
-rw-rw-r--  1 hata_ph hata_ph  254 2009-02-24 04:17 vasm.desktop

PS: I still can launch the applications from the start menu thou....
« Last Edit: July 20, 2009, 09:25:55 pm by hata_ph »
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Cannot execute xxx.desktop
« Reply #1 on: July 20, 2009, 08:41:00 pm »

Try this, as root...
# update-mime-database /usr/share/mime

It worked for me in a similar situation.


 
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: Cannot execute xxx.desktop
« Reply #2 on: July 20, 2009, 09:24:38 pm »

Try this, as root...
# update-mime-database /usr/share/mime

It worked for me in a similar situation.

It work. Thanks.... :)

PS: I still don't know what I did to mess up the setting thou...hahahaha
Logged

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: Cannot execute xxx.desktop [SOLVED]
« Reply #3 on: July 22, 2009, 07:32:20 am »

This has happened to me several times after installing VL6 and then upgrading or installing a bunch of stuff. I did a bit of research, but this fact makes it hard to track down which package actually causes the issue.
Logged
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: Cannot execute xxx.desktop [SOLVED]
« Reply #4 on: July 22, 2009, 07:41:28 am »

Never mind then. As long as I know how to solve it then should be ok. :P
Logged