Open a new Firefox tab in the same window via terminal

I am using linux mint with mate desktop and I want to open a new tab using terminal (more correct sending command via xbindkeys) into an existing firefox session / window. -new-tab

it won't. The reason I want to do this is related to this question: https://unix.stackexchange.com/questions/148768/shortcut-to-google-selected-text

The reason for all of this is to prevent bleeding in memory and create multiple windows.

+3


source to share


1 answer


To use an existing firefox instance you must use the option -remote

:



firefox -remote "openURL(http://www.youtube.com, new-tab)"

      

+4


source







All Articles