I would like a command such as this:
\href{../src/wkfl/vlyUpstrOvrlp.sh}{vlyUpstrOvrlp}
but I want the subsequent link to open the file in gedit or the default text editor in linux. Bonus points if it also works in windows.
I would like a command such as this:
\href{../src/wkfl/vlyUpstrOvrlp.sh}{vlyUpstrOvrlp}
but I want the subsequent link to open the file in gedit or the default text editor in linux. Bonus points if it also works in windows.
Make a small script "rungedit" containing
#!/bin/bash --
gedit /path/to/vlyUpstrOvrlp.sh
and use
\href{run:rungedit}{vlyUpstrOvrlp}
in your document. This works for me in Acrobat Reader on Linux.
rungedit, instead of /path/to/vlyUpstrOvrlp.sh
– alfC
Jul 21 '13 at 10:17
.mygedit or simply .sh and associate that extension with execution of bash. Associations can be specified by generating a application .desktop file and then choosing a default action for the extension. https://ask.fedoraproject.org/en/question/9735/how-do-i-launch-jar-files-using-nautilus/?answer=15275#post-id-15275 (at least in Linux).
– alfC
Nov 22 '14 at 01:26
\href{run:/usr/bin/gedit ../src/wkfl/vlyUpstrOvrlp.sh}{vlyUpstrOvrlp}? What goes wrong with it? – David Z Sep 07 '10 at 21:23