Possible to open file directly by launcher?
-
Is it possible to open a pdf-file with docviewer directly with a launcher or a shell-script?
Something like
[Desktop Entry]
Name=MyTimeTable
Exec=aa-exec-click ubuntu-docviewer-app /home/phablet/path_toTimeTable.pdf
Icon=/home/phablet/Documents/path_to/my_icon.png
Terminal=false
Type=Application
X-Ubuntu-Touch=trueAny help is very appreciated,
Thanks in advance! -
@uwahl Launcher Modular allows you to do that with a command shortcut on its "desktop".
https://open-store.io/app/launchermodular.ubuntouchfrv0.1.8
- Add custom icon (command, url, app)
-
@keneda
...so I need the "commandline" opening my pdf-file at /home/phablet/path_to/my_file.pdf
Like with atril in "common" Ubuntu:
atril /home/phablet/path_to/my_file.pdf -p 14
displaying page 14 in my_pdf-file
How can I do this? -
@uwahl said in Possible to open file directly by launcher?:
How can I do this?
I don't know, i'm real noob in comand line...
-
Any other suggestions?
Is it possible to open a pdf file via terminal? Could be implemented into a shell-script...?
Still hoping... -
In terminal I can start "docviewer" app with the command:
ubuntu-app-launch com.ubuntu.docviewer_docviewer_2.3.567
but how can I add a path to my document in order to be opened directly by docviewer? In former versions this was possible.
Any suggestions?
Help is still appreciated...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login