Having a Textfile in favorites

I have a text file that I would like to have quick access to. I would like it to show in the shortcuts “bar” with my other shortcuts.

In order to do this, I know that I am supposed to create a file ~/.local/share/applications/custom-filemanager.desktop

and put “code” that looks something like this into the file:

[Desktop Entry]



Exec=gedit-open home/user1/Desktop/notes

Comment=Launch notes



However, part of what I wrote there must be wrong because although it creates the “shortcut,” nothing happens when I click on the shortcut.