Install all Google Fonts via Naut Script

Nautilus Scripts

Source:

0
Score 52%
Description:

For those who want an extremely easy method to download and install the entire Google font repository, here you go.

"What the script does is download all the fonts from Google Font Directory and installs them under /usr/share/fonts/truetype/google-fonts/ (so if you want to remove them, simply delete that folder)." - Andrew (Webup8) - http://www.webupd8.org/2011/01/automatically-install-all-google-web.html

Credit goes to Michalis Georgiou for his original google-font script and to Andrew http://www.webupd8.org for his further modification of it. I used their script and altered it a bit. Now, with a simple menu selection, you can decide if you want to download and install all the fonts, or just download them without installation. Also, being a nautilus-script, it is as easy as right-clicking and selecting the script.

Requires: sudo apt-get install mercurial (will prompt to install when first run the script)



Installation Instructions:
Just extract and place the script inside your ~/.gnome2/nautilus-scripts folder (or inside any other folder, for that matter).



PPA Installation Instructions:

For those who use Ubuntu and its derivatives, I also threw together a Debian package version of the latest entire Google font repository (as of 05 November 2011). You are welcome to install it if you would like, via my PPA:

sudo add-apt-repository ppa:inameiname/stable
sudo apt-get update
sudo apt-get install google-fonts
Last changelog:

6 years ago

0.1: Initial Release.

mattfellenz

1 month ago

Your repository failed to get.

Report

latino

6 years ago

i have a debian wheezy system.

when run the script all fine but the system hang in:

adding file changes

for long time i used ctrl+c or ctrl+x for break...

Report

C

inameiname

6 years ago

It takes several minutes to download/install the fonts.

How long did you wait before you canceled the action? It seems to take a good 7-10 minutes on my system.

Report

C

inameiname

6 years ago

After looking into this a bit, I am afraid I do not really know why it is hanging for you if you are indeed waiting a bit for it to complete.

Really, this is all the script actually does as far as downloading:

if [ -d $HOME/googlefontdirectory ] ; then
cd $HOME/googlefontdirectory
hg pull -u || return 1
echo "The local files have been updated."
cd ..
else
hg clone https://googlefontdirectory.googlecode.com/hg/ $HOME/googlefontdirectory || return 1
fi

It is basically just that one line just above.

Report

latino

6 years ago

i try again today and work fine tks, i think was the low conection.

Report

C

inameiname

6 years ago

Oh good. That does happen sometimes.

Report

6 years ago

0.1: Initial Release.

product-maker hotice Nov 05 2011

product-maker 6 6

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling me
Details
license
version
0.1
updated Nov 05 2011
added Nov 05 2011
downloads today
0
page views today 1
System Tags addon