Page 1 of 1

making java apps behave with ratpoison (and xmonad)

Posted: 25. Nov 2012, 18:43
by mimosa
I've been experiencing some problems (non-responsive menus, missized and partially greyed-out windows) with java using xmonad and ratpoison, and can report that this tool completely fixes everything:

http://tools.suckless.org/wmname

Java apparently keeps a list of WMs that behave in certain awkward ways, but the people at Sun have maybe never heard of Ratpoison.

One useful app this affected is jEdit.

This somewhat rambling thread contains earlier discussion on this topic (and also the topic suggested by the title):

http://www.salixos.org/forum/viewtopic.php?f=12&t=4134

Thanks again to jayseye for his help :)

Re: making java apps behave with ratpoison (and xmonad)

Posted: 25. Nov 2012, 22:25
by jayseye
Wow, so Wenlin is now working? Great job of tracking down a solution! Also good to hear that you're finding jEdit to be useful. They just reached a 5.0 release. :cool:

BTW the Oracle name and logo have replaced almost all traces of Sun Microsystems by now. Credit and/or blame where it's due. :wink:

Re: making java apps behave with ratpoison (and xmonad)

Posted: 25. Nov 2012, 22:48
by mimosa
Here's a package for wmname in case anyone's interested - though it's a straightforward build in any case:

http://people.salixos.org/mimosa/packages/wmname/0.1/

I will upload files for x86_64 when I get round to building it there.

Re: making java apps behave with ratpoison (and xmonad)

Posted: 26. Nov 2012, 01:16
by jayseye
Nice, any chance of that package making it into the main Salix repos?

Just poked around in http://people.salixos.org/ and was wondering why some packages remain there. Is the bar set high for gaining official approval, and/or would the scope of interest expected to be narrow? Thanks!

Re: making java apps behave with ratpoison (and xmonad)

Posted: 26. Nov 2012, 09:48
by mimosa
I think it's more that the team hasn't time to deal with the volume - so some submitted packages end up as SlackBuilds, whatever that means. Also, if I were to submit that package (for instance) I would spend more time checking and testing. I didn't give it much thought but just decided not to because maybe not many people would be interested and those that are could probably manage to build it themselves. If you just follow the instructions in the README, it gets put in /usr/local, which isn't the Slackware Way, but what we do in the privacy of our own homes is our business ;)

Re: making java apps behave with ratpoison (and xmonad)

Posted: 4. Dec 2012, 22:00
by mimosa
A 64-bit package is now available at the same address.

If there is wider interest, I can submit this to be considered for inclusion in the repos.