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. ask.fedoraproject.org/en/question/9735/… (at least in Linux).
– alfC
Nov 22 '14 at 1:26
\href{run:/usr/bin/gedit ../src/wkfl/vlyUpstrOvrlp.sh}{vlyUpstrOvrlp}
? What goes wrong with it? – David Z Sep 7 '10 at 21:23