Let's say I have opened Firefox Browser and Libre Office, and then I opened Terminal. Can I, from Terminal use a command to switch back to Firefox.?
Ubuntu – Switch to another running application from terminal
command linegnome-terminal
command linegnome-terminal
Let's say I have opened Firefox Browser and Libre Office, and then I opened Terminal. Can I, from Terminal use a command to switch back to Firefox.?
Best Answer
You can do it using
wmctrl
. To install it use in terminal,To switch to firefox use the following command in terminal,
Actually it switch to a window with name containing 'firefox' in it. see
man wmctrl
for more.