On 9/18/2013 1:37 PM, John Hupp wrote: > I want to create a desktop shortcut for updating the client image. I > tried a standard desktop shortcut with the relevant line: > > Exec=sudo ltsp-update-image --cleanup / > > but running that produces no results. > > I also tried modifying that to: > > Exec=gksudo ltsp-update-image --cleanup / > > But likewise running that produces no results. > > ----------------------------------------------- > > I also tried creating a bash script with the contents: > > #!/bin/bash > gksudo ltsp-update-image --cleanup / > > And alternatively with: > > sudo ltsp-update-image --cleanup / > > and simply with: > > ltsp-update-image --cleanup / > > Trying to run any of those versions, it prompts to Execute or to Execute > in Terminal, but none of those choices runs the update or even prompts > for a password. > > What am I doing wrong?
In the Lubuntu forum, Nik Th and Andre Rodovalho both provided a working solution: In a standard desktop shortcut (with lxterminal providing a terminal window in Lubuntu), the Exec line should be: Exec=lxterminal --command="sudo ltsp-update-image --cleanup /" ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net