On Thu, Dec 03, 2009 at 04:27:06PM +0100, Egbert Eich wrote:
On Wed, Dec 02, 2009 at 06:57:45PM +0100, Lubos Lunak wrote:
Examples would be the removal of X configuration including keyboard layout from YaST as a consequence of deprecating Sax2, meaning that it is now not possible to change keyboard layout for KDM/XDM,
Since you keep pondering on the keyboard layout issue and since I finally understand what you are talking about I've opened a new thread to discuss this here. I'm not sure if you are barking up the right tree. This issue had been brought up by serveral X people and discussed with YaST people.
Setting the default keyboard layout for console and X at startup is easy: Just change the KEYTABLE variable in /etc/sysconfig/keytable. A YaST module to do just that would be very simple: use a table to map between a descriptive text and map files add a few radio buttons for deadkeys etc. That this has not been done has a very simple reason (at least that's what has been explained to me): Users expect the changes to take effect as soon as they are made. If the changes are made in the UI version of YaST it is rather likely that X is running. However the X keyboard configuration should be left to the desktop toolkit which should keep track of the current configuration and nothing should interfer with that. Furthermore the console keyboard layout should not be changed while X is running because in the past bad things were happening (not even sure if this is still true). Thus when the user changed the default layout from within an X session and return to the console it still would have the old setting.
As a cheezy workaround it was even suggested to only allow keyboard layout changes from within the ncurses version of YaST and only support them when running on the text console. However the reply to this was that it's not possible to have different menues in the UI and the ncurses version. The result was that there is no way of configuring the default layout (ie the layout of the text console and the intial layout for X) thru yast.
I agree that this is not a well thought thru decision but this is nothing that can be solved by either X or KDE.
Well, you can still set the Linux console keyboard by running 'yast2 keyboard' (well hidden now; not even mentioned in 'yast2 -l' any longer). This then gets mapped to an appropriate X keyboard layout the same way as it is also done during installation. But it would be much better to have a keyboard switcher inside of kdm as it is also offered by GDM (AFAIK) to change it on the fly - remembering the last setting. Best regards, Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) ----------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org