Sunday, March 27, 2011

Copying google maps in "My maps"



If you need two similar google maps, and you don't want to create all labels again, you can copy a map from "My maps" doing as following:

  • go to the map you want to copy, and copy the URL you get click "Link"
  • paste somewhere else that URL and add "&output=kml" at the end
  • now copy the whole new URL
  • go in "My maps" and click "Create new map"
  • then another link saying "Import" will appear: click on it
  • paste the URL in the string filed and click on "Upload from URL"
  • now you have your copied map!

Saturday, March 12, 2011

Share ubuntu printer with Windows 7

If you use Ubuntu and you can't manage to share your printer with a Windows pc, you can try these steps:

  • remove comments (# character at the beginning of the line) of the following lines in smb.conf (sudo gedit /etc/samba/smb.conf):
    • load printers = yes
    • printing = cups
    • printcap name = cups
  • in the same file add the following line above [printers]:
    • use client driver = yes
Good luck! ;)

You can find useful informations about your printer at http://localhost:631/printers/

Sunday, March 6, 2011

Ubuntu - hide files or folders

To hide files and/or folders in Ubuntu you have two ways:
  1. add a '.' (without quotes, obviously) at the beginning of file's/folder's name
  2. if you don't want to rename the file/folder do this: in the same folder as the one in which are saved the files/folders you want to hide, create a new text file, and edit it writing the names of the files/folders you want to hide. Then save it and rename it as ".hidden" (without " too)
To see hidden files press CTRL+H.