[openbox] theming: change win title height / menu title height

Mark Pustjens pustjens at dds.nl
Mon Jan 9 16:50:17 EST 2006


On Mon, 9 Jan 2006, Jonas J Linde wrote:

> And Iwan Gabovitch spoke unto the world. And said:
>> Hey there,
>> I was wondering what magic word(s) to put in the 'themerc' file to make
>> the menu title dissapear or the window title height change.
>> I found the file /usr/local/include/openbox/3.3/openbox/theme.h and the
>> from the lines 43/44
>>
>> "    gint title_height;		"
>> "    gint menu_title_height;	"
>>
>> I tried "window.active.title.height: 14" and "menu.title.height: 0", no
>> reaction. I did 'refresh/reconfigure' openbox.
>> I am sure there is a way to get some kind of order working to change
>> window/menu title sizes, just don't know how..
>> I'd be glad if there is hope for me being helped ;) my version is 3.3rc2
>
> Changing the font size and padding works. Eg.
>
>  padding.width: 0
>  window.active.label.text.font: Bitstream Vera Sans:pixelsize=0
>
> The menu bar doesn't disappear but it gets rather small (two pixels
> wide). I guess what you're after is to make all windows "undecorated"
> but I'm not sure how to do that except from the window menu.
>
> Cheers,
>

Another option would be to remove the window decorations. This has to be 
done for every window seperatly...

...unless you use an application like devilspie

Greetings



More information about the openbox mailing list