Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: scripting i3 with Perl

by Corion (Patriarch)
on Feb 02, 2019 at 13:01 UTC ( [id://1229287]=note: print w/replies, xml ) Need Help??


in reply to Re^4: scripting i3 with Perl
in thread scripting i3 with Perl

So, the i3 API tells you that all is well. This sounds more like a problem with i3 to me. Maybe consider delaying the switching a bit. Set a timer (AnyEvent->timer(after => 3, sub {...}) and trigger the desktop switch from that timed callback instead of triggering it directly.

Replies are listed 'Best First'.
Re^6: scripting i3 with Perl
by morgon (Priest) on Feb 02, 2019 at 13:43 UTC
    Thanks for your input but if I have to resort to experimentation even for the most trivial cases, this is not for me.

    I'll do my i3 scripting in python then.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1229287]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found