Results 1 to 7 of 7

Thread: custom key map needed for linux

  1. #1
    Blast From the Past
    Join Date
    Jan 2003
    Posts
    729

    custom key map needed for linux

    hello all

    i have a laptop that i plan on running slackware 10 maybe 10.2

    problem is the keyboard is alittle weird.. both my control buttons dont work and thoes are the only keys. *currently have windows installed.. xp pro*

    im not worried about having my control key work under windows.. but i need it for linux

    on most laptops they have a function key... well mine is right next to my control key... is there a way i can make my own or modify a key map to use this function key as my control key?

    if so how would i.. do i just modify a plain text file or do i have to build one from scratch


    thanks all for your time!


    reason this thread is here is im asking for a workaround software wise for a hardware problem
    work it harder, make it better, do it faster, makes us stronger

  2. #2
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    You should research about linux on your particular brand of laptop.
    If it has a unique keyboard, maybe someone has already published the info,
    or if you are really lucky, the install script will give you a choice of alternatives to
    the standard keyboard, and yours will be one of them.
    I came in to the world with nothing. I still have most of it.

  3. #3
    Blast From the Past
    Join Date
    Jan 2003
    Posts
    729
    no, i dont think i explained this correctly


    my control keys dont work in general... broken.. useless, etc
    doesnt work under windows, in bios, under linux, toasted.

    i have another keyboard for my laptop *my solo 9300 is a frankenstine of about 4 laptops over 3 years* but the keyboard is worse then the current one...

    this is somethingi need to ghetto fix
    work it harder, make it better, do it faster, makes us stronger

  4. #4
    Senior Member
    Join Date
    Feb 2002
    Posts
    855
    See if this is any help: Link
    For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord.
    (Romans 6:23, WEB)

  5. #5
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    Definitely sounds like a job for a custom keymap!
    I found a little bit of info.

    be sure to READ the manual pages BEFORE you go scrambling off to do this stuff. Make sure that you understand what you're doing. :-) The manual pages that you probably ought to have a look at are:

    * keytables
    * showkey
    * loadkeys

    The first one, keytables, will give you a succinct overview of the keytables files used for keyboard mapping. This is considered required reading before you do anything. The next two are programs that you'll need to be familiar with -- showkey will let you find a key's keycode, loadkeys is the program that will actually let you load up a customized keytable mapping.
    http://linuxgazette.net/issue01to08/lg_issue6.html
    I came in to the world with nothing. I still have most of it.

  6. #6
    Blast From the Past
    Join Date
    Jan 2003
    Posts
    729
    bingo, thanks guys


    include "/usr/share/kbd/i386/qwerty/uk.map.gz"
    keycode 125 = Control
    keycode 126 = Control




    TADA, my window keys are now fully functional control keys

    also made a script so it loads every time i boot

    thanks guys for your help
    work it harder, make it better, do it faster, makes us stronger

  7. #7
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    Of course you know that laptop prolly belongs in the dumpster,
    but congratulations.
    I came in to the world with nothing. I still have most of it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •