Thursday, December 05, 2013

Lost Google Maps: Found, maybe

If you've created a bunch of maps in Google Maps, you maybe getting this error message when you try to get to the older ones:
My Places encountered a temporary error and could not load some items. Please try again later.
People are complaining about it on forums.  If you're struggling with this, here's something you can try.

Clear your cookies, log back in to Google Maps and try again to load the older maps.

Here are the steps:
  • Click on the menu in the upper right corner of Chrome
  • Go down to Tools
  • Then select Clear Browsing Data...
  • Click on: Delete cookies and other site and plug-in data
  • On the "Obliterate the following items from:" line I used the last 4 weeks, but you might have to try a few depending on how many cookies you're willing to get rid of to get to your maps (getting rid of cookies means you may have to log back into various websites and you'll lose your history on some)
  • Go back to maps and refresh the page
  • Try to load your older maps
This worked for me, at least a few times.  Then it stopped working.

Since it's at best a workaround, not a solution, it's a good idea to get the maps you want onto your hard drive or some other place.  Here's how:

In classic maps:
  • Open the map
  • Click on KML
  • Save to the place where you want it
Select KML at the lower right

In the new Google Maps:

  • Open the map
  • Click on the folder icon that's to the left of Add Layers
  • From the menu choose Export to KML
  • Save to the place where you want it
OK, so now you've got your maps in a safe place.  What next?

Well, you can always open them in Google Earth.  If you really want them in Google Maps, it takes a little bit of work.  In the old days, meaning with the old Google Maps, you could just put the KML on a server (or Dropbox) and open it up.  

The new Google Maps doesn't open KML, at least not yet.  Google is hinting that it may in the future.   Here's the official word:
You can import CSV, TSV, or XLSX files, My Maps, or spreadsheets from Google Drive. KML import is not currently supported.
Since the new maps does open csv (comma separated values), you just have to convert your KML file to csv.  How?

One ways is to download a KML to CSV converter like this one.  For a selection, just Google "KML to CSV converter."

Then import the CSV file into Maps Engine Lite as demonstrated this tutorial.

Saturday, October 29, 2011

Quick Terminal in Ubuntu Oneiric

If you've tried to open the terminal using alt+F2 in the new Ubuntu (Oneiric), it probably didn't work.  That's because it has a new shortcut: Alt+Ctl+T.

I'm sure it's a fine shortcut, but it's hard to reverse years of habit.  Feel the same?

It's easy to switch back.  Go to:

System Settings > Keyboard > Launchers.
Select Launch Terminal.
Press Backspace to clear Alt+Ctl+T,
Then press Alt+F2.  

You're done.

Supposedly, you can skip the step of clearing the old shortcut and just hold down the new one for a moment to replace it.  Didn't work for me.

Tuesday, June 07, 2011

The truth of the kernel

For various reasons I sometimes have to know what Linux kernel I'm using with Ubuntu.  It's easy, but I always forget how, so this is as much for my own use as anything else:

To find your current Linux kernel, at the command prompt:
uname -r (quick, short reply)
uname -a (same with a little more information)
The difference between those two is that -r just tells you the version of the Linux kernel.
l@l:~$ uname -r
That's pretty straightforward.  The first two numbers, in this case the 2 and the 6, are major and minor releases.  The third number, 32, is the version.  The fourth number, 21, reflects the back-ports that are incorporated into the kernel.

An rc.x at the end means the version is a release candidate, the last revisions before a version is ready for use.

If you're curious, you can browse through the history of Linux 2.6.x.  Or back to the very beginning.  If you want to how Linux kernel numbering has changed over the years and why it changed, you can read the history, complete with primary documents.

Chances are, you're using an operating system that makes use of the Linux kernel, like Ubuntu, Red Hat, Open SUSE and so forth.  These are sometimes called "flavors" of Linux.  Frankly, I find they all taste the same, but they look and operate a little differently.

By using -a, you'll get a response like this:

l@l:~$ uname -a
Linux l 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linux

Another way to get information about your kernel is by looking at the /proc file.  The command is:
cat /proc/version
The result, will look like this:

l@l:~$ cat /proc/version
Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010
What does it all mean?  
  • Linux version 2.6.32-21-generic The complete Linux version.
  • (buildd@yellow) The username and host name of the person who compiled the kernel.  Thanks buildb, home everything's going well at yellow.
  • (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) The version of the compiler buildb used.
  • #32-Ubuntu SMP The type of the kernel (SMP means Symmetric Multi-Processing, which means the kernel makes use of multi-core processing)
  • Fri Apr 16 08:09:38 UTC 2010 The time and day that the kernel was compiled.

