Then I think it should work, assuming your terminal actually has the window 
role "terminal".

Can you be more specific on how it doesn't work? Can you figure out if the 
command is run on the wrong window? Also, a log file would be helpful to see 
how the command is being executed. 

You probably also want to add --no-startup-id to the exec call. I doubt 
dbus-send does anything with startup notifications. 

Regards
Ingo 

Sent from TypeMail



On Sep 1, 2015, 17:19, at 17:19, Nokan Emiro <[email protected]> wrote:
>That's not a problem.  If the layout is once set for that particular
>window,  kbdd will
>take care of the focus changes and activate the proper layout if the
>focus
>moves.  All
>I want is to set the initial layout to US on the terminal windows and
>leave
>the other
>layout as the default for all the rest.
>
>
>On Tue, Sep 1, 2015 at 5:13 PM, Ingo Bürk <[email protected]> wrote:
>
>> For_window will only be run when the window is opened, not everytime
>it is
>> focused.
>>

Reply via email to