the 'yad' version:
Code: Select all
yad --info --height=100 --width=100 --center --title="Syncing" --text="$(printf "\n\tSyncing buffers to disk ..\t\n")" &
sleep 2
sync
killall yad
yad --info --height=100 --width=100 --timeout=10 --center --title="Syncing" --text="$(printf "\n\t Sync complete!\t\n")"
Code: Select all
Xdialog --title "Syncing" --msgbox " Syncing buffers to disk .. " 10 40 &
sleep 2
sync
killall Xdialog
Xdialog --title "Syncing" --timeout 10 --msgbox " Sync complete! " 10 40
Here is the script (yad version) with a useful icon you can set to it. Put it in /my-applications/bin, then drag to the desktop