You are not logged in.
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
*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
*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: whiteXTerm.vt100.scrollBar: false
XTerm.vt100.bellIsUrgent: trueXTerm.vt100.faceName: Monospace
XTerm.vt100.faceSize: 16
Everything I have configured works with exception of font
Offline
fc-match MonospaceOffline
fc-match Monospace
NimbusMonoPS-Regular.otf: "Nimbus Mono PS" "Regular"
Offline
Is this w/ or w/o xfce4?
Offline
Is this w/ or w/o xfce4?
without xfce4,
Offline
… and with?
…
Offline
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
xrdb -q | grep faceOffline
… and with?
…
only XTerm, but I had install transset-df for transparency.
but basically is only this. Is this you questioning about?
Offline
No… what font gets resolved w/ xfce4 installed.
Offline
No… what font gets resolved w/ xfce4 installed.
You talking about xfce4 (wm) or the xfce4-terminal? I'm really confused...
Offline
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
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
The idea was that you reconstitute the benign condition and take a look…
Offline
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
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
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
donei3-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
So you most likely didn't run xterm (but urxvt? aterm? st?) at all.
Offline
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
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
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
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