billyhayes
Posts: 1
Joined: Mon Dec 21, 2015 5:19 am

Invalid desktop entry file

Mon Dec 21, 2015 5:29 am

help i thought it may have been a good idea to start putting thing on my mem stick and i ruined my python games it gives me a warning when i try to use python games [Invalid desktop entry file: '/usr/share/raspi-ui-overrides/applications/python-games.desktop']please help and thank you :!:

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: Invalid desktop entry file

Mon Dec 21, 2015 10:02 am

Can you show us what you have in the "python-games.desktop" file? If you've been relocating things around it's probably a path error.

hello world :-)
Posts: 121
Joined: Sat Nov 14, 2015 7:12 am
Location: England, in an insecure cloud, ie. The Interwebs
Contact: Website Yahoo Messenger AOL

Re: Invalid desktop entry file

Thu Dec 31, 2015 1:39 pm

billyhayes wrote:help i thought it may have been a good idea to start putting thing on my mem stick and i ruined my python games it gives me a warning when i try to use python games [Invalid desktop entry file: '/usr/share/raspi-ui-overrides/applications/python-games.desktop']please help and thank you :!:
an easy solution would be to put the python games back in their original position. otherwise, you could edit the desktop entry file to point to their new location. :D happy holidays
I do moral support. Here: https://www.raspberrypi.org/forums/search.php?search_id=egosearch
I know I use too many parentheses. Problem?
Topics I have posted in: http://bit.ly/1NbDdr5
My topics: http://bit.ly/1ObnKqQ
All my posts: http://bit.ly/1OHzje7

zombiehunterpro
Posts: 23
Joined: Wed Sep 28, 2016 3:05 am

Re: Invalid desktop entry file

Wed Sep 28, 2016 6:36 pm

This is do to a corrupted desktop configuration file or you didn't install the whole app. I did a purge to Dosbox and an executable file was left over. I tried to run it and it said that message.

stychokiller
Posts: 34
Joined: Tue Nov 06, 2012 7:25 am

Re: Invalid desktop entry file

Sat Feb 24, 2018 7:37 am

WHY doesn't desktop-file-validate find ALL of the problems in a *.desktop file? :(
I finally got rid of this error by deleting "TryExec=/usr/local/sbin/stopBlanking.sh 0" 8-)
from the stopBlanking.desktop file desktop-file-validate NEVER :roll: flagged this line as being a problem
(linux 4.4.9-v7+ armv7l). I'm posting this in case someone else runs across this problem with desktop executable
icons.

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Invalid desktop entry file

Sat Feb 24, 2018 7:57 am

If you've found a bug, report it here: https://bugs.freedesktop.org/enter_bug. ... file-utils
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
Paeryn
Posts: 2966
Joined: Wed Nov 23, 2011 1:10 am
Location: Sheffield, England

Re: Invalid desktop entry file

Sat Feb 24, 2018 1:07 pm

stychokiller wrote:
Sat Feb 24, 2018 7:37 am
WHY doesn't desktop-file-validate find ALL of the problems in a *.desktop file? :(
I finally got rid of this error by deleting "TryExec=/usr/local/sbin/stopBlanking.sh 0" 8-)
from the stopBlanking.desktop file desktop-file-validate NEVER :roll: flagged this line as being a problem
(linux 4.4.9-v7+ armv7l). I'm posting this in case someone else runs across this problem with desktop executable
icons.
A TryExec= line is a check to see if a program is installed, it doesn't actually execute the program named, rather it looks to see if such a program is available and is marked executable, if not then the .desktop file may be ignored. By the looks of it that line in your .desktop file was trying to pass a parameter to the program named which would be an error (it makes no sense because the program isn't being executed).
She who travels light — forgot something.

Return to “Off topic discussion”