

I now have all the extra keys doing the obvious useful functions.
SUN KEYBOARD DRIVER WINDOWS 7 PASSWORD
Without the &, you type your password when logging in and then the system then appears to hang for 15 seconds. The & at the end of the sunkeys line tells the shell to continue booting while sunkeys sleeps. This makes the sunkeys script sleep for 15 seconds before it does the xmodmap commands. So at the end of my ~/.profile file I now have the line ~/bin/sunkeys 15 & It turns out for some reason there needs to be a delay before you run xmodmap, hence the sleep business in the script above. The setxkbmap line reprograms the right AltGraph key to be a right control key.īut although running sunkeys from the command line programs the keys ok, when I put sunkeys at the end of my ~/.profile file, the keys did not get programmed when I rebooted. The function keys F13 to F23 are not on the keyboard but are in the X system and kubuntu System Settings knows about them, and when they are pressed it allows things to be assigned to them. (I'll come to the sleep bit in a moment.) Setxkbmap -option ctrl:ralt_rctrl # Right Alt = Right Ctrl But Cut, Copy and Paste seem to work anyway. # Assign F13 to F23 to the special extra Sun keyboard keys so that an action I put the commands in a script file I call sunkeys, which contains: #!/bin/bash Then I used xev and noticed that when I press any of the special keys, they are recognised and a keycode, the correct name and a keysym are displayed.Īlso poking around the various X11 keyboard files it is clear that Sun keyboard support is definitely supposed to be there, at least in X.Īfter a lot of faffing around, in the end I used xmodmap to assign high-numbered function key values to the special keys.

So I chose mine, Type 7, with a UK layout. First, I noticed that various Sun keyboards are listed in System Settings/Input Devices/Keyboard/keyboard model.
