• Stupid question about Debian keyboard keys and Swedish alphabet

    From Helio Loureiro@21:1/5 to All on Fri Mar 30 15:10:01 2018
    Hi,

    It is probably a dumb question for most of people here but... I do have all
    my keyboards in English. I can use it to write in English and Portuguese, where I can create characters like "ç" using <Alt>+"," or '+c. For é,
    '+e. For ô, ^+o.

    Some Swedish characters do work fine, like ö and ä using "+[a,o], but unfortunately not for å.

    I couldn't find so far way to generate it. So that's my question.

    Does anybody know how to create the "å" using or composition keys or <Alt>
    on Linux em general?

    Vänliga hälsningar/Best Regards,
    Helio Loureiro
    http://helio.loureiro.eng.br
    https://se.linkedin.com/in/helioloureiro
    http://twitter.com/helioloureiro

    Note: if you failed to reach me, try my alternative mail " helio.loureiro@gmail.com".
    I'm implementing DKIM on my mail server, so some disturbance is expected.

    <div dir="ltr">Hi,<div><br></div><div>It is probably a dumb question for most of people here but... I do have all my keyboards in English.  I can use it to write in English and Portuguese, where I can create characters like &quot;ç&quot; using &lt;Alt&
    gt;+&quot;,&quot; or &#39;+c.  For é, &#39;+e.  For ô, ^+o.</div><div><br></div><div>Some Swedish characters do work fine, like ö and ä using &quot;+[a,o], but unfortunately not for <span style="color:rgb(34,34,34);font-family:arial,sans-serif;
    font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);
    text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">å.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:
    normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">
    <br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-
    transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I couldn&#39;t find so far  way to generate it.  So that&#39;s my question.</
    span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:
    none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-
    size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-
    decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Does anybody know how to create the &quot;<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;
    font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:
    none;display:inline">å&quot; using or composition keys or &lt;Alt&gt; on Linux em general?</span></span></div><div><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div
    dir="ltr"><div dir="ltr"><span style="font-family:Verdana;font-size:12px"><font><font size="3" color="#000000"><span style="font-size:11px">Vänliga hälsningar/</span></font></font></span>Best Regards,<br>Helio Loureiro<br><a href="http://helio.loureiro.
    eng.br" target="_blank">http://helio.loureiro.eng.br</a><br><a href="https://se.linkedin.com/in/helioloureiro" target="_blank">https://se.linkedin.com/in/helioloureiro</a><br><a href="http://twitter.com/helioloureiro" target="_blank">http://twitter.com/
    helioloureiro</a></div><div dir="ltr"><br></div><div>Note: if you failed to reach me, try my alternative mail &quot;<a href="mailto:helio.loureiro@gmail.com" target="_blank">helio.loureiro@gmail.com</a>&quot;.</div><div>I&#39;m implementing DKIM on my
    mail server, so some disturbance is expected.<br><br></div></div></div></div></div></div></div></div>
    </div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Staffan Melin (Oscillator)@21:1/5 to All on Fri Mar 30 20:40:01 2018
    [Alt Gr] [o] [a] should work.

    http://stefaanlippens.net/accented-characters-on-qwerty-keyboard/

    /Staffan

    2018-03-30 15:08 GMT+02:00 Helio Loureiro <helio@loureiro.eng.br>:
    Hi,

    It is probably a dumb question for most of people here but... I do have all my keyboards in English. I can use it to write in English and Portuguese, where I can create characters like "ç" using <Alt>+"," or '+c. For é, '+e. For ô, ^+o.

    Some Swedish characters do work fine, like ö and ä using "+[a,o], but unfortunately not for å.

    I couldn't find so far way to generate it. So that's my question.

    Does anybody know how to create the "å" using or composition keys or <Alt> on Linux em general?

    Vänliga hälsningar/Best Regards,
    Helio Loureiro
    http://helio.loureiro.eng.br
    https://se.linkedin.com/in/helioloureiro
    http://twitter.com/helioloureiro

    Note: if you failed to reach me, try my alternative mail "helio.loureiro@gmail.com".
    I'm implementing DKIM on my mail server, so some disturbance is expected.




    --
    Staffan Melin
    Oscillator - ord bild form
    Kryssdäcket 1
    SE-413 27 GÖTEBORG
    SVERIGE/SWEDEN
    www.oscillator.se
    staffan.melin@oscillator.se
    +46 (0)70-4876 250

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From karl@aspodata.se@21:1/5 to All on Fri Mar 30 21:40:02 2018
    Staffan:
    [Alt Gr] [o] [a] should work. http://stefaanlippens.net/accented-characters-on-qwerty-keyboard/
    ...
    2018-03-30 15:08 GMT+02:00 Helio Loureiro <helio@loureiro.eng.br>:
    ...
    Does anybody know how to create the "å" using or composition keys or <Alt> on Linux em general?

    If Staffans method didn't work/apply...

    If you use the older method of xmodmap, you can check if it know about
    it. In my case å is altgr-e:
    $ xmodmap -pke | grep -i aring
    keycode 26 = e E aring Aring

    I don't know much about the newer xkb method, but here is what I
    figured out. Check if you have it configured like
    grep Xkb /etc/X11/xorg.conf /etc/X11/xorg.conf.d/*
    or check the xserver current setting with
    setxkbmap -print
    or
    xprop -root | grep XKB

    E.g. here is what I get if I manually set xkb:

    $ setxkbmap -rules xorg -model pc105 -layout us
    $ xprop -root | grep XKB
    CUT_BUFFER0(STRING) = "xprop -root | grep XKB"
    _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "", ""
    $ setxkbmap -print
    xkb_keymap {
    xkb_keycodes { include "xfree86+aliases(qwerty)" };
    xkb_types { include "complete" };
    xkb_compat { include "complete" };
    xkb_symbols { include "pc+us+inet(pc105)" };
    xkb_geometry { include "pc(pc105)" };
    };

    Then look into the dirs. of /usr/share/X11/xkb for matching files:
    xkb_keycodes { include "xfree86+aliases(qwerty)" };
    is xkb_<directory> { include "<file>..." },i.e.
    /usr/share/X11/xkb/keycodes/xfree86 and
    /usr/share/X11/xkb/keycodes/aliases
    etc. I would start with the files in the symbols directory, in my
    case the file pc, us, and inet to see if I can find any info about
    composing keys or the aring symbol. You would probably need to read
    a lot from the links provided by https://www.x.org/wiki/XKB/ if you
    want to to understand thoose files.

    Hälsningar,
    /Karl Hammar

    -----------------------------------------------------------------------
    Aspö Data
    Lilla Aspö 148
    S-742 94 Östhammar
    Sverige
    0173 140 57

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Helio Loureiro@21:1/5 to All on Sat Mar 31 12:50:02 2018
    Hi Karl,

    Thanks for the tip.

    I just enforced Alt+w to be å using:

    xmodmap -e "keycode 25 = w W aring Aring aring Aring"

    Not it is just a matter to add it into my .xinitrc. Not sure nowadays the desktop environments read it, but at the least it will be saved in some
    place I can easily find.


    And thanks Staffan for the tip also, but as Karl mentioned, it doesn't
    work. The result is: óá (using us-international).

    Vänliga hälsningar/Best Regards,
    Helio Loureiro
    http://helio.loureiro.eng.br
    https://se.linkedin.com/in/helioloureiro
    http://twitter.com/helioloureiro

    Note: if you failed to reach me, try my alternative mail " helio.loureiro@gmail.com".
    I'm implementing DKIM on my mail server, so some disturbance is expected.


    2018-03-30 21:30 GMT+02:00 <karl@aspodata.se>:

    Staffan:
    [Alt Gr] [o] [a] should work. http://stefaanlippens.net/accented-characters-on-qwerty-keyboard/
    ...
    2018-03-30 15:08 GMT+02:00 Helio Loureiro <helio@loureiro.eng.br>:
    ...
    Does anybody know how to create the "å" using or composition keys or
    <Alt>
    on Linux em general?

    If Staffans method didn't work/apply...

    If you use the older method of xmodmap, you can check if it know about
    it. In my case å is altgr-e:
    $ xmodmap -pke | grep -i aring
    keycode 26 = e E aring Aring

    I don't know much about the newer xkb method, but here is what I
    figured out. Check if you have it configured like
    grep Xkb /etc/X11/xorg.conf /etc/X11/xorg.conf.d/*
    or check the xserver current setting with
    setxkbmap -print
    or
    xprop -root | grep XKB

    E.g. here is what I get if I manually set xkb:

    $ setxkbmap -rules xorg -model pc105 -layout us
    $ xprop -root | grep XKB
    CUT_BUFFER0(STRING) = "xprop -root | grep XKB"
    _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us", "", ""
    $ setxkbmap -print
    xkb_keymap {
    xkb_keycodes { include "xfree86+aliases(qwerty)" };
    xkb_types { include "complete" };
    xkb_compat { include "complete" };
    xkb_symbols { include "pc+us+inet(pc105)" };
    xkb_geometry { include "pc(pc105)" };
    };

    Then look into the dirs. of /usr/share/X11/xkb for matching files:
    xkb_keycodes { include "xfree86+aliases(qwerty)" };
    is xkb_<directory> { include "<file>..." },i.e.
    /usr/share/X11/xkb/keycodes/xfree86 and
    /usr/share/X11/xkb/keycodes/aliases
    etc. I would start with the files in the symbols directory, in my
    case the file pc, us, and inet to see if I can find any info about
    composing keys or the aring symbol. You would probably need to read
    a lot from the links provided by https://www.x.org/wiki/XKB/ if you
    want to to understand thoose files.

    Hälsningar,
    /Karl Hammar

    -----------------------------------------------------------------------
    Aspö Data
    Lilla Aspö 148
    S-742 94 Östhammar
    Sverige
    0173 140 57




    <div dir="ltr">Hi Karl,<div><br></div><div>Thanks for the tip.</div><div><br></div><div>I just enforced Alt+w to be å using:</div><div><br></div><div>xmodmap -e &quot;keycode 25 = w W aring Aring aring Aring&quot;<br></div><div><br></div><div>Not it is
    just a matter to add it into my .xinitrc.  Not sure nowadays the desktop environments read it, but at the least it will be saved in some place I can easily find.</div><div><br></div><div><br></div><div>And thanks Staffan for the tip also, but as Karl
    mentioned, it doesn&#39;t work.  The result is: óá (using us-international).</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="
    ltr"><div dir="ltr"><span style="font-family:Verdana;font-size:12px"><font><font size="3" color="#000000"><span style="font-size:11px">Vänliga hälsningar/</span></font></font></span>Best Regards,<br>Helio Loureiro<br><a href="http://helio.loureiro.eng.
    br" target="_blank">http://helio.loureiro.eng.br</a><br><a href="https://se.linkedin.com/in/helioloureiro" target="_blank">https://se.linkedin.com/in/helioloureiro</a><br><a href="http://twitter.com/helioloureiro" target="_blank">http://twitter.com/
    helioloureiro</a></div><div dir="ltr"><br></div><div>Note: if you failed to reach me, try my alternative mail &quot;<a href="mailto:helio.loureiro@gmail.com" target="_blank">helio.loureiro@gmail.com</a>&quot;.</div><div>I&#39;m implementing DKIM on my
    mail server, so some disturbance is expected.<br><br></div></div></div></div></div></div></div></div>
    <br><div class="gmail_quote">2018-03-30 21:30 GMT+02:00 <span dir="ltr">&lt;<a href="mailto:karl@aspodata.se" target="_blank">karl@aspodata.se</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-
    left:1ex">Staffan:<br>
    <span class="">&gt; [Alt Gr] [o] [a] should work.<br>
    &gt; <a href="http://stefaanlippens.net/accented-characters-on-qwerty-keyboard/" rel="noreferrer" target="_blank">http://stefaanlippens.net/<wbr>accented-characters-on-qwerty-<wbr>keyboard/</a><br>
    </span>...<br>
    <span class="">&gt; 2018-03-30 15:08 GMT+02:00 Helio Loureiro &lt;<a href="mailto:helio@loureiro.eng.br">helio@loureiro.eng.br</a>&gt;:<br>
    </span>...<br>
    <span class="">&gt; &gt; Does anybody know how to create the &quot;å&quot; using or composition keys or &lt;Alt&gt;<br>
    &gt; &gt; on Linux em general?<br>

    </span>If Staffans method didn&#39;t work/apply...<br>

    If you use the older method of xmodmap, you can check if it know about<br>
    it. In my case å is altgr-e:<br>
    $ xmodmap -pke | grep  -i aring<br>
    keycode  26 = e E aring Aring<br>

     I don&#39;t know much about the newer xkb method, but here is what I<br> figured out. Check if you have it configured like<br>
      grep Xkb /etc/X11/xorg.conf /etc/X11/xorg.conf.d/*<br>
    or check the xserver current setting with<br>
     setxkbmap -print<br>
    or<br>
     xprop -root | grep XKB<br>

    E.g. here is what I get if I manually set xkb:<br>

    $ setxkbmap -rules xorg -model pc105 -layout us<br>
    $ xprop -root | grep XKB<br>
    CUT_BUFFER0(STRING) = &quot;xprop -root | grep XKB&quot;<br> _XKB_RULES_NAMES(STRING) = &quot;xorg&quot;, &quot;pc105&quot;, &quot;us&quot;, &quot;&quot;, &quot;&quot;<br>
    $ setxkbmap -print<br>
    xkb_keymap {<br>
            xkb_keycodes  { include &quot;xfree86+aliases(qwerty)&quot;       };<br>
            xkb_types     { include &quot;complete&quot;      };<br>
            xkb_compat    { include &quot;complete&quot;      };<br>
            xkb_symbols   { include &quot;pc+us+inet(pc105)&quot;     };<br>
            xkb_geometry  { include &quot;pc(pc105)&quot;     };<br>
    };<br>

    Then look into the dirs. of /usr/share/X11/xkb for matching files:<br>
            xkb_keycodes  { include &quot;xfree86+aliases(qwerty)&quot;       };<br>
    is xkb_&lt;directory&gt; { include &quot;&lt;file&gt;...&quot; },i.e.<br>  /usr/share/X11/xkb/keycodes/<wbr>xfree86 and<br>  /usr/share/X11/xkb/keycodes/<wbr>aliases<br>
    etc. I would start with the files in the symbols directory, in my<br>
    case the file pc, us, and inet to see if I can find any info about<br> composing keys or the aring symbol. You would probably need to read<br>
    a lot from the links provided by <a href="https://www.x.org/wiki/XKB/" rel="noreferrer" target="_blank">https://www.x.org/wiki/XKB/</a> if you<br>
    want to to understand thoose files.<br>

    Hälsningar,<br>
    /Karl Hammar<br>

    ------------------------------<wbr>------------------------------<wbr>-----------<br>
    Aspö Data<br>
    Lilla Aspö 148<br>
    S-742 94 Östhammar<br>
    Sverige<br>
    <a href="tel:0173%20140%2057" value="+4617314057">0173 140 57</a><br>


    </blockquote></div><br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)