Tracker: Patches

5 german keymap - ID: 1549355
Last Update: Settings changed ( nicolar )

Its an option to change the keycodes for a german
keymap, but it could be also an example to do this
similar for other languages.

to get it work, you have to do this:

1. put this file (lang.h) into the vnc directory
2. include this file in vnc.h (#include lang.h)
3. replace line 150 in vnc.c with the following lines:
4. make && make install

key = param1;
for(i = 0; i < sizeof_lang_default; i++)
if (lang_default[0][i] == param1)
key = lang_default[1][i];


for now the "Alt Gr"-Keycodes doesn't work, but I will
try to fix this.


Trixie Ben ( trixieben ) - 2006-08-30 08:01:13 PDT

5

Closed

Fixed

Jay Sorg

None

Unstable (example)

Public


Comments ( 8 )

Date: 2006-11-11 17:26:56 PST
Sender: senorlando

Logged In: YES
user_id=1242650

setxkbmap gives: "XKB extension not present on :16.0"



Date: 2006-11-11 17:00:33 PST
Sender: senorlando

Logged In: YES
user_id=1242650

this patch only seems to work if you use libvnc.so

but - what about localized keycodes when using
libxup.so/X11rdp ?


Date: 2006-09-19 06:12:53 PDT
Sender: trixieben

Logged In: YES
user_id=1581431

Yahoo!

Know it seem to work for me. I still can't use the altgr
key, but now I can use the normal alt key do get the
alternative graphics on the screen.

You simply have to replace the files in the attached
archive before you run make && make install, to get it work.

Know I'm searching for a solution to get the same effect
with altgr instead of alt..


Date: 2006-09-11 13:02:24 PDT
Sender: nobody

Logged In: NO

Works great thanks !



Date: 2006-09-03 11:20:56 PDT
Sender: nobody

Logged In: NO

@roland
Thanks, compiling now works.


Date: 2006-09-03 08:06:18 PDT
Sender: nobody

Logged In: NO

add an "int i=0;" just below "char text[256];"

regards
roland



Date: 2006-09-03 06:38:33 PDT
Sender: nobody

Logged In: NO

Hi,

fails with:

vnc.c: In function `lib_mod_event':
vnc.c:152: error: `i' undeclared (first use in this function)
vnc.c:152: error: (Each undeclared identifier is reported
only once
vnc.c:152: error: for each function it appears in.)
make[1]: *** [vnc.o] Error 1

Please include your vnc.c


Date: 2006-08-31 16:55:02 PDT
Sender: senorlando

Logged In: YES
user_id=1242650

cool, thanks!

there needs to be declaration of "int i=0", otherwise
compile will fail.

works very well for now!

just fyi - besides the remaining alt-gr issue, there is the
key "<>|" which isn`t working, too.


regards
roland



Attached File ( 1 )

Filename Description Download
altgr_patch.zip Download

Changes ( 15 )

Field Old Value Date By
resolution_id Works For Me 2010-11-04 06:35:08 PDT nicolar
close_date - 2010-11-04 06:35:08 PDT nicolar
allow_comments 1 2010-11-04 06:35:08 PDT nicolar
status_id Open 2010-11-04 06:35:08 PDT nicolar
assigned_to nobody 2006-12-03 00:38:15 PST jsorg71
File Added 194210: altgr_patch.zip 2006-09-19 07:10:50 PDT trixieben
File Deleted 194194: 2006-09-19 07:03:30 PDT trixieben
File Added 194194: altgr_patch.zip 2006-09-19 06:12:53 PDT trixieben
resolution_id None 2006-09-19 06:05:21 PDT trixieben
File Deleted 192245: 2006-09-19 06:05:21 PDT trixieben
File Deleted 192246: 2006-09-19 06:05:21 PDT trixieben
File Added 192246: vnc.c 2006-09-06 05:54:41 PDT trixieben
File Added 192245: lang.h 2006-09-06 05:53:13 PDT trixieben
File Deleted 191338: 2006-09-06 05:51:57 PDT trixieben
File Added 191338: lang.h 2006-08-30 08:01:13 PDT trixieben