Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Newbee question - Keyboard UK

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    9 Posts 3 Posters 4.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Nicklas
      last edited by

      Hi,

      Where can i change my keyboard to a UK full version?

      Thaks

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Hmmm, kbdcontrol?  :-\

        Steve

        1 Reply Last reply Reply Quote 0
        • N
          Nicklas
          last edited by

          I tried several but just can't get my | key working :-(

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            I don't have a keyboard on my box so I haven't had that problem.
            '|' works fine via ssh.  ;)

            Steve

            1 Reply Last reply Reply Quote 0
            • Cry HavokC
              Cry Havok
              last edited by

              From memory, it's <shift><~> to get '|' on a UK keyboard when the mapping is set to US. If it isn't that it's one of the nearby keys.</shift>

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Looking at the keyboard maps, uk.cp850.kbd contains the line:
                086   ''    '|'    fs     fs     ''    '|'    fs     fs      O

                I.e. | is shift+\ which seems correct.

                Steve

                Edit: As do all the uk keyboard maps so perhaps it's not changing map correctly.

                1 Reply Last reply Reply Quote 0
                • N
                  Nicklas
                  last edited by

                  Steve, thanks a lot, I did as follow in the shell:  kbdcontrol -l uk.cp850.kbd and it works!!!   Yippie

                  Will it remember this after a reboot?  No :-((  how to get this done, sorry to be such a newbee! looking in the man, sorry will try first myself…

                  hmmmm, You may set variables in /etc/rc.conf or /etc/rc.conf.local in order to configure the keyboard at boot time.
                  But none of these files are there, before i mess up everything is it safe to create a /etc/rc.conf and add the keymap in it?
                  Or better do a new clean install and figure out what keyboard driver to choose from install point?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Clean install would be safest.
                    You can use shellcmd in your config.xml file in the system section.
                    E.g.
                    <shellcmd>kbdcontrol -l uk.cp850.kbd</shellcmd>

                    You may have to include the complete path to kbdcontrol. At least this will get carried across an upgrade.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • N
                      Nicklas
                      last edited by

                      Hi Steve,

                      I had to put it indeed in the config.xml because i lost it after the updates.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.