Linked by Thom Holwerda on Fri 17th Feb 2012 22:40 UTC
Window Managers After six years, development on Window Maker has picked up again. Other than mere bug fixes, the two new releases (so far) also include lots of code cleanup and, yes, new features as well. Welcome back!
Thread beginning with comment 507764
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[4]: finally!
by shmerl on Sun 19th Feb 2012 04:11 UTC in reply to "RE[3]: finally!"
shmerl
Member since:
2010-06-08

Is there a way to use Sun Type 5 keyboard through the USB adapter on Linux? It works nicely on OpenIndiana with all the extra keys in Gnome in KDE, but on Linux those keys aren't even generating any events.

Reply Parent Score: 2

RE[5]: finally!
by Doc Pain on Sun 19th Feb 2012 12:15 in reply to "RE[4]: finally!"
Doc Pain Member since:
2006-10-08

Is there a way to use Sun Type 5 keyboard through the USB adapter on Linux?


Erm... Type 5 isn't USB, if I remember correctly. Only Type 6 and 7 have the standard (Sun) and USB plug variants. I've only been using the USB variants (Type 6 in the past, Type 7 currently).

There are some interesting building projects to make the non-USB Sun keyboards work on PCs, which is relatively easy as they are serial keyboards:

http://www.buzzard.me.uk/jonathan/sunkbd.html

http://www.snafu.priv.at/mystuff/sunkbd.html

It works nicely on OpenIndiana with all the extra keys in Gnome in KDE, but on Linux those keys aren't even generating any events.


That might depend on the keyboard driver. In X, check the output for the keys using the xev program, then assign them symbols using xmodmap that can then be picked up by the desktop environment. In my case, I assigned "add mod4 = Multi_key" for the Compose key, And F13...F27 for the other keys, as well as Meta_L, Meta_R and Multi_key (which is the compose key that really works). Window Maker will then pick up those symbols when the key is "captured" in order to be connected to a window management function or a program to launch (through the menu). This can easily be done using Window Maker's configuration utility. Just make sure you load your ~/.xmodmaprc file on X startup.

In Linux, it should work similar as I assume my approach depends on X, not on actual Linux keyboard drivers (which may be different from what FreeBSD offers, but X should be basically the same in this regards).

Reply Parent Score: 2

RE[6]: finally!
by shmerl on Sun 19th Feb 2012 19:47 in reply to "RE[5]: finally!"
shmerl Member since:
2010-06-08

Yes, Sun Type 5 uses 8-pin miniDin connector. I'm using this adapter to connect it to USB: http://www.networktechinc.com/pdf/man015.pdf

My problems seems to be the Linux driver. On OpenIndiana this setup generates events in xev for the extra keys. On Linux - nothing is generated for them.

Reply Parent Score: 2