flozz / nautilus-terminal

A terminal embedded in Nautilus, the GNOME's file browser
GNU General Public License v3.0
323 stars 24 forks source link

My terminal has spaces in it #74

Closed raffaem closed 2 years ago

raffaem commented 2 years ago

Bug description

My terminal has spaces in it:

image

What happened

There are spaces between the letters

What was expected

No space should be between letters

Step to reproduce

Open nautilus, but before it was ok, from some time now it is like this.

I don't know the cause.

System information

$ python3 -m nautilus_terminal --print-debug

NAUTILUS TERMINAL
=================
Version: 4.0.3
System-wide extension: Installed
Current user extension: Installed
Installation path: /usr/local/lib/python3.10/site-packages/nautilus_terminal

OPERATING SYSTEM
================
OS: Linux
Platform: Linux-5.15.6-200.fc35.x86_64-x86_64-with-glibc2.34
Version: #1 SMP Wed Dec 1 13:41:10 UTC 2021
Distribution issue: \S
Kernel \r on an \m (\l)

PYTHON
======
Python version: 3.10.0

SYSTEM DEPENDENCIES
===================
Nautilus Python: Installed
GLib schemas compiler: Installed
flozz commented 2 years ago

Hello,

This is not a Nautilus Terminal bug: it is the normal way VTE displays text when a non-monospaced font is selected.

For example, here I selected "Noto Mono 12" font: Capture d’écran de 2021-12-16 12-43-06

And here "Noto 12": Capture d’écran de 2021-12-16 12-43-21

Please check the font you may configured:

dconf-editor org.flozz.nautilus-terminal custom-font

Capture d’écran de 2021-12-16 12-45-33

flozz commented 2 years ago

NOTE: If it used to work before, maybe the configured font is no more available on your machine and it may fallback on a non-monospaced font

raffaem commented 2 years ago

Yeah that fixed the issue thanks.

But why the default value of that parameter is empty?

flozz commented 2 years ago

When it is empty, it takes the default configured font of the system. This can be configured using GNOME Tweaks tool:

gnome-tweaks

image

raffaem commented 2 years ago

Thanks.