<div dir="ltr">I use like this:<br><br>Exec=lxterminal --command='sudo apt-get upgrade'<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/18 John Hupp <span dir="ltr"><<a href="mailto:lubuntu@prpcompany.com" target="_blank">lubuntu@prpcompany.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I want to create a desktop shortcut for a command that I ordinarily run in an lxterm window thus:<br>
<br>
sudo ltsp-update-image --cleanup /<br>
<br>
I tried a standard desktop shortcut with the relevant line:<br>
<br>
Exec=sudo ltsp-update-image --cleanup /<br>
<br>
but running the shortcut produces no results.<br>
<br>
I also tried modifying that to:<br>
<br>
Exec=gksudo ltsp-update-image --cleanup /<br>
<br>
But likewise running that produces no results.<br>
<br>
------------------------------<u></u>-----------------<br>
<br>
I also tried creating a bash script with the contents:<br>
<br>
#!/bin/bash<br>
sudo ltsp-update-image --cleanup /<br>
<br>
And alternatively with line 2:<br>
<br>
gksudo ltsp-update-image --cleanup /<br>
<br>
and simply also with line 2:<br>
<br>
ltsp-update-image --cleanup /<br>
<br>
Trying to run any of those versions, it prompts to Execute or to Execute in Terminal, but none of those choices runs the update program or even prompts<br>
for a password.<br>
<br>
What am I doing wrong?<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Lubuntu-users mailing list<br>
<a href="mailto:Lubuntu-users@lists.ubuntu.com" target="_blank">Lubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/lubuntu-users" target="_blank">https://lists.ubuntu.com/<u></u>mailman/listinfo/lubuntu-users</a><br>
</font></span></blockquote></div><br></div>