In Firefox on Windows, I can cycle through tabs using the Ctrl+1–9 etc. However Ubuntu (with Cinnamon) seems to not allow this binding. How can I restore it?
-
1how about Ctrl+tab to loop through tabs ? – Alex Jones Nov 29 '14 at 13:30
-
Fortunately there is an extension for this: https://addons.mozilla.org/en-US/firefox/addon/ctrl-number-to-switch-tabs/ Source: https://support.mozilla.org/en-US/questions/1263764 – adrianvintu Dec 09 '24 at 17:47
2 Answers
On Ubuntu Ctrl + Number doesn't work. Instead you have to use Alt + Number
Both Alt keys work. This works on Chrome and Firefox and File Manager... essentially anything with tabs open.
It works in Unity, GNOME and Cinnamon (as you wanted).
How am I supposed to close tabs
-– HackToHell
You can close tabs with Ctrl+W. This also works on windows and Mac (Cmd+W)
I suppose there is no way to restore it back to good old Ctrl+ ? – HackToHell
Alt + Number is just as easy as Ctrl + Number (just a matter of getting used to it). I think that Ctrl + Number may be used for other ubuntu things?
The amount you would gain from rebinding it is nowhere near the effort you would put in to change a system wide shortcut key.
- 33,510
-
How am I supposed to close tabs ? Alt+F4 closes firefox. Ctrl+f4 used to close the tab. – HackToHell Nov 29 '14 at 13:45
-
-
-
Alt + Number is just as easy tbh... I think that Ctrl + Number may be used for other ubuntu things...? The amount you would gain from rebinding it is nowhere near the effort you would put in to change a system wide shortcut key. – Tim Nov 29 '14 at 13:48
-
1I use Alt+Number for my i3, and have for many months. Wish I could change it... – River Tam Sep 28 '17 at 13:41
-
5
-
-
2we can put a sports car into space, and you are telling me the default shortcuts in an open-source software running on an open-source OS can not be changed – user Feb 11 '18 at 12:29
-
@user well you could download the source code, edit the necessary parts, then compile and install it. – Tim Feb 11 '18 at 12:50
-
if you had found which parts to edit, that would have been an acceptable answer to this question – user Feb 11 '18 at 13:11
-
@user you think I’ve got the time to hunt through the Ubuntu source code and find the places to edit, then provide instructions to how to make those edits, and how to compile and install it, and keep this answer updated for every new version? Haha. If this answer is unhelpful please downvote it. If you know a way to do it, please post a new answer. Otherwise, this conversation is rather redundant. – Tim Feb 11 '18 at 13:13
-
I also like to use ctrl in firefox because in "i3 window manage" the alt+number shortcut switches workplaces, BUT apperently "alt" is hardcoded and can't be changed via, say, about:config. Here someone wrote a plugin: https://www.reddit.com/r/firefox/comments/6w9wub/how_to_use_ctrl19_to_switch_tabs_instead_of_alt19/dm6nj6c/ -- the associated bugreport: https://bugzilla.mozilla.org/show_bug.cgi?id=1389644 -- the link to the webextension: https://gist.github.com/zbraniecki/000268ea27154bbccaad190dd479d226 – MacMartin Apr 05 '18 at 07:11
The Firefox Add-on Addressable-Tabs let's you do exactly what you requested. Basically sets the hot-key to Ctrl+1–9 while also maintaining the Alt shortcuts. Works with Ubuntu 18.04 on Firefox Quantum.
- 36,900
- 56
- 98
- 152
- 71