Automated Font Installer

Nautilus Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
6.2
Description:

This script allows you to easily install new fonts in your ubuntu.

Just place it in your ~/.gnome2/nautilus-scripts/ path, give it executable permission and enjoy!

Thanks to Chrispy for his contribute.
Last changelog:

9 years ago

- Translated in English, Spanish
- The script check now, the return value of the cp command and will then finish their work or pop-up a infobox, that something went wrong
- The font-installer checks now, if "~/.fonts exists", on fresh systems it does not

ubuntico

9 years ago

Please fix this. Thank you for the scripts.

Report

C

Adaron

9 years ago

Thank you for download it. I've fixed download links. Now it should work.

Report

jthunter

10 years ago

# Language Settings ---------------------------------------------------- #
wait='Betűtípus-gyorsítótár frissítése, kérlek várj...'
title_wait='Befejezés'

errors='Hiba történt'
title_errors='Hiba'

# End of language settings ----------------------------------------------#

Report

linux29

10 years ago

Thanks

Report

C

Adaron

10 years ago

thank you!

Report

linux29

10 years ago

#!/bin/bash

##########################################################################
# Send To
##########################################################################
# #
# Created by Mattia Galati (Adaron) #
# first improvement and translation by Christopher Bratusek (Chrispy) #
# #
##########################################################################
# Language Settings ---------------------------------------------------- #
#Farsi tranlation by HojjatMaddahi-----------http:///linux26.parsiblog.ir#
destination='انتخاب مقصد'
title_destination='فرستادن پرونده(ها)به'

copy='درحال نسخه برداری'
title_copy='...لطفا صبر کنید'

success='نسخه برداری پرونده(ها)با موفقیت بود'
title_success='موفقیت'

errors='برخی اشتباه واردشده'
title_errors='اشکال'

no_writable='مقصد شما یا وجود ندارد و یا قابل نوشتن نیست'
title_no_writable='اشکال'
# End of language settings ----------------------------------------------#
##########################################################################

devices=`ls -m /media/`
vv=${devices//cdrom?, /}
vd=${vv//cdrom, /}
options=${vd//, / FALSE /media/}
destinazione=`zenity --list --title "$title_destination" --text "$destination" --radiolist --column " " --column "Device" FALSE /media/$options`

if [[ "$destinazione" = "" ]]; then
exit
fi

if [[ -w $destinazione ]]; then
cp -R $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS $destinazione | zenity --progress --pulsate --auto-close --title="$title_copy" --text="$copy"
if (( $? == 0 )); then
zenity --info --text="$success" --title "$title_success";
else zenity --info --text="$errors" --title "$title_errors";
fi
else zenity --info --text="$no_writable" --title "$title_no_writable";
fi

Report

arkka

10 years ago

# Indonesian Translation by Arkka Dhiratara #
##########################################################################
# Language Settings ---------------------------------------------------- #
wait='Memperbaharui Font Cache, tunggu sebentar'
title_wait='Finishing'

errors='Terdapat kesalahan'
title_errors='Error'

# End of language settings ----------------------------------------------#
##########################################################################

Report

seqizz

10 years ago

# Turkish translation by Gürkan Gür (seqizz) #
##########################################################################
# Language Settings ---------------------------------------------------- #
wait='Yazıtipi öncelleği güncelleniyor, lütfen bekleyin'
title_wait='Bitiriliyor'

errors='Bir hata var'
title_errors='Hata'

# End of language settings ----------------------------------------------#

Report

abadtooth

11 years ago

Doesn't seem to work for me, I right click the font I want to install and then click Scripts/Font-Installer, but all that does is pop up a window saying "something went wrong"

Is this script now broken?

Report

inudv

11 years ago

tested it my self too.

Criteria:
be a .ttf file format
no spaces under dashes acceptable (i think)
_______end_________________

if you have the processor stats panel accessory it will have the user, graphics and disk colors taking 100% of processor lvl for a few secs. open openoffice word processor (or whatever your word processor is) then look for the font name.

mmm. to much text for 1 'lil thing

Report

Knorkebrot

11 years ago

Nice Script, I translated it into German, take it if you want to ^^

# Language Settings ---------------------------------------------------- #
wait='Update Font Cache, bitte warten'
title_wait='Bitte warten'

errors='Ein Fehler ist aufgetreten'
title_errors='Fehler'

# End of language settings ----------------------------------------------#

Report

RmOsO

11 years ago

bueno esta exelente este scrip felicidades funciona de maravilla :) sin ningun error

Report

ubuntico

9 years ago

Ok ya encontré la manera. ;)

Report

ubuntico

9 years ago

Y como funciona? No veo nada gráfico que tenga que ver con la instalación de fuentes, o trabaja por consola o...?

Report

nomentero

11 years ago

Here the Spanish traslation for"instalador de fuentes".Thanks for your job!!.

#!/bin/bash
# ----------------------------------------
# Nautilus Automated Font Installer Script
# ----------------------------------------
#
# Created by Mattia Galati (Adaron)
# first improvement and translation by Christopher Bratusek (Chrispy)
#

if [[ ! -a "~/.fonts" ]]; then
mkdir -p ~/.fonts
fi

cp $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS ~/.fonts

if (( $? == 0 )); then
fc-cache -fv | zenity --progress --pulsate --title "Finalizando" --text "Actualizando cache de fuentes,Espere por favor";
else zenity --info --text "Algo fue mal" --title "Error";
fi

Report

nomentero

11 years ago

Here the Spanish traslation for"instalador de fuentes".Thanks for your job!!.

#!/bin/bash
# ----------------------------------------
# Nautilus Automated Font Installer Script
# ----------------------------------------
#
# Created by Mattia Galati (Adaron)
# first improvement and translation by Christopher Bratusek (Chrispy)
#

if [[ ! -a "~/.fonts" ]]; then
mkdir -p ~/.fonts
fi

cp $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS ~/.fonts

if (( $? == 0 )); then
fc-cache -fv | zenity --progress --pulsate --title "Finalizando" --text "Actualizando cache de fuentes,Espere por favor";
else zenity --info --text "Algo fue mal" --title "Error";
fi

Report

nomentero

11 years ago

Here the Spanish traslation for"instalador de fuentes.

#!/bin/bash
# ----------------------------------------
# Nautilus Automated Font Installer Script
# ----------------------------------------
#
# Created by Mattia Galati (Adaron)
# first improvement and translation by Christopher Bratusek (Chrispy)
#

if [[ ! -a "~/.fonts" ]]; then
mkdir -p ~/.fonts
fi

cp $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS ~/.fonts

if (( $? == 0 )); then
fc-cache -fv | zenity --progress --pulsate --title "Finalizando" --text "Actualizando cache de fuentes,Espere por favor";
else zenity --info --text "Algo fue mal" --title "Error";
fi

Report

Rafterman

11 years ago

I like the set of scripts you put up. They're small scripts, but they make the tasks they're written for very easy. I'm rating them good, even though my knowledge of Italian isn't "perfetto" :)

Report

C

Adaron

11 years ago

I'm very happy you like it.
I think that nautilus scripts are a very powerful feature and can make a gnome user life simply fantastic.

ps. I'm sure your italian is better than my english. ^_^

Report

9 years ago

- Translated in English, Spanish
- The script check now, the return value of the cp command and will then finish their work or pop-up a infobox, that something went wrong
- The font-installer checks now, if "~/.fonts exists", on fresh systems it does not

12345678910
1
product-maker I4C Feb 19 2013 3 bad
product-maker Count:24 Rating: 6.29
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
updated Jul 15 2009
added Oct 09 2007
downloads today
0
page views today 2
System Tags addon