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

  • Emperor@reddthat.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    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.pubOP
      link
      fedilink
      arrow-up
      1
      ·
      4 days 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!

  • TobuscusLover2001@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    6 days ago

    Sorry I realised I misread your post. It’s strange your keybinds on Linux to change tabs are alt+num? For me, its Ctrl+num… and i think this is the default. The most likely reason is either:

    1. A setting or issue with your desktop environment/keyboard layout
    2. A keybind remapper you might’ve installed.
    3. An extension you installed on Firefox

    check if the alt/ctrl switch persists outside Firefox.

    • yaw@infosec.pubOP
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      This is really weird. I’ll have to check on a different distro. I’m currently on fedora and firefox was already installed.

      1. ctrl+T/C/V (new tab, copy, paste) work as expected and all other shortcuts including ctrl and alt work as well
      2. I’ve installed a keyd for switching alt+mod otherwise it’s a pretty fresh install
      3. I started firefox in --safe-mode and got the same behavior. But thanks helping me trouble shoot.
  • Vincent@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    6 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).