<div dir="ltr">I have already solved the problem.<div><br></div><div>As you can see in the handbook, with Ktouch you can create keyboard layouts. Apparently you can define both Title and Name as you wish. However I have discovered that Name MUST be the very same as the keyboard's name for the system. As you can see Ktouch has a button just for paste the name from current keyboard in your system. Using this is obviously the best option.</div><img src="cid:ii_m8qi0lyg0" alt="ktouch.create.keyboard.png" width="472" height="344"><br><div>I send again my new xml files containing the keyboard definition and two courses (one for users that want to learn Arabic typing from scratch and other for those who already know how to touch type with most common Arabic keyboards.</div><div><span style="background-color:var(--darkreader-background-ffffff,#181a1b);color:var(--darkreader-text-222222,#d3cfc9)"><br></span></div><div><span style="background-color:var(--darkreader-background-ffffff,#181a1b);color:var(--darkreader-text-222222,#d3cfc9)">I would like to remark that <i>ergoarabic</i> is an Arabic keyboard that has quite a lot of advantages compared to the usual Arabic keyboards. For more information about this layout visit:</span></div><div><div><br></div><div><a href="https://github.com/darkstego/ergoarabic" target="_blank">https://github.com/darkstego/ergoarabic</a></div></div><div><br></div><div>In order to generate the lessons I have use simgunz's ktouch-lesson-generator written in python:</div><div><br></div><div><a href="https://github.com/simgunz/ktouch-lesson-generator">https://github.com/simgunz/ktouch-lesson-generator</a></div><div><br></div><div>So I guess everything is GPL compatible</div><div><br></div><div>Hoping to see these courses and keyboard soon integrated in Ktouch packages.</div><div><br></div><div>Regards,</div><div>Daniel.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 23 Mar 2025 at 11:19, Albert Astals Cid <<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Please keep the mailing list in copy.<br>
<br>
El dimecres, 19 de març del 2025, a les 13:24:47 (Hora estàndard d’Europa <br>
central), Daniel Pérez Martín va escriure:<br>
> Nope. Where is that file? I only have the files exported from ktouch, one<br>
> per course and one for the keyboard. All three are xml files. I have<br>
> followed the handbook section "sharing your results":<br>
> <br>
> <a href="https://docs.kde.org/stable5/en/ktouch/ktouch/sharing_your_results.html" rel="noreferrer" target="_blank">https://docs.kde.org/stable5/en/ktouch/ktouch/sharing_your_results.html</a><br>
> <br>
> And apparently you can just export it.<br>
> <br>
> I can locate the data.xml in the system wide installation:<br>
> <br>
> $ locate data.xml | grep ktouch<br>
> /usr/share/ktouch/data.xml<br>
> /usr/share/metainfo/org.kde.ktouch.appdata.xml<br>
<br>
I would try editing the /usr/share/ktouch/data.xml file and see if it helps.<br>
<br>
> <br>
> But guess it must be in my user's home, as I have made the courses from<br>
> scratch:<br>
> <br>
> $ cd /home/MYUSER/.local/share/ktouch<br>
> $ ls<br>
> courses keyboardlayouts profiles.db<br>
> PC@mx-grande:~/.local/share/ktouch<br>
> $ ls courses/<br>
> PC@mx-grande:~/.local/share/ktouch<br>
> $ ls keyboardlayouts/<br>
> PC@mx-grande:~/.local/share/ktouch<br>
> $<br>
> <br>
> There is nothing there.<br>
> <br>
> <br>
> What should I do? <br>
><br>
> Why is this not on the handbook for sharing courses?<br>
<br>
Either i am wrong and the documentation is ok or I am right and the <br>
documentation needs updating, bugs happen.<br>
<br>
Best Regards,<br>
Albert<br>
<br>
> <br>
> Thanks for your help.<br>
> <br>
> On Mon, 17 Mar 2025 at 22:02, Albert Astals Cid <<a href="mailto:aacid@kde.org" target="_blank">aacid@kde.org</a>> wrote:<br>
> > El divendres, 14 de març del 2025, a les 13:08:55 (Hora estàndard d’Europa<br>
> > <br>
> > central), Daniel Pérez Martín va escriure:<br>
> > > Hello,<br>
> > > <br>
> > > I have found a new Arabic keyboard that has quite a lot of advantages<br>
> > > compared to the usual Arabic keyboards. For more information about this<br>
> > > layout visit:<br>
> > > <br>
> > > <a href="https://github.com/darkstego/ergoarabic" rel="noreferrer" target="_blank">https://github.com/darkstego/ergoarabic</a><br>
> > > <br>
> > > I have already made a new keyboard definition and two courses for<br>
> > > Ktouch (xml files attached), however, when trying to test it, Ktouch<br>
> > > refuses to start the lessons. It appears the selected course is not<br>
> > > intended for this keyboard, however, I am sure the keyboard is correctly<br>
> > > configured both in my linux system (Xfce and KDE) and inside Ktouch.<br>
> > <br>
> > What I<br>
> > <br>
> > > am missing?<br>
> > > <br>
> > > Viewing the XML I have found the tag <id> that is the only thing I<br>
> > <br>
> > suspect<br>
> > <br>
> > > it could be wrong. What should I do?<br>
> > <br>
> > The data.xml file describes quite keyboardLayout a given course supports.<br>
> > <br>
> > Have you modifed that?<br>
> > <br>
> > Best Regards,<br>
> > <br>
> > Albert<br>
> > <br>
> > > Thank you for your educational effort!<br>
> > > Dan.<br>
> > > <br>
> > > [image: image.png]<br>
<br>
<br>
<br>
<br>
</blockquote></div>