OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => X/Qt => Topic started by: orange on December 19, 2004, 11:05:35 am

Title: X/qt And C3000
Post by: orange 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  
Title: X/qt And C3000
Post by: spartan 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 .
Title: X/qt And C3000
Post by: Yan on December 28, 2004, 12:12:35 pm
Add this line:

xmodmap -e "keycode 69 = comma slash"
Title: X/qt And C3000
Post by: orange 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
Title: X/qt And C3000
Post by: Yan 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
Title: X/qt And C3000
Post by: orange 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