Re: [i3] i3 swallows criteria

2014-09-29 Thread Sargrad, Dave

Hi Dave, 


Heuristic number one: If you have an issue with i3, and flash is involved, it 
is not an issue with i3. Can you show the problem with i3-sensible-terminal 
(specify which)? 

Also, judging from your email address and disclaimer, you are probably building 
some multimonitor drone control high precision WMD kill interface. Just for 
your information, i3 is really not suited for that. dwm is really more oriented 
towards those type of purposes. 

Cheers, 

Joep

Joep,

Thanks for your response.

Relative to your thought about flash...
I am not using flash not sure how you came up with that. I am using i3 4.8 
and trying to get it to swallow a firefox with a title spec. Having dug more, I 
do think that this may be an issue with firefox (rather than i3). I've tried 
the same with chromium-browser with greater success.

Relative to your second comment something about a WMD kill interface... 
Huh? 


-Original Message-
From: i3-discuss [mailto:i3-discuss-boun...@i3.zekjur.net] On Behalf Of 
i3-discuss-requ...@i3.zekjur.net
Sent: Monday, September 29, 2014 3:44 PM
To: i3-discuss@i3.zekjur.net
Subject: i3-discuss Digest, Vol 53, Issue 17

Send i3-discuss mailing list submissions to
i3-discuss@i3.zekjur.net

To subscribe or unsubscribe via the World Wide Web, visit
http://infra.in.zekjur.net/cgi-bin/mailman/listinfo/i3-discuss
or, via email, send a message with subject or body 'help' to
i3-discuss-requ...@i3.zekjur.net

You can reach the person managing the list at
i3-discuss-ow...@i3.zekjur.net

When replying, please edit your Subject line so it is more specific than Re: 
Contents of i3-discuss digest...


Today's Topics:

   1. i3 does not swallow title correctly (Sargrad, Dave)
   2. Re: i3 does not swallow title correctly (Sargrad, Dave)
   3. Re: i3 does not swallow title correctly (Joep van Delft)


--

Message: 1
Date: Mon, 29 Sep 2014 18:24:11 +
From: Sargrad, Dave dave.sarg...@saabsensis.com
To: i3-discuss@i3.zekjur.net i3-discuss@i3.zekjur.net
Subject: [i3] i3 does not swallow title correctly
Message-ID:
85ea6f68ac24da48b220ebea7a8c08b81b51a...@corpmail01.corp.sensis.com
Content-Type: text/plain; charset=utf-8

I3 swallows the following just fine
class: ^Firefox$

But it wont swallow title as follows (notice in this case I don’t use anchors 
since I want to match any title containing YouTube):
title: YouTube

I run firefox as follows
firefox -no-remote http://youtube.com


I've done other experiments with the title swallow spec, but I don’t have any 
luck getting i3 to swallow the title.

The complete swallows spec that I'm using is:
swallows: [
{title: YouTube}
],
-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-  

--

Message: 2
Date: Mon, 29 Sep 2014 18:36:40 +
From: Sargrad, Dave dave.sarg...@saabsensis.com
To: i3-discuss@i3.zekjur.net i3-discuss@i3.zekjur.net
Subject: Re: [i3] i3 does not swallow title correctly
Message-ID:
85ea6f68ac24da48b220ebea7a8c08b81b51a...@corpmail01.corp.sensis.com
Content-Type: text/plain; charset=utf-8

Xprop shows the following for the window that is not getting swallowed 
correctly:

WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
Initial state is Normal State.
bitmap id # to use for icon: 0x27b
bitmap id # of mask for icon: 0x27c
window id # of group leader: 0x201
WM_WINDOW_ROLE(STRING) = browser
XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 
0x0,  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_ICON(CARDINAL) =Icon (16 x 16):

  
âââ
  ââ
  ââ
 
  â
 âââ  â
 âââ  â
 âââ  â
 ââ
  
   âââ
   ââ

   ââ

Icon (32 x 32):

  

Re: [i3] i3 swallows criteria

2014-09-29 Thread Bigby James
On 09/29, Sargrad, Dave wrote:
 Relative to your thought about flash...
 I am not using flash not sure how you came up with that. I am using i3 4.8
 and trying to get it to swallow a firefox with a title spec. Having dug
 more, I do think that this may be an issue with firefox (rather than i3).
 I've tried the same with chromium-browser with greater success.

You're trying to control a Firefox instance titled YouTube. Assuming Flash was
involved wasn't much of a stretch.

You say you've tried this with Chromium with greater succcess, which is to say
incomplete success. What exactly are you trying to do? How has using Chromium
gotten you close to that than using Firefox? It's always wise to explain what
your end-goal is when asking someone for what you believe will be the answer.

-- 
A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams