You are not logged in.

#1 2022-04-15 12:51:04

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

[SOLVED]My XTerm don't change the font size

Hello, I tried to move from xfce4-terminal to XTerm, but when I configured the XTerm having xfce4-terminal installed the font changes normally, then I uninstalled xfce4-terminal the XTerm's font don't change anymore, only if I have xfce4-terminal installed the fonts back.

I'm using I3-GAPS if it matters.

Last edited by wolfito-sam (2022-04-15 16:18:49)

Offline

#2 2022-04-15 12:54:51

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

Re: [SOLVED]My XTerm don't change the font size

*how* are you trying to configure xterm and / or change the font?

How do you start X now with i3?  If you use startx / xinit, post your xinitrc.

Last edited by Trilby (2022-04-15 12:55:35)


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

Offline

#3 2022-04-15 13:01:43

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

Trilby wrote:

*how* are you trying to configure xterm and / or change the font?

How do you start X now with i3?  If you use startx / xinit, post your xinitrc.

with .Xresources file, and I write this:

xterm*Background:   black
xterm*Foreground:   white
xterm*cursorColor:  white
xterm*pointerShape: normal
xterm*pointerColor: white

XTerm.vt100.scrollBar:    false
XTerm.vt100.bellIsUrgent: true

XTerm.vt100.faceName: Monospace
XTerm.vt100.faceSize: 16

Everything I have configured works with exception of font

Offline

#4 2022-04-15 13:10:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

fc-match Monospace

Offline

#5 2022-04-15 13:11:35

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

seth wrote:
fc-match Monospace

NimbusMonoPS-Regular.otf: "Nimbus Mono PS" "Regular"

Offline

#6 2022-04-15 13:17:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

Is this w/ or w/o xfce4?

Offline

#7 2022-04-15 13:23:11

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

seth wrote:

Is this w/ or w/o xfce4?

without xfce4,

Offline

#8 2022-04-15 13:25:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

… and with?

Offline

#9 2022-04-15 13:25:32

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

Re: [SOLVED]My XTerm don't change the font size

Trilby wrote:

How do you start X now with i3?  If you use startx / xinit, post your xinitrc.

EDIT: perhaps this isn't so relevant if changing other settings in the Xresources works.

Last edited by Trilby (2022-04-15 13:26:29)


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

Offline

#10 2022-04-15 13:27:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

xrdb -q | grep face

Offline

#11 2022-04-15 13:28:27

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

seth wrote:

… and with?

only XTerm, but I had install transset-df for transparency.

but basically is only this. Is this you questioning about?

Offline

#12 2022-04-15 13:34:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

No… what font gets resolved w/ xfce4 installed.

Offline

#13 2022-04-15 13:40:27

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

seth wrote:

No… what font gets resolved w/ xfce4 installed.

You talking about xfce4 (wm) or the xfce4-terminal? I'm really confused...

Offline

#14 2022-04-15 13:45:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

I'm talking about the condition that's relevant to

having xfce4-terminal installed the font changes normally, then I uninstalled xfce4 the XTerm's font don't change anymore, only if I have xfce4 installed

Offline

#15 2022-04-15 13:50:23

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

seth wrote:

I'm talking about the condition that's relevant to

having xfce4-terminal installed the font changes normally, then I uninstalled xfce4 the XTerm's font don't change anymore, only if I have xfce4 installed

Well, in this case I don't what fonts the xfce4-terminal install/resolve when I install it.

Offline

#16 2022-04-15 13:52:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

The idea was that you reconstitute the benign condition and take a look…

Offline

#17 2022-04-15 14:22:50

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

Well I did a thing that "semi-solved" my problem:

well I installed xfce4-terminal again and I change some configurations in I3
I change the /usr/bin/i3-sensible-terminal file and i just write in file:

#!/usr/bin/env bash
exec xterm

well the xterm's font now works, but I actually want to remove xfce4-terminal...

Well if you have the same problem and want to solve like me, I don't recommend you because I change a critical file, only if you really know what you are doing.

Offline

#18 2022-04-15 14:30:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

That's not a "critical file" and maybe, just maybe - or perhaps, almost "myhaps" check what font now gets resolved.
If it's still "Nimbus Mono PS" my money would be on Trilby's first instinct and you're not actually loading the xrdb resources, but:
terminal draws vte3 draw gtk3 draws cantarell-fonts - and I still suspect the cause is that you dropped down to the aweful gsfonts… fonts.

Offline

#19 2022-04-15 16:35:35

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

It's solved!

The problem really was in the "i3-sensible-terminal" file

the normal file have something like this:

for terminal in "$TERMINAL" x-terminal-emulator mate-terminal gnome-terminal terminator xfce4-terminal urxvt rxvt termit Eterm aterm uxterm xterm roxterm termite lxterminal terminology st qterminal lilyterm tilix terminix konsole kitty guake tilda alacritty hyper; do
    if command -v "$terminal" > /dev/null 2>&1; then
        exec "$terminal" "$@"
    fi
done

i3-nagbar -m 'i3-sensible-terminal could not find a terminal emulator. Please install one.'

the file have something that removing some configuration of xterm
then when I have wrote only:

#!/usr/bin/env bash
exec xterm

xterm font works...

I noticed it when I try uninstall xfce4-terminal to check a thing
so sorry for anything wrong i did.

Last edited by wolfito-sam (2022-04-15 16:36:52)

Offline

#20 2022-04-15 16:38:20

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

So you most likely didn't run xterm (but urxvt? aterm? st?) at all.

Offline

#21 2022-04-15 16:50:01

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

Re: [SOLVED]My XTerm don't change the font size

I am once again baffled by why anyone anywhere would ever use "i3-sensible-terminal" on purpose ... more so when they have a specific terminal in mind that they want used.

Don't edit the i3-sensible-terminal script to exec xterm, as this change will be overwritten by the next upgrade.  Just use xterm in the first place if that's what you really want.

Last edited by Trilby (2022-04-15 16:50:47)


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

Offline

#22 2022-04-15 17:25:19

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

Trilby wrote:

I am once again baffled by why anyone anywhere would ever use "i3-sensible-terminal" on purpose ... more so when they have a specific terminal in mind that they want used.

Don't edit the i3-sensible-terminal script to exec xterm, as this change will be overwritten by the next upgrade.  Just use xterm in the first place if that's what you really want.

ok thanks for tip

Offline

#23 2022-04-15 17:27:35

wolfito-sam
Member
Registered: 2022-04-06
Posts: 25

Re: [SOLVED]My XTerm don't change the font size

seth wrote:

So you most likely didn't run xterm (but urxvt? aterm? st?) at all.

No, I used Super + Return to Open terminal

this shortcut open the "i3-sensible-terminal".

Offline

#24 2022-04-15 19:59:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: [SOLVED]My XTerm don't change the font size

Yes, but i3-sensible-terminal likely didn't run xterm but some other terminal emulator.
There's no other explanation as to why it would have "ignored" the xrdb settings.

Offline

Board footer

Powered by FluxBB