l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2009 Mar 11 19:14

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] VMWare Linux client - how to notice screen resize?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] VMWare Linux client - how to notice screen resize?



On Tue, 2009-03-10 at 19:11 -0700, Bryan Richter wrote:
> At work, I'm using CentOS 5.2 running as a VMWare client on a Windows
> XP host. CentOS has Gnome running by default, which runs the window
> manager Metacity by default.
> 
> VMWare, like other virtual machine apps, provides a set of client-side
> functionality that allows things such as client-to-host copy/paste.
> The particular function I am interested in is the bit that handles the
> virtual machine's window being resized. When the window is resized,
> there's some magic that makes X realize it should resize its root
> window.
> 
> This all works. Metacity somehow catches wind of the resizing. When
> the X root window is resized, Metacity resizes all its workspaces. If
> it has to, it moves and resizes its own client windows so everything
> shows up on the resized X root window.
> 
> Of course, I want to be difficult. I don't like Gnome; I use the Ion3
> window manager. Ion3 does not, unfortunately, catch the same hint that
> Metacity catches.
> 
> I assume that the X server is sending some signal that Metacity
> catches. Does anybody have any clue what that signal is? If I can
> figure that out, I can hopefully patch Ion3 to handle it.
> 
> -- 
> Bryan Richter
> 
> 
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

I figure it's probably related to XRandR. Perhaps you can confirm that
by using XRandR to change the resolution of a real monitor running Ion3
and see whether the behavior is the same broken behavior or whether it
works there.

If you get the same broken behavior, you could look at
http://keithp.com/~keithp/talks/randr/randr/ which is an introduction to
XRandR. I didn't read through it, but I searched and found a statement
that may be relevant "Clients can select for RRScreenChange events to be
informed if certain properties of a screen have changed."

Let us know how this works out for you.

--Ken

-- 
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.