<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,
<div><br>
</div>
<div>I am unable to make dead keys work in my system, so maybe someone can point me to the right path.</div>
<div><br>
</div>
<div>Sorry for throwing in FreeBSD specific terms in this firs paragraph, but just for context:</div>
<div>I am using FreeBSD (13.0). First, I had installed the metaport (i.e. metapackage, the whole thing) for X.Org; and dead keys worked.</div>
<div>A few weeks ago I had to reinstall all the ports (user programs), including X.Org. Going minimalistic I installed xorg-minimal, x11-drivers/xf86-input-keyboard, x11-drivers/xf86-input-mouse, x11/libXinerama, x11-fonts/libXft, x11/xorg-docs, and a couple
 of fonts (x11-fonts/xorg-fonts-truetype, x11-fonts/dejavu, x11-fonts/terminus-ttf). Dead keys do not work now, so I am likely missing some library.</div>
<div>Just to complete the background, I am using suckless windon manager (dwm) and terminal (st). Just in case, dead keys don't work either in xterm, I already tried. Or other applications for that matter, e.g. qutebrowser.</div>
<div><br>
</div>
<div>Now the details:</div>
<div><br>
</div>
<div>If I try, for example, to write 'á' by typing '´' and then 'a'. It only writes 'a'. This is the info gather by xev for these events:
<a href="https://pastebin.com/AEtVqNyT" id="LPlnk212633">https://pastebin.com/AEtVqNyT</a></div>
<div><br>
</div>
Now, if I set my keyboard to us(intl) with "setxkbmap -layout us -variant intl". Now I am able to write 'á'. xev info for this case:
<a href="https://pastebin.com/yu6c1jhV" id="LPlnk453698">https://pastebin.com/yu6c1jhV</a><br>
</div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
This is my 'locale' configuration:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<blockquote style="margin-top:0;margin-bottom:0">
<blockquote style="margin-top:0;margin-bottom:0">LANG=C.UTF-8
<div>LC_CTYPE="C.UTF-8"</div>
<div>LC_COLLATE="C.UTF-8"</div>
<div>LC_TIME="C.UTF-8"</div>
<div>LC_NUMERIC="C.UTF-8"</div>
<div>LC_MONETARY="C.UTF-8"</div>
<div>LC_MESSAGES="C.UTF-8"</div>
<span>LC_ALL=</span><br>
</blockquote>
</blockquote>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But I don't think it is a problem with the locale configuration of the system, because in my console (vt) or in the terminals (ttyv) the dead keys work as intended. It is specificaly inside X.org where it doesn't work. I did try anyway changing the locales
 to '<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">charset=iso-8859-1, </span>lang=es_ES.ISO8859-1; and charset=UTF-8, lang=es_ES.UTF-8. And it didn't work in any case.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
This is the configuration of the keyboard (cat /usr/local/etc/X11/xorg.conf.d/keyboard-es.conf):</div>
<blockquote style="margin-top:0;margin-bottom:0">
<blockquote style="margin-top:0;margin-bottom:0">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Section "InputClass"</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>        Identifier      "KeyboardDefaults"</div>
<div>        MatchIsKeyboard "true"</div>
<div>        Option          "XkbModel"      "pc104alt"</div>
<div>        Option          "XkbLayout"     "es"</div>
<div>EndSection<br>
</div>
</div>
</blockquote>
</blockquote>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I don't have a 'xorg.conf'. If I generate one this would be it (Xorg -configure):  <a href="https://pastebin.com/EPxjYKYW" id="LPlnk">https://pastebin.com/EPxjYKYW</a></div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<br>
And this is the Xorg.0.log: <a href="https://pastebin.com/7iwDiXiA" id="LPlnk714677">
https://pastebin.com/7iwDiXiA</a></div>
<div><br>
</div>
<div>By the way, in '/usr/local/lib/X11/locale' I don't see any directory for 'es': <a href="https://pastebin.com/Js5rpEUU" id="LPlnk678776">https://pastebin.com/Js5rpEUU</a>. I do have installed 'x11/libX11', so I am not sure if I am missing a 'es_ES.UTF-8'
 directory there or not. </div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I hope I am giving enough information. Any help that directs me to a possible solution, even if it is not a straight answer, will be appreciate it.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks in advance for your help.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">P.s.: I sent
</span><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">unintentionally
</span><span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">an unfinished version of this email to the list. I apologize and please disregard that message.</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p dir="ltr" align="left" style="margin-top: 0px; margin-bottom: 0px;margin-right:0px">
<em><strong>José M. Otero R.</strong></em></p>
<p dir="ltr" align="left" style="margin-top: 0px; margin-bottom: 0px;margin-right:0px">
</p>
<hr id="EC_[object]">
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<p dir="ltr" align="left" style="margin-top: 0px; margin-bottom: 0px;margin-right:0px">
C<span>omputer Scientist</span>.</p>
<p dir="ltr" align="left" style="margin-top: 0px; margin-bottom: 0px;margin-right:0px">
Master of Business Administration.</p>
</div>
</div>
</div>
</div>
</body>
</html>