Hi

On 06/08/2011 12:08 PM, h.g. muller wrote:
> I was wondering if it would be possible to do the same kind of stuff
> on a Linux XBoard install as we do now with WinBoard: associate
> file types with some specific XBoard command, so that clicking a
> file of that type would automatically start up an XBoard in the required
> mode. 

This should be doable. Although on linux I think this is more an issue
of the desktop manager, probably standardized by freedesktop.org?

If I want to add this by hand on gnome, I can right click on a .pgn file
and set the preferred application that I want to open this file with...
not sure how to set this automatically during install of xboard though.

There is /usr/share/applications/default.list that connects application
to MIME-types, but then I'm not sure how to set the MIME-type...

This might solve it though:

http://stackoverflow.com/questions/30931/register-file-extensions-mime-types-in-linux

Will look into that a bit more... seems like this would be something
that we don't want to add to the install of xboard (not sure how this
would work on non-linux systems), but rather have the distributions add
it to their packaging.

ARUN

_______________________________________________
Bug-XBoard mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-xboard

Reply via email to