#2 german keymap

Unstable (example)
Jay Sorg
Trixie Ben

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.


  • Anonymous - 2006-08-31

    Logged In: YES

    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.


  • Nobody/Anonymous

    Logged In: NO


    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

  • Nobody/Anonymous

    Logged In: NO

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


  • Nobody/Anonymous

    Logged In: NO

    Thanks, compiling now works.

  • Nobody/Anonymous

    Logged In: NO

    Works great thanks !

  • Trixie Ben

    Trixie Ben - 2006-09-19
    • status: open --> open-works-for-me
  • Trixie Ben

    Trixie Ben - 2006-09-19

    Logged In: YES


    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..

  • Trixie Ben

    Trixie Ben - 2006-09-19
  • Anonymous - 2006-11-12

    Logged In: YES

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

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

  • Anonymous - 2006-11-12

    Logged In: YES

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

  • Jay Sorg

    Jay Sorg - 2006-12-03
    • assigned_to: nobody --> jsorg71
  • nicolar

    nicolar - 2010-11-04
    • status: open-works-for-me --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks