Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

2 Answers

Use gdevilspie to match it, that actually works cross DEs

enter image description here

share|improve this answer
add comment

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

http://linux.die.net/man/1/emacs

Editing xfce menu entry example:

http://forum.xfce.org/viewtopic.php?pid=23486

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. –  sindikat 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 ;) –  TAFKA '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". –  TAFKA 'goldilocks' Oct 19 '12 at 11:59
    
can you incorporate that in the answer please? –  sindikat 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"? –  TAFKA 'goldilocks' Oct 20 '12 at 12:39
show 2 more comments

Your Answer

 
discard

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.