You can add Magic Banana's command to your cron jobs so it works on startup.
First you need to install the cron package. Cron uses vim. If you prefer a different editor just run this command (replace the editor by your preferred editor):
export EDITOR=gedit Then run the following command: crontab -e And add to the file this line: @reboot sleep 1h && gedit ~/todo.txt