Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to make Xfce window manager to open certain applications fullscreen by default? For example i want Emacs in Xfce to be always run fullscreen on start. I know how to execute specifically Emacs fullscreen, so i want an Xfce solution.

I tried searching through Xfce wiki, Xfce page on Arch wiki and Unix.SE with AskUbuntu, no solution yet.

share|improve this question
up vote 3 down vote accepted

Use gdevilspie to match it, that actually works cross DEs

enter image description here

share|improve this answer

Looks to me like emacs has a --fullscreen switch, so just append that to the Exec for the menu entry.


Editing xfce menu entry example:


share|improve this answer
Your solution is helpful, but if i want to specify this from Xfce side, not from application side? I edited my question in accordance. – Mirzhan Irkegulov Oct 19 '12 at 7:48
@sindikat: From what I know of window managers, Xlib (I've done some programming in this area), and their relationship to applications, the window manager can't fullscreen something except by A) Using means supplied by the application, ie, --fullscreen, B) Doing something with the window geometry, however, that will not be the same as fullscreen mode (it will be window that fills the screen INCLUDING border and window). I'm very confused as to why you do not just want to do this in the normal way, actually; I think you are looking for a sort of illogical phantasm ;) – goldilocks Oct 19 '12 at 11:48
Basically: it is the application that provides fullscreen mode, not the wm. Notice that not all applications have such a mode. The wm can maximize a window, but it is not intended, eg, for you to say "start emacs in whatever mode, load some files, run this emacs script, etc" except in so far as the application provides invocation mechanisms to do this eg, "emacs --fullscreen --load=/some/file --run=/some/script". – goldilocks Oct 19 '12 at 11:59
can you incorporate that in the answer please? – Mirzhan Irkegulov Oct 19 '12 at 12:23
sindikat: I think you are confused and it is impossible for me to discern what exactly it is you don't understand (and what you want me to add). Basically my point was: the original answer IS the answer, there aren't any others. You use Xfce (or some other software, such as warl0ck suggests) to add the --fullscreen switch to emacs. That's it. That's all. There is no other way. Your distinction between "the Xfce side" and "the application side" is non-sensical. Besides editing an xfce menu entry as suggested, what exactly would count as "the xfce side"? – goldilocks Oct 20 '12 at 12:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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