After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 598872 - Apply keyboard settings globally
Apply keyboard settings globally
Status: RESOLVED WONTFIX
Product: gnome-control-center
Classification: Core
Component: Keyboard
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-18 21:45 UTC by Leonardo Ferreira Fontenelle
Modified: 2010-05-18 02:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Leonardo Ferreira Fontenelle 2009-10-18 21:45:48 UTC
The keyboard capplet should offer to make global the user's default keyboard layout and other settings. This should make it easier to set the correct layout for evdev keyboard for every user in a computer. (Just like NetworkManager.)

BTW, I filed a similar bug report about the mouse settings: #595313
Comment 1 Sergey V. Udaltsov 2010-05-07 08:16:17 UTC
I think this is useless. Network connectivity is really a thing that is common for all users. Layout choice is the personal thing.
Comment 2 Leonardo Ferreira Fontenelle 2010-05-07 22:19:02 UTC
Sergey, unless you are using a remote connection, the keyboard is the same for every user. My wife and I use the same keyboard on the same computer, we don't have a keyboard for each one. The same for the computers at my work, no one brings keyboards from home. The keyboard layout is thus the same for every user in that computer.

This can be important, in example, when a company is migrating to GNU/Linux. Imagine how frustrated users/employees will few when they discover their keyboards are not working as expected, and each one will have to find out how to fix the keyboard layout.

Please reconsider that WONTFIX.
Comment 3 Sergey V. Udaltsov 2010-05-07 23:15:15 UTC
> the keyboard is the same for every user.
The model - perhaps you are right. But these days all models are based on evdev, so there is no real difference, it is mostly cosmetic thing.

The layouts - quite often are different, on the same system. People using the same computer can be of different nations. Or prefer different variants. Same about options. I think it is wrong to give admin power to override those things. If admin wants to be really-really harsh, he can create readonly gconf entries, but I would consider that as extreme unfriendliness. There are thing which are personal (even in corporate environment!). Toolkit/icon themes. Fonts. Background. Keyboard layout/options.

Actually, ubuntu has "Apply system-wide" button - but it cannot stop user from having his own configuration, overriding system config. So IMHO that button is unnecessary and generally useless.
Comment 4 Leonardo Ferreira Fontenelle 2010-05-08 15:47:25 UTC
Sergey, I always thought one of GNOME's strengths was sensible defaults. I believe it would be pretty hard for GNOME to guess the preferred keyboard layout, so I think a user-defined system-wise default should be a sensible approach.

I wasn't talking about enforcing keyboard layouts on other users. I was thinking that, in places where everybody uses the same keyboard layout in the same computer (which is the case of most workplaces and homes, at least in Brazil), if root sets the keyboard layout on X, users don't have to set by themselves in GNOME (but can, if they want to). And I was hoping that GNOME could either provide a GUI to make that setting in X, or maybe add an intermediary layer of GNOME-specific system-wide default, overrideable by users.
Comment 5 Sergey V. Udaltsov 2010-05-13 20:51:54 UTC
> so I think a user-defined system-wise default should be a sensible
approach
Generally, yes. That's why distros (like ubuntu) provide distro-specific "Apply system-wide" button. But that is default - that means, if user already chosen some layout(s), the config is not going to be changed if another user (admin) changes the default config.

I do not know what would be the right way to store system-wide setting. X itself does not provide that feature (on cross-platform basis - working in Xorg, Xsun and whatever X servers are around there). And GNOME does not have system-level gconf, unfortunately.

Creating some special system-level daemon (listening on dbus or smth) just for that purpose would be massive overkill, don't you think?
Comment 6 Leonardo Ferreira Fontenelle 2010-05-13 22:28:43 UTC
How did Ubuntu implement this user-defined system-wise default?
Comment 7 Sergey V. Udaltsov 2010-05-15 21:01:56 UTC
Have no slightest idea. You can "apt-get source gnome-control-center" and see for yourself:) I suspect it is distro-specific.
Comment 8 Leonardo Ferreira Fontenelle 2010-05-16 00:55:27 UTC
Please remember I am a user, not a developer. I barely can write a shell script or a Python script. Could you please take a took by yourself, or get in touch with the corresponding Ubuntu maintainer?
Comment 9 Sergey V. Udaltsov 2010-05-17 22:12:12 UTC
They invoke distro-specific DBUS service com.ubuntu.SystemService, method set_keyboard. Does that answer your question?
Comment 10 Leonardo Ferreira Fontenelle 2010-05-18 02:03:16 UTC
Unfortunately, yes.