7

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.

  • 1
    I haven't personally used this but maximus might have some fine grained configuration for that?: launchpad.net/maximus – jmunsch Dec 14 '14 at 2:04
  • If you wanted to try ratpoison, you could also try XMonad. It has modules including configurations for use with desktop elements that work out-of-the-box. The dialogs float, but have no decorations (by default, because as XMonad is more like a framework to build your own WM, anything is possible). – Leiaz Dec 17 '14 at 18:49
  • Might I ask how you managed to run ratpoison from within xfce? It doesn't offer a --replace argument which seems to be the supported way of replacing a wm. – Johan Apr 8 '15 at 7:25
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.