Random notes on keeping control over your browser.
...and, if that weren't enough, the window is pretty much inactive—you can't move it, close tabs or perform any useful action. This is a very old bug that Chromium engineers seem not to care about (because they're Windows guys?).
I found some steps that help...
It might be useful soon after to close the browser window in order to ensure that the new position of this Chrome window will be where it works. However, I'm not confident this is a real help. First, you lose the open tabs you had and half to go set them up again. Second, it's unclear that this really solves anything because, in my case, I never position windows slightly off the screen (at least never for longer than a few seconds), so I don't think this really ensures them opening correctly next time.
This said, the steps above should help recover non-working Chrome windows.
This can only be done from the command line. Frustratingly, if you launch Chrome from the Menu or Panel, your workspace will be switched to some other than the current one that happens already to be running Chrome. This will get you a new running instance of Chrome.
But, what identity in Chrome? I have not yet been able to ascertain this, but it looks like it gives you the identity in effect upon the last time you started.
$ google-chrome --new-window any site URL
Incidentally, this works identically for Opera too. Again, I can't tell what identity is in force nor why it assumes that identity. However, it's easily established by other actions in the new browser page.
Another option, besides this one and the command-line one given above, is to use the Linux workspace control mechanism via Ctrl+Alt+↑, then drag Opera's or Chrome's window (or the window of any other piece of software) from one workspace to another.
As the Opera browser has its own notion of workspace, it's very difficult to google for how to get around that right-clicking the title bar of one of its windows will not, as happens by standard for every other piece of GUI application software, reveal a control to relocate that window to a different (Linux) workspace. This is a full-time expectation among my personal productivity habits.
Yet, this is possible. The option to relocate presents itself only from the instance of Opera on the Cinnamon (or other graphic desktop environment) panel. Right-click the icon representing Opera to get Move to another workspace. Here's an illustration:
Or, "Chrome artifacts only upon reboot and relaunch of Chrome."
Try this from Chrome (in the address field):
chrome://restart
Some clean-up or reconfiguration will be required, but it awakens the dead windows that came up partly off-screen. This bug has existed since 2014.
In particular, it is often the case that this funny business occurs in the face of having Chrome windows from more than one identity up (in different Linux workspaces).
I tried using this extension from Chrome, but it grabs only video (of an .mp4) and no audio. I didn't investigate too deeply.
This browser can be very annoying, especially to developers, by trying to get smart. It goes to the wrong web sites. Make it stop.
Just click the star in the address line of the page you're at.
Like all browsers, this one can be very annoying. You can't click, drap and drop any bookmark to where you want it to stay in the bookmark list. You must right-click it, choose Cut, then move to the bookmark near which you want it to stay, right-click and choose Paste.
Check your browser for the cookie holding the session id (example of cookie use). Here's how to do this in Chrome:
#!/bin/sh # ----------------------------------------------------------- # Pipe stdin to browser - call it pipefox.sh or pipechrome.sh # ----------------------------------------------------------- # Create a temporary file. # Fill it with content from stdin. # Launch browser with temporary file as input. # Sleep long enough (5') for browser to seize contents, ... # then delete the temporary file so that it need not # be cleaned up by hand. # # Example: browse the current working directory as a tree: # $ tree -H baseHTML | pipe______.sh # ----------------------------------------------------------- # However!!!!! # If you have hypertext links in the file and traverse them, # you will NOT be able to come back to the original page # after the sleep timer has expired. If this is a problem, # fix by deleting the sleep and rm calls, then do clean-up by # hand. # ----------------------------------------------------------- TEMP=$(mktemp /tmp/delete-me.XXXXXXXXXX) cat $* > ${TEMP} google-chrome ${TEMP} sleep 5 rm ${TEMP} # vim: set tabstop=2 shiftwidth=2 noexpandtab:
Here's a real example invoking the script (tree not being the only thing you can use this for of course):
master ~/dev/systemsets $ tree -C -T System\ Sets -H file:///`echo ${PWD}` | pipechrome.sh
...and I see in the browser:
The trovi virus is really malware that infects Chrome (and other browsers?) when you download dirty extensions. I got it looking for and installing an extension named SaveFrom.net helper, which allowed me to download YouTube videos. As this extension is useful, I'm looking to figure out how to get it without infecting my browser again.
Getting rid of the trovi browser virus...
It appears, on Linux Mint at least, that the infection is nothing more than setting your start-up pages to bring one or two trovi search tabs instead of what you'd expect to find when fresh-launching Chrome. Once fixed, the infestation seemed over, but I was incensed that it had happened at all and went on a witch hunt. Anyway, here's what I did:
.config/google-chrome $ find . -name '*' -exec fgrep -Hn trovi {} \;
You mindlessly clicked in the X or close/delete control of the Facebook thumbnail and now are faced with never being able to click so easily in a new tab to reach this application again. There seems to be no way to get it back, just going to Facebook frequently will never restore it.
How to add buttons/links to homepage?
These thumbnails disappear permanently when you close them. They were populated in the first place by going to places freshly upon opening a new tab and going somewhere. Here are the steps to restore one you've deleted:
(In this illustration, which I got from someone else, it's not Facebook that's missing as in my example, but it could have been.)
It can't be done without going into Chrome settings and choosing
You want to google to find where to put your Logback configuration, to with logback.xml, when you deploy to Tomcat, but you aren't using Spring Boot and don't want to wade through irrelevant answers about Spring (which are vastly more numerous). How to express that? Here's the search string:
logback.xml where to place -spring