Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #403374

Re: window grouping updates

From Snit <usenet@gallopinginsanity.com>
Newsgroups comp.os.linux.advocacy
Subject Re: window grouping updates
Date 2017-03-25 10:47 -0700
Message-ID <D4FBFB50.973D1%usenet@gallopinginsanity.com> (permalink)
References (8 earlier) <ab80zb.3hur@rooftop.invalid> <VcKdncubEcqsWkjFnZ2dnUU7-VWdnZ2d@giganews.com> <pakvuz003.by@rooftop.invalid> <dYSdnSZ3C9Tta0jFnZ2dnUU7-VudnZ2d@giganews.com> <shjvoz93.g@rooftop.invalid>

Show all headers | View raw


On 3/25/17, 1:06 AM, in article shjvoz93.g@rooftop.invalid, "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 would be curious which ones do not work... wonder if there is a pattern.

> 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.
> 


-- 
Personal attacks from those who troll show their own insecurity. They cannot
use reason to show the message to be wrong so they try to feel somehow
superior by attacking the messenger.

They cling to their attacks and ignore the message time and time again.

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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