You are not logged in.
Hi,
I am trying to automate shortcut keys: Super+1 to open /usr/lib/firefox %u, I not sure how to get it works as when I open the Firefox using the shortcuts it will always open 2 tabs, first tab will show something like "u% page not found".
For me I always been using /usr/lib/firefox %u and it worked better before. for example when I tried to open using firefox --private. my system will always freeze and can't click anything outside of firefox, and I am rather confused where to look for possible causes of the problem.
In xfce what I have tried: din't work
bash -c "/usr/lib/firefox %u"
xterm -e "/usr/lib/firefox %U"
the only way I can get /usr/lib/firefox %u to open is create using the xfce-4panel launcher applet, the shortcuts din't work.
Any advice will be greatly appreciated!
Last edited by chris-gituse (2020-12-03 10:04:13)
Offline
Why are you including the %u ? That is a place holder that will be replaced by things that actually run the desktop file with a valid url or with nothing. If you are just running the command from a plain terminal without the intention of passing a link argument then just don't add the %u
Offline
Moving to Newbie Corner.
Offline
Ah ... /usr/lib/firefox? That's a directory and cannot be executed. I gather from the symptoms you've actually described, that you just botched this on the forums and you are actually running /usr/bin/firefox %u - in that case, see V1del's response.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline