Results 1 to 7 of 7

Thread: setting 'eu' keymap?

  1. #1
    Join Date
    Mar 2015
    Beans
    5

    setting 'eu' keymap?

    Hi,
    I would like to set eu keymap i.e. Eurkey keymap .
    That can be done after reboot with the commando
    >setxkbmap eu

    So I know I have it installed.
    Now I wonder how to make it permanent. It is a us keyboard layout with AltGr+<key> to make special characters.
    Since it is a us keyboard I would like to select it among the us keyboards. but could not, it does not exist.
    I have looked att other languages but nothing seems to fit eurkey.
    Perhaps there is a way to search for the eurkey keyboard layout?
    Suggestions would be much appreciated.
    So workarounds.
    where can I put the command setxkbmap eu to not be overridden by gnome and run everey time I login?
    Or perhaps there is a way of setting the keyboard map in dconf editor that make it persistant?
    The easiest way would be to edit som text file where the settings are stored so I can just bypass all the cumbersome gui settings tools.
    Well suggestions would be much appreciated.
    I have tried 'localectl set-x11-keymap eu' but it does not work.

  2. #2
    Join Date
    Jun 2008
    Location
    Byron, CA, USA
    Beans
    569
    Distro
    Ubuntu 20.04 Focal Fossa

    Exclamation Re: setting 'eu' keymap?

    The EurKey software is off-site for Canonical Limited. Гteffen Brüntjen (EurKey.Steffen.Bruentjen.eu) has the following command sequence for Terminal (as Root) to add the off-site Repository and install EurKey:

    Code:
    wget -nv -O - https://eurkey.steffen.bruentjen.eu/download/debian/repo/conf/eurkey.gpg.key | apt-key add -
    echo deb https://eurkey.steffen.bruentjen.eu/download/debian/repo stable main | sh -c 'cat > /etc/apt/sources.list.d/eurkey.steffen.bruentjen.de.sources.list'
    apt-get update
    apt-get install eurkey
    nVIDIA® nForce® chipsets require discrete GPU's up to Pascal and appropriate nVIDIA Kernel modules.
    Most intel® ExpressSets™ and AMD® RS-Series are fully supported in open source.

  3. #3
    Join Date
    Mar 2015
    Beans
    5

    Re: setting 'eu' keymap?

    Did all that.

    After doing the apt-get install eurokey apt responded with that it was already installed.

    I do not have the output of the terminal since I loged out and in to try to see if it made any changes to my settings.

    so far the only way to activate eurkey is with 'setxkbmap eu'

    I'm starting to think I should put "setxkbmap eu" in some file that gets executed on startup since no setting in gnome seems to work.
    I have also tried: dconf write /org/gnome/desktop/input-sources/sources "[('ibus', 'eu')]" but it does not work as well. I have dconf editor installed.

    The only problem is I do not know where to put the "setxkbmap eu".

    Anybody have any clue?
    Last edited by Johannes33; August 19th, 2021 at 09:10 AM.

  4. #4
    Join Date
    Dec 2014
    Beans
    1,878

    Re: setting 'eu' keymap?

    You might want to take a look at the FAQ page, more specifically the fifth question.

    Holger

  5. #5
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    907
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: setting 'eu' keymap?

    I'm a bit lost about what you are trying to do here.
    Keyboards are extremely country/language specific and the idea of an "EU"-keyboard is somewhat... challenging?
    The keyboard layout picture on the link to Eurkey made my eyes hurt and almost turned me schizophrenic. (Joke).

    If it's just a question of getting the right "Alt" key to operate as an "Alt Gr" key, remapping that key is much easier.

    The active keyboard layout is as default defined in /etc/X11/xorg.conf.d/00-keyboard.conf
    Last edited by ml9104; August 20th, 2021 at 11:52 AM.

  6. #6
    Join Date
    Jun 2019
    Location
    Dirndl-land
    Beans
    907
    Distro
    Lubuntu 20.04 Focal Fossa

    Re: setting 'eu' keymap?

    OK, tried it myself just for fun.

    The procedure is as follows:
    First check if your "eu" keyboard layout is installed by issuing:
    Code:
    localectl list-x11-keymap-layouts
    Then change (sudo edit):
    Code:
    /etc/X11/xorg.conf.d/00-keyboard.conf
    from:
    Code:
    Section "InputClass"
            Identifier "system-keyboard"
            MatchIsKeyboard "on"
            Option "XkbLayout" "us"
            Option "XkbModel" "pc104"
    EndSection
    to:
    Code:
    Section "InputClass"
            Identifier "system-keyboard"
            MatchIsKeyboard "on"
            Option "XkbLayout" "us,eu"
            Option "XkbModel" "pc104"
    EndSection
    Don't change anything else.
    Now you should be able to switch between US and EU layout. You'll need to at least logout/login, but a reboot might be necessary to make it work.
    Last edited by ml9104; August 20th, 2021 at 09:25 PM.

  7. #7
    Join Date
    Mar 2015
    Beans
    5

    Re: setting 'eu' keymap?

    Thanks a lot for your help!!
    I have not tried it yet but I will and report back.
    The thing is that I can find Eurkey in KDE but not in Gnome. It must be a bug since it is selectable through setxkbmap.
    As a woraround I installed the .deb file from the Eurkey site.
    Then the keyboard layout can be selected among the UK keyboard settings but it should be a US keyboard setting since it is based on the US keyboard layout and not the UK.
    Well at least it is selectable in gnome after the work around. If your suggestion work it would be a much nicer way to solve the problem.

    About the options. I really like the notion of having one keyboard layout for almost the whole of europe. Then you could easily buy computers from other nations, you can work on different sites all over europe and US, since Eurkey is US based, and still touch type. For me that is a real benefit.
    Also since programming has it's origin in using a US keyobard the ease of programming using a US keyobard compaired using a Swedish is significant imo.
    I miss some matematical notation capabilities though, like arrows and greek letters. It would be good if they were accessable through using some sort of AltGr key combination as well.
    Just my 5 cents of thought...

    Thanks a lot for your help!

    /Johannes

Tags for this Thread

Bookmarks

Posting Permissions

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