LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   xfce4-terminal funny geometry inconsistency (https://www.linuxquestions.org/questions/linux-desktop-74/xfce4-terminal-funny-geometry-inconsistency-4175676269/)

Skaperen 06-01-2020 06:14 AM

xfce4-terminal funny geometry inconsistency
 
my display is 1920x1080. my desktop font size is 14. i don't remember how i set this, by my Xfce4 is putting narrow headings on each window.

when i run xfce4-terminal and specify a geometry of 138x38. i get a terminal with a geometry of 137x36. this is with a font size of 17. but if i specify a geometry of 137x36 i get a terminal with a geometry of 136x35.

here is where the inconsistency happens: all my 22 users get that geometry change except ONE. the user name "forums", which i use to read online forums, like LQ, for a specified geometry of 138x38 gets a geometry of 137x37. so all but "forums" gets 36 rows and "forums" gets 37 rows.

i did some fast switching between users and all the pixels of the first 36 rows are in exactly the same positions. at the bottom is some blank space while user "forums" gets a 37th row. i can't find any differences between user settings. there must be something i have set on "forums" that would do this. any ideas what that could be?

i did screen captures of users "skaperen" and "forums" so you could see the difference. these are 1920x1080:

http://ipal.net/lq/20200601/20200601065810549875736.png
http://ipal.net/lq/20200601/20200601065834585852861.png

EdGr 06-01-2020 09:11 AM

The font in the panel is slightly different.
Ed

Skaperen 06-01-2020 02:51 PM

Quote:

Originally Posted by EdGr (Post 6129605)
The font in the panel is slightly different.
Ed

yes. i do know that. i was just trying to give enough info in case someone wanted to try to reproduce it or test a theory. the choice of font in the panel can affect how many pixels are available.

EdGr 06-01-2020 05:05 PM

Quote:

Originally Posted by Skaperen (Post 6129704)
yes. i do know that. i was just trying to give enough info in case someone wanted to try to reproduce it or test a theory. the choice of font in the panel can affect how many pixels are available.

The panel with the larger font is slightly taller, which means fewer vertical pixels for the terminal window and hence fewer rows.
Ed

Skaperen 06-01-2020 06:14 PM

Quote:

Originally Posted by EdGr (Post 6129737)
The panel with the larger font is slightly taller, which means fewer vertical pixels for the terminal window and hence fewer rows.
Ed

that would be right, if they were different. but they are both the same, 14. if 14 means something different in these two userids, then the question is why. try flipping between the 2 screenshots i provided and you tell me which is larger.

EdGr 06-01-2020 06:31 PM

Quote:

Originally Posted by Skaperen (Post 6129758)
that would be right, if they were different. but they are both the same, 14. if 14 means something different in these two userids, then the question is why. try flipping between the 2 screenshots i provided and you tell me which is larger.

No, the fonts are different sizes. The first PNG has a larger font and a taller panel.

If both were set to 14-point, then there must be a difference in the font rendering settings.
Ed

Skaperen 06-02-2020 03:20 PM

yes, that one does look different. i wonder if i captured them before setting everything back to 14 after i tried some changes. this time i added a 3rd user, the appearance >> font dialog, and tried, again. they look the same, now.

http://ipal.net/lq/20200602/20200602160539500491380.png
http://ipal.net/lq/20200602/20200602160624025243759.png
http://ipal.net/lq/20200602/20200602160653187541723.png

EdGr 06-02-2020 06:22 PM

The fonts look the same in all three. The third PNG has a shorter panel with a different background color. This may be a difference in the theme.
Ed

Skaperen 06-03-2020 09:44 PM

thanks. i'll look into that.

Skaperen 06-04-2020 01:32 AM

i can't find any setting that is different. but maybe i haven't checked all possible places for settings.

but there is another thing that is different, suggesting some kind of phantom theme going on. the titles underneath the desktop icons can extend to 2 or 3 (maybe more) lines, only on user "forums". the other users get only one line of title under the icon image. if their title has a \n in it, text totally stops as if something is doing multiple lines and something else only allows the first line to be seen. this was already reported in this thread.

i ran a checksum on common files of these 3 users looking for whatever is alike between "ka9wgn" and "skaperen" but is different than what "forums" has. i found one suspicious file that met that test. it is ~/.config/Trolltech.conf. i replaced to copy "forums" had to make them all the same and rebooted the system. the subtle differences are still there. "forums" still gets 37 rows.

i'm going to try copying files from "forums" to "ka9wgn" one at a time, if they are different after changing all instances of "forums" to "ka9wgn". these user names are the same length so changing the user names in files might work. everything is backed up this afternoon.

EdGr 06-04-2020 08:38 AM

At this point, help will most likely come from someone who runs xfce.

I know that Firefox does not follow the GTK theme very well. The Firefox icon in the system tray may be affecting the panel.
Ed

Skaperen 06-05-2020 06:42 PM

at first, i was thinking "that's a good thing to go check". then i remembered that my startup script (run first after boot up) never starts Firefox, but does autologin all these users, and starts terminals on each. i watch these terminals start and i do see "forums" gets 37 rows while the others get 36 rows. i'm curious about that color difference in the panel. i do remember that long long ago i was experimenting with panel colors. i thought i had set them back. now i wonder.

i need to learn more about what files hold what setting.

Skaperen 06-05-2020 11:42 PM

i found a difference.

in file '~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml' is a line that has '<property name="background-style" type="uint" value="0"/>'. but in user 'forums' it is '<property name="background-style" type="uint" value="1"/>'. logging out, changing it between 0 and 1 in all the users, makes a difference in whether the terminal gets 36 rows (with 0) or 37 rows (with 1). there is also another difference in the file that may make a difference in color. i'll go reset the panel color and see if that changes those differences.

yes, it does.

now i know what the issue really is. i thank you all, especially EdGr.


All times are GMT -5. The time now is 06:45 PM.