Merge lp:~townsend/ubuntu/saucy/gsettings-desktop-schemas/revert-workspace-keybindings into lp:ubuntu/saucy/gsettings-desktop-schemas

Proposed by Christopher Townsend
Status: Rejected
Rejected by: Sebastien Bacher
Proposed branch: lp:~townsend/ubuntu/saucy/gsettings-desktop-schemas/revert-workspace-keybindings
Merge into: lp:ubuntu/saucy/gsettings-desktop-schemas
Diff against target: 407 lines (+355/-2)
6 files modified
.pc/applied-patches (+1/-0)
.pc/ubuntu_remove-workspace-bindings.patch/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in (+322/-0)
debian/changelog (+9/-0)
debian/patches/series (+1/-0)
debian/patches/ubuntu_remove-workspace-bindings.patch (+20/-0)
schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in (+2/-2)
To merge this branch: bzr merge lp:~townsend/ubuntu/saucy/gsettings-desktop-schemas/revert-workspace-keybindings
Reviewer Review Type Date Requested Status
Sebastien Bacher Needs Fixing
Review via email: mp+188835@code.launchpad.net

Description of the change

The last revision added a new keybindings for workspace switching up and down by using <Super>Page_Up/<Super>Page_Down while also allowing the old Ctrl-Alt-Up/Ctrl-Alt-Down as secondary keybindings. However, Compiz can only handle one keybinding and so for new installations or upgrades after this was introduced, it only uses the <Super> combination.

We need to revert the <Super> combinations from Ubuntu to allow Compiz workspace switching to use the correct keybindings.

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

@Christopher: thanks for the work, I don't think that's right though since that would change the GNOME remix keybindings.

Could we rather just overwrite those for Ubuntu Desktop? by adding them to the ubuntu-settings gsettings' override:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/ubuntu-settings/saucy/view/head:/debian/ubuntu-settings.gsettings-override

Note that I couldn't confirm the bug, either in a guest session, nor on a current daily iso ... do you know why, your description suggests that should happen to everyone since compiz reads only the first key? or is the order of the key not constant?

review: Needs Fixing
Revision history for this message
Christopher Townsend (townsend) wrote :

@Sebastien,

Thanks for the feedback. I wasn't aware of the ubuntu-settings.gsettings-override, but that is definitely a better place to put this. I'll propose a new fix for that branch and reject this one.

I'm not really sure what the trigger is for which shortcut is picked, but I do know that Compiz can only handle one and something is overriding Compiz's default to use Ctrl-Alt-Up/Down.

Doug McMahon put in the bug some conditions that seem to trigger this. I was able to reproduce by creating a brand new user on my machine. I have a feeling that once 13.10 is released, this will affect many more users.

Revision history for this message
Christopher Townsend (townsend) wrote :

