Customizable and synced keyboard shortcuts in Firefox

08
2014-07
  • Sebastian

    This mozilla support site says

    Note: Keyboard shortcuts can be customized using the Customizable Shortcuts extension.

    However, the keyboard shortcuts are not synced to other computers. This seems to be on the TODO list of the extension, but has not been implemented yet (see also, where I bumped the issue).

    Is there an extension which allows synced customized keyboard shortcuts?

    No answer, so maybe a bonus brings up some ideas...

  • Answers
  • Ruslan Gerasimov

    There could be a workaround with syncing it over the net until better solution is provided.

    In Linux the file is stored at:

    ./jetpack/[email protected]/simple-storage/store.json
    

    under your profile folder:

    ~/.mozilla/firefox/somename.default
    

    You can sync it every time you run and exit from Firefox. Here is my example script which copies the file from Dropbox folder on the Firefox start and stores the file in Dropbox folder at it exits.

    It works just fine by running this script from your Desktop. Double click the script to run Firefox and your Shortcuts Add On is always synchronized

    Here is the script, but change you profile.default folder name:

    #!/bin/bash
    
    exec cp /home/ruslan/Dropbox/store.json  /home/ruslan/.mozilla/firefox/apcbgfp7.default/jetpack/[email protected]/simple-storage &
    
    /usr/bin/firefox &
    
    while [ `pidof firefox` ]
    do
    wait `pidof firefox`
    done
    
    #exec ./closing_script
    exec cp /home/ruslan/.mozilla/firefox/apcbgfp7.default/jetpack/[email protected]/simple-storage/store.json /home/ruslan/Dropbox
    

    Just as a little bit extra info. to find the difference I simply changed in Windows & Tabs -> Select Last Tab from ALT+9 with ALT+0 saved both files and it gave the next diff for both store.json.

    1c1
    < {"overlays":[]}
    \ No newline at end of file
    ---
    > {"overlays":[{"_type":"overlay","key":{"_type":"key","id":"key_selectLastTab"},"shortcut":{"_type":"shortcut","keycode":"VK_0","modifiers":{"_type":"modifiers","modifiers":["alt"]}}}]}
    \ No newline at end of file
    (END)
    
  • harrymc

    I do not know of another such add-on, but it seems to me that this add-on stores its data on Windows in the file:

    C:\Users\<user-name>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile-name>\jetpack\[email protected]\simple-storage\store.json

    So you might try copying this file until the TODO list of the extension gets implemented. Getting in touch with the developer and adding your voice to this demand might speed it up.


  • Related Question

    Firefox: keyboard shortcut for 'Highlight all' in find bar
  • Rabarberski

    In firefox, I can't find any keyboard shortcut for the 'highlight all' feature in the Find toolbar at the bottom of the FF window. Is there a keyboard shortcut, and if not, what is the easiest way to assign one?

    Edit: The answer below is for Windows, for doing the same on Mac OSX, see this question.


  • Related Answers
  • Snark

    ALT+a works fine for me to toggle the Highlight All feature when the Find toolbar is displayed.

  • Jaime

    / pops up quick find. A reg exp would be nice to have (for really long content). Although it'll take me more time to come up with the regexp than to browse the whole thing :p

    For you regExp experts, there are some add-ons I think....... https://addons.mozilla.org/en-US/firefox/addon/fastest-search/