Move and switch tabs keybindings should be different

Bug #1438082 reported by Emmanuel Beffara on 2015-03-30
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

The default key binding for moving to next tab and previous tab is Ctrl-Alt-Right and Ctrl-Alt-Left. Many applications use Ctrl-PageDown and Ctrl-PageUp instead (including gnome-terminal, firefox, gvim, etc) so I have these binding as a reflex. I tried to change the bindings in sakura by setting


in the sakura.conf file but this only works partially: I now have to type Ctrl-Alt-PageDown and Ctrl-Alt-PageUp. Actually, the value in the _accelerator fields seems to be completely ignored: I tried other values but it has no effect.

Am I missing something here?
What is the proper way to set the bindings I want?

Related branches

David Gómez (dabisu) wrote :

There is no prev_tab_accelerator o next_tab_accelerator config option. The one you need to change is move_tab_accelerator.

So this is what you need:

If it isn't a bug, please next time add your question in the "Answers" section in Launchpad. Thanks.

Changed in sakura:
status: New → Invalid
Emmanuel Beffara (manu-beffara) wrote :

I don't know if it is a bug or not, but indeed I should have posted that in "Answers"; I will post the question there in case anyone has the same questions. Now that this (invalid) bug is here, I follow up here.

Your suggested solution does not work: using the settings you write, when I hit Ctrl-PageUp/Down, it moves the current tab to the left or to the right while keeping focus on it. I still need to do Ctrl-Alt-PageUp/Down to get focus on the previous or next tab. In other words, I don't want to move a tab, I want to move TO a tab.

It happens that if I say


I get the expected behaviour for Ctrl-PageUp/Down, which solves the initial question, but now the bindings Ctrl-Shift-PageUp/Down for moving the current tab do not work anymore. What would be the proper way to achieve this?

David Gómez (dabisu) on 2015-08-12
summary: - configuring accelerators for prev/next tab key binding
+ Move and switch tabs keybindings should be different
Changed in sakura:
status: Invalid → Confirmed
importance: Undecided → Medium
David Gómez (dabisu) on 2015-11-27
Changed in sakura:
status: Confirmed → Fix Committed
David Gómez (dabisu) on 2015-12-01
Changed in sakura:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers