6

Is there any way to setup XFce to set all windows to full screen by default, except for dialog windows and other windows that can only be small, in XFce?

Preferably this:

  • Does not cover XFce's panel.
  • Shows window decorations only for the dialogs and small windows, not for the full screen windows.

I tried switching to the Ratpoison window manager within XFce, but this made the XFce panel unusable and in the wrong place, and further did not give any special treatment for dialog windows.

Village
  • 5,035
  • 15
  • 50
  • 84

1 Answers1

0

Devil's Pie is perfect for this.

Arch package and Man page.

It lets you set detailed window matching rules, and then perform various actions. I use it to automatically move my email client to the left half of workspace 2 and my irc client to the right half to workspace 2.

If you want to set all normal windows to be maximized, you can do:

(if
  (wintype "normal")
  (maximize)
)

Replace maximize with fullscreen if that's what you really want. Or you could do:

(if
  (not 
    (wintype "dialog")
    (maximize)
  )
)

Or you can use xprop to get the exact window property and then use window_property to filter based on that. Basically you can do anything you want.