X and Fluxbox :: How can I use my keyboard to move the mouse ?
You're right. It isn't that easy. I'm trying to get it to work so I can give you the instructions. Here is what I've done so far.
I compiled xbset for you. It doesn't work though. Under DSL's X, it says, paraphrased, "Wrong xkblib version or no xkblib version." Under XFree86 4.3 is says "XKB not supported for display 0:0". I also tried accessx, which was linked from that site, and mentioned elsewhere. I can't get it to compile. Neither of these programs specify what libraries or X versions they require.
I installed XFree86 4.3. I followed the instructions for that, replacing .xserverrc and adding XF86Config-4. I added the lines "+kb" and "+accessx" to the exec line in .xserverrc. I then tried the Alt-Shift-Numlock, then Ctrl-Shift-Numlock (I've seen it both ways on the internet. In debian stable, it's just Shift-Numlock). I don't know why that didn't work. It should have.
I think I can say that XF86Config-4 is not the way to go for solving this. I tried replacing the nvidia XF86Config-4 included in the XF86 mydsl extension with the one I regularly use on my debian system. Both XFree version are the same (or close). That didn't make it work.
I discovered that DSL uses something called TinyX. I also discovered that TinyX has a hundred different meanings. I can't figure out what version it uses. If someone else knows anything about this, feel free to say something.
Thanks Winter Knight, I think xkblib is supposed to be a part of xf86 - compiled with it, but maybe xkblib was removed\replaced to lessen the size of the package.
So no xkblib explains why its hard to to get xkb going :-)
I think xkbset is a configuration utility that doesn't actually do anything but configure XF86Config-4 to use xkb.
Maybe we can try using a debian (.deb) package ?
I think DSL supports those but I can't be sure without a mouse - I never got around to figuring how to use aptitude and apt-get gives me the creeps :-)
Is their a debian\ubuntu user in the house ?
P.S: I think the TinyX you're referring to is :
http://www.superant.com/smalllinux/tinyX01.html
Its a cut down version of xf86 that is meant for the extreme low-end, if it is used by DSL as the default X (theirs a different between the Xserver and the WM) then it will explain the lack of xkb.
I have compiled accessx from source and created two extensions - accessx.dsl and accessx.unc (The .unc needs DSL 3.0+)
Right-click and save either one
http://www.jb4x4.com/linux/accessx.dsl
http://www.jb4x4.com/linux/accessx.unc
These both worked using the XFree86.unc extension (I assume XFree86.dsl would work fine also). Accessx wouldn't work with DSL's built-in xserver. Make sure you copy the new xserverrc_for_XF86 file to /home/dsl/.xserverrc and the proper XF86Config-4 file to /etc/X11 (you will need to be "root" to do this). These can both be found in the XFree86_config_files directory that is created when you load the XFree86 extension. Then restart X.
The command to start accessx to use mousekeys would be "ax +mousekeys". More info on accessx can be found with the command "ax help"
JB
Thanks JB4x4, I'll try and let you know if it worked...
Excellent job, JB4x4. It works for me. Although, when you press "9", it goes up, instead of diagnal. All the other keys work just fine. Really wierd.
How did you get it to compile? What extensions or external development libraries did you have to install? I installed gcc1-with-libs.dsl, and XFree86-dev.dsl, and I got errors about some xkb stuff not being defined.
I'm a little disappointed that my work from the past several hours was wasted. On the plus side, the problem is solved. Although it would be nice to find out why "9" doesn't work.
Next Page...
original here.