![]() |
sponsored links |
|
|
sponsored links
|
|
1
27th April 03:39
External User
Posts: 1
|
2007's twm is making the title bars twice as tall as they
should be, while 2006's twm makes them about right (with the same config files). Searches on Google and qa.mandriva.com found nothing relevant. I'm using straight twm, without KDE or Gnome. My screen resolution is 1600x1200, dpi between 100 and 120. I have TitleFont "9x15" in my .twmrc. In 2006, the title bar is an appropriate height, 20 pixels tall. However, in 2007, it is a hideously ugly and wasteful 40 pixels tall. Nothing else relevant in any config files has changed, and I can go back and forth between 2006 and 2007 to demonstrate the difference in behavior. The odd thing is another account with no ~/.twmrc file is about the same in 2006 and 2007. Any suggestions for forcing 2007's twm to refrain from bloating the title bar height? Thanks. -- Robert Riches spamtrap42@verizon.net (Yes, that is one of my email addresses.) |
|
|
|
3
27th April 03:40
External User
Posts: 1
|
Thank you for your attempt to help. Actually, I had been
hoping for something a bit more constructive. If I didn't want specific twm menu items, if I didn't want the function key definitions I have been using for nearly two decades, if I wanted nonsensical colors for window decoration, and if I wanted titlebars on xclock, xload, xcpustate, and xbiff, then I wouldn't have written a .twmrc file in the first place. It's not rocket science to deduce that the TitleFont assignment is probably what is triggering twm to bloat out the titlebars. I guess it's off to thumb through the source code. -- Robert Riches spamtrap42@verizon.net (Yes, that is one of my email addresses.) |
|
|
5
27th April 03:41
External User
Posts: 1
|
<snip>
Double checked font 9x15 per your suggestion, and it worked fine from both accounts. I already defaulted to 9x15 font for all xterms, so I was confident that was not the problem. The only difference in locale settings between the account that shows bloated titlebars and the account that does not show the problem is LC_COLLATE set to 'C'. Fiddling with $LOCALE stuff might be useful. Thanks for the idea. I suspect some of the code that differs between 2006's twm and 2007's twm (or maybe gtk if twm uses it) allows more vertical headroom for some fonts for the dots, circles, hats, squiggles and such that some European languages stick on top of some letters. (Firefox compiled with gtk2 has that problem, as I have griped about here before.) Thanks for the newsgroup suggestion. -- Robert Riches spamtrap42@verizon.net (Yes, that is one of my email addresses.) |
|
|
6
27th April 13:51
External User
Posts: 1
|
The LOCALE setting was the key. In Mandriva 2006, LC_CTYPE
is set to en_US, but in 2007 it it set to en_US.UTF-8. Getting rid of the ".UTF-8" suffix solves the problem and gets the titlebars back to normal height. For now, I put the modification of LC_CTYPE in my .cshrc file. If I find reason to be more precise and only apply that change when running twm, I can probably move the setting to my .Xclients file. Thanks for the help. -- Robert Riches spamtrap42@verizon.net (Yes, that is one of my email addresses.) |
|