.desktop won't launch app
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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
permissions launcher icons
add a comment |Â
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
permissions launcher icons
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
add a comment |Â
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
permissions launcher icons
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
permissions launcher icons
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
add a comment |Â
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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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