I would like to see my task list each time I power up my computer e.g from file in my Desktop. How I can do it? It can be shown on terminal or in open file what ever.

  • 1
    I have answered something similar in the past. I'll link it once i find. Basic idea is to create a script that calls zenity program and give it file as argument. Sep 19 '16 at 10:37
  • 2
    Here it is : askubuntu.com/a/772163/295286 Sep 19 '16 at 10:41
  • @Serg Sorry I spent 15 minutes writing my answer while you were searching for another. Let me know if it's better and I'll delete my answer. Sep 19 '16 at 10:53
  • Meh, the idea is basically the same, but your approach might be better - maybe they want to edit list later in libreoffice Sep 19 '16 at 10:59
  • If its just a plain text file you could use conky to have an eye-candy readonly todo list as part of your desktop. Editing would be a separate thing for sure.
    – dufte
    Sep 19 '16 at 12:07

Your first step is to find out the name of your notepad / GUI editor / writer program as described in this Q&A: How does one find out the command line corresponding to GUI app (eg, LibreOffice Writer)? In my case I use LibreOffice Write and the command is libreoffice --writer.

The next step is to select Dash which is the first option on the Launcher. In the search field type in Startup and select the icon Startup Applications. The following window pops up:

Startup Applications

Select the Add button. And this window appears:

enter image description here

Fill in your writer / program name and pass it the name of your to-do file. This is probably the hardest part to get right and often requires a little experimentation.

Edit 1

Proving that experimentation is needed when using the above example tonight an error was displayed:

ToDo does not exist

Checking the actual file name ends in .odt edit the Startup Application profile and change the file name by adding the extension .odt and then voila on every boot you get:

ToDo List


To display it using a shell script copy & paste this:

# my to do list
cat filename

into a new text file & save it with a .sh extension, then add it to startup as explained above. If you want to display the contents of a longer file replace "cat" with "less".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.