I want to create a file which will execute a code, for example:
sleep 60s; dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
-so that double-clicking on it will be equal to open the terminal and write it in there.
How do I do it?
(In windows, I think, it is a .bat
file)