Como posso obter a fonte Terminus no gnome-terminator?

3

Estou tentando obter a fonte Terminus no Terminator e já fiz o seguinte:

  • Tenho as fontes no lugar certo, eu acho:

    └─▪  tree -a .local/share/fonts/                                                                                                                                                          
    .local/share/fonts/                                                                                                                                                                       
    ├── Hack                                                                                                                                                                                  
    │   ├── Hack-BoldOblique.otf                                                                                                                                                              
    │   ├── Hack-Bold.otf                                                                                                                                                                     
    │   ├── Hack-RegularOblique.otf                                                                                                                                                           
    │   └── Hack-Regular.otf                                                                                                                                                                  
    ├── Inconsolata                                                                                                                                                                           
    │   └── Inconsolata.otf                                                                                                                                                                   
    ├── SourceSansPro                                                                                                                                                                         
    │   ├── SourceSansPro-BlackIt.otf                                                                                                                                                         
    │   ├── SourceSansPro-Black.otf                                                                                                                                                           
    │   ├── SourceSansPro-BoldIt.otf                                                                                                                                                          
    │   ├── SourceSansPro-Bold.otf                                                                                                                                                            
    │   ├── SourceSansPro-ExtraLightIt.otf                                                                                                                                                    
    │   ├── SourceSansPro-ExtraLight.otf                                                                                                                                                      
    │   ├── SourceSansPro-It.otf                                                                                                                                                              
    │   ├── SourceSansPro-LightIt.otf                                                                                                                                                         
    │   ├── SourceSansPro-Light.otf                                                                                                                                                           
    │   ├── SourceSansPro-Regular.otf                                                                                                                                                         
    │   ├── SourceSansPro-SemiboldIt.otf                                                                                                                                                      
    │   └── SourceSansPro-Semibold.otf                                                                                                                                                        
    └── Terminus                                                                                                                                                                              
        ├── terminus-12.pcf                                                                                                                                                                   
        ├── terminus-14-bold.pcf                                                                                                                                                              
        ├── terminus-14.pcf                                                                                                                                                                   
        ├── terminus-16-bold.pcf                                                                                                                                                              
        ├── terminus-16.pcf                                                                                                                                                                   
        ├── terminus-18-bold.pcf                                                                                                                                                              
        ├── terminus-18.pcf                                                                                                                                                                   
        ├── terminus-20-bold.pcf                                                                                                                                                              
        └── terminus-20.pcf                                                                                                                                                                   
    
    4 directories, 26 files                                                                                                                                                                   
    
  • Atualizações corretas do fc-cache, veja aqui:

    └─▪ sudo fc-cache -fv       
    /usr/share/fonts: caching, new cache contents: 1 fonts, 4 dirs
    /usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs
    /usr/share/fonts/X11/Type1: caching, new cache contents: 9 fonts, 0 dirs
    /usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
    /usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/X11/misc: caching, new cache contents: 59 fonts, 0 dirs
    /usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs
    /usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs
    /usr/share/fonts/truetype: caching, new cache contents: 1 fonts, 22 dirs
    /usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/dejavu: caching, new cache contents: 21 fonts, 0 dirs
    /usr/share/fonts/truetype/droid: caching, new cache contents: 18 fonts, 0 dirs
    /usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
    /usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs
    /usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs
    /usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs
    /usr/share/fonts/truetype/nanum: caching, new cache contents: 6 fonts, 0 dirs
    /usr/share/fonts/truetype/noto: caching, new cache contents: 48 fonts, 0 dirs
    /usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs
    /usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/takao-gothic: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs
    /usr/share/fonts/truetype/tlwg: caching, new cache contents: 54 fonts, 0 dirs
    /usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 21 fonts, 0 dirs
    /usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 17 fonts, 0 dirs
    /usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs
    /usr/share/fonts/truetype/ttf-punjabi-fonts: caching, new cache contents: 2 fonts, 0 dirs
    /usr/share/fonts/truetype/ubuntu-font-family: caching, new cache contents: 13 fonts, 0 dirs
    /usr/share/fonts/truetype/wqy: caching, new cache contents: 2 fonts, 0 dirs
    /usr/share/fonts/type1: caching, new cache contents: 0 fonts, 2 dirs
    /usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
    /usr/share/fonts/type1/mathml: caching, new cache contents: 1 fonts, 0 dirs
    /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
    /home/me/.local/share/fonts/Hack: caching, new cache contents: 4 fonts, 0 dirs
    /home/me/.local/share/fonts/Inconsolata: caching, new cache contents: 1 fonts, 0 dirs
    /home/me/.local/share/fonts/SourceSansPro: caching, new cache contents: 12 fonts, 0 dirs
    /home/me/.local/share/fonts/Terminus: caching, new cache contents: 9 fonts, 0 dirs
    /home/me/.fonts: skipping, no such directory
    /usr/share/fonts: caching, new cache contents: 1 fonts, 4 dirs
    /usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
    /home/me/.fonts: skipping, no such directory
    /var/cache/fontconfig: cleaning cache directory
    /home/me/.cache/fontconfig: cleaning cache directory
    /home/me/.fontconfig: not cleaning non-existent cache directory
    fc-cache: succeeded
    

    e aqui:

    └─▪ sudo fc-cache -fv .local/
    /home/me/.local: caching, new cache contents: 0 fonts, 1 dirs
    /home/me/.local/share: caching, new cache contents: 0 fonts, 13 dirs
    /home/me/.local/share/Trash: caching, new cache contents: 0 fonts, 2 dirs
    /home/me/.local/share/Trash/files: caching, new cache contents: 0 fonts, 7 dirs
    /home/me/.local/share/Trash/files/Borat...(2006) & Bruno (2009) 720p multi [mkvonly]: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras: caching, new cache contents: 0 fonts, 2 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/Artwork: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/eXtraS: caching, new cache contents: 0 fonts, 3 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/eXtraS/A. Trailers!: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/eXtraS/C. Opening and Ending Songs: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Death Note (English Dubbed) TV Complete + Extras/eXtraS/Z. Videos to Watch After Completing the Series: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/Udemy - How I Make a Website in Wordpress that sell for $100-$1000!: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/_PLEASE SUPPORT_: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/_PLEASE SUPPORT_.2: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/_PLEASE SUPPORT_.3: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/files/muz: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/Trash/info: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/applications: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/cinnamon: caching, new cache contents: 0 fonts, 4 dirs
    /home/me/.local/share/cinnamon/applets: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/cinnamon/desklets: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/cinnamon/extensions: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/cinnamon/search_providers: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/fonts: caching, new cache contents: 0 fonts, 4 dirs
    /home/me/.local/share/fonts/Hack: caching, new cache contents: 4 fonts, 0 dirs
    /home/me/.local/share/fonts/Inconsolata: caching, new cache contents: 1 fonts, 0 dirs
    /home/me/.local/share/fonts/SourceSansPro: caching, new cache contents: 12 fonts, 0 dirs
    /home/me/.local/share/fonts/Terminus: caching, new cache contents: 9 fonts, 0 dirs
    /home/me/.local/share/gvfs-metadata: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/icc: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/keyrings: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/mime: caching, new cache contents: 0 fonts, 2 dirs
    /home/me/.local/share/mime/packages: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/mime/video: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/nemo: caching, new cache contents: 0 fonts, 2 dirs
    /home/me/.local/share/nemo/actions: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/nemo/scripts: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/tomboy: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/totem: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/vlc: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local/share/webkitgtk: caching, new cache contents: 0 fonts, 1 dirs
    /home/me/.local/share/webkitgtk/localstorage: caching, new cache contents: 0 fonts, 0 dirs
    /home/me/.local: caching, new cache contents: 0 fonts, 1 dirs
    /var/cache/fontconfig: cleaning cache directory
    /home/me/.cache/fontconfig: cleaning cache directory
    /home/me/.fontconfig: not cleaning non-existent cache directory
    fc-cache: succeeded
    
  • Atualmente estou executando o Mint, então decidi seguir este protip - e ajustando meu ~ / .fonts.conf:

    <?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">                                                                                                                             
    <fontconfig>                                                                                                                                                                              
     <selectfont>                                                                                                                                                                             
      <acceptfont>                                                                                                                                                                            
       <pattern>                                                                                                                                                                              
        <patelt name="family"><string>ProFont</string></patelt>                                                                                                                               
        <patelt name="family"><string>Terminus</string></patelt>                                                                                                                              
       </pattern>                                                                                                                                                                             
      </acceptfont>                                                                                                                                                                           
     </selectfont>                                                                                                                                                                            
    </fontconfig>                                                                                                                                                                             

E ainda não consigo selecionar a fonte nas preferências do Terminator.

A fonte funciona na Terminologia, no entanto.

Atualmente, estou executando o Mint 17.2 Cinnamon 64bit

Editar:

Após a sugestão de @Peter, eu fiz dpkg -L xfonts-terminus e aqui o resultado

Parece que está instalando em muito mais lugares do que eu inicialmente. Observe que a fonte não é chamada de terminus, mas sim uma abreviação ( /usr/share/fonts/X11/misc/ter-u12b_koi8-r.pcf.gz )

    
por AppAraat 03.10.2015 / 23:11

1 resposta

3

Por que não apenas apt-get install xfonts-terminus ?

As fontes Terminus já estão disponíveis pré-empacotadas para o Mint, veja xfonts-terminus

    
por 04.10.2015 / 00:47