- 06 Nov, 2012 1 commit
-
-
Bastien Nocera authored
XKB would notify us in the same way if the lockedMods changed because of a programmatic, or a physical/human change. This causes us changing the Num-Lock state generating another event on top of the one we just processed, and might cause infinite loops and 100% CPU usage. Instead, we now only apply the settings: - on startup - when remember-num-lock is changed to true https://bugzilla.gnome.org/show_bug.cgi?id=679151
-
- 26 Oct, 2012 1 commit
-
-
- 25 Oct, 2012 1 commit
-
-
Rui Matos authored
-
- 22 Oct, 2012 2 commits
-
-
Bastien Nocera authored
Repeat, bell and num-lock state are not per-device, so there's no need for us to apply the settings for every keyboard that's being plugged in.
- 15 Oct, 2012 1 commit
- 05 Oct, 2012 5 commits
-
-
-
Rui Matos authored
If there are no input sources configured and we're running under one of some specific locales where it's highly likely that the user will need/want a specific IBus source to type we just add it to the list. LC_CTYPE is used to determine the locale for this purpose since many users in these locales set LC_MESSAGES to English. https://bugzilla.gnome.org/show_bug.cgi?id=685457
-
Rui Matos authored
We're going to add some special handling that doesn't apply when running under GDM so return early if that's the case. https://bugzilla.gnome.org/show_bug.cgi?id=685457
-
Bastien Nocera authored
-
The 'layout' in an IBus engine description might actually also include a variant and XKB options. https://bugzilla.gnome.org/show_bug.cgi?id=684855
-
- 23 Sep, 2012 1 commit
-
-
Rui Matos authored
This adds an out of process helper similar to gsd-locate-pointer to allow for grabbing of certain pre-defined modifier-only shortcut combos. https://bugzilla.gnome.org/show_bug.cgi?id=681685
-
- 22 Sep, 2012 2 commits
-
-
Rui Matos authored
Since we don't yet have a way to export gsettings into a system wide store g-c-c exports input sources as XKB layouts through the locald DBus API which stores them in an xorg.conf.d file which the X server uses to configure itself initially. This means that, when running under GDM, we should consider the current X server's layouts the canonical setting for input sources and thus always use them instead of whatever we have in the GDM user's gsetting. https://bugzilla.gnome.org/show_bug.cgi?id=684586
-
Rui Matos authored
If the input sources setting is empty we populate it on startup with the current XKB layouts currently configured on the X server so that they are immediately available as regular input sources. https://bugzilla.gnome.org/show_bug.cgi?id=684582
-
- 17 Sep, 2012 3 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
To avoid changing unrelated keyboard settings on hotplug or when changing a single value, split up the settings applications. This might help with Num-Lock settings CPU loop. See https://bugzilla.gnome.org/show_bug.cgi?id=679151
-
- 14 Sep, 2012 1 commit
-
-
Rui Matos authored
Instead of waiting until the async ibus engine set call to finish to set the gtk+ IM module to 'ibus' we can just set the module unconditionally. The user visible effect is the same, i.e. the user will have to change to another input source because the current one isn't working right and it simplifies the code. https://bugzilla.gnome.org/show_bug.cgi?id=684037
-
- 13 Sep, 2012 4 commits
-
-
Rui Matos authored
This renames apply_xkb_layout() to apply_xkb_settings() to make it clear that we also apply the options there. The options can't be skipped if the setting is empty because then there would be no way for users to get rid of them when disabling all of them in g-c-c. https://bugzilla.gnome.org/show_bug.cgi?id=683878
-
Rui Matos authored
In case the user hasn't configured any input source it's less surprising to default to the current X server's XKB layout and variant. https://bugzilla.gnome.org/show_bug.cgi?id=683878
-
-
-
- 03 Sep, 2012 1 commit
-
-
Rui Matos authored
Otherwise Qt and XIM supporting applications would continue using the last IBus engine that was set before the user switched to a XKB input source. https://bugzilla.gnome.org/show_bug.cgi?id=680313
-
- 29 Aug, 2012 1 commit
-
-
Rui Matos authored
In fallback mode we don't want to touch IBus since the gnome-shell UI isn't there to provide the full integrated user experience. We expect users to continue using existing IBus UIs in fallback mode. https://bugzilla.gnome.org/show_bug.cgi?id=679819
-
- 20 Aug, 2012 1 commit
-
-
Rui Matos authored
The new 'xkb-options' key contains a list of XKB options to apply together with XKB layouts and variants. https://bugzilla.gnome.org/show_bug.cgi?id=679075
-
- 13 Jul, 2012 2 commits
-
-
Rui Matos authored
Since we end up always doing the same amount of work for in input sources settings we might as well save some when several keys change in bulk. https://bugzilla.gnome.org/show_bug.cgi?id=676102
-
Rui Matos authored
We connect to IBus and tell it to switch engine when the current input source setting is changed and an IBus engine is specified there. If an IBus engine is specified, we flip the setting that backs the Gtk/IMModule XSETTING so that GTK+ applications get notified to load the IBus input method when needed and go back to the simple input method when IBus isn't required. The ibus-daemon claims a well known name in the session bus but doesn't ship a .service file to make it activatable so we ship one ourselves which will spawn it in a convenient way for us. In particular, we disable its 'panel' component since that functionality is provided by gnome-shell and would conflict at run time. We also tell it to replace an existing ibus-daemon since traditionally it would be spawned at session init time before even DBus was up and out of control of gnome-session so, in case that happens, our own spawned version will take place which is what we inte...
-
- 14 Jun, 2012 2 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
Use en_US as the fallback locale if LANG isn't set. https://bugzilla.gnome.org/show_bug.cgi?id=678100
-
- 01 Jun, 2012 1 commit
-
-
libgnomekbd/xklavier aren't a good fit to have the keyboard input story that we want since they rely on implementation details of the XKB protocol to provide users with a means to switch keyboard layouts. Of note here is a) their reliance on XKB groups, of which there can be only up to 4, to specify the layouts the user is able to switch between and b) their reliance on XKB options to specify the keybinding to switch layouts which is a restricted set and falls outside the regular GNOME desktop wide keybindings management as it's implemented entirely on the X server side. This commit introduces the use of a shared GSettings schema from gsettings-desktop-schemas which will be the storage for our new concept of "input sources". We only handle XKB layouts as input sources for now. We do it using roughly the same method that setxkbmap(1) uses which should allow the users that want to specify their own XKB features (except layout) to still do so outside of GNOME (e.g. in a session startup script). https://bugzilla.gnome.org/show_bug.cgi?id=676102
-
- 17 May, 2012 3 commits
-
-
This just happened to work by chance since both XkbStateNotify and XkbStateNotifyMask are the same integral value. https://bugzilla.gnome.org/show_bug.cgi?id=674948
-
XkbQueryExtension does everything we need here. https://bugzilla.gnome.org/show_bug.cgi?id=674948
- 09 May, 2012 1 commit
-
-
Craig Scott Keogh authored
As instructed by Sergey V. Udaltsov: https://bugzilla.gnome.org/show_bug.cgi?id=675674
-
- 26 Apr, 2012 6 commits
-
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-
Bastien Nocera authored
-