You are not logged in.

#1 2018-04-18 07:38:44

Caeruleas
Member
Registered: 2018-04-16
Posts: 26

Broken Terminal? [SOLVED]

Hi, I have installed Arch Linux before but decided to do a fresh install again while removing Windows, so Arch is the only OS on my computer. At first everything seemed exactly the same as before on my previous install, but when I opened my gnome-terminal, this shows:

https://imgur.com/a/vDAXl
I have even tried konsole (second image) and it's even worse.

I have no idea how to fix this. I suspect it's related to my graphic drivers?

Please help. (I'm still new to Arch Linux so please dumb down the commands for me smile)

Last edited by Caeruleas (2018-04-20 00:37:58)

Offline

#2 2018-04-18 07:47:23

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Broken Terminal? [SOLVED]

Install and configure a monospace font.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-04-18 08:09:16

Caeruleas
Member
Registered: 2018-04-16
Posts: 26

Re: Broken Terminal? [SOLVED]

https://imgur.com/a/6BTTK
As you can see, the current font is monospace and it is still the same as before. I tried changing the cell spacing but the text is still kinda unreadable.

Offline

#4 2018-04-18 09:09:52

radiomike
Member
Registered: 2013-12-19
Posts: 75

Re: Broken Terminal? [SOLVED]

As Slithery says, install and configure a monospace font.

You may have "monospace regular" selected. but, this is usually just an alias to the system configured font. If you don't have one installed and/or configured, then the next default font, based on your fontconfig rules will be selected. The font displayed in your terminal is clearly not a monospace one.

You can try

 fc-match monospace 

to see which font is being chosen.

Offline

#5 2018-04-18 11:38:02

Caeruleas
Member
Registered: 2018-04-16
Posts: 26

Re: Broken Terminal? [SOLVED]

Thank you so much for the help, looks like I just overcomplicated things. It turns out my default font was "Roboto" so I downloaded the "Hack" monospace font and applied it to the terminal. Now that I think about it, the problem wasn't that hard to fix tongue. Thanks again!

Offline

#6 2018-04-18 11:44:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Broken Terminal? [SOLVED]

The hack font will work for the terminal, but does `fc-match monospace` now return Hack?  If not, you'll still want to install a more general monospace font to avoid future issues.  I'd recommend installing `ttf-dejavu` as a good general purpose fallback font that will cover your bases well for future requirements of nearly any font face and/or symbol.  You don't need to explicitly select dejavu fonts in any configs, but just by being present on the system fontconfig will use it if/when needed as a fallback.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2018-04-18 11:51:52

Caeruleas
Member
Registered: 2018-04-16
Posts: 26

Re: Broken Terminal? [SOLVED]

Trilby wrote:

The hack font will work for the terminal, but does `fc-match monospace` now return Hack?  If not, you'll still want to install a more general monospace font to avoid future issues.  I'd recommend installing `ttf-dejavu` as a good general purpose fallback font that will cover your bases well for future requirements of nearly any font face and/or symbol.  You don't need to explicitly select dejavu fonts in any configs, but just by being present on the system fontconfig will use it if/when needed as a fallback.

Ah yes, I understand. The output for `fc-match monospace` gives `Hack-Regular.ttf: "Hack" "Regular"` but just in case I will download that extra font.
Thank you for the help!

Offline

Board footer

Powered by FluxBB