You are not logged in.

#1 2021-05-21 14:39:02

Flemur
Member
Registered: 2012-05-24
Posts: 72

bold font in VTE terminals [SOLVED]

Solution: Thanks again to seth, set 'bold is bright' for some vte terminals, as per post in this thread:
https://bbs.archlinux.org/viewtopic.php … 8#p1974048

Hi -

I use bold fonts in terminals; packages vte3 and vte-common (both 0.64.1-1) have been, um, "improved" to disable bold fonts.
(e.g. https://bbs.archlinux.org/viewtopic.php?id=262543)

I had previously fixed that by installing earlier versions of vte* from aur (v 62, IIRC, and set to not update), then after some other updates that broke something (it was a while back and I don't recall what broke) and I had to go back to the current packages.

For some reason, mate-terminal can still display a bold font, but terminator and lxterminal (and others I tested) cannot, but mate-terminal requires the "mate-desktop" package, and I'd prefer to not use it.

Question(s): Why is mate-terminal different from other vte terminals and is there a way to trick other terminals into acting like mate-terminal?
Thanks!

FWIW:

# pacman -R vte3
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing vte3 breaks dependency 'vte3' required by lxterminal
:: removing vte3 breaks dependency 'vte3' required by mate-terminal
:: removing vte3 breaks dependency 'vte3' required by terminator

Last edited by Flemur (2021-05-21 16:32:14)


"If you do not change direction, you may end up where you are heading." -- L.T.

Offline

#2 2021-05-21 14:56:32

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: bold font in VTE terminals [SOLVED]

xfce4-terminal can also be set to a bold font or to that "Roboto Mono Medium" mentioned in that other thread. Doesn't this then mean the problem is in the terminal programs and not in vte3?

Last edited by Ropid (2021-05-21 14:56:46)

Offline

#3 2021-05-21 15:07:58

Flemur
Member
Registered: 2012-05-24
Posts: 72

Re: bold font in VTE terminals [SOLVED]

Ropid wrote:

xfce4-terminal can also be set to a bold font or to that "Roboto Mono Medium" mentioned in that other thread. Doesn't this then mean the problem is in the terminal programs and not in vte3?

Well, there's this about bold font being disabled:
https://gitlab.gnome.org/GNOME/vte/-/issues/323
And I've seen in other places that Ubuntu etc have patched the vte code to re-enable bold fonts.

But thanks for mentioning xfce4-terminal, which does indeed display a bold font; I'll use that and ditch mate-terminal since I already have the (not very many) required xfce4 parts installed for thunar.  Still curious about the other terminals, tho...


"If you do not change direction, you may end up where you are heading." -- L.T.

Offline

#4 2021-05-21 15:48:46

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

Re: bold font in VTE terminals [SOLVED]

https://gitlab.gnome.org/GNOME/vte/-/is … te_1006110

it will silently ignore bold fonts unless the "bold is bright" option is enabled

Unconditionally set or defaulted by the "good" VTE users?

Offline

#5 2021-05-21 16:29:10

Flemur
Member
Registered: 2012-05-24
Posts: 72

Re: bold font in VTE terminals [SOLVED]

seth wrote:

https://gitlab.gnome.org/GNOME/vte/-/is … te_1006110

it will silently ignore bold fonts unless the "bold is bright" option is enabled

Unconditionally set or defaulted by the "good" VTE users?

I hope so, but I dunno.  Anyway, for lxterminal and terminator, here are the hacks, er, system adjustments, to enable a bold font:

lxterminal:

~/.config/lxterminal/lxterminal.conf
disallowbold=false # already set, but no bold
boldbright=true    # change to true allows bold font.

terminator:

/usr/lib/python3.9/site-packages/terminatorlib/terminal.py
# = previous version.

     #  self.vte.set_allow_bold(self.config['allow_bold'])
        self.vte.set_allow_bold(True)

     #  if hasattr(self.vte, 'set_bold_is_bright'):
     #      self.vte.set_bold_is_bright(self.config['bold_is_bright'])
        self.vte.set_bold_is_bright(True)

"If you do not change direction, you may end up where you are heading." -- L.T.

Offline

Board footer

Powered by FluxBB