Jeff Rush wrote: > Greetings. I'm trying to get into using "eesh" although I'm not finding much > discussion of what neat things can be done with it. In my case, I'm trying > to > replace the [Maximize] button in my window title bar with an _A_EXEC that > runs > a script that uses eesh to resize and move a window to a specific spot on the > desktop. > > The reason is that I'm using Nvidia's TwinView feature where the LCD on my > laptop and an externally plugged in projector are mapped as views into > different parts of the same X screen. When I maximize a window now, it gets > spread across both displays, which isn't very useful. So I thought, cool, > eesh will let be cause a window to be placed at the particular spot that > makes > it visible on the projector. > > However, the script needs to know the 'current' window to manipulate. The > docs for eesh mention you can substitute "current" for the window id, but it > isn't recognized by eesh. Is there some punctuation I need to use here? > > I'm using E16 0.16.8.3 under Gentoo Linux. > > -Jeff > > > [EMAIL PROTECTED] ~ $ eesh help win_op > Enlightenment IPC Commands Help > ---------------------------------------- > win_op wop: Change a property of a specific window > ---------------------------------------- > Use "win_op <windowid> <property> <value>" to change the property of a window > You can use the "window_list" command to retrieve a list of available windows > You can use ? after most of these commands to receive the current > status of that flag > available win_op commands are: > <snip> > win_op <windowid> <move/size> <x> <y> > (you can use ? and ?? to retreive client and frame locations) > <windowid> may be substituted with "current" to use the current window > > [EMAIL PROTECTED] ~ $ eesh win_op current move ? ? > No windows matching current > The "current" or shorthand "*" window id targets only work when called from within e16 when activated via a border action or keybinding, but not when called via eesh. The "current" target worked with eesh in 0.16.7.x but this was more or less deliberately disabled somewhere along the line. I have committed a fix that makes the "current" target work with eesh again.
Thanks, /Kim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
