this post was submitted on 08 Jul 2026
8 points (83.3% liked)

Firefox

7344 readers
44 users here now

A community for discussion about Mozilla Firefox.

founded 3 years ago
MODERATORS
 

Hi I use firefox on Linux and want to change to the first, second, third, ..., last tab with ctrl+1/2/3/.../9 instead of alt+1/2/3/.../9 because alt is already mapped to changing desktops. any idea how I could accompilish this?

edit1: I use mac and windows at work and there the shortcuts are ctrl+<number>. It would be so nice to have consistent shortcuts ๐Ÿง

[SOLUTION] install ctrl+number extension recommended by @TobuscusLover2001@lemmy.zip

top 7 comments
sorted by: hot top controversial new old
[โ€“] Emperor@reddthat.com 2 points 16 hours ago (1 children)

I have vimium which lets me set vim like key binds for firefox. It only works once the JS has loaded on a page so default screens like the new tab doesn't work. Other than that, it should let you rebind it to whatever you want, you can disable the other keys yoy don't need.

[โ€“] yaw@infosec.pub 1 points 7 hours ago

nice one, I already use vimium and there are command to go to the first and the last tab but not the 2nd to 8th tab, but this is already quite a solid work around thanks!

[โ€“] Vincent@feddit.nl 1 points 2 days ago

I think it's just a preview feature, so it's not accessible through a normal menu yet I think, but if you type about:keyboard in the address bar and press Enter, I think it will allow you to remap these (under the Navigation section).

[โ€“] yaw@infosec.pub 0 points 2 days ago (2 children)

This article by firefox didn't help because the action/shortcut/hot key was not shown ...

[โ€“] TobuscusLover2001@lemmy.zip 2 points 2 days ago (1 children)

Try this: https://addons.mozilla.org/en-US/firefox/addon/ctrl-number-to-switch-tabs/

If it doesnt work, your best option is to either find another extension that does. or bite the bullet and configure a key remapper like keyd and make a "layer" to toggle the bind alt+(num) to ctrl+(num).

[โ€“] yaw@infosec.pub 1 points 7 hours ago

this extension worked!!! Thanks

[โ€“] yaw@infosec.pub 1 points 2 days ago

shortkeys doesn't install (maybe because I'm on ARM?). The error is Installation aborted because the add-on appears to be corrupt.