
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
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.
11 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
11 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
11 years ago
Report
Adaron
11 years ago
Report
jthunter
12 years ago
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
12 years ago
Report
Adaron
12 years ago
Report
linux29
12 years ago
##########################################################################
# 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
12 years ago
##########################################################################
# Language Settings ---------------------------------------------------- #
wait='Memperbaharui Font Cache, tunggu sebentar'
title_wait='Finishing'
errors='Terdapat kesalahan'
title_errors='Error'
# End of language settings ----------------------------------------------#
##########################################################################
Report
seqizz
12 years ago
##########################################################################
# 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
13 years ago
Is this script now broken?
Report
inudv
13 years ago
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
13 years ago
# 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
13 years ago
Report
ubuntico
11 years ago
Report
ubuntico
11 years ago
Report
nomentero
13 years ago
#!/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
13 years ago
#!/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
13 years ago
#!/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
13 years ago
Report
Adaron
13 years ago
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