Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 [3] 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How can I use my keyboard to move the mouse ?< Next Oldest | Next Newest >
Winter Knight Offline





Group: Members
Posts: 146
Joined: April 2006
Posted: Nov. 13 2006,03:17 QUOTE

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.
Back to top
Profile PM 
Ramik Offline





Group: Members
Posts: 53
Joined: Nov. 2006
Posted: Nov. 13 2006,04:42 QUOTE

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.
Back to top
Profile PM 
JB4x4 Offline





Group: Members
Posts: 77
Joined: Oct. 2005
Posted: Nov. 13 2006,04:52 QUOTE

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
Back to top
Profile PM 
Ramik Offline





Group: Members
Posts: 53
Joined: Nov. 2006
Posted: Nov. 13 2006,04:57 QUOTE

Thanks JB4x4, I'll try and let you know if it worked...
Back to top
Profile PM 
Winter Knight Offline





Group: Members
Posts: 146
Joined: April 2006
Posted: Nov. 13 2006,05:10 QUOTE

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.
Back to top
Profile PM 
20 replies since Nov. 07 2006,20:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 [3] 4 5 >/
reply to topic new topic new poll
Quick Reply: How can I use my keyboard to move the mouse ?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code