Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-04-15 07:40:05

knutselaar
Member
Registered: 2006-11-08
Posts: 5

How to turn all window decorations off?

Hello,
Coming from LXDE, where turning windows decorations on/off is very easy (via openbox config), I use Xfce now on a laptop and would like to turn all XFCE window decorations off, too (to save some space).

How can I do this?

Thanks!!

Offline

#2 2019-04-15 10:33:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,002

Re: How to turn all window decorations off?

Create an empty xfwm4 theme:

mkdir -p $HOME/.themes/empty/xfwm4/
touch $HOME/.themes/empty/xfwm4/themerc

...and select the "empty" theme in Settings Manager > Windows Manager.

If you need to toggle off and on the decorations, bind a script like this to a keyboard shortcut:

#!/bin/bash

REGULAR="Greybird"
EMPTY="empty"

CURRENT=$(xfconf-query -c xfwm4 -p /general/theme)

if [ "$CURRENT" == "$REGULAR" ]; then
	xfconf-query -c xfwm4 -p /general/theme -s "$EMPTY"
else
	xfconf-query -c xfwm4 -p /general/theme -s "$REGULAR"
fi

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2019-04-15 13:05:51

knutselaar
Member
Registered: 2006-11-08
Posts: 5

Re: How to turn all window decorations off?

ToZ wrote:

Create an empty xfwm4 theme:

mkdir -p $HOME/.themes/empty/xfwm4/
touch $HOME/.themes/empty/xfwm4/themerc

...and select the "empty" theme in Settings Manager > Windows Manager.

If you need to toggle off and on the decorations, bind a script like this to a keyboard shortcut:

#!/bin/bash

REGULAR="Greybird"
EMPTY="empty"

CURRENT=$(xfconf-query -c xfwm4 -p /general/theme)

if [ "$CURRENT" == "$REGULAR" ]; then
	xfconf-query -c xfwm4 -p /general/theme -s "$EMPTY"
else
	xfconf-query -c xfwm4 -p /general/theme -s "$REGULAR"
fi

ToZ, great... thanks!

Offline

Board footer

Powered by FluxBB