[Bug 540958] New: yast2 keyboard module missing/useless in X
http://bugzilla.novell.com/show_bug.cgi?id=540958 Summary: yast2 keyboard module missing/useless in X Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: jsuchome@novell.com ReportedBy: lnussel@novell.com QAContact: jsrain@novell.com CC: coolo@novell.com Found By: --- the yast2 keyboard module is not displayed in the control center. When called manually it tells that it can't change the keyboard in X. That's not quite true though the xdm script contains an ugly hack to set the X keyboard according to /etc/sysconfig/keyboard. So the yast2 keyboard module should be re-enabled for X. It needs to tell the user to reboot for changes to take effect though *sigh*. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c1
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c2
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c3
Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c4
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c5
--- Comment #5 from Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c6
--- Comment #6 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c7
--- Comment #7 from Ludwig Nussel
How crappy is this xfce desktop? For desktops/WMs, which don't have such a tool, you can still use setxkbmap.
Yeah, sure. *cough*
There should be still a module for changing the keyboard for the Linux console. Jens-Daniel?
There is. It's just not shown and refuses to work when called in X. Due to your keytable4hal hack in rcxdm the settings made by those module also work for X. So re-enabling the module without that exception for X will make everyone happy. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c8
--- Comment #8 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c9
--- Comment #9 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c10
--- Comment #10 from Stefan Dirsch
It is possible to call that YaST module in text mode, and it will be able to change the console keyboard map.
Indeed. It's now called "GPM configuration". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c11
--- Comment #11 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c12
--- Comment #12 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c13
--- Comment #13 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c14
--- Comment #14 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c15
--- Comment #15 from Stefan Dirsch
You have to run it directly as 'yast keyboard'
Oh. This is very well hidden. :-)
It was dropped from the menu by your request.
Yes, I requested that the graphics yast keyboard module should no longer start sax2.
IIMHO it is not possible to show it in ncurses menu but exclude from graphical menu.
Didn't know this. I assumed that it is still possible to configure your Linux console keyboard layout with the text mode yast. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c16
--- Comment #16 from Ludwig Nussel
Not sure how to run this module at all. And I'm sure that people will complain that the "new" keyboard module misses now the ability to configure the model, variant, etc, i.e. you can only select the layout.
Better than nothing at all. After all that's the only thing you can set during installation too. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c17
--- Comment #17 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c18
--- Comment #18 from Ludwig Nussel
Ludwig. 'yast keyboard' works for you, doesn't it?
Yes, works fine if I remove the early exit.
I could return it to menu, and show the popup mentioned in comment 0 when started in graphical mode...
Enhancement bug 541351 would also remove the need for reboot. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c19
Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c20
Jiří Suchomel
(In reply to comment #17)
Ludwig. 'yast keyboard' works for you, doesn't it?
Yes, works fine if I remove the early exit.
Which 'early exit' do you mean? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c21
Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c22
--- Comment #22 from Ludwig Nussel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c23
--- Comment #23 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c24
--- Comment #24 from Ludwig Nussel
Looks like we are discussing different things aren't we?
In comment 17 I wrote:
"I could return it to menu, and show the popup mentioned in comment 0 when started in graphical mode..."
but you are complaining exactly about this popup in comment 22.
Ah, I thought you were referring to my suggestion to tell the user to reboot.
I will _not_ remove it, because it does not have ant sense to run YaST keyboard configuration in X11 mode: here it (even in previous releases) only started SaX, which lacks the keyboard config anyway.
No, it's different now. It's correct that the keyboard module called sax2 in the past and shouldn't do that anymore now as xorg.conf is gone. However, there's a hack in the xdm init script that uses a mapping table¹ to set the X keyboard according to the console keyboard. Ie KEYTABLE in /etc/sysconfig/keyboard now also has a meaning for X! So it't perfectly fine to use the yast keyboard module in X now without calling sax2. [1] /usr/share/sax/sysp/maps/Keyboard.map -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c25
--- Comment #25 from Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User lnussel@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c26
--- Comment #26 from Ludwig Nussel
Wow, but this is totally new to me.
Yeah, I was surprised too.
Anyway, this is more a hack so I don't know if we should present it to user. The preferred way should be using some desktop tool.
Such tools apparently only exist for KDE and GNOME but not for e.g. XFCE or other window managers. Also a per-user desktop tool doesn't fix the keyboard in xdm.
BTW, is there any feature request covering what is really needed for YaST keybaord module?
No idea. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c27
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=540958
User jsuchome@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540958#c28
Jiří Suchomel
participants (1)
-
bugzilla_noreply@novell.com