Hello,
I’ve discovered Deepin with Manjaro 2 years ago, and I recently moved to the « original » edition to taste the 20 version, which is so fine.
But, there is a (very) annoying little problem with the keyboard layout, a problem that was present in Deepin 15 and remains in Deepin 20. When using a keyboard layout variant, i.e French alt., the variant is forgotten by the system after the screensaver has been used (sorry for my english !) and goes back to the basic of the language (here, Fench).
With Deepin 15, I was able to fix the problem by modifying the widgets/kblayoutwidget.cpp
of dde-session-ui
:
Replacing :
proc->start("setxkbmap", QStringList() << "-model" << model << "-layout" << kbd.split(";").first());
(line 168)
By :
`qDebug() << "Working on layout string:" << kbd;
QStringList layout = kbd.split(";");
QStringList xkb_command;
xkb_command << "-model" << model << "-layout" << layout.first();
if(layout.length() > 1)
xkb_command << "-variant" << layout.at(1);
proc->start("setxkbmap", xkb_command);`
But there is no more such a file in Deepin 20.
How can I fix that (very) annoying little problem ?
Best regards,
S. W