Doug’s Blog

Handily dispensing information to .00000001% of the world’s population

Posts Tagged ‘chrome’

Disable search in google chrome address bar

Thursday, July 14th, 2016

I dislike how Chrome has turned the address bar (also known as a “location bar” or “URL bar”) into an “Omnibox”. Since I run Chrome on my Linux box, and I have a bunch of test hosts defined in my /etc/hosts file, everytime I try to shortcut by just typing a dev hostname, Google pops up a damn search result!

There are some posted methods to avoid this. One was to check chrome://flags, which does have a bunch of nice settings, however my version of Chrome DID NOT have the one to do this!

Instead I found that creating my own search engine option was the solution. Go to chrome://settings/ and choose “Manage Search Engines”. In there, add a new one with “none”, “null” and “http://%s” as the options.

Boom! No more annoying forced search! Suck it, Omnibox!

OK, deep breath.

Chrome on linux generating a ton of syslogd messages

Wednesday, December 31st, 2014

I just did a yum update on my google-chrome-stable package and now whenever I start chrome, or open a new tab, ALL my terminal sessions spit out a bunch of annoying messages like:

Message from syslogd@zx at Dec 31 13:43:51 …

kernel:[1132591.932211] CPU: 0 PID: 23825 Comm: chrome Tainted: PF D C O 3.11.10-100.fc18.i686.PAE #1

Message from syslogd@zx at Dec 31 13:43:51 …

kernel:[1132591.932212] Hardware name: EVGA 122-CK-NF68/122-CK-NF68, BIOS 6.00 PG 09/28/2007

Message from syslogd@zx at Dec 31 13:43:51 …

kernel:[1132591.932214] task: dcc1a760 ti: c0c9a000 task.ti: c0c9a000

Message from syslogd@zx at Dec 31 13:43:51 …

kernel:[1132591.932228] Stack:

Message from syslogd@zx at Dec 31 13:43:51 …

kernel:[1132591.932240] Call Trace:

Message from syslogd@zx at Dec 31 13:43:51 …

kernel:[1132591.932249] Code: 7d fc 89 ec 5d c3 90 8d 74 26 00 c7 43 34 00 00 00 00 b9 d0 1b c3 c0 89 da c7 43 38 00 00 00 00 89 f8 e8 24 eb ff ff 89 c6 eb 91 <0f> 0b 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 55 89 e5 57 56

Message from syslogd@zx at Dec 31 13:43:51 …

kernel:[1132591.932268] EIP: [<c04c9880>] __audit_syscall_entry+0xf0/0x100 SS:ESP 0068:c0c9bfa4

 

Now this could be due to me having an older Fedora, or an older video card, or lord knows what else, but I just wanted to get rid of those messages! So here’s the fix, edit “/etc/rsyslog.conf” and comment out the line that has “*.emerg”

Then “service rsyslog restart”

A quick and dirty fix for now!

 

Getting Thunderbird to use Google Chrome

Friday, May 14th, 2010

I’ve been using Google Chrome on my Fedora11 system lately, it seems to handle Flash better than Firefox does (on linux). There were a few things I found missing in Chrome at first, but they are releasing version updates pretty regularly that are fixing all my issues.

But I had been putting up with my Thunderbird email client spawning Firefox when I would click http links in emails. I tried to fix this via the KDE system GUI, and via the Thunderbird preferences->config-editor functions but nothing would work.

I would also see an error in my thunderbird logfile that looks like:
Error: uncaught exception: [Exception… “Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIExternalProtocolService.loadUrl]” nsresult: “0x80004005 (NS_ERROR_FAILURE)” location: “JS frame :: chrome://communicator/content/contentAreaClick.js :: openLinkExternally :: line 188″ data: no]

Eventually I found this gnome tool did the trick!

% gconftool-2 -g /desktop/gnome/url-handlers/http/command
firefox %s
% gconftool-2 --type string -s /desktop/gnome/url-handlers/http/command "google-chrome %s"
% gconftool-2 -g /desktop/gnome/url-handlers/http/command
google-chrome %s

Also, while you’re at it, do the same commands but use “https” instead of “http” to handle SSL URLs.
Another way to do this is to use “gconf-editor” — just “yum install gconf-editor”