| 1 |
here are instructions to integrate this program with gnome file-manager |
| 2 |
(nautilus) |
| 3 |
you need to: |
| 4 |
0)install skrf, and place plot_touchstone.py in your path |
| 5 |
1)add a MIME-type for touchstone files |
| 6 |
2)update the mime database |
| 7 |
3)add a custom command launcher in nautilus for touchsone files. |
| 8 |
|
| 9 |
0) see skrf website of INSTALL.txt |
| 10 |
|
| 11 |
1) a file called skrf.xml, which should be in this directory, is a gnome |
| 12 |
mime definitions and may be placed in /usr/share/mime/packages/ . |
| 13 |
|
| 14 |
2) then run, |
| 15 |
sudo update-mime-database /usr/share/mime |
| 16 |
|
| 17 |
3) in the file-manager right click on a touchstone file |
| 18 |
right click->properties->open with->add->use a custom command |
| 19 |
enter in |
| 20 |
plot_touchstone.py %f |
| 21 |
|
| 22 |
restart file-manager. |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
xdg-icon-resource install --context mimetypes --size 48 skrf-icon.png skrf-touchstone |