Re: Stupid question about Debian keyboard keys and Swedish alphabet

2018-03-31 tråd Helio Loureiro
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.loure...@gmail.com".
I'm implementing DKIM on my mail server, so some disturbance is expected.


2018-03-30 21:30 GMT+02:00 :

> 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 :
> ...
> > > Does anybody know how to create the "å" using or composition keys or
> 
> > > 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_ { include "..." },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
>
>
>


Re: Stupid question about Debian keyboard keys and Swedish alphabet

2018-03-30 tråd Staffan Melin (Oscillator)
[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 :
> 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 +"," 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 
> 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.loure...@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.me...@oscillator.se
+46 (0)70-4876 250