Next: , Previous: Major modes, Up: Top


2 Basic operation

To move a piece, you can drag it with the left mouse button, or you can click the left mouse button once on the piece, then once more on the destination square. In crazyhouse, bughouse or shogi you can drag and drop pieces to the board from the holdings squares displayed next to the board. Old behavior, where right-clicking a square brings up a menu where you can select what piece to drop on it can still be selected through a command-line option. But only in Edit Position mode right clicking a square is still used to pop up a menu, where you can select which piece to drop.

The default function of the right mouse button in other modes is to display the position the chess program thinks it will end up in. While moving the mouse vertically with this button pressed XBoard will step through the principal variation to show how this position will be reached. Lines of play displayed in the engine-output window, or PGN variations in the comment window can similarly be played out on the board, by right-clicking on them.

When connected to an ICS, it is possible to call up a graphical representation of players seeking a game in stead of the chess board, when the latter is not in use (i.e. when you are not playing or observing). Left-clicking the display area will switch between this 'seek graph' and the chess board. Hovering the mouse pointer over a dot will show the details of the seek ad in the message field above the board. Left-clicking the dot will challenge that player. Right-clicking a dot will 'push it to the back', to reveal any dots that were hidden behind it. Right-clicking off dots will refresh the graph.

Most other XBoard commands are available from the menu bar. The most frequently used commands also have shortcut keys or on-screen buttons. Some rarely used parameters can only be set through options on the command line used to invoke XBoard.

XBoard uses a settings file, in which it can remember any changes to the settings that are made through menus or command-line options, so they will still apply when you restart XBoard for another session. The settings can be saved into this file automatically when XBoard exits, or on explicit request of the user. The default name for the settings file is /etc/xboard/xboard.conf, but in a standard install this file is only used as a master settings file that determines the system-wide default settings, and defers reading and writing of user settings to a user-specific file like ~/.xboardrc in the user's home directory.

When XBoard is iconized, its graphical icon is a white knight if it is White's turn to move, a black knight if it is Black's turn. See Iconize in Keys below if you have problems getting this feature to work.