Easiest way hands-down: YAD.
And then to make a simple dialog with a button to run speedtest-cli, run this:
Code: Select all
yad --button=gtk-cancel:1 --button="Run a speedtest":'lxterminal -e speedtest-cli' --center
Edit: YAD is similar to Zenity, but much better in every way. You can fine-tune it to a higher degree, like button icons, custom images, and much more complex forms. By far the best YAD tutorial/doc I've found is this one
Want to make your own Raspbian image?
- Hard way: Mess with confusing terminal commands.
- Easy way: Let Pi-Power-Tools do it all for you!
your image in a VM
from the Internet at top speed, Mount
(to drop files in), Edit partitions
, and more. Enjoy!