You are not logged in.
Hello everyone.
As the title suggests, my problem is that I can't remove window decorations in Gnome 3.8. I can remove them for the default Adwaita theme, but I can't remove them from any other theme.
At this moment I am using Boje-Blue, I went into the /usr/share/themes/Boje-Blue/metacity-1/ folder and edited the appropriate xml file (like I do with Adwaita and it works just fine), but the theme apparently does not respect the settings in the file.
Anyone has any idea? I believe it's quite straightforward, and I don't believe I do something wrong, because Adwaita decorations work just fine.
Offline
I can remove them for the default Adwaita theme, but I can't remove them from any other theme.
That is because a lot of themes don't properly write it in. The Holo theme in the AUR doesn't do this as well. What you can do is take the Holo theme from my Holo git repo and the window themes will be undecorated for maximized windows.
The difference is in the metacity-theme3.xml. In the case of the Holo theme; I added :
<frame_style_set name="border_style_set">
<frame focus="yes" state="normal" resize="both" style="border_focused"/>
<frame focus="no" state="normal" resize="both" style="border_unfocused"/>
<frame focus="yes" state="maximized" style="borderless"/>
<frame focus="no" state="maximized" style="borderless"/>
<frame focus="yes" state="shaded" style="blank"/>
<frame focus="no" state="shaded" style="blank"/>
<frame focus="yes" state="maximized_and_shaded" style="blank"/>
<frame focus="no" state="maximized_and_shaded" style="blank"/>
</frame_style_set> <frame_style name="borderless" geometry="borderless">
<button function="close" state="normal"><draw_ops></draw_ops></button>
<button function="close" state="pressed"><draw_ops></draw_ops></button>
<button function="maximize" state="normal"><draw_ops></draw_ops></button>
<button function="maximize" state="pressed"><draw_ops></draw_ops></button>
<button function="minimize" state="normal"><draw_ops></draw_ops></button>
<button function="minimize" state="pressed"><draw_ops></draw_ops></button>
<button function="menu" state="normal"><draw_ops></draw_ops></button>
<button function="menu" state="pressed"><draw_ops></draw_ops></button>
<button function="shade" state="normal"><draw_ops></draw_ops></button>
<button function="shade" state="pressed"><draw_ops></draw_ops></button>
<button function="unshade" state="normal"><draw_ops></draw_ops></button>
<button function="unshade" state="pressed"><draw_ops></draw_ops></button>
<button function="above" state="normal"><draw_ops></draw_ops></button>
<button function="above" state="pressed"><draw_ops></draw_ops></button>
<button function="unabove" state="normal"><draw_ops></draw_ops></button>
<button function="unabove" state="pressed"><draw_ops></draw_ops></button>
<button function="stick" state="normal"><draw_ops></draw_ops></button>
<button function="stick" state="pressed"><draw_ops></draw_ops></button>
<button function="unstick" state="normal"><draw_ops></draw_ops></button>
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" >
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
<distance name="title_vertical_pad" value="0" />
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
<border name="title_border" left="0" right="0" top="0" bottom="0" />
</frame_geometry>Offline
Thanks for the reply!
I found out that if I edit the metacity3 xml by myself, and simply put zeroes on all properties inside the frame_geometry="max", AND put has_title="false", the theme displays as it should ![]()
Pity there is no automatic way through Mutter to do this ![]()
Offline
I found out that if I edit the metacity3 xml by myself, and simply put zeroes on all properties inside the frame_geometry="max", AND put has_title="false", the theme displays as it should
Interesting; does it remove the frame for epiphany and nautilus?
Offline
It just removes the decoration for fullscreen, nothing more, nothing less. Nautilus and Epiphany work as before.
Offline
It just removes the decoration for fullscreen, nothing more, nothing less. Nautilus and Epiphany work as before.
Does that mean Nautilus and Epiphany are un-decorated when maximized (or snapped)?
Offline