[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 <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com AssignedTo|jsuchome@novell.com |sndirsch@novell.com --- Comment #1 from Jiří Suchomel <jsuchome@novell.com> 2009-09-22 07:05:46 MDT --- The YaST module for X11 keyboard was dropped. -- 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#c2 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jdsn@novell.com Resolution| |INVALID --- Comment #2 from Stefan Dirsch <sndirsch@novell.com> 2009-09-22 07:17:01 MDT --- The YaST/sax2 modules for keyboard/mouse have been dropped by intention. INVALID. -- 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#c3 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #3 from Ludwig Nussel <lnussel@novell.com> 2009-09-22 07:35:43 MDT --- a special module is not required. the module that sets the keyboard in text mode also works for X (after reboot/rcxdm restart). -- 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#c4 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2009-09-22 09:07:20 MDT --- Still the only thing you can do is changing the keyboard for the Linux console. It gets mapped to some basic X keyboard, but that is different to what users were used to with SaX2. People need to learn to use the keyboard config tool of their desktop. Period. -- 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#c5 --- Comment #5 from Ludwig Nussel <lnussel@novell.com> 2009-09-23 01:27:14 MDT --- Maybe I'm blind but XFCE which is offered during installation doesn't seem to have such a tool (it's only for key repeat etc but not for the layout). Also that tool wouldn't change the keyboard in xdm either. Due to the missing desktop file the keyboard config module doesn't show up in text mode either btw. -- 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#c6 --- Comment #6 from Stefan Dirsch <sndirsch@novell.com> 2009-09-23 01:48:48 MDT --- How crappy is this xfce desktop? For desktops/WMs, which don't have such a tool, you can still use setxkbmap. There should be still a module for changing the keyboard for the Linux console. Jens-Daniel? -- 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#c7 --- Comment #7 from Ludwig Nussel <lnussel@novell.com> 2009-09-23 02:05:57 MDT --- (In reply to comment #6)
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 <jsuchome@novell.com> 2009-09-23 03:15:16 MDT --- It is possible to call that YaST module in text mode, and it will be able to change the console 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 sndirsch@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=540958#c9 --- Comment #9 from Stefan Dirsch <sndirsch@novell.com> 2009-09-23 03:17:55 MDT --- 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. I believe it's better to force people to use the desktop keyboard tool - if available. -- 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#c10 --- Comment #10 from Stefan Dirsch <sndirsch@novell.com> 2009-09-23 03:18:21 MDT --- (In reply to comment #8)
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 <sndirsch@novell.com> 2009-09-23 03:18:50 MDT --- Wrong. This is the mouse 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#c12 --- Comment #12 from Stefan Dirsch <sndirsch@novell.com> 2009-09-23 03:20:24 MDT --- I can't find a keyboard module in the list of 'yast -l'. Also not in the 'Hardware' menu. -- 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#c13 --- Comment #13 from Stefan Dirsch <sndirsch@novell.com> 2009-09-23 03:22:26 MDT --- Or is it in System|Language? -- 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#c14 --- Comment #14 from Jiří Suchomel <jsuchome@novell.com> 2009-09-23 03:24:05 MDT --- You have to run it directly as 'yast keyboard' It was dropped from the menu by your request. IIMHO it is not possible to show it in ncurses menu but exclude from graphical menu. -- 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#c15 --- Comment #15 from Stefan Dirsch <sndirsch@novell.com> 2009-09-23 03:40:45 MDT ---
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 <lnussel@novell.com> 2009-09-23 03:41:26 MDT --- (In reply to comment #9)
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 <jsuchome@novell.com> 2009-09-23 03:45:26 MDT --- Ludwig. 'yast keyboard' works for you, doesn't it? I could return it to menu, and show the popup mentioned in comment 0 when started in graphical mode... -- 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#c18 --- Comment #18 from Ludwig Nussel <lnussel@novell.com> 2009-09-23 04:00:26 MDT --- (In reply to comment #17)
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 <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | AssignedTo|sndirsch@novell.com |jsuchome@novell.com --- Comment #19 from Ludwig Nussel <lnussel@novell.com> 2009-09-23 04:00:48 MDT --- reopen and re-assign -- 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#c20 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |lnussel@novell.com --- Comment #20 from Jiří Suchomel <jsuchome@novell.com> 2009-09-23 05:37:27 MDT --- (In reply to comment #18)
(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 <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED Info Provider|lnussel@novell.com | --- Comment #21 from Ludwig Nussel <lnussel@novell.com> 2009-09-23 06:16:17 MDT --- - map display_info = (map) UI::GetDisplayInfo (); - if (!display_info["TextMode"]:true) - { - // sax2 does not configure keyboard - Popup::Message (_("YaST can no longer be used for changing X11 keyboard layout. -Use the application provided for your desktop.")); - return `cancel; - } -- 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#c22 --- Comment #22 from Ludwig Nussel <lnussel@novell.com> 2009-09-23 06:16:48 MDT --- 'yast2 keyboard' that is. 'yast keyboard' of course works always -- 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#c23 --- Comment #23 from Jiří Suchomel <jsuchome@novell.com> 2009-09-23 10:21:01 MDT --- 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. 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. -- 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#c24 --- Comment #24 from Ludwig Nussel <lnussel@novell.com> 2009-09-24 03:07:51 MDT --- (In reply to comment #23)
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 <jsuchome@novell.com> 2009-09-24 04:08:05 MDT --- Wow, but this is totally new to me. 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. BTW, is there any feature request covering what is really needed for YaST keybaord module? -- 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#c26 --- Comment #26 from Ludwig Nussel <lnussel@novell.com> 2009-09-24 04:13:36 MDT --- (In reply to comment #25)
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 <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #27 from Jiří Suchomel <jsuchome@novell.com> 2009-10-01 05:35:23 MDT --- Actually I also need this patch in Keyboard.ycp if I want to allow calling setxbmap on running system: Index: modules/Keyboard.ycp =================================================================== --- modules/Keyboard.ycp (revision 58860) +++ modules/Keyboard.ycp (working copy) @@ -478,7 +478,6 @@ return Arch::x11_setup_needed () && - (Stage::initial () || Stage::firstboot ()) && ! (Linuxrc::serial_console() || Linuxrc::vnc() || Linuxrc::usessh() || Linuxrc::text ()); } -- 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#c28 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |RC 1 --- Comment #28 from Jiří Suchomel <jsuchome@novell.com> 2009-10-01 05:39:37 MDT --- Patches from comment 21 and comment 27 submitted as part of yast2-country-2.18.20 -- 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.
participants (1)
-
bugzilla_noreply@novell.com