I am using linux mint with mate desktop and I want to open a new tab using the terminal (sending the command through xbindkeys to be more correct) to the existing firefox session/window. -new-tab won't do it. The reason I want to do this is linked with this question: https://unix.stackexchange.com/questions/148768/shortcut-to-google-selected-text
The reason for all this is to avoid memory bleeding and multiple windows generation.
To use existing instance of firefox you have to use -remote option:
firefox -remote "openURL(http://www.youtube.com, new-tab)"
Related
I mainly run Cypress and Chrome through WSL2, whenever I try and make any of the windows that open full screen a part of them always displays on my second monitor.
Is there anything I can change in a config file or something to fix it?
I don't know if it's related but the cursor on the WSL2 GUI programs is huge. Is this something that can be fixed too?
I'm using cygwin/X-Sever to ssh into several other machines and then open the same control pannels on each machine. Is it possible to color the Top window bar differently for each one? Either using X11 or windows?
Clientside: Win7 - Cygwin
Serverside: Unix & Linux
If you were using Linux as a client, this could be done clientside using a nice window manager like i3 by just applying a different window decoration style based on namespace.
Now because you're using Windows 7 with cygwin, my best guess is that you're using XWin for Xserver. I am not aware of built-in functionality to XWin that would allow you do to this easily client-side. You said you're opening remote "control panels" on each machine, but not if they are GUI or CLI applications.
For CLI applications, you can set the background and foreground colour on a remote xterm session when connecting with startxwin as the Examples section of the man page shows.
For GUI applications, the simplest solution may be to follow what I described in the first paragraph but server-side. Using ssh this would be easy to script, just set a custom window manager theme on the remote host for the application at runtime. Your remote host window manager's documentation should explain how to configure there.
I have installed tightvncserver on my ubuntu system. I know that using a vnc viewer I can control this machine from a remote machine. But I don't want to control this machine remotely. I just want to view what is going on here on the viewer window on a remote machine. e.g. If I open firefox on my machine (in which I've installed tightvncserver), someone else on a remote machine having vnc viewer installed should just be able to see firefox opening in his vnc viewer window. Similarly when I close firefox and open some other application, the same should be visible on the viewer window. Is it possible through VNC?
You can run tightvncserver with the -viewonly Argument.
tightvncserver is a wrapper for xVNC and Takes xVNC Arguments. the viewonly Argument is probably what you're looking for.
I just upgraded to Ubuntu 12.04 and have also installed GNOME Do as a task launcher. If I already have a Firefox browser window open, and I use my hot key to open Gnome-do and type in Firefox + enter, it opens a whole new window instead of focusing on the window I already have open.
I'm used to Mac OS X's Quicksilver where it focuses you back to the opened application if it exists already. Is that possible to replicate using GNOME Do or Ubuntu Dash?
This may be different for a mac keyboard, but on a windows keyboard the key combination is win+numkey, with num being the order of your application in the launcher.
You can hold down the win key and get an overlay of applications, and the corresponding number to open them.
Hope that helps!
It must be a trivial option hidden somewhere.
I have a web application in monodevelop. When I run it (f5) it starts in chromium (chrome for linux). I want to change this to firefox or to nothing (don't start a browser, I can reload the page myself).
Can anyone tell me how I change this?
Thanks!
MonoDevelop uses your default browser, according to your GNOME preferences (on Linux). It's not possible to change this without than changing your default or modifying the MD source code.