You are not logged in.
Pages: 1
Hi
Is there a way to change the titlebar height?
The Window Mgr offers to change the font and size, but it does not change the height of the bar or the buttons (close, hide, maximize, etc.).
I tried fonts size like 24 pt but it ends up bleeding over the edges. Is there anything I can add to the theme rc files?
I'm using Xfce 4.6 Final.
Thanks
Rich
Offline
Hi budman,
I think it depends on the font size and on the size of the background image. Maybe you can check /usr/share/themes.
Offline
The title bar itself is dependent on the theme used and it is independent of XFCE. The setting you are looking for, should be in your Linux distribution desktop settings.
[img]http://img.userbars.pl/135/26800.png[/img]
Xubuntu 9.10
Offline
xfce's DPI settings change everything except title bar height.
from usr/share/themes:
style "frame_title" {
fg[NORMAL] = lighter (@fg_color)
}
Would really like this bug fixed. Are any temporary hax/ theme edits possible?
Thanks
Offline
The window manager (xfwm4) takes care of the title bar it is a set of pixmaps so the font size and/or gtk settings are irrelevant if you want a larger title bar you must use a different theme or tweak one your self, have a look in say /usr/share/themes/Crux/xfwm4 to see the general layout of the titlebar.
Offline
I'll post the same answer I posted on the Superuser site: https://superuser.com/a/1839862/117908.
1. Determine the theme you want to modify. It's the one you've selected in "Settings" > "Window Manager", tab "Style", setting "Theme".
2. Find the directory where that theme is stored. It's probably either ~/.themes/, ~/.local/share/themes/, or /usr/share/themes/. Open your terminal and cd to that directory.
3. Assuming that <theme_name> is the subdirectory that contains the theme you want to modify, in your terminal, command "cp -a <theme_name> <theme_name>_modified". (If the directory it's contained in is /usr/share/themes/, instead command "cp -a <theme_name> ~/.themes/<theme_name>_modified", so you don't have to use sudo.)
4. In the new directory <theme_name>_modified, there should be five files named title-N-active.xpm and five files named title-N-inactive.xpm, where N is a digit from 1 to 5. There should also be four files named top-left-active.xpm, top-right-active.xpm, top-left-inactive.xpm, and top-right-inactive.xpm. Open all these 14 files for editing. The contents of one of the files should look something like the following. (This example is taken from theme xfwm4-theme-pixa-master.)
/* XPM */
static char *title_1_active[] = {
"1 26 1 1 ",
". c #2878C8 s active_color_1",
".",
".",
".",
[20 identical lines omitted]
".",
".",
"."};
5. The number 26 on the third row means the height of the title bar in pixels. In each of the 14 files, change it to what you want the new title bar height to be. Also, in each of the 14 files, add or delete lines containing '".",' so as to keep the number of those lines equal to the new height in pixels. Save the edited files.
6. Open the settings editor "Settings" > "Window Manager", and go to tab "Style". The theme <theme_name>_modified should appear in the list widget of setting "Theme". Select it. Your modified theme should now become active, with the height of the title bar changed from that of the original theme.
Offline
This is a 15 year old thread! Talk about a necro bump.
Siduction
Debian Sid
Xfce 4.18
Offline
This was one of the pages I found while looking for an answer to the question. Since this page had no detailed answer, I thought that others googling about this problem might benefit from the solution.
Last edited by leisti (2024-04-22 04:04:12)
Offline
To change the title bar height, you'll need to modify the theme files. Look for the title-N-active.xpm files in your theme directory and adjust the height value to your preference, then select the modified theme in the Window Manager settings.
Offline
To change the title bar height, you'll need to modify the theme files. Look for the title-N-active.xpm files in your theme directory and adjust the height value to your preference, then select the modified theme in the Window Manager settings.
That is the gist of my answer above.
Offline
jiyahana wrote:To change the title bar height, you'll need to modify the theme files. Look for the title-N-active.xpm files in your theme directory and adjust the height value to your preference, then select the modified theme in the Window Manager settings.
That is the gist of my answer above.
Thanks mate
as someone who recently discovered and is exploring Xfce via Termux > proot distro > debian, this is really useful information today
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 563.2 KiB (Peak: 580.04 KiB) ]