Author Topic: Accessx Config  (Read 3002 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Accessx Config
« on: March 06, 2006, 08:12:45 pm »
Hi, I want to enable sticky keys so I can type with one hand.
I found that adding -accessx to the X arguments will enable this feature, but I have two problems.
I need to hit Shift key 5 times to enable the sticky keys. Is there a way that it gets enabled by default without requiring me to hit the Shitft key 5 times?
Also, once the sticky keys are enabled, this feature times out and is deactivated after some time. Is there a way to disable this timeout and have the sticky keys enabled forever?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Accessx Config
« Reply #1 on: February 15, 2007, 12:20:12 pm »
Since I don't ever use sticky keys on pdaxii13-akita5.3, can this be disabled forever?
I use right-click a lot and forget to hit Fn again before using other input, such as a console or text editor.
I'm always getting strange characters in the console or text editor because I don't remember to toggle sticky keys.

Thank you,
Jon
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Accessx Config
« Reply #2 on: February 16, 2007, 08:16:12 am »
Quote
Since I don't ever use sticky keys on pdaxii13-akita5.3, can this be disabled forever?
I use right-click a lot and forget to hit Fn again before using other input, such as a console or text editor.
I'm always getting strange characters in the console or text editor because I don't remember to toggle sticky keys.

Thank you,
Jon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154265\"][{POST_SNAPBACK}][/a][/div]

remove -accessx from /usr/X11R6/bin/startx

you may also want to remove the file /usr/X11R6/bin/ax so it won't be called anymore
« Last Edit: February 16, 2007, 08:17:54 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Accessx Config
« Reply #3 on: February 16, 2007, 11:13:16 am »
Thanks meanie, I didn't find "-accessx" in my /usr/X11R6/bin/startx
I used the search feature in leafpad, just to be sure I didn't miss it.
I did find this line:
defaultserverargs=" +kb +accessx -screen 480x640@270"

That is the one and only occurrence of "accessx" in this file.

I haven't changed anything yet, since I didn't find what you mentioned.
« Last Edit: February 16, 2007, 11:14:15 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Accessx Config
« Reply #4 on: February 16, 2007, 12:15:13 pm »
First I confirmed sticky keys were working. by testing it in a console.
Since I didn't find "-accessx" in startx, I tried this:
I edited this line in startx:
defaultserverargs=" +kb +accessx -screen 480x640@270"
to
defaultserverargs=" +kb -screen 480x640@270"

Then I moved /usr/X11R6/bin/ax to my hard drive.
When I shut down X (the GUI), I got these errors:
/usr/X11R6/bin/startx: line 177: unexpected EOF while looking for matching `"'
/usr/X11R6/bin/startx: line 186: syntex error: unexpected end of file

Then I tried to start startx, it didn't start immediately, so I hit the enter key again and the GUI started.
I went to a console and confirmed that sticky keys were no longer enabled.
Then I shut down X (GUI) again, and I could see the underlying messages on the screen that were output from the previous launch of startx.
The previous shutdown errors didn't occur this time.
I'm concerned about the (sticky keys) entry, since I disabled sticky keys (I think)
Code: [Select]
Model is SL-C3200
found pdaxii13.conf
 - beep on resume is disabled
 - default mplayer is mplayer-bvdd
... loading lightnpower settings
... loading spitz.xmodmap
... loading preset volume settings
... enabling xhost for loopback
... loading openbox
... accessx (sticky keys) enabled
... loading rox pinboard
... loading matchbox panel
X is running
EDIT:
I shut down X (GUI) again, (3rd time), and the above onscreen messages are the same for the last start of X (GUI)
It still has the ... accessx (sticky keys) enabled entry as above.
EDIT2 (final edit)
I rebooted and it booted into the GUI with no error messages, except the one we have talked about awhile back. (RFCOMM control, bla bla).
I had to shut down X (GUI) twice to view the underlying startx messages.
They are still the same as above with the (... accessx (sticky keys) enabled) line.
NOTE: after rebooting, X (GUI) started fairly quickly (as usual, I think)
Also, restarting X (GUI) twice, was nice and fast. (I think this is the same as it has always been in my installation of pdaxii13-akita)

Jon
« Last Edit: February 16, 2007, 12:40:26 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Accessx Config
« Reply #5 on: February 16, 2007, 04:58:02 pm »
Quote
First I confirmed sticky keys were working. by testing it in a console.
Since I didn't find "-accessx" in startx, I tried this:
I edited this line in startx:
defaultserverargs=" +kb +accessx -screen 480x640@270"
to
defaultserverargs=" +kb -screen 480x640@270"

Then I moved /usr/X11R6/bin/ax to my hard drive.
When I shut down X (the GUI), I got these errors:
/usr/X11R6/bin/startx: line 177: unexpected EOF while looking for matching `"'
/usr/X11R6/bin/startx: line 186: syntex error: unexpected end of file

Then I tried to start startx, it didn't start immediately, so I hit the enter key again and the GUI started.
I went to a console and confirmed that sticky keys were no longer enabled.
Then I shut down X (GUI) again, and I could see the underlying messages on the screen that were output from the previous launch of startx.
The previous shutdown errors didn't occur this time.
I'm concerned about the (sticky keys) entry, since I disabled sticky keys (I think)
Code: [Select]
Model is SL-C3200
found pdaxii13.conf
 - beep on resume is disabled
 - default mplayer is mplayer-bvdd
... loading lightnpower settings
... loading spitz.xmodmap
... loading preset volume settings
... enabling xhost for loopback
... loading openbox
... accessx (sticky keys) enabled
... loading rox pinboard
... loading matchbox panel
X is running
EDIT:
I shut down X (GUI) again, (3rd time), and the above onscreen messages are the same for the last start of X (GUI)
It still has the ... accessx (sticky keys) enabled entry as above.
EDIT2 (final edit)
I rebooted and it booted into the GUI with no error messages, except the one we have talked about awhile back. (RFCOMM control, bla bla).
I had to shut down X (GUI) twice to view the underlying startx messages.
They are still the same as above with the (... accessx (sticky keys) enabled) line.
NOTE: after rebooting, X (GUI) started fairly quickly (as usual, I think)
Also, restarting X (GUI) twice, was nice and fast. (I think this is the same as it has always been in my installation of pdaxii13-akita)

Jon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154401\"][{POST_SNAPBACK}][/a][/div]

edit /usr/bin/mbsession and change

accessx is enabled

to

accessx is disabled

SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Accessx Config
« Reply #6 on: February 16, 2007, 05:20:06 pm »
Thanks again meanie.
That changed the Starting X message to "... accessx (sticky keys) disabled"

Jon
« Last Edit: February 16, 2007, 05:20:47 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers