Author Topic: X/qt And C3000  (Read 3777 times)

orange

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
X/qt And C3000
« on: December 19, 2004, 11:05:35 am »
I have X/Qt running on my c3k/standard rom converted to english everything works realy nice!

the only thing that is not working is the shift key but only on the [,]and [.] key all other work fine, but that is realy a problem cuz "/" is shift+[,] /
fn+[,]or[.] works

plz let me know if you got an idea how to fix that

one thing you have to know I'm a Linux-Noob so a "Dummy-step-by-step-how-to" would be nice  
SL-C3000 / Cacko 3kb1
512MB SD/CF Kingston
DLink DCF-660W W-LAN
Socket Ethernet
Nokia DTL-1 Bluetooth
Pretec CF 56k Modem
I DON'T SYNC ;-)

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
X/qt And C3000
« Reply #1 on: December 19, 2004, 09:44:43 pm »
I too have the same problem, and I too am not too handy with Linux.

I remember reading something about a program that captures the keys and prints their keycodes, which are then written to something like .xmodmapinit or .xmodinitrc .
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

Yan

  • Newbie
  • *
  • Posts: 14
    • View Profile
X/qt And C3000
« Reply #2 on: December 28, 2004, 12:12:35 pm »
Add this line:

xmodmap -e "keycode 69 = comma slash"
« Last Edit: December 28, 2004, 12:58:25 pm by Yan »
Zaurus SL-C3000 (Kernel 2.4.20 v17f) - Debian X/Qt
Socket Bluetooth CF Card (Rev H), Symbol Spectrum24 WLAN Card
Lexar 1GB (32x) SD, SanDisk Ultra II 512MB CF

orange

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
X/qt And C3000
« Reply #3 on: December 28, 2004, 03:51:24 pm »
first of all thx for your reply Yan  

but I still cant get it to work, what I did:

Start Xqt (blackbox is already disabled as the howto "debian with Xqt" said) and su in the rxvt then typed:

Code: [Select]
# xmodmap -e "keycode 69 = slash comma less less"
I did that to change slash and comma so I dont need so type shift+, to get the / and keep the less [<] (hope thats right)

tryed - didnt work
then restarted Xqt - didnt work  
rebooted the Z - didnt work  
tryed without su - didnt work  
tryed Xqt run with root privilege - didnt work  

So I think I missunderstand you in some way, you said:

Quote
Add this line:

xmodmap -e "keycode 69 = comma slash"

and this "Add this line" is what makes me worry that I understand something wrong  

so if I have to add this to some file plz tell me the name and path

plz keep in mind that I'am a Linux Noob

thx orange
« Last Edit: December 28, 2004, 04:27:30 pm by orange »
SL-C3000 / Cacko 3kb1
512MB SD/CF Kingston
DLink DCF-660W W-LAN
Socket Ethernet
Nokia DTL-1 Bluetooth
Pretec CF 56k Modem
I DON'T SYNC ;-)

Yan

  • Newbie
  • *
  • Posts: 14
    • View Profile
X/qt And C3000
« Reply #4 on: December 28, 2004, 06:28:20 pm »
Here is my ~/.xinitrc to start debian
Code: [Select]
xmodmap -e "keycode 69 = comma slash"
xmodmap -e "keycode 70 = period question"
su -c 'chroot /mnt/card/home/zaurus/debroot/ /startdeb'

#rxvt &
#blackbox

Within xwindows, you can use the command line program "xev" to determine the keycode of different keys on the SL3000 keyboard.

Or you may create .xmodmaprc file to customize your other keymaps.

Because only / and ? are important to me so far, so I add only these two lines.
All other keys should work ok.

Hope this help
« Last Edit: December 28, 2004, 06:38:52 pm by Yan »
Zaurus SL-C3000 (Kernel 2.4.20 v17f) - Debian X/Qt
Socket Bluetooth CF Card (Rev H), Symbol Spectrum24 WLAN Card
Lexar 1GB (32x) SD, SanDisk Ultra II 512MB CF

orange

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
X/qt And C3000
« Reply #5 on: December 30, 2004, 10:43:51 am »
Thx Yan that did it  

but [,] on my Z gots keycode 59 and [.] got keycode 60

but strange is that I now got the slash but no comma anymore   but I can life with that for now

my next step is getting debian to work but that will take some learning first

edit: just installed an other Version of Xqt-Server to slove the icewm font problem in debian and now my keycodes are the same as yours + now all the functions are working
« Last Edit: January 05, 2005, 01:21:32 pm by orange »
SL-C3000 / Cacko 3kb1
512MB SD/CF Kingston
DLink DCF-660W W-LAN
Socket Ethernet
Nokia DTL-1 Bluetooth
Pretec CF 56k Modem
I DON'T SYNC ;-)