dwm and cgoban3

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
nabya
Beginner
Posts: 5
Joined: Sun Dec 01, 2013 2:27 pm
Rank: 4 kyu
GD Posts: 0
Universal go server handle: nabya

dwm and cgoban3

Post by nabya »

I'm running Debian 7.2 with dwm as my window manager. I have openjdk7 and icedtea7 installed, and cgoban starts fine, but it won't let me resize the window. This happens: Image

I've read of the same thing happening with XMonad, and I've tried the solutions here (at least the ones that involved exporting variables, since the other ones were Xmonad-specific). Any idea how to get this to work, if it's possible? I mostly play on IGS but I'd like to use KGS sometimes.
User avatar
cmhobbs
Dies in gote
Posts: 60
Joined: Sun Nov 24, 2013 9:37 am
Rank: AGA 21 kyu
GD Posts: 0
Tygem: cmhobbs
IGS: cmhobbs
DGS: cmhobbs
Universal go server handle: cmhobbs
Online playing schedule: OGS for most any time, IGS occassionally after 2130 CST or on weekends, KGS if necessary.
Has thanked: 21 times
Been thanked: 9 times

Re: dwm and cgoban3

Post by cmhobbs »

Do you encounter the same problem with a wm like awesome? What about clients like qGO? My guess is that it's going to be a drawing problem.

I'll slap that setup together in a VM and see if I can duplicate it. Not sure I'll be much help, but it's worth a shot.

Good luck!
User avatar
Redbeard
Lives with ko
Posts: 269
Joined: Fri Apr 23, 2010 10:56 am
Rank: AGA 12k
GD Posts: 292
KGS: RedBeard
DGS: Akahige
Location: Seattle
Has thanked: 127 times
Been thanked: 123 times
Contact:

Re: dwm and cgoban3

Post by Redbeard »

I am using the same version of Debian, but with XFCE4. I was never able to get Cgoban3 to launch with openjdk7. I finally installed Oracle Java v6, but did not set it as the default with update-alternatives. I created a launcher for Cgoban3 to call Oracle directly so that Cgoban3 runs with the compatible Java version but the rest of my system uses openjdk.
User avatar
leichtloeslich
Lives in gote
Posts: 314
Joined: Wed Feb 29, 2012 1:16 pm
Rank: KGS 4k
GD Posts: 0
Location: Germany
Has thanked: 10 times
Been thanked: 128 times

Re: dwm and cgoban3

Post by leichtloeslich »

Redbeard wrote:I am using the same version of Debian, but with XFCE4. I was never able to get Cgoban3 to launch with openjdk7.

I'm using Debian testing 64bit (all java versions are also 64bit) with xfce4 and can run cgoban3 just fine with both openjdk6 and openjdk7.

I strongly suspect it's a window manager problem, though trying out different java versions can't hurt I suppose..

edit: lol, just checked out dwm homepage:
dwm is only a single binary, and its source code is intended to never exceed 2000 SLOC.

Because dwm is customized through editing its source code, it’s pointless to make binary packages of it. This keeps its userbase small and elitist. No novices asking stupid questions.

Hillarious. Seems like a diy window manager. I guess you already googled "dwm java" and tried everything that poppep up as a result? (In particular there's a promising looking arch wiki entry you might want to look into.)
Mike Novack
Lives in sente
Posts: 1045
Joined: Mon Aug 09, 2010 9:36 am
GD Posts: 0
Been thanked: 182 times

Re: dwm and cgoban3

Post by Mike Novack »

leichtloeslich wrote:
dwm is only a single binary, and its source code is intended to never exceed 2000 SLOC.

Because dwm is customized through editing its source code, it’s pointless to make binary packages of it. This keeps its userbase small and elitist. No novices asking stupid questions.

Hillarious. Seems like a diy window manager. I guess you already googled "dwm java" and tried everything that poppep up as a result? (In particular there's a promising looking arch wiki entry you might want to look into.)


Indicates inexperience designing software, not knowing how to take stuff like that out of the the source code. Customizing should never require recompiling! If the program uses a large number of "constants" (changing these values is the customization) can be data read in each first time the program runs.
User avatar
cmhobbs
Dies in gote
Posts: 60
Joined: Sun Nov 24, 2013 9:37 am
Rank: AGA 21 kyu
GD Posts: 0
Tygem: cmhobbs
IGS: cmhobbs
DGS: cmhobbs
Universal go server handle: cmhobbs
Online playing schedule: OGS for most any time, IGS occassionally after 2130 CST or on weekends, KGS if necessary.
Has thanked: 21 times
Been thanked: 9 times

Re: dwm and cgoban3

Post by cmhobbs »

Mike Novack wrote:
leichtloeslich wrote:
dwm is only a single binary, and its source code is intended to never exceed 2000 SLOC.

Because dwm is customized through editing its source code, it’s pointless to make binary packages of it. This keeps its userbase small and elitist. No novices asking stupid questions.

Hillarious. Seems like a diy window manager. I guess you already googled "dwm java" and tried everything that poppep up as a result? (In particular there's a promising looking arch wiki entry you might want to look into.)


Indicates inexperience designing software, not knowing how to take stuff like that out of the the source code. Customizing should never require recompiling! If the program uses a large number of "constants" (changing these values is the customization) can be data read in each first time the program runs.



Without getting too off topic, "it's a feature", not a lack of experience. See http://suckless.org for their propaganda. Disclaimer: I'm a heavy dvtm user.
nabya
Beginner
Posts: 5
Joined: Sun Dec 01, 2013 2:27 pm
Rank: 4 kyu
GD Posts: 0
Universal go server handle: nabya

Re: dwm and cgoban3

Post by nabya »

Well, I couldn't really find a fix but a workaround is just starting cgoban3 in tiling mode, then the windows are (almost) maximized. Works well enough for me.
Post Reply