I made a new MP (https://code.launchpad.net/~townsend/ubuntu/saucy/ubuntu-settings/fix-wall-switch-keybinding/+merge/189652). I tried to reject this MP, but I don't have permission to do this, so someone else will the authority will have to do that.

Revision history for this message
Sebastien Bacher (seb128) wrote :

done, set to rejected. I'm going to review the other one in a bit

Unmerged revisions

47. By Christopher Townsend

* debian/patches/ubuntu_remove-workspace-bindings.patch: new patch
  - Revert the <Super>Page_Up and <Super>Page_Down keybindings for
    workspace switching as this is not consistent with Compiz's
    keybindings. (LP: #1201405)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.pc/applied-patches'
2--- .pc/applied-patches 2013-05-31 17:18:29 +0000
3+++ .pc/applied-patches 2013-10-02 13:34:41 +0000
4@@ -3,3 +3,4 @@
5 ubuntu_overlay-scrollbars.patch
6 git_revert_background_key_removal.patch
7 git_revert_notifications_key_removal.patch
8+ubuntu_remove-workspace-bindings.patch
9
10=== added directory '.pc/ubuntu_remove-workspace-bindings.patch'
11=== added file '.pc/ubuntu_remove-workspace-bindings.patch/.timestamp'
12=== added directory '.pc/ubuntu_remove-workspace-bindings.patch/schemas'
13=== added file '.pc/ubuntu_remove-workspace-bindings.patch/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in'
14--- .pc/ubuntu_remove-workspace-bindings.patch/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in 1970-01-01 00:00:00 +0000
15+++ .pc/ubuntu_remove-workspace-bindings.patch/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in 2013-10-02 13:34:41 +0000
16@@ -0,0 +1,322 @@
17+<schemalist>
18+
19+ <schema id="org.gnome.desktop.wm.keybindings"
20+ path="/org/gnome/desktop/wm/keybindings/"
21+ gettext-domain="@GETTEXT_PACKAGE@">
22+ <key name="switch-to-workspace-1" type="as">
23+ <default>[]</default>
24+ <_summary>Switch to workspace 1</_summary>
25+ </key>
26+ <key name="switch-to-workspace-2" type="as">
27+ <default>[]</default>
28+ <_summary>Switch to workspace 2</_summary>
29+ </key>
30+ <key name="switch-to-workspace-3" type="as">
31+ <default>[]</default>
32+ <_summary>Switch to workspace 3</_summary>
33+ </key>
34+ <key name="switch-to-workspace-4" type="as">
35+ <default>[]</default>
36+ <_summary>Switch to workspace 4</_summary>
37+ </key>
38+ <key name="switch-to-workspace-5" type="as">
39+ <default>[]</default>
40+ <_summary>Switch to workspace 5</_summary>
41+ </key>
42+ <key name="switch-to-workspace-6" type="as">
43+ <default>[]</default>
44+ <_summary>Switch to workspace 6</_summary>
45+ </key>
46+ <key name="switch-to-workspace-7" type="as">
47+ <default>[]</default>
48+ <_summary>Switch to workspace 7</_summary>
49+ </key>
50+ <key name="switch-to-workspace-8" type="as">
51+ <default>[]</default>
52+ <_summary>Switch to workspace 8</_summary>
53+ </key>
54+ <key name="switch-to-workspace-9" type="as">
55+ <default>[]</default>
56+ <_summary>Switch to workspace 9</_summary>
57+ </key>
58+ <key name="switch-to-workspace-10" type="as">
59+ <default>[]</default>
60+ <_summary>Switch to workspace 10</_summary>
61+ </key>
62+ <key name="switch-to-workspace-11" type="as">
63+ <default>[]</default>
64+ <_summary>Switch to workspace 11</_summary>
65+ </key>
66+ <key name="switch-to-workspace-12" type="as">
67+ <default>[]</default>
68+ <_summary>Switch to workspace 12</_summary>
69+ </key>
70+ <key name="switch-to-workspace-left" type="as">
71+ <default><![CDATA[['<Control><Alt>Left']]]></default>
72+ <_summary>Switch to workspace left</_summary>
73+ </key>
74+ <key name="switch-to-workspace-right" type="as">
75+ <default><![CDATA[['<Control><Alt>Right']]]></default>
76+ <_summary>Switch to workspace right</_summary>
77+ </key>
78+ <key name="switch-to-workspace-up" type="as">
79+ <default><![CDATA[['<Super>Page_Up','<Control><Alt>Up']]]></default>
80+ <_summary>Switch to workspace above</_summary>
81+ </key>
82+ <key name="switch-to-workspace-down" type="as">
83+ <default><![CDATA[['<Super>Page_Down','<Control><Alt>Down']]]></default>
84+ <_summary>Switch to workspace below</_summary>
85+ </key>
86+ <key name="switch-group" type="as">
87+ <default><![CDATA[['<Super>Above_Tab','<Alt>Above_Tab']]]></default>
88+ <_summary>Switch windows of an application</_summary>
89+ </key>
90+ <key name="switch-group-backward" type="as">
91+ <default>[]</default>
92+ <_summary>Reverse switch windows of an application</_summary>
93+ </key>
94+ <key name="switch-applications" type="as">
95+ <default><![CDATA[['<Super>Tab','<Alt>Tab']]]></default>
96+ <_summary>Switch applications</_summary>
97+ </key>
98+ <key name="switch-applications-backward" type="as">
99+ <default>[]</default>
100+ <_summary>Reverse switch applications</_summary>
101+ </key>
102+ <key name="switch-windows" type="as">
103+ <default>[]</default>
104+ <_summary>Switch windows</_summary>
105+ </key>
106+ <key name="switch-windows-backward" type="as">
107+ <default>[]</default>
108+ <_summary>Reverse switch windows</_summary>
109+ </key>
110+ <key name="switch-panels" type="as">
111+ <default><![CDATA[['<Control><Alt>Tab']]]></default>
112+ <_summary>Switch system controls</_summary>
113+ </key>
114+ <key name="switch-panels-backward" type="as">
115+ <default>[]</default>
116+ <_summary>Reverse switch system controls</_summary>
117+ </key>
118+ <key name="cycle-group" type="as">
119+ <default><![CDATA[['<Alt>F6']]]></default>
120+ <_summary>Switch windows of an app directly</_summary>
121+ </key>
122+ <key name="cycle-group-backward" type="as">
123+ <default>[]</default>
124+ <_summary>Reverse switch windows of an app directly</_summary>
125+ </key>
126+ <key name="cycle-windows" type="as">
127+ <default><![CDATA[['<Alt>Escape']]]></default>
128+ <_summary>Switch windows directly</_summary>
129+ </key>
130+ <key name="cycle-windows-backward" type="as">
131+ <default>[]</default>
132+ <_summary>Reverse switch windows directly</_summary>
133+ </key>
134+ <key name="cycle-panels" type="as">
135+ <default><![CDATA[['<Control><Alt>Escape']]]></default>
136+ <_summary>Switch system controls directly</_summary>
137+ </key>
138+ <key name="cycle-panels-backward" type="as">
139+ <default>[]</default>
140+ <_summary>Reverse switch system controls directly</_summary>
141+ </key>
142+ <key name="show-desktop" type="as">
143+ <default>[]</default>
144+ <_summary>Hide all normal windows</_summary>
145+ </key>
146+ <key name="panel-main-menu" type="as">
147+ <default><![CDATA[['<Alt>F1']]]></default>
148+ <_summary>Show the activities overview</_summary>
149+ </key>
150+ <key name="panel-run-dialog" type="as">
151+ <default><![CDATA[['<Alt>F2']]]></default>
152+ <_summary>Show the run command prompt</_summary>
153+ </key>
154+ <key name="set-spew-mark" type="as">
155+ <default>[]</default>
156+ <_summary>Don't use</_summary>
157+ </key>
158+ <key name="activate-window-menu" type="as">
159+ <default><![CDATA[['<Alt>space']]]></default>
160+ <_summary>Activate the window menu</_summary>
161+ </key>
162+ <key name="toggle-fullscreen" type="as">
163+ <default>[]</default>
164+ <_summary>Toggle fullscreen mode</_summary>
165+ </key>
166+ <key name="toggle-maximized" type="as">
167+ <default><![CDATA[['<Alt>F10']]]></default>
168+ <_summary>Toggle maximization state</_summary>
169+ </key>
170+ <key name="toggle-above" type="as">
171+ <default>[]</default>
172+ <_summary>Toggle window always appearing on top</_summary>
173+ </key>
174+ <key name="maximize" type="as">
175+ <default><![CDATA[['<Super>Up']]]></default>
176+ <_summary>Maximize window</_summary>
177+ </key>
178+ <key name="unmaximize" type="as">
179+ <default><![CDATA[['<Super>Down','<Alt>F5']]]></default>
180+ <_summary>Restore window</_summary>
181+ </key>
182+ <key name="toggle-shaded" type="as">
183+ <default>[]</default>
184+ <_summary>Toggle shaded state</_summary>
185+ </key>
186+ <key name="minimize" type="as">
187+ <default><![CDATA[['<Super>h']]]></default>
188+ <_summary>Minimize window</_summary>
189+ </key>
190+ <key name="close" type="as">
191+ <default><![CDATA[['<Alt>F4']]]></default>
192+ <_summary>Close window</_summary>
193+ </key>
194+ <key name="begin-move" type="as">
195+ <default><![CDATA[['<Alt>F7']]]></default>
196+ <_summary>Move window</_summary>
197+ </key>
198+ <key name="begin-resize" type="as">
199+ <default><![CDATA[['<Alt>F8']]]></default>
200+ <_summary>Resize window</_summary>
201+ </key>
202+ <key name="toggle-on-all-workspaces" type="as">
203+ <default>[]</default>
204+ <_summary>Toggle window on all workspaces or one</_summary>
205+ </key>
206+ <key name="move-to-workspace-1" type="as">
207+ <default>[]</default>
208+ <_summary>Move window to workspace 1</_summary>
209+ </key>
210+ <key name="move-to-workspace-2" type="as">
211+ <default>[]</default>
212+ <_summary>Move window to workspace 2</_summary>
213+ </key>
214+ <key name="move-to-workspace-3" type="as">
215+ <default>[]</default>
216+ <_summary>Move window to workspace 3</_summary>
217+ </key>
218+ <key name="move-to-workspace-4" type="as">
219+ <default>[]</default>
220+ <_summary>Move window to workspace 4</_summary>
221+ </key>
222+ <key name="move-to-workspace-5" type="as">
223+ <default>[]</default>
224+ <_summary>Move window to workspace 5</_summary>
225+ </key>
226+ <key name="move-to-workspace-6" type="as">
227+ <default>[]</default>
228+ <_summary>Move window to workspace 6</_summary>
229+ </key>
230+ <key name="move-to-workspace-7" type="as">
231+ <default>[]</default>
232+ <_summary>Move window to workspace 7</_summary>
233+ </key>
234+ <key name="move-to-workspace-8" type="as">
235+ <default>[]</default>
236+ <_summary>Move window to workspace 8</_summary>
237+ </key>
238+ <key name="move-to-workspace-9" type="as">
239+ <default>[]</default>
240+ <_summary>Move window to workspace 9</_summary>
241+ </key>
242+ <key name="move-to-workspace-10" type="as">
243+ <default>[]</default>
244+ <_summary>Move window to workspace 10</_summary>
245+ </key>
246+ <key name="move-to-workspace-11" type="as">
247+ <default>[]</default>
248+ <_summary>Move window to workspace 11</_summary>
249+ </key>
250+ <key name="move-to-workspace-12" type="as">
251+ <default>[]</default>
252+ <_summary>Move window to workspace 12</_summary>
253+ </key>
254+ <key name="move-to-workspace-left" type="as">
255+ <default><![CDATA[['<Control><Shift><Alt>Left']]]></default>
256+ <_summary>Move window one workspace to the left</_summary>
257+ </key>
258+ <key name="move-to-workspace-right" type="as">
259+ <default><![CDATA[['<Control><Shift><Alt>Right']]]></default>
260+ <_summary>Move window one workspace to the right</_summary>
261+ </key>
262+ <key name="move-to-workspace-up" type="as">
263+ <default><![CDATA[['<Super><Shift>Page_Up','<Control><Shift><Alt>Up']]]></default>
264+ <_summary>Move window one workspace up</_summary>
265+ </key>
266+ <key name="move-to-workspace-down" type="as">
267+ <default><![CDATA[['<Super><Shift>Page_Down','<Control><Shift><Alt>Down']]]></default>
268+ <_summary>Move window one workspace down</_summary>
269+ </key>
270+ <key name="raise-or-lower" type="as">
271+ <default>[]</default>
272+ <_summary>Raise window if covered, otherwise lower it</_summary>
273+ </key>
274+ <key name="raise" type="as">
275+ <default>[]</default>
276+ <_summary>Raise window above other windows</_summary>
277+ </key>
278+ <key name="lower" type="as">
279+ <default>[]</default>
280+ <_summary>Lower window below other windows</_summary>
281+ </key>
282+ <key name="maximize-vertically" type="as">
283+ <default>[]</default>
284+ <_summary>Maximize window vertically</_summary>
285+ </key>
286+ <key name="maximize-horizontally" type="as">
287+ <default>[]</default>
288+ <_summary>Maximize window horizontally</_summary>
289+ </key>
290+ <key name="move-to-corner-nw" type="as">
291+ <default>[]</default>
292+ <_summary>Move window to top left corner</_summary>
293+ </key>
294+ <key name="move-to-corner-ne" type="as">
295+ <default>[]</default>
296+ <_summary>Move window to top right corner</_summary>
297+ </key>
298+ <key name="move-to-corner-sw" type="as">
299+ <default>[]</default>
300+ <_summary>Move window to bottom left corner</_summary>
301+ </key>
302+ <key name="move-to-corner-se" type="as">
303+ <default>[]</default>
304+ <_summary>Move window to bottom right corner</_summary>
305+ </key>
306+ <key name="move-to-side-n" type="as">
307+ <default>[]</default>
308+ <_summary>Move window to top edge of screen</_summary>
309+ </key>
310+ <key name="move-to-side-s" type="as">
311+ <default>[]</default>
312+ <_summary>Move window to bottom edge of screen</_summary>
313+ </key>
314+ <key name="move-to-side-e" type="as">
315+ <default>[]</default>
316+ <_summary>Move window to right side of screen</_summary>
317+ </key>
318+ <key name="move-to-side-w" type="as">
319+ <default>[]</default>
320+ <_summary>Move window to left side of screen</_summary>
321+ </key>
322+ <key name="move-to-center" type="as">
323+ <default>[]</default>
324+ <_summary>Move window to center of screen</_summary>
325+ </key>
326+ <key name="switch-input-source" type="as">
327+ <default>["&lt;Super&gt;space"]</default>
328+ <_summary>Switch input source</_summary>
329+ <_description>Binding to select the next input source</_description>
330+ </key>
331+ <key name="switch-input-source-backward" type="as">
332+ <default>[]</default>
333+ <_summary>Switch input source backward</_summary>
334+ <_description>Binding to select the previous input source</_description>
335+ </key>
336+ </schema>
337+
338+</schemalist>
339
340=== modified file 'debian/changelog'
341--- debian/changelog 2013-05-31 17:18:29 +0000
342+++ debian/changelog 2013-10-02 13:34:41 +0000
343@@ -1,3 +1,12 @@
344+gsettings-desktop-schemas (3.8.0-1ubuntu2) unstable; urgency=low
345+
346+ * debian/patches/ubuntu_remove-workspace-bindings.patch: new patch
347+ - Revert the <Super>Page_Up and <Super>Page_Down keybindings for
348+ workspace switching as this is not consistent with Compiz's
349+ keybindings. (LP: #1201405)
350+
351+ -- Chris Townsend <christopher.townsend@canonical.com> Wed, 02 Oct 2013 08:55:52 -0400
352+
353 gsettings-desktop-schemas (3.8.0-1ubuntu1) saucy; urgency=low
354
355 [ Jeremy Bicha ]
356
357=== modified file 'debian/patches/series'
358--- debian/patches/series 2013-05-31 17:18:29 +0000
359+++ debian/patches/series 2013-10-02 13:34:41 +0000
360@@ -3,3 +3,4 @@
361 ubuntu_overlay-scrollbars.patch
362 git_revert_background_key_removal.patch
363 git_revert_notifications_key_removal.patch
364+ubuntu_remove-workspace-bindings.patch
365
366=== added file 'debian/patches/ubuntu_remove-workspace-bindings.patch'
367--- debian/patches/ubuntu_remove-workspace-bindings.patch 1970-01-01 00:00:00 +0000
368+++ debian/patches/ubuntu_remove-workspace-bindings.patch 2013-10-02 13:34:41 +0000
369@@ -0,0 +1,20 @@
370+## Description: Remove the new default <Super>Page_Up/<Super>Page_Down keybindings
371+## since it conflicts with Compiz.
372+## Author: Chris Townsend <christopher.townsend@canonical.com>
373+## Bug: https://bugs.launchpad.net/bugs/1201405
374+--- a/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in
375++++ b/schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in
376+@@ -60,11 +60,11 @@
377+ <_summary>Switch to workspace right</_summary>
378+ </key>
379+ <key name="switch-to-workspace-up" type="as">
380+- <default><![CDATA[['<Super>Page_Up','<Control><Alt>Up']]]></default>
381++ <default><![CDATA[[''<Control><Alt>Up']]]></default>
382+ <_summary>Switch to workspace above</_summary>
383+ </key>
384+ <key name="switch-to-workspace-down" type="as">
385+- <default><![CDATA[['<Super>Page_Down','<Control><Alt>Down']]]></default>
386++ <default><![CDATA[[''<Control><Alt>Down']]]></default>
387+ <_summary>Switch to workspace below</_summary>
388+ </key>
389+ <key name="switch-group" type="as">
390
391=== modified file 'schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in'
392--- schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in 2013-05-31 17:18:29 +0000
393+++ schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in.in 2013-10-02 13:34:41 +0000
394@@ -60,11 +60,11 @@
395 <_summary>Switch to workspace right</_summary>
396 </key>
397 <key name="switch-to-workspace-up" type="as">
398- <default><![CDATA[['<Super>Page_Up','<Control><Alt>Up']]]></default>
399+ <default><![CDATA[[''<Control><Alt>Up']]]></default>
400 <_summary>Switch to workspace above</_summary>
401 </key>
402 <key name="switch-to-workspace-down" type="as">
403- <default><![CDATA[['<Super>Page_Down','<Control><Alt>Down']]]></default>
404+ <default><![CDATA[[''<Control><Alt>Down']]]></default>
405 <_summary>Switch to workspace below</_summary>
406 </key>
407 <key name="switch-group" type="as">

Subscribers

People subscribed via source and target branches