Q:

Create shortcut key in firefox to open a URL

My system is Xubuntu 16.04 and I would like to create a shortcut key to open a URL.  I don't want a desktop entry to open a URL, I know that I can create a desktop shortcut to open a URL.  To be precise: Is it possible to set a shortcut key combination to open a URL directly in firefox (not a desktop entry!)? 
thanks, Vladi

A:

This is not directly in firefox, but isn't using a desktop shortcut either.  It won't create a file or link anywhere visibly in your files, so I assume this will fit your needs:

Go to settings and open your Keyboard settings
Go to the Application Shortcuts tab

Hit Add and enter the following command: firefox --new-tab "http://example.com" The --new-tab is important if you don't want firefox to open a new window. 
Hit Ok and enter the shortcut you would like to use for this URL. 

That's the closest you can get to having a shortcut without a desktop launcher or something like that.  There might be an addon for firefox but with bare firefox I don't think it's possible to have an URL shortcut, except for your homepage, of course. ( Alt + Home)

