Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Monaco font in Linux
#!/bin/bash
#script extraido de: http://paulocassiano.wordpress.com/2008/08/29/deixando-o-gedit-com-a-cara-do-textmate/
#tip for better "resolution" here: http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/
cd /usr/share/fonts/truetype/
#TODO: put validation if folder already exists
sudo mkdir ttf-monaco
cd ttf-monaco/
sudo wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf
#create an index of X font files in a directory
sudo mkfontdir
#go to parent folder /usr/share/fonts/truetype
cd ..
fc-cache
@mriverodorta

This comment has been minimized.

Copy link

mriverodorta commented Feb 2, 2014

Tanks!

@mr-linch

This comment has been minimized.

Copy link

mr-linch commented Mar 28, 2014

Nice...

@Trylobot

This comment has been minimized.

Copy link

Trylobot commented Apr 23, 2014

Thank you sir.

@jiahut

This comment has been minimized.

Copy link

jiahut commented Jul 28, 2014

fc-list | grep monaco

@ebragaparah

This comment has been minimized.

Copy link

ebragaparah commented Aug 25, 2014

great!

@felipecastilhos

This comment has been minimized.

Copy link

felipecastilhos commented Sep 3, 2014

nice job

@slayer

This comment has been minimized.

Copy link

slayer commented Dec 22, 2014

mkdir -p ttf-monaco

@suriyadeepan

This comment has been minimized.

Copy link

suriyadeepan commented Feb 13, 2015

thnkz man...

@jhowliu

This comment has been minimized.

Copy link

jhowliu commented Apr 30, 2015

Thanks

@diogocavilha

This comment has been minimized.

Copy link

diogocavilha commented Nov 13, 2015

Thank you a lot!

@dev-aitch

This comment has been minimized.

Copy link

dev-aitch commented Nov 29, 2015

thanks :-)

@habutre

This comment has been minimized.

Copy link

habutre commented Jan 20, 2016

I back to use this post as I have changed my linux box again
Thx man!

@meain

This comment has been minimized.

Copy link

meain commented Apr 22, 2016

Thank you so much.

@seniorihor

This comment has been minimized.

Copy link

seniorihor commented May 2, 2016

Beautiful!

@toc21c

This comment has been minimized.

Copy link

toc21c commented May 17, 2016

awesome

@NeMO84

This comment has been minimized.

Copy link

NeMO84 commented May 26, 2016

Thanks and Cheers!

@peresbruno

This comment has been minimized.

Copy link

peresbruno commented Jun 6, 2016

Thanks! :D

@OlehZiniak

This comment has been minimized.

Copy link

OlehZiniak commented Aug 14, 2016

thumbs up

@benoitemile

This comment has been minimized.

Copy link

benoitemile commented Nov 21, 2016

👍 thanks

@tarvos21

This comment has been minimized.

Copy link

tarvos21 commented Nov 28, 2016

Great! Thanks for sharing!

@NaveenKumarDudi

This comment has been minimized.

Copy link

NaveenKumarDudi commented Dec 13, 2016

thanks :)

@toni-mccrae

This comment has been minimized.

Copy link

toni-mccrae commented Jan 3, 2017

thanks

@vctr90

This comment has been minimized.

Copy link

vctr90 commented Jan 6, 2017

U ROCK!!

@ShomyLiu

This comment has been minimized.

Copy link

ShomyLiu commented Jan 24, 2017

work well! thanks

@fofosudarko

This comment has been minimized.

Copy link

fofosudarko commented Apr 16, 2017

Thanks.

@iamhabbeboy

This comment has been minimized.

Copy link

iamhabbeboy commented May 24, 2017

please guys, am able to install it successfully, but its giving me another view when selected for usage

@iamhabbeboy

This comment has been minimized.

Copy link

iamhabbeboy commented May 24, 2017

on Ubuntu 16 Linux

@ghost

This comment has been minimized.

Copy link

ghost commented Jun 13, 2017

thanks!

@JerryLauzzz

This comment has been minimized.

Copy link

JerryLauzzz commented Oct 24, 2017

Thanks~

@Mannini

This comment has been minimized.

Copy link

Mannini commented Jan 24, 2018

thanks!!

@chaimando

This comment has been minimized.

Copy link

chaimando commented Jan 25, 2018

Thanks!

@adibikar

This comment has been minimized.

Copy link

adibikar commented Mar 16, 2018

Thanks!!

@vermaditya1999

This comment has been minimized.

Copy link

vermaditya1999 commented Mar 21, 2018

Thanks!

@bgrnd

This comment has been minimized.

Copy link

bgrnd commented Apr 12, 2018

thanks!

@Flock1

This comment has been minimized.

Copy link

Flock1 commented May 15, 2018

Did not work for me. I'm trying to install it for Atom editor. Any suggestions?

@aoufa

This comment has been minimized.

Copy link

aoufa commented Jul 3, 2018

Thanks man. Exactly what I was looking for.

@ClarkWalker

This comment has been minimized.

Copy link

ClarkWalker commented Jul 19, 2018

Yup, that did it. Worked for me on Linux Mint 19. Thanks :)

@brunolevy06

This comment has been minimized.

Copy link

brunolevy06 commented Aug 9, 2018

Thanks, this is an awesome font.

@ArtoNiittukari

This comment has been minimized.

Copy link

ArtoNiittukari commented Aug 27, 2018

Thanks!

@SlavDimov

This comment has been minimized.

Copy link

SlavDimov commented Oct 21, 2018

Thanks!

P.S. I suggest changing this:

cd /usr/share/fonts/truetype/

#TODO: put validation if folder already exists
sudo mkdir ttf-monaco

cd ttf-monaco/

To this:

sudo mkdir -p /usr/share/fonts/truetype/ttf-monaco
cd /usr/share/fonts/truetype/ttf-monaco
@AndrianD

This comment has been minimized.

Copy link

AndrianD commented Dec 1, 2018

Great work! Thank you very much. The script is still working on Ubuntu 18

@nullvideo

This comment has been minimized.

Copy link

nullvideo commented Jan 2, 2019

The entire script could be written in one line like this!

sudo mkdir -p /usr/share/fonts/truetype/ttf-monaco && \
sudo wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf -O - > \
/usr/share/fonts/truetype/ttf-monaco/Monaco_Linux.ttf && \
sudo fc-cache
@corfucius

This comment has been minimized.

Copy link

corfucius commented Feb 16, 2019

Thank you! It shouldn't matter but I've really missed this font. It is working on Fedora 29, just had to make a directory for truetype.

@aditya777hp

This comment has been minimized.

Copy link

aditya777hp commented Feb 25, 2019

The entire script could be written in one line like this!

sudo mkdir -p /usr/share/fonts/truetype/ttf-monaco && \
sudo wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf -O - > \
/usr/share/fonts/truetype/ttf-monaco/Monaco_Linux.ttf && \
sudo fc-cache

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.