terça-feira, 23 de junho de 2009

Can I Turn a "Window" into Full Screen [Archive] - Ubuntu Forums

Can I Turn a "Window" into Full Screen [Archive] - Ubuntu Forums

View Full Version : Can I Turn a "Window" into Full Screen


Wyld
March 16th, 2008, 05:52 AM
What I'm after, is a way to force my window over everything else, remove its decorations, and set it at 0,0

I am running Neverwinter Nights, and have it working on one desktop whilst I can view IRC or the Web on the other desktop using twinview .. but without turning off the window decorations, I can't see the button bar on the bottom of the screen.

Any suggestions on how I can take control over the window?

Mark

kellemes
March 16th, 2008, 04:36 PM
Well.. your question inspired me to tackle this issue..
I'm not a Gnome-user myself so it may be I'm missing some more obvious solution here..
Anyway, using DevilsPie (http://burtonini.com/blog/computers/devilspie) I got the result you're asking..

sudo apt-get install devilspie
mkdir ~/.devilspie
vim ~/.devilspie/maximize.ds
In this file I have the following lines..
(if
(is (application_name) "Firefox")
(begin
(fullscreen)
)

This works for Firefox, it will cover the hole screen, obviously you need to replace "Firefox" with the name of the neverwinter-window.

A couple of links that got me going..
http://foosel.org/linux/devilspie
http://ubuntu-tutorials.com/2007/07/25/how-to-set-default-workspace-size-and-window-effects-in-gnome/

spupy
March 16th, 2008, 05:26 PM
Try this command:
wmctrl -r :SELECT: -b toggle,fullscreen
and the cursor turns into a plus, click the window with it.
The program called wmctrl is very powerful for managing windows.
I have no idea how will it get fullscreen-ed on gnome, i tested it on fluxbox.

x1a4
March 17th, 2008, 04:18 PM
I have no idea how will it get fullscreen-ed on gnome, i tested it on fluxbox.

It should. I just tested in AfterStep and XFCE and it works, so I see no reason why it wouldn't work with the Gnome's window manager.

Nenhum comentário: