Hi Manuel,

On Sat, May 11, 2013 at 02:55:59PM +0200, Manuel Kasser wrote:
> > there should be ways, but nothing works without rules.
> Ok, then I'll do it with a rule. Your proposals gave me the idea of
> tracking the name of the client which would be sufficient. Thanks!
> 
> But I ran into another problem: using pcmanfm the name of the window is
> the name of the folder it is in, which would be completely sufficient to
> be used in a rule. Unfortunately this only works for pcmanfm-clients
> which aren't the first window of pcmanfm spawning, because the name is
> "pcmanfm" on startup and switches to the folder's name slightly later.

Did you ran a xprop on a started window? I guess it will have a class like
"pcmanfm" or so, that you can use to track all windows pcmanfm creates, and
a name the represents your current instance.

I guess you are starting your clients via a script - and that already knows
about the folder to start (as it gives it as argument to pcmanfm-client).
So you should be able to extract the portion that is used in the window
title and use that for your rule (coupled with class=pcmanfm).

Regards, Andre

-- 
Andre Klärner

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to