create a launcher for a file

Asked by cribes

Ubuntu 17.10 I'd like to put a launcher for a quick acces to a file.

Question information

Language:
English Edit question
Status:
Answered
For:
Arronax Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Florian Diesch (diesch) said :
#1

If you can't use a launcher for a file or location, use a launcher for an application with the command

    xdg-open /path/to/your/file

for example

    xdg-open /home/user/Documents/letter.doc

Use the full path for your file. You can't use shortcuts like ~/ or environment variables like $HOME

Can you help with this problem?

Provide an answer of your own, or ask cribes for more information if necessary.

To post a message you must log in.