Hotkey script to open url in browser? [duplicate]

How could I best write a hotkey script that opens an url in the webbrowser (firefox)?

Example:

ALT+G =
ALT+W = 

Or would I have to use some kind of existing software therefore?

0

1 Answer

For this purpose, you can crate Custom shortcut:

  1. Go to System SettingsKeyboardShortcuts (tab) → Custom Shortcuts (section) → Add new +.

enter image description here

  1. In the Custom shortcut window type:

    • Name: Google
    • Command:

      • for FireFox: firefox
      • for Chromium: chromium-browser
    • Click on Apply

  2. Click on Disabled:

enter image description here

  1. Press ctrl+g to assign the desired shortcut:

enter image description here

You Might Also Like