JDarkRoom

March 18, 2008

Ive been trying to install JDarkRoom for some time now, and it just wont work me. I downloaded Version 12 and tried the following command, per the documentation:

java -jar JDarkRoom.jar

Instead I get this nice big of feedback from the terminal:

chagas@morphea:~$ java -jar JDarkRoom.jar
Starting JDarkRoom…
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7cc7767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0×31) [0xb7cc78b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb53bf29d]
#3 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb54c28ce]
#4 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb549f067]
#5 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so [0xb549f318]
#6 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0×2f) [0xb549f61f]
#7 [0xb5c61ecd]
#8 [0xb5c5aedd]
#9 [0xb5c5aedd]
#10 [0xb5c58249]
#11 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
#12 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x6310378]
#13 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c2a0]
#14 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0×363) [0x6272153]
#15 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0×3d) [0xb7c7396d]
#16 [0xb5c61ecd]
#17 [0xb5c5ad77]
#18 [0xb5c58249]
#19 /usr/lib/jvm/java-6-sun-1.6.0.04/jre/lib/i386/client/libjvm.so [0x621c40d]
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.
Aborted (core dumped)

I remember reading a blog somewhere about JDarkRoom and Planet Ubuntu a while back, but I can’t recall the author’s name. Any and all help is appreciated in helping me install and run this program.

Edit: Bernd Niederberger dropped a comment on my blog and suggested I drop this into the terminal:

chagas@morphea:~$ export LIBXCB_ALLOW_SLOPPY_LOCK=”true”

I ran the previous and java -jar JDarkRoom.jar command from above and now I have this:

Full-screen mode not supported. Please consider upgrading your version of Java, or using JDarkRoom on a device that supports full-screen mode.
Thank you for using JDarkRoom. Have a nice morning!

I believe there are instructions on the main page for fixing this on the main JDarkRoom page, so I will return to hunting.Thanks Bernd!

-Eddie M.

10 Responses to “JDarkRoom”

  1. [...] unknown wrote an interesting post today onHere’s a quick excerptIve been trying to install JDarkRoom for some time now, and it just wont work me. I downloaded Version 12 and tried the following command, per the documentation:. java -jar JDarkRoom.jar. Instead I get this nice big of feedback from the … [...]

  2. Bernd Niederberger said

    Hi,
    try the following “export LIBXCB_ALLOW_SLOPPY_LOCK=true” and start java -jar JDarkRoom.jar again. :)

  3. [...] invalidname wrote an interesting post today onHere’s a quick excerptjava: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed. Aborted (core dumped). I remember reading a blog somewhere about JDarkRoom and Planet Ubuntu a while back, but I can’t recall the author’s name. … [...]

  4. jacques said

    Hi,

    Why don’t you install Pyroom instead? It works well and it’s a very nice program, not needing the overhead of java.

  5. This is https://bugs.launchpad.net/ubuntu/+source/libxcb/+bug/87947

    And yeah, what Bernd said is the workaround. You can even put it in your /etc/environment if you like.

  6. At Jacques: When I tried running Pyroom, it gave me an error about:
    import gtksourceview
    ImportError: No module named gtksourceview

    I run KDE, namely Kubuntu Hardy which is QT, so I dont have that module installed.

  7. schwuk said

    I’ll second the vote for PyRoom. If you’re having trouble running it, please file a bug (URL below) and drop by the #pyroom channel on Freenode.

    https://bugs.edge.launchpad.net/pyroom/+filebug

  8. menek said

    Have you tried PyRoom?

    “Writeroom is a full-screen text editor, without buttons, menu, formatting, so you can focus on writing, and only writing. It’s only for Mac, and costs USD 24.95. PyRoom is its clone, written in Python + GTK, Free and free.”

    http://pyroom.org/

  9. Dan said

    Try this:

    1. Open the file jdarkroom.properties in a text editor
    2. Change the parameter suppress.native.look.and.feel= to false
    3. Change the parameter force.full.screen= to true
    4. Save the file, and try again

  10. Hi Eddie,

    Have you had any success getting JDarkRoom to work? If not, please post a message to our google group and we’ll get it working.

    Cheers,

    Duncan (author of JDarkRoom)

Leave a Reply