Ideal screen rotation
nicola.mfb at gmail.com
Sat Nov 7 15:52:47 CET 2009
On Sat, Nov 7, 2009 at 3:33 PM, Neil Jerram <neiljerram at googlemail.com> wrote:
> I don't think the launcher itself can do it, because it doesn't know
> when the app gets mapped to the foreground. Some apps take so long to
> appear that you can switch to several other screens and write a short
> program while waiting for them :-) I wouldn't want the launcher to
> spuriously change the orientation of those existing screens.
> What is an ewmh helper?
I mean an helper app that listen via EWMH for client stacking list
changes and/or current active win id changes, so when a Window is
showed it takes the ID and query for properties, if rotation
preferences is found rotate the screen or set autorotation.
If not it has to determine the .destkop file that originated the
Window, search for the rotation properties, than if possible it may
set those for the window or cache them internally for the next
> Well the .desktop file can have StartupWMClass, and I think the idea
> is that that is sufficient to identify the resulting window.
Oh! I noted that property, just curious if it is safe, software set
that properties widely and in a good way, no duplication or weird
I may use that to show the icon of the .desktop file instead of the
window property icon in my app switcher too ;)
More information about the community