You are not logged in.

#1 2011-05-01 12:08:56

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

How to lose the window bars in Gnome 3?

I mainly use a amall screened netbook and I'd very much like to get rid of the window bars in Gnome3 as I find they use up too much space and I'd rather use the keyboard to close the open windows and move the windows.

I really don't know where to look, I can't make any sense of the theme's file in /usr/share/themes/Adwaita/...


[EDIT]
I'll answer myself, as it was fairly easy after all:

The file is divided in several parts, each with setting for maximized or non-maximized windows etc. To have maximized windows have no title bar add in the line starting with <frame_geometry name="max":

has_title="false"

You can also specify the size of the bar with

title_scale="xx-small"

Avaliable are x-small, small, large, x-large etc.

Last edited by barzam (2011-05-01 13:03:21)

Offline

#2 2011-05-03 14:45:30

arriagga
Member
From: Dominican Republic
Registered: 2010-04-01
Posts: 27

Re: How to lose the window bars in Gnome 3?

barzam wrote:

I mainly use a amall screened netbook and I'd very much like to get rid of the window bars in Gnome3 as I find they use up too much space and I'd rather use the keyboard to close the open windows and move the windows.

I really don't know where to look, I can't make any sense of the theme's file in /usr/share/themes/Adwaita/...


[EDIT]
I'll answer myself, as it was fairly easy after all:

The file is divided in several parts, each with setting for maximized or non-maximized windows etc. To have maximized windows have no title bar add in the line starting with <frame_geometry name="max":

has_title="false"

You can also specify the size of the bar with

title_scale="xx-small"

Avaliable are x-small, small, large, x-large etc.

could please tell me what is the name of the file to edit it,
thanks,

Offline

#3 2011-05-04 00:35:50

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,211

Re: How to lose the window bars in Gnome 3?

it is from metacity-theme-3.xml

the excerpt to modify is below:
<frame_geometry name="max" has_title="false"  parent="normal" rounded_top_left="false" rounded_top_right="false">
    <distance name="left_width" value="0" />
    <distance name="right_width" value="0" />
    <distance name="left_titlebar_edge" value="0"/>
    <distance name="right_titlebar_edge" value="0"/>
    <distance name="title_vertical_pad" value="0"/>
    <border name="title_border" left="10" right="10" top="1" bottom="1"/>
    <border name="button_border" left="0" right="0" top="0" bottom="3"/>
    <distance name="bottom_height" value="0" />
</frame_geometry>

etc etc...

Offline

Board footer

Powered by FluxBB