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


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

Re: window grouping updates

From Snit <usenet@gallopinginsanity.com>
Newsgroups comp.os.linux.advocacy
Subject Re: window grouping updates
Date 2017-03-26 13:59 -0700
Message-ID <D4FD79CA.97656%usenet@gallopinginsanity.com> (permalink)
References (8 earlier) <hjxzu003.bu4@rooftop.invalid> <D4FC2240.97418%usenet@gallopinginsanity.com> <lhjvu003ga.buu4h@rooftop.invalid> <D4FD5B7D.9763B%usenet@gallopinginsanity.com> <zhv03ba.y0b@rooftop.invalid>

Show all headers | View raw


On 3/26/17, 1:28 PM, in article zhv03ba.y0b@rooftop.invalid, "owl"
<owl@rooftop.invalid> wrote:

... 
>>> All is fixed now.  Tested with all the apps that would not raise,
>>> and they now raise.
>>> 
>>> Having been unable to get xdotool's windowraise command to work with
>>> anything, I had substituted a click on the windows to raise them.
>> 
>> Oh no, GUI scripting! :)
> 
> IKR.  But technically most of it is GUI scripting anyway.

Yeah, but not direct clicking. Anyway, was clearly just teasing.

>>> I went back to using windowraise, but after a doing windowactivate first,
>>> and now it works.  After some reading online, it seems that metacity (of
>>> which my window manager, marco, is a fork) does not allow a XRaiseWindow()
>>> call unless the window is active.  Why the click solution only worked part
>>> of the time is a mystery I won't worry about.
>>> 
>>> The other thing is I found out that my solution to keeping the leader window
>>> on top was unnecessary, and I can just put a "wm attributes . -topmost 1" in
>>> the leader script.  The neat part though is that method
>>> 
>>> I had used for that is applicable to refocusing the leader window after the
>>> windowactivate/ windowraise calls on the grouped windows.  So no work
>>> wasted.
>>> 
>>> Current source:
>> 
>> Ah, my client shows that as an attachment. I will look through it (not that
>> I will understand much of it I am sure).
> 
> I'll put it at the bottom here raw.

Thanks but as long as I notice the attachment it is easy to download. :)

From there I extracted it and macOS did give me a bit of hassle even looking
at the code in my text editor... it recognized it as a program from an
unknown source and I had to approve it.

>> Have a video of the current state of it running?
> 
> https://vid.me/3osc
> Those are all apps that refused to obey my orders earlier.

Oddly would not play in my browser -- even with my ad blocker off.
Downloaded and watched. Looks great.

>> Also, without even opening
>> the attachment, any tips on getting it to work? Will it work for pretty much
>> any desktop Linux environment?
> 
> It should work on any X11 setup, assuming you have installed the dependencies
> I mentioned earlier (bash, tcl/tk, xdotool, xwininfo, etc.).

Ah, yes... you noted that before but I had forgotten. Will make sure I have
those. Thanks. Anything in the "etc" category I need to know about (I can
look at your old post or likely even the code to figure it out but if you
have a list handy that would be easier).

>> If so I will play with it myself (perhaps not
>> today... will be running in and out quite a bit).
...


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