![]() |
Preview and download images and files with zenity dialog - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Development (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=7) +--- Forum: Scripting and Bash (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=32) +--- Thread: Preview and download images and files with zenity dialog (/showthread.php?tid=939) |
Preview and download images and files with zenity dialog - anon222 - 10-03-2014 I've experimented with --text-info, I've discovered it is possible to view and download images and any other files with it with just drag and drop. Hrere we go, with this it's easy to quick grab images. This script opens Scot(0)'s image from imgur.com in zenity dialog Image can be dragged to the Desktop. It will copy the image to the Desktop. --checkbox can be removed here ![]() Code: #!/bin/bash This script opens /github.com/linuxlite/litesoftware Find a button 'Download ZIP', drag it to the desktop It will copy master.zip on the Desktop Code: #!/bin/bash This oone opens www.freecinema2022.gq/forums/ and does nothing special ![]() No link can be used or clicked. Code: #!/bin/bash The last one opens a local index.html file but doesn't load any images. Code: #!/bin/bash Just need to replace 'zenity --info --text="You clicked OK"' with a command. |