You are not logged in.
Hi,
Could somebody, please, tell me how to set up a panel launcher so that the app is automatically started in fullscreen mode? Maybe I am dumb and it is dead simple, but I have read the docs and found no hint. BTW, the app I want to launch is Xterm with Midnight Commander started automatically (command line 'xterm -e mc').
Thanks!
Offline
wmctrl can do this
for maximized (what it looks like when you click the maximize button)
"xterm -e mc & sleep 1 && wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz"
for full screen (when you press Alt+F11)
"xterm -e mc & sleep 1 && wmctrl -r :ACTIVE: -b add,fullscreen"
Offline
TomE:
Thanks for the suggestion. However, is does not seem to work for me. I cut/pasted the command line you suggested for maximizing to a panel launcher. The xterm window comes up for a moment (*not* maximized as far as I can see) and is closed immediately :-( Any idea?
Offline
have you got wmctrl installed?
If you have try putting it in a script. and running the script from the launcher.
Offline
Will Xfce have this feature for its own later?
Xubuntu 6.10 "Edgy Eft" Xfce 4.4 beta 2 with ATI Radeon Mobility 9600
Offline
It doesn't work for me too
Xubuntu 6.10 "Edgy Eft" Xfce 4.4 beta 2 with ATI Radeon Mobility 9600
Offline
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 533.7 KiB (Peak: 534.55 KiB) ]