Both:
xdpyinfo | grep 'dimensions' | awk '{print$2}'
xrandr | grep '*' | awk '{print$2$3$4}'
Give me 1024x768 - which is what I'm guessing X is set at...
What I'm wanting to do is figure out if an apps is running fullscreen or not, no one seems to be able to give me an answer on that question so I'm trying to do it other way's...like get the currently 'in focus' window and get it's resolution. I then need to compare that to something to figure out if it's full screen or not...
Thanks for the responses.
Last edited by 3saul; 02-23-2006 at 04:50 PM.
|