I can open images in the command line and there is no problem. In GNOME2.x, I would simply click "open with" and write the command to open FITS images with the ds9 -mecube command and there was no problem. But in GNOME 3, there is no such option. After some searching I thought that creating a .desktop file would be the best solution. So I made this desktop file in: /usr/share/applications/saods9.desktop
Code: Select all
[Desktop Entry]
Type=Application
Name=SAO ds9
Encoding=UTF-8
Comment=Open ds9 as multiextension data cube
Exec=/usr/local/bin/ds9 -mecube %f
Terminal=false
Categories=Graphics;Science;
I was not familiar with this forum and so I asked this question first in [StackOverflow][http://stackoverflow.com/questions/2517 ... -in-gnome3]. A user there tried this same desktop file on Ubuntu and it worked.
I wanted to know what I am not doing or doing wrong? thanks in advance.