You are not logged in.

#1 2018-09-26 22:12:14

tesladodger
Member
Registered: 2018-09-26
Posts: 5

[SOLVED] Writting cursor out of place

The writing cursor is always a few spaces in front of where it actually writes:
First example

The output of archey3 is this, which I think is related:
Archey3 output
(Don't mind the resolution, I just wanted the image to be smaller)

I have no idea what's going on, since this happens on i3 and Xfce.
Thanks for the help, guys.

Last edited by tesladodger (2018-09-27 07:58:19)

Offline

#2 2018-09-26 22:28:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,839

Re: [SOLVED] Writting cursor out of place

Choose a monospace font. VIrtually no terminal can handle proportional fonts (and they suck when displaying tables etc. - or the archey3 output ;-)

Online

#3 2018-09-26 22:29:22

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] Writting cursor out of place

It looks to me like you aren't using a monospace font for the terminal.  Make sure you have a monospace font installed and see if that fixes the issue.

Offline

#4 2018-09-26 22:46:10

tesladodger
Member
Registered: 2018-09-26
Posts: 5

Re: [SOLVED] Writting cursor out of place

circleface wrote:

It looks to me like you aren't using a monospace font for the terminal.  Make sure you have a monospace font installed and see if that fixes the issue.

I'm using monospace regular

Offline

#5 2018-09-26 22:47:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,839

Re: [SOLVED] Writting cursor out of place

The font in the screenshot does not have a fxed width.

fc-match monospace

Online

#6 2018-09-26 22:53:06

tesladodger
Member
Registered: 2018-09-26
Posts: 5

Re: [SOLVED] Writting cursor out of place

seth wrote:

The font in the screenshot does not have a fxed width.

fc-match monospace

It outputs:
NotoSans-Regular.ttf: "Noto Sans" "Regular"

Offline

#7 2018-09-26 22:57:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,839

Re: [SOLVED] Writting cursor out of place

Well, that's not a monospace font…

fc-list :spacing=mono

If this list is empty: install some monospace font.
If it's not, I predict you are or have at some point been using the deepin desktop…

Online

#8 2018-09-26 23:10:47

tesladodger
Member
Registered: 2018-09-26
Posts: 5

Re: [SOLVED] Writting cursor out of place

I found this topic and the output now is:
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"

But it still shows the same formatting...

Offline

#9 2018-09-27 00:00:54

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] Writting cursor out of place

Did you configure the terminal to actually use the monospace font?

Offline

#10 2018-09-27 07:56:38

tesladodger
Member
Registered: 2018-09-26
Posts: 5

Re: [SOLVED] Writting cursor out of place

circleface wrote:

Did you configure the terminal to actually use the monospace font?

This time I did and after a reboot it worked. Still don't know what was happening smile
Thanks a lot for your replies

Offline

Board footer

Powered by FluxBB