buggnubg - Bugs: bug #37685, When I start-up GNU Backgammon, it...


bug #37685: When I start-up GNU Backgammon, it loads on an alternate monitor

Submitted by:  HAE <broker42>
Submitted on:  Tue 06 Nov 2012 11:59:53 PM UTC  
Originator Name: HAEItem Group: Other bug
Category: Graphical User InterfaceRelease: 0.90-devel
Privacy: PublicOperating System: All
OS Type: 64BitProcessor Type: Intel
Severity: 3 - NormalOpen/Closed: Closed
Assigned to: NonePriority: 5 - Normal
Status: Confirmed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 13 Aug 2016 05:41:18 PM UTC, comment #4:

In Windows, the Desktop is defined as the bounding box for all monitors, with (0, 0) at the left of the leftmost monitor and the
top of the highest positioned monitor.

With a single monitor or multiple monitors aligned on their top border and the primary monitor being the leftmost, GnuBg will show the board in the expected place.

If there's a secondary monitor to the left of the primary then it will get the board instead. If that monitor has its top below the top of any other monitor then the board, placed at (0, 0), will be partially off screen.

A reasonably robust solution would be for GnuBg to detect the monitor setup and remember each window's location relative to the monitor that it is on.

Mon 01 Aug 2016 07:23:56 PM UTC, comment #3:

The initial window position (and size) are part of gnubg settings and are automatically saved in %userprofile%\.gnubg\gnubgautorc when you modify any setting.

Probably you dragged gnubg on the second monitor at some point, used it there and changed some setting while there.

If you intend to use gnubg on your main monitor only, the simpler thing to do is to drag it there and change any setting then set it back, to trigger a settings saving.

If want to be able to use it on the second screen occasionally and still avoid the problem you reported, you can have some permanent settings in the %userprofile%\.gnubg\gnubgrc file, that will override what may be saved later in gnubgautorc.

If you put the following lines in this file, the main gnubg window will always open at the left bottom of the main screen:
set geometry main xpos 0
set geometry main ypos 0
Or you can arrange the window as you wish, trigger a settings save in gnubgautorc and then copy the corresponding lines in gnubgrc.The useful lines in this case are the "set geometry main ..." that you will find early in the file, around line 10.

Philippe Michel <plm>
Project Member
Mon 01 Aug 2016 07:16:07 AM UTC, comment #2:

On windows 8 you can use the Windows+Shift+Left/Right arrow short cuts to quickly move a window from one monitor to the other.

Obviously not a full solution, but should stop you having to turn on the other monitor - assuming this works on windows 7...


Jon Kinsey <Superfly_Jon>
Project Administrator
Sun 31 Jul 2016 08:47:42 PM UTC, comment #1:

I cannot reproduce this with the current version :
- in Ubuntu where the launcher bar is replicated on all screens gnubg opens on the screen where it was launched.
- in XP where the default icons are on the main screen, gnubg opens there, even if they are copied/moved on the second screen. This is not what I would expect, but not as annoying as the reported bug.

I don't have a dual screen Win7 to check the exact reported setup. The gtk2 libraries used in the current version are certainly not those used back in 2012. Maybe this makes a difference.

Philippe Michel <plm>
Project Member
Tue 06 Nov 2012 11:59:53 PM UTC, original submission:

Just installed GNU Backgammon on Powerspec B820 desktop computer. This computer has a AMD Radeon HD 6450 graphics card w/VGA,HDMI, and DVI connectors. I have two monitors set-up. The main monitor connected to the hdmi port, and a second monitor connected to the VGA port.

When I start GNU Backgammon, it persistantly loads on the 2nd monitor (VGA connected), rather than the main monitor (a minor inconvenience since I don't alway turn the 2nd monitor on). Right now, I just turn-on the 2nd monitor and drag the board to the main monitor,but I wondered if there was a setting in the program I could change to make the startup permanent on the main monitor.

HAE <broker42>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by Superfly_Jon (Posted a comment)
  • -unavailable- added by plm (Posted a comment)
  • -unavailable- added by broker42 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 01 Aug 2016 07:23:56 PM UTCplmCategoryLoading and saving of SGF files=>Graphical User Interface
      Operating SystemWindows 7=>All

    Back to the top

    Powered by Savane 3.1-cleanup1