Newbie Xboard Question
Moderator: Ras
-
gatoruss
- Posts: 7
- Joined: Wed Mar 18, 2026 6:15 pm
- Full name: Russell Hintze
Newbie Xboard Question
I have been fiddling around with xboard, running it on W11, using the windows subsystem linus (wsl2). I am configuring it for use as a game viewer.
Whenever I start the program, there is a startup message (announcement) regarding what happens when one "right clicks" on a menu. The announcement disappears when one clicks on a board square. I am looking for a way to disable this dialogue/announcement, to no avail. I notice, however, that the announcement DOES NOT appear in winboard at startup.
Any thoughts on where how the announcement can be disabled?
Thanks in advance!
Whenever I start the program, there is a startup message (announcement) regarding what happens when one "right clicks" on a menu. The announcement disappears when one clicks on a board square. I am looking for a way to disable this dialogue/announcement, to no avail. I notice, however, that the announcement DOES NOT appear in winboard at startup.
Any thoughts on where how the announcement can be disabled?
Thanks in advance!
-
hgm
- Posts: 28480
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Newbie Xboard Question
In the settings file there is a string option -messageSuppress, and a non-empty value for that would suppress the appearance of this message. Normally the start of XBoard or the use of this feature should assign a value to this option, so that it would only appear on the first-time use.
But it seems in your case XBoard does not save its setting. So the option remains in its initial (empty) state, and each time you start XBoard it then displays the message.
But it seems in your case XBoard does not save its setting. So the option remains in its initial (empty) state, and each time you start XBoard it then displays the message.
-
gatoruss
- Posts: 7
- Joined: Wed Mar 18, 2026 6:15 pm
- Full name: Russell Hintze
Re: Newbie Xboard Question
Thanks for your reply!
In my .xboardrc file, there is the following line:
As I understand your reply, I should change this line to something like:
Am I getting warm? 
Seriously, thank you for your time.
In my .xboardrc file, there is the following line:
Code: Select all
"-suppressMessage ""Code: Select all
"-suppressMessage "something"Seriously, thank you for your time.
-
gatoruss
- Posts: 7
- Joined: Wed Mar 18, 2026 6:15 pm
- Full name: Russell Hintze
Re: Newbie Xboard Question
That did the trick!
Thanks again!
Thanks again!
-
gatoruss
- Posts: 7
- Joined: Wed Mar 18, 2026 6:15 pm
- Full name: Russell Hintze
Re: Newbie Xboard Question
Well I jumped the gun. It worked a few times, and now the announcement/message is back. Yet, .xboardrc contains:
Code: Select all
"-suppressMessage "something"-
gatoruss
- Posts: 7
- Joined: Wed Mar 18, 2026 6:15 pm
- Full name: Russell Hintze
Re: Newbie Xboard Question
In my wsl distro the is a file called:
In this file there is the following code, I found the following code:
That file cannot be edited. As an experiment, I placed the code below into .xboardrc and when I opened xboard "false" was in the popup message and the next time I opened xboard the original message had returned.
Code: Select all
"\\wsl.localhost\Debian\etc\xboard\xboard.conf"Code: Select all
; Anouncement to make at startup
;
-startupMessage {Right-clicking menu item or
dialog text pops up help on it}
Code: Select all
-startupMessage false-
hgm
- Posts: 28480
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Newbie Xboard Question
The way XBoard settings work is that the xboard.conf 'master settings file' in etc/xboard/ contains a -settingsFile option which causes it to read the current user's .xboardrc settings file. Which will then overrule the settings in the master settings file, and also becomes the place where XBoard saves its settings on exit. So it should always be sufficient to change the -suppressMessage option in .xboardrc.
But you mentioned you configured XBoard as geme viewer, and what you see might be a result of how exactly you did that. Because one settings file can refer to another for overruling earlier specified option settings, the settings that are actually operational might not always be in the place where you think they are.
But you mentioned you configured XBoard as geme viewer, and what you see might be a result of how exactly you did that. Because one settings file can refer to another for overruling earlier specified option settings, the settings that are actually operational might not always be in the place where you think they are.
-
gatoruss
- Posts: 7
- Joined: Wed Mar 18, 2026 6:15 pm
- Full name: Russell Hintze
Re: Newbie Xboard Question
Thank you for your reply.
I am running the following bash command to start xboard:
I have also tried:
But neither opens xboard without the startup announcement.
It is interesting that after the first time I changed .xboardrc to change to , xboard opened without the startup anouncement, but every time after that xboard opened with the startup announcement ntwithstanding that .xboardrc contained .
I am running the following bash command to start xboard:
Code: Select all
xboard -ncp -boardSize "Large" -xautoflip -flip -lgf mygamefile -lgi -mode EditGameCode: Select all
xboard -ncp -boardSize "Large" -xautoflip -flip -lgf mygamefile -lgi -mode EditGame -messageSuppress "something"It is interesting that after the first time I changed .xboardrc to change
Code: Select all
-messageSuppress ""Code: Select all
-messageSuppress "something"Code: Select all
-messageSuppress "something"-
hgm
- Posts: 28480
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Newbie Xboard Question
OK, I was wrong. (It was a long time ago I implemented this...) To suppress the message -messageSuppress should not be just anything, but a sub-string of the message you want to suppress.
-
gatoruss
- Posts: 7
- Joined: Wed Mar 18, 2026 6:15 pm
- Full name: Russell Hintze
Re: Newbie Xboard Question
Thank you! I added the line below to .xboardrc did the trick, and .xboard did not save over this setting upon exiting. Thanks, again!
Code: Select all
-messageSuppress "Right-clicking menu item or dialog text pops up help on it"