Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-07-30 04:58:11

adisk
Member
Registered: 2012-02-13
Posts: 2

HowTo: Maximum space

HowTo maximumize space

  • close button - at top right

  • application menu - top left

  • title hidden for maximized window

ScreenShot
ScreenShot

Panel settings
Panel settings

Close button settings
Close button settings

Script close_active_window.sh

#!/bin/bash

WID=`xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)" | cut -d# -f2 | cut -d, -f1`

if [ $WID != 0x0 ]
then
    wmctrl -ic $WID
else
    xfce4-session-logout
fi

Requires:
- wmctrl (sudo apt-get install wmctrl)

Last edited by adisk (2013-07-30 05:14:24)

Offline

#2 2013-08-03 21:33:44

MountainDewManiac
Member
From: USA police-state welfare-state
Registered: 2013-03-24
Posts: 358

Re: HowTo: Maximum space

Interesting, and likely of use to some. Simple, too. Thanks for contributing!

Regards,
MDM

Offline

Board footer

Powered by FluxBB