It is currently Fri May 24, 2013 4:15 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
Online
 Post subject: [SOLVED!] CGoban Stone Click Sound—OS X
Post #1 Posted: Thu Apr 04, 2013 4:35 pm 
Lives in gote
User avatar

Posts: 547
Location: Germany
Liked others: 1969
Was liked: 207
Rank: 12-15k
KGS: trohde
DGS: trohde
Kaya handle: trohde
<edit>

Solved, thanks to Araban, duckweed, and xed_over (in order of appearance); see below.

</edit>


Help. Please.


I think I’ve read all those threads about Java/CGoban and the missing stone click sound. On my iMac w/ OS X 10.7.5 the sound is also missing since I have installed the latest Java from java.com. Whenever somebody mentioned OS X in those threads, the reply was something along the line “it should be something like XYZ” and then a description of how to solve this on … Windows, once or twice for Linux. I don’t even seem to have those folders that are being mentioned there … hasn’t been much trouble for me, because in the past year or so I’ve rarely played online, and if I did, I did so on Kaya.gs or DGS, and I use CGoban only to review my DGS games.

But now, in a few days, there’s a German Internet tournament on KGS, and I’m also playing there, and now I’m a bit worried about missing something when time gets short (I don’t plan to let it get short but, well, you know …).

So, if anybody has been successful in recovering the click sound and would share how they did it, I’d be overly glad. You really want to see me glad, don’t you? Image

I’m not afraid of using the Terminal, but you’d have to tell me explicitly what to do and not just “you simply have to outgrabe the waysock, and then you tulver the borogove, finally you need to somforbe lorem ipsum dolorem.”


Thanks in advance,

Tom

_________________
My usual first chat line in an online game: “Hello, this is Tom in Germany”
Let me know whether I should add you to my Go circle/list on … Google+ · Facebook · Twitter (not much used these days)


Last edited by Bonobo on Sat Apr 06, 2013 10:36 am, edited 3 times in total.
Top
 Profile  
 
Offline
 Post subject: Re: [?] CGoban Stone Click Sound—OS X
Post #2 Posted: Thu Apr 04, 2013 4:40 pm 
Gosei
User avatar

Posts: 1497
Liked others: 56
Was liked: 565
Rank: ORO 7d
OGS: SolC5
sudo java -jar cgoban.jar

_________________
肚皮


This post by Araban was liked by: Bonobo
Top
 Profile  
 
Online
 Post subject: Re: [SOLVED!] CGoban Stone Click Sound—OS X
Post #3 Posted: Thu Apr 04, 2013 6:46 pm 
Lives in gote
User avatar

Posts: 547
Location: Germany
Liked others: 1969
Was liked: 207
Rank: 12-15k
KGS: trohde
DGS: trohde
Kaya handle: trohde
Araban wrote:
sudo java -jar cgoban.jar
THANK YOU, Araban :bow: that was verbose enough :D

What I did:

- download the linked file
- put it where I wanted it to reside
- substitute the full pathname for “cgoban.jar” in the above code


<edit>

And thanks to duckweed and xed_over I can now skip the dreaded sudo.

</edit>

What to enter in Terminal:
Code:
java -jar /[folder name]/[subfolder name]/cgoban.jar
(Skip full pathname if entering this while in the folder where cgoban.jar resides.)

Now how to make this clickable (save file with shebang header and do something w/ chmod I guess) and how to make this skip sudo password entry (prolly have to edit sudoers) … can’t seem to remember any of the scripting of those NeXTstep times …

Anyway, I’m a happy camper now, thanks again!


Greetings, Tom

_________________
My usual first chat line in an online game: “Hello, this is Tom in Germany”
Let me know whether I should add you to my Go circle/list on … Google+ · Facebook · Twitter (not much used these days)


Last edited by Bonobo on Sat Apr 06, 2013 10:35 am, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: [SOLVED!] CGoban Stone Click Sound—OS X
Post #4 Posted: Sat Apr 06, 2013 3:27 am 
Dies in gote

Posts: 42
Liked others: 3
Was liked: 18
Rank: Kgs 5 Kyu
You really do not want to run the java virtual machine as a superuser.

If the jvm is exploited, it will have superuser access to your machine.

Top
 Profile  
 
Online
 Post subject: Re: [SOLVED!] CGoban Stone Click Sound—OS X
Post #5 Posted: Sat Apr 06, 2013 5:09 am 
Lives in gote
User avatar

Posts: 547
Location: Germany
Liked others: 1969
Was liked: 207
Rank: 12-15k
KGS: trohde
DGS: trohde
Kaya handle: trohde
duckweed wrote:
You really do not want to run the java virtual machine as a superuser.

If the jvm is exploited, it will have superuser access to your machine.
So, what does this mean exactly? Does it mean that IF my version of CGoban is somehow hacked it may be used to do bad things? Then I just need to make sure that my CGoban is okay, or?

What are the alternatives?

Thanks in advance, Tom

_________________
My usual first chat line in an online game: “Hello, this is Tom in Germany”
Let me know whether I should add you to my Go circle/list on … Google+ · Facebook · Twitter (not much used these days)

Top
 Profile  
 
Offline
 Post subject: Re: [SOLVED!] CGoban Stone Click Sound—OS X
Post #6 Posted: Sat Apr 06, 2013 10:11 am 
Gosei

Posts: 1463
Liked others: 606
Was liked: 303
Bonobo wrote:
duckweed wrote:
You really do not want to run the java virtual machine as a superuser.

If the jvm is exploited, it will have superuser access to your machine.
So, what does this mean exactly? Does it mean that IF my version of CGoban is somehow hacked it may be used to do bad things? Then I just need to make sure that my CGoban is okay, or?

What are the alternatives?

Thanks in advance, Tom

It means that where ever you downloaded your cgoban.jar from, if someone at that location hacked/recompiled it to do bad things to your system, then running it as root (sudo) will allow them the needed access to do so.

not a big worry, in my mind for this app.

still, you shouldn't need to use 'sudo'. I don't, and it works just fine.


This post by xed_over was liked by: Bonobo
Top
 Profile  
 
Online
 Post subject: Re: [SOLVED!] CGoban Stone Click Sound—OS X
Post #7 Posted: Sat Apr 06, 2013 10:38 am 
Lives in gote
User avatar

Posts: 547
Location: Germany
Liked others: 1969
Was liked: 207
Rank: 12-15k
KGS: trohde
DGS: trohde
Kaya handle: trohde
Thank you, duckweed and xed_over, this is comforting, I’ve updated my above post/comment to reflect this :)

_________________
My usual first chat line in an online game: “Hello, this is Tom in Germany”
Let me know whether I should add you to my Go circle/list on … Google+ · Facebook · Twitter (not much used these days)

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group