Hotkey Script to Open Url in Browser? [Duplicate]

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 Settings → Keyboard → Shortcuts (tab) → Custom Shortcuts (section) → Add new +.
  1. In the Custom shortcut window type:

    • Name: Google
    • Command:

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

  2. Click on Disabled:

  1. Press ctrl+g to assign the desired shortcut:
Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.