Git a minute: organize your email, the easy way

Get a lot of email?  Sometimes it hard to keep the inbox from growing.  It's tempting to go through it as quickly as possible, skimming the important stuff, saving some for later and deleting the rest.

Those last two things (saving and deleting) offer you some opportunities to get control of your inbox, rather than just getting through it. And if you do it strategically, you can do in in a minute, literally.

Each time you clear your inbox, take a minute to set up a filter that handles the saving or deleting of one message.

Here's an example: the online statement from your gas company, an investment account, or your mortgage.  If you use Gmail (or another web mail service) you can click:

More actions > Filter messages like these

And then set some rules for handling the message, like storing it for the day you pay bills, permanently storing it (if it's on autopay), or starring it so it's an obvious priority when the next one comes in.

You can do that in 60 seconds.

With some creative use of the filtering rules, you can be amazingly precise in what you do with what message, like highlighting a bill you have to pay, but saving or deleting the company's newsletter, even if they come from the same email address.  You can learn some tips and tricks here.

If you get Facebook alerts, you can star responses to things you've posted, save for later other messages and delete the list of birthdays.

If you commit to permanently handling one message each time you read email, in a week you'll notice how much faster you can get through your inbox.

Tuesday, May 24, 2011

Installing Gimp Plugins

If you ever want to install plugins for The Gimp, the image editing app, you'll have to first install the gimp-dev and glib-dev packages.  It's easy.  You can use the Synaptic Package Manager or apt-get.  But the names are tricky.  Instead of gimp-dev and glib-dev, they're called:

  • libgimp2.0-dev
  • libglib2.0-dev

Monday, April 25, 2011

Replace a Key on a Sony Vaio Laptop

The shift key popped off the keyboard on my laptop. Don't ask. It's a Sony Vaio VPCS111FM with a chiclet-style keyboard.

Putting it back on wasn't hard, it just took a little while to figure out.

After the key came off, I had a hole in the keyboard that looked like this.

And the key and a U-shaped pin that came flying off when the key went.

The underside of the key has two tiny clamps at the top: one for holding the pin and one for attaching the key to a bracket on the keyboard.  The top set of brackets is for the pin.

The pin just snaps into the upper set of clamps.

On the keyboard, theres are two upside-down-U-shaped brackets that you have to slide the legs of the pin into.

There's also a plastic bracket that I've lifted up with a screwdriver here.  It has two pins sticking out from the top that snap into the bracket clamps on the key.

You have to slide the legs of the pin into the brackets on the side, then snap the bracket clamps on the key onto the pins sticking out from the bracket.

I slid the pin into the holes, then slid the top of the key down into the hole in the keyboard so that the bracket clamps were just behind the pins on the bracket.  Then I used a small screwdriver to push the pins into the clamps until they clicked.  It's a very quiet click.

The picture shows how I had it positioned.  Didn't have enough hands to snap a picture while using the screwdriver to push the bracket pins into the clamps.  It's pretty straightforward though.  Just move the key and the bracket so the pins are right between the arms of the clamp, then push the pin in.

After that, just lower the bottom of the key and push down so that the bottom snaps into place.  Should be good until the next time you drop your computer.

Monday, March 14, 2011

Setting mailto: in Chrome and Ubuntu

I must have had an extension that made Gmail the mailto: app in Chrome. Mailto: is what automatically opens up a new email message when you click on an email address, helpfully inserting the address as the recipient.  After cleaning out some extensions I didn't think I used, mailto: stopped working.

No problem. Ubuntu has a convenient way to make mailto: work. It's called Desktop Webmail.

Applications > Internet > Desktop Webmail

That gets you a dropdown menu from which you can pick the webmail you use, like Gmail, Yahoo, etc.

Check Gmail (or whichever service you use) and clicking on an email link will open your mail service to a new message addressed to the address you clicked.

I'd show you a picture of the dropdown menu, but I can't. Below the dropdown menu there was a cryptic checkbox labelled simply "Ask again." I didn't know what it meant, but assumed it had something to do with asking which webmail service I wanted to use each time I clicked on an email address. I unchecked the box.

Now when I go to Applications > Internet > Desktop Webmail it opens Gmail instead of opening the menu. Apparently "Ask again" meant giving me the option of changing my default webmail service. Oh well.

Incidentally, if you don't see Desktop Webmail among your applications, you can install it from the repository or with:
sudo apt-get install desktop-webmail