Besides symbolic links and custom launchers (i.e. application-type desktop files),
there is another option, which is to use a link-type (type 2) desktop file
example-content package includes one;
for your example, it would look like this:
(You will, of course, need to change
so that it matches the actual path of your home directory.
file:// URL scheme requires absolute paths.)
Name the file
my-text-file.desktop (or anything else that ends with
and put it in
It will look like this:
Double-clicking the shortcut will open the text file with your default text editor.
If you need to make any changes, you can edit the desktop file with a normal text editor. Just right-click and choose "Open With Other Application" and select your text editor of choice.
If you want a different icon, you can choose from
many default options or provide a path to your image file of choice.