Dual keyboard layout on linux
Hi,
I searched the forum and couldn't find a similar problem:
The thing is that I'm sharing my computer with my daughter. As we are french, she uses an azerty layout. I use a bépo (a new french dvorak), which is the default layout. Whenever she wants to use musescore (she's the musician), she switches back to the azerty layout.
Things are a bit weird because when she inputs text, the keyboard behaves as azerty. But when using keyboard shortcuts, such as N, the keyboard is seen as bepo.
This occurs under gnome, when using gnome's keyboard applet to switch.
When switching the keyboard using setxkbmap ("setxkbmap fr" to get to azerty, "setxkbmap fr bepo" to switch back), the problem doesn't occur.
I don't really know where the bugs come from… I don't see such a behavior with clementine, for instance (another QT app).
Cheers
Comments
It could also be a bug in Gnome keyboard switcher Applet no?
In reply to It could also be a bug in by [DELETED] 5
Yeah, of course it could be (I already encountered quite a few bugs with it). It's just weird. Why would only musescore's keyboard shortcuts be affected ?
From previous searching, I don't think it's just MuseScore. It depends on how linux serves up the keyboard information to the application. Some suggest that tha order in which the keyboard layouts appear in linux (or, at least in ubuntu linux) has an effect.
Can you and your daughter log on as separate users, each with only their chosen keyboard layout in their setup?
In reply to Dual keyboard by underquark
Yeah, I totally forgot to mention it, but when she logs into her own account, where she has only one mapping, everything works.
Asking gnome to change the layout per-app doesn't improve the situation either.
The more I look at it and search in forums, the more I feel like it's a gnome or Xorg bug.
It is better to have separate logins and separate /home directories anyway; when you decide to upgrade to a newer OS or if she wants to transfer everything over her own computer one day then it is easier.
In reply to Dual keyboard layout by underquark
Using Mscore (2.0 compiled Ubunntu 11.04, gnome) I had some problems some days ago. Althogh I deleted the azerty kb it sticked oo the list, and sometimes activated for no apparent reason, impacting any software in use at the time.
Did’nt occur for the last few days.
In reply to Dual keyboard layout by underquark
Yeah, I know it is. Most of the time, she uses her own account. But for some small edits on her files, she sometimes uses mine.
i tried with kde, exact same bug, and I also have the same problem when doing the switch directly from the X server (with the keyboard shortcut I specified in xorg.conf). So it's not a musescore problèm, it's an xorg one.