Keyboard shortcut

User Help for Mozilla Firefox
Post Reply
Claud43
Posts: 133
Joined: November 11th, 2005, 4:18 pm

Keyboard shortcut

Post by Claud43 »

Hi, I am wondering if there a Keyboard shortcut for pin a tab and unpin a tab? Also, to open the menu?

Thank you,
Claudia
User avatar
DanRaisch
Moderator
Posts: 127247
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Keyboard shortcut

Post by DanRaisch »

If you mean open the menu bar, then Alt+ any of the menu hotkeys (F for file, E for Edit, etc.) will do the job.
flaneurb
Posts: 622
Joined: December 10th, 2011, 3:50 am

Re: Keyboard shortcut

Post by flaneurb »

Claud43 wrote:Hi, I am wondering if there a Keyboard shortcut for pin a tab and unpin a tab? ...
I'm guessing someone would have to write a script to right-click on the active tab followed by a keypress and release of the letter "P" to pin a tab. Unpinning maybe even more difficult?
morat
Posts: 6437
Joined: February 3rd, 2009, 6:29 pm

Re: Keyboard shortcut

Post by morat »

Off topic:

You can pin and unpin the current tab with the Foxy Gestures extension.

Foxy Gestures
http://addons.mozilla.org/firefox/addon/foxy-gestures/
http://github.com/marklieberman/foxygestures

Foxy Gestures User Scripts
http://github.com/marklieberman/foxyges ... er-Scripts
User avatar
Gingerbread Man
Posts: 7735
Joined: January 30th, 2007, 10:55 am

Re: Keyboard shortcut

Post by Gingerbread Man »

Hello,
Claud43 wrote:I am wondering if there a Keyboard shortcut for pin a tab and unpin a tab?
No. That's bug 626101 which was closed as WONTFIX 7 years ago. If you have some sort of third-party application that can run macros via keyboard shortcut or mouse button, then this would be a lot less tedious to perform:
  1. Alt+D, Ctrl+L or F6 to go to the location bar.
  2. Shift+Tab to focus the identity button.
  3. Shift+Tab again to focus the current tab.
  4. Application key (on the right side, between the Windows logo key and Ctrl) to bring up the context menu.
  5. p to pin the tab or b to unpin it.
Claud43 wrote:Also, to open the menu?
Again, no. That's bug 1259818 which is currently still open.

Also see https://support.mozilla.org/kb/keyboard ... ks-quickly
Claud43
Posts: 133
Joined: November 11th, 2005, 4:18 pm

Re: Keyboard shortcut

Post by Claud43 »

Thank you I will try the Foxy Gestures extension.
User avatar
Gingerbread Man
Posts: 7735
Joined: January 30th, 2007, 10:55 am

Re: Keyboard shortcut

Post by Gingerbread Man »

Shortkeys claims to be able to assign a keyboard shortcut to pinning/unpinning a tab. I can't get it to do anything in the latest Nightly, but maybe it works in Firefox 57.
morat
Posts: 6437
Joined: February 3rd, 2009, 6:29 pm

Re: Keyboard shortcut

Post by morat »

I got the following settings working with the shortkeys extension.

* open about:addons in tab 1
* open test page in tab 2
* select tab 1
* open shortkeys options

Keyboard shortcut: ctrl+shift+1
Behavior: Pin/unpin tab
Websites: All sites

* left click save button
* select tab 1
* reload
* press ctrl+shift+1

If these settings fail, then delete shortcuts, save, restart and try again.

The keyboard shortcut ctrl+shift+1 succeeds.
The keyboard shortcut ctrl+shift+! fails.

Test page
http://www.mozillazine.org/

The extension is kinda buggy. Sometimes the label as box is not same the behavior box. I had to delete shortcuts, save and restart to get it working.

What is "Shortcuts for Chrome" in options? Did the developer forget to change the label to Firefox? The "Email me" link in options is the original Chrome developer, not Peter Malecka...

I'm testing with Firefox 57 with multiprocess disabled.
User avatar
Gingerbread Man
Posts: 7735
Joined: January 30th, 2007, 10:55 am

Re: Keyboard shortcut

Post by Gingerbread Man »

It turned out not to be a problem specific to Nightly. The description for Shortkeys claims that due to current Firefox API limitations, it only works when a fully loaded web page has focus. That means it won't work when you've selected the location bar or search bar, or when you're on any of the internal pages like about:home, about:newtab, about:blank, etc.

However, Pin Unpin Tab works just fine in those situations :-"
Claud43
Posts: 133
Joined: November 11th, 2005, 4:18 pm

Re: Keyboard shortcut

Post by Claud43 »

Gingerbread Man wrote:It turned out not to be a problem specific to Nightly. The description for Shortkeys claims that due to current Firefox API limitations, it only works when a fully loaded web page has focus. That means it won't work when you've selected the location bar or search bar, or when you're on any of the internal pages like about:home, about:newtab, about:blank, etc.

However, Pin Unpin Tab works just fine in those situations :-"
I want to thank you SO much for finding this for me. It works perfectly! I really appreciate it a lot! :D
Post Reply