.desktop won't launch app

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Ubuntu 17.10
I'm using .desktop files to run applications through desktop icon.



This is my .desktop file



[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Fishin
Comment=fishin
Exec=/usr/share/applications/fishgm1.py #pls note I tried Exec = /usr/bin/env pyhton3 /usr/../fishgm1.py as well
Icon=/usr/share/icons/hicolor/36x36/apps/gonefishin36.png
Terminal=true'


source code includes proper shebang #!/usr/bin/env python3



I was successful previously. Now that is not the case I am only able to run these apps through the ubuntu gui >usr> share>app . Clicking the desktop icon yields 'untrusted applciation launcher'. I have used a screencap comparing my attempt today with my successful attempt. fishgm1.py/fishgm1.desktop is my unsuccessful attempts. simi1.py/test1.desktop is my previous successful attempt.



I moved the .py files into /usr/share/applications with sudo -i. I cp'd from home/path/files to /usr/share/applications and /usr/share/icons/hicolor/36x36/apps for my icon. Permissions are correct. Again, file runs from ubuntu files gui but not from my desktop icon.



Screencap is included. Please notice that permissions are the same for both files but icon image shows up only on one app. my failing deployment compared to my working deloyment










share|improve this question





















  • The file is owned by root. Problem solved in this post: askubuntu.com/questions/425192/…
    – lordBAbaracus
    Jan 28 at 0:23










  • @lordBAbaracus sudo chown myuser:myusergroup /home/me/Desktop/file.desktop -R did the trick ...may I ask what impact this technically has on the bits ...b/c the .desktop file has r+x for all ... (permissions are not my strong suit)
    – meyeti
    Jan 28 at 0:53















up vote
0
down vote

favorite












Ubuntu 17.10
I'm using .desktop files to run applications through desktop icon.



This is my .desktop file



[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Fishin
Comment=fishin
Exec=/usr/share/applications/fishgm1.py #pls note I tried Exec = /usr/bin/env pyhton3 /usr/../fishgm1.py as well
Icon=/usr/share/icons/hicolor/36x36/apps/gonefishin36.png
Terminal=true'


source code includes proper shebang #!/usr/bin/env python3



I was successful previously. Now that is not the case I am only able to run these apps through the ubuntu gui >usr> share>app . Clicking the desktop icon yields 'untrusted applciation launcher'. I have used a screencap comparing my attempt today with my successful attempt. fishgm1.py/fishgm1.desktop is my unsuccessful attempts. simi1.py/test1.desktop is my previous successful attempt.



I moved the .py files into /usr/share/applications with sudo -i. I cp'd from home/path/files to /usr/share/applications and /usr/share/icons/hicolor/36x36/apps for my icon. Permissions are correct. Again, file runs from ubuntu files gui but not from my desktop icon.



Screencap is included. Please notice that permissions are the same for both files but icon image shows up only on one app. my failing deployment compared to my working deloyment










share|improve this question





















  • The file is owned by root. Problem solved in this post: askubuntu.com/questions/425192/…
    – lordBAbaracus
    Jan 28 at 0:23










  • @lordBAbaracus sudo chown myuser:myusergroup /home/me/Desktop/file.desktop -R did the trick ...may I ask what impact this technically has on the bits ...b/c the .desktop file has r+x for all ... (permissions are not my strong suit)
    – meyeti
    Jan 28 at 0:53













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Ubuntu 17.10
I'm using .desktop files to run applications through desktop icon.



This is my .desktop file



[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Fishin
Comment=fishin
Exec=/usr/share/applications/fishgm1.py #pls note I tried Exec = /usr/bin/env pyhton3 /usr/../fishgm1.py as well
Icon=/usr/share/icons/hicolor/36x36/apps/gonefishin36.png
Terminal=true'


source code includes proper shebang #!/usr/bin/env python3



I was successful previously. Now that is not the case I am only able to run these apps through the ubuntu gui >usr> share>app . Clicking the desktop icon yields 'untrusted applciation launcher'. I have used a screencap comparing my attempt today with my successful attempt. fishgm1.py/fishgm1.desktop is my unsuccessful attempts. simi1.py/test1.desktop is my previous successful attempt.



I moved the .py files into /usr/share/applications with sudo -i. I cp'd from home/path/files to /usr/share/applications and /usr/share/icons/hicolor/36x36/apps for my icon. Permissions are correct. Again, file runs from ubuntu files gui but not from my desktop icon.



Screencap is included. Please notice that permissions are the same for both files but icon image shows up only on one app. my failing deployment compared to my working deloyment










share|improve this question













Ubuntu 17.10
I'm using .desktop files to run applications through desktop icon.



This is my .desktop file



[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Fishin
Comment=fishin
Exec=/usr/share/applications/fishgm1.py #pls note I tried Exec = /usr/bin/env pyhton3 /usr/../fishgm1.py as well
Icon=/usr/share/icons/hicolor/36x36/apps/gonefishin36.png
Terminal=true'


source code includes proper shebang #!/usr/bin/env python3



I was successful previously. Now that is not the case I am only able to run these apps through the ubuntu gui >usr> share>app . Clicking the desktop icon yields 'untrusted applciation launcher'. I have used a screencap comparing my attempt today with my successful attempt. fishgm1.py/fishgm1.desktop is my unsuccessful attempts. simi1.py/test1.desktop is my previous successful attempt.



I moved the .py files into /usr/share/applications with sudo -i. I cp'd from home/path/files to /usr/share/applications and /usr/share/icons/hicolor/36x36/apps for my icon. Permissions are correct. Again, file runs from ubuntu files gui but not from my desktop icon.



Screencap is included. Please notice that permissions are the same for both files but icon image shows up only on one app. my failing deployment compared to my working deloyment







permissions launcher icons






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 27 at 23:59









meyeti

93




93











  • The file is owned by root. Problem solved in this post: askubuntu.com/questions/425192/…
    – lordBAbaracus
    Jan 28 at 0:23










  • @lordBAbaracus sudo chown myuser:myusergroup /home/me/Desktop/file.desktop -R did the trick ...may I ask what impact this technically has on the bits ...b/c the .desktop file has r+x for all ... (permissions are not my strong suit)
    – meyeti
    Jan 28 at 0:53

















  • The file is owned by root. Problem solved in this post: askubuntu.com/questions/425192/…
    – lordBAbaracus
    Jan 28 at 0:23










  • @lordBAbaracus sudo chown myuser:myusergroup /home/me/Desktop/file.desktop -R did the trick ...may I ask what impact this technically has on the bits ...b/c the .desktop file has r+x for all ... (permissions are not my strong suit)
    – meyeti
    Jan 28 at 0:53
















The file is owned by root. Problem solved in this post: askubuntu.com/questions/425192/…
– lordBAbaracus
Jan 28 at 0:23




The file is owned by root. Problem solved in this post: askubuntu.com/questions/425192/…
– lordBAbaracus
Jan 28 at 0:23












@lordBAbaracus sudo chown myuser:myusergroup /home/me/Desktop/file.desktop -R did the trick ...may I ask what impact this technically has on the bits ...b/c the .desktop file has r+x for all ... (permissions are not my strong suit)
– meyeti
Jan 28 at 0:53





@lordBAbaracus sudo chown myuser:myusergroup /home/me/Desktop/file.desktop -R did the trick ...may I ask what impact this technically has on the bits ...b/c the .desktop file has r+x for all ... (permissions are not my strong suit)
– meyeti
Jan 28 at 0:53
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000533%2fdesktop-wont-launch-app%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000533%2fdesktop-wont-launch-app%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491