bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-XBoard] XBoard file-type associations?


From: h.g. muller
Subject: [Bug-XBoard] XBoard file-type associations?
Date: Wed, 08 Jun 2011 21:08:17 +0200

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. And of course it wold be nice if the files of those types would be
reresented by an icon advertizing their association with XBoard, rather
than as a general text document.

In particular, *.pgn files could get a chess-board icon, and clicking them
should issue a command

xboard -ncp -lgf $1

(perhaps setting some other options as well), where $1 is the clicked file,
so that XBoard is started in game-viewer mode on the file by ust clicking
the latter. Similarly, *.fen files should issue

xboard -ncp -lpf $1

and they could have the same icon (like in WB). For a tournament file (*.trn).
the required command would be

xboard -mm -tf $1

to make XBoard start up in match mode according to the tourney specs in
the tournament file. In WinBoard this works realy great now, and I did design
a new icon for the *.trn files there.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]