Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #403396
| From | owl <owl@rooftop.invalid> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: window grouping updates |
| Date | 2017-03-25 20:09 +0000 |
| Organization | O.W.L. |
| Message-ID | <hvjz003.b@rooftop.invalid> (permalink) |
| References | (6 earlier) <VcKdncubEcqsWkjFnZ2dnUU7-VWdnZ2d@giganews.com> <pakvuz003.by@rooftop.invalid> <dYSdnSZ3C9Tta0jFnZ2dnUU7-VudnZ2d@giganews.com> <shjvoz93.g@rooftop.invalid> <6MKdnfIhwIkw4kvFnZ2dnUU7-LmdnZ2d@giganews.com> |
Marek Novotny <marek.novotny@marspolar.com> wrote: > On 2017-03-25, owl <owl@rooftop.invalid> wrote: >> Marek Novotny <marek.novotny@marspolar.com> wrote: >>> On 2017-03-25, owl <owl@rooftop.invalid> wrote: >>>> Marek Novotny <marek.novotny@marspolar.com> wrote: >>>>> On 2017-03-25, owl <owl@rooftop.invalid> wrote: >>>>> >>>>>> As far as raising the leader window, it seems like the best approach >>>>>> is just to keep it on top, but both xprop and wmctrl approaches fail >>>>>> in the script, while an identical wmctrl approach works fine from the >>>>>> command line directly. xprop on the other hand shows that the property >>>>>> updates, but it seems to have no effect. I'll keep futzing with it, >>>>>> but it might be simpler just to right-click->Aways on top. >>>>> >>>>> Sounds like you're almost there. >>>> >>>> OK, found out some weirdness. The wid that is set by wish is actually >>>> a *child* window of the window I need. It works as the windowid for >>>> all intents and purposes except for this on-top setting. For that >>>> I need to get the parent id. Then wmctrl works, but only after the >>>> initial "Add Window". Oddly, trying to bypass that yields a *different* >>>> parent id. LOL. Even calling a dummy function fails. But now it will >>>> at least set the window to be "Always on top" without having to manually >>>> set it. Hopefully I'll stumble on a better way eventually. I just don't >>>> know enough about it yet. >>> >>> I'm always surprised by the knowledge of others. Consider posting this in >>> alt.os.linux. >>> >> >> Got the auto-setting of the "on-top" fixed now using a previous approach, >> but with the code repositioned. Trying it with various apps shows that >> a few don't obey the "Raise Window," but that's a matter for casual >> investigation later. I'm calling it 99.9% done at this point. I am >> still curious about that parent window thing, so I may put together >> some simple code that illustrates the point and ask around here and >> there as you suggested. Could be a bug in wmctrl. > > I have two books arriving today. Don't know how much flipping through > them I will be doing. These are Practical Programming in Tcl and Tk (4th > Edition) and Exploring Expect: A Tcl-based Toolkit for Automating > Interactive Programs (Nutshell Handbooks) I hope to spend a little time > with VimL book I just got last week and I got the new Practical Vim 2.0 > which covers Wim 8 in. > I've got that Expect book somewhere. As for vim scripting, there's also this for free (with hardcopy options from $20-$40): http://learnvimscriptthehardway.stevelosh.com/
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-24 14:58 +0000
Re: window grouping updates Marek Novotny <marek.novotny@marspolar.com> - 2017-03-24 10:48 -0500
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-24 18:40 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-24 11:55 -0700
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-25 01:03 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-24 18:15 -0700
Re: window grouping updates Tampon <letsplayfindthestring@bloody.net> - 2017-03-25 02:57 +0000
Re: window grouping updates Marek Novotny <marek.novotny@marspolar.com> - 2017-03-24 14:07 -0500
Re: window grouping updates Steve Carroll <fretwizzer@gmail.com> - 2017-03-24 12:14 -0700
Re: window grouping updates Steve Carroll <fretwizzer@gmail.com> - 2017-03-24 12:24 -0700
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-25 01:01 +0000
Re: window grouping updates Marek Novotny <marek.novotny@marspolar.com> - 2017-03-24 20:26 -0500
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-25 02:15 +0000
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-25 03:59 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-24 21:28 -0700
Re: window grouping updates Tampon <letsplayfindthestring@bloody.net> - 2017-03-25 04:32 +0000
Re: window grouping updates Marek Novotny <marek.novotny@marspolar.com> - 2017-03-24 23:47 -0500
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-25 08:06 +0000
Re: window grouping updates Marek Novotny <marek.novotny@marspolar.com> - 2017-03-25 09:33 -0500
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-25 20:09 +0000
Re: window grouping updates Marek Novotny <marek.novotny@marspolar.com> - 2017-03-25 15:14 -0500
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-25 10:47 -0700
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-25 20:12 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-25 13:33 -0700
Re: window grouping updates Peter Köhlmann <peter-koehlmann@t-online.de> - 2017-03-25 22:04 +0100
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-25 14:30 -0700
Re: window grouping updates Peter Köhlmann <peter-koehlmann@t-online.de> - 2017-03-25 22:48 +0100
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-25 15:12 -0700
Re: window grouping updates Peter Köhlmann <peter-koehlmann@t-online.de> - 2017-03-25 23:34 +0100
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-25 17:13 -0700
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-26 11:50 -0700
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-26 20:28 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-26 13:59 -0700
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-26 21:52 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-26 15:49 -0700
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-26 22:59 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-26 16:07 -0700
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-26 23:25 +0000
Re: window grouping updates Tampon <letsplayfindthestring@bloody.net> - 2017-03-26 23:35 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-26 16:38 -0700
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-26 16:43 -0700
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-26 19:16 -0700
Re: window grouping updates owl <owl@rooftop.invalid> - 2017-03-27 13:36 +0000
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-27 10:43 -0700
Re: window grouping updates Snit <usenet@gallopinginsanity.com> - 2017-03-24 10:38 -0700
csiph-web