<ifreund>
text-input isnt the same as wlr-virtual-keyboard, which is what would actually make sense to use for this IMO
<ifreund>
donio: the window manager decides which window has keyboard focus, it should be able to guarantee that the events are sent to the intended window
<ifreund>
theres a potential race I see currently, but we can add a synchronization request to the rwm protocol if that proves problematic in practice
<ifreund>
and just to avoid confusion, wtype is using the virtual keyboard protocol not text-input
twelve has quit [Remote host closed the connection]
Ireozar has quit [Ping timeout: 248 seconds]
Ireozar has joined #river
Szadek727 has quit [Quit: off]
Szadek727 has joined #river
Szadek727 has quit [Client Quit]
Szadek727 has joined #river
_whitelogger has joined #river
<leon-p>
huh, just looked at the virtual keyboard protocol and an unauthorized client attempting to bind the interface being a protocol error isn't great...
schneid3306 has quit [Quit: schneid3306]
Snetry has quit [Ping timeout: 260 seconds]
Snetry has joined #river
schneid3306 has joined #river
catman has quit [Ping timeout: 252 seconds]
catman has joined #river
<donio>
what makes a client authorized or unauthorized? do any of the compositors or compositor libraries ever return "unauthorized"?
<schneid3306>
i am using swayidle to suspend my pc if it is inactive for 30 minutes. i would like to avoid that if there is an ssh session. is there something in riverctl that i can call programatically to "reset" the idle timer? right now my script just restarts swayidle service, which isn't very clean
<leon-p>
schneid3306: instead of resetting the timer (not possible I think), why don't you write a script that checks for ssh connections before suspending?
<leon-p>
hmm, but that would mean it will never suspend after the connection is removed...
<schneid3306>
yup, was just typing that. :)
<leon-p>
you can kinda hack it: use swayifle to write some token ("idle", "not idle") to a file, than have a timer or cronjob run every X minutes checking for both that token and active connections before suspending
<leon-p>
not pretty but would work
<schneid3306>
yeah i think it is easier to just restart the systemd service via itself
<leon-p>
probably, yeah
Nickli has quit [Ping timeout: 268 seconds]
Nickli has joined #river
schneid3306 has quit [Quit: schneid3306]
fitrh has joined #river
stib has joined #river
stib has quit [Client Quit]
stib has joined #river
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #river
stib has quit [Quit: Client closed]
fitrh has quit [Ping timeout: 272 seconds]
fitrh has joined #river
_whitelogger has joined #river
fitrh has quit [Remote host closed the connection]
fitrh has joined #river
d34db33f has joined #river
fitrh has quit [Remote host closed the connection]
flower_ has joined #river
Ireozar has quit [Read error: Connection reset by peer]
Ireozar has joined #river
Snetry has quit [Ping timeout: 260 seconds]
Snetry has joined #river
<pkap>
Isn't this what the idle inhibit protocol is made for?
twelve has joined #river
Ireozar has quit [Ping timeout: 252 seconds]
Ireozar has joined #river
deadcade has quit [Ping timeout: 276 seconds]
deadcade_ has joined #river
deadcade_ has quit [Remote host closed the connection]
deadcade has joined #river
Ireozar has quit [Ping timeout: 268 seconds]
deadcade has quit [Remote host closed the connection]
deadcade has joined #river
Ireozar has joined #river
twelve has quit [Remote host closed the connection]
Ireozar has quit [Ping timeout: 272 seconds]
Ireozar has joined #river
haliucinas has quit [Quit: .]
haliucinas has joined #river
<leon-p>
pkap: yes, but I am not aware of any existing program which inhibits idle when ssh connections exist
<leon-p>
also the protocol needs a surface to inhibit idle
<leon-p>
implementing window positioning rules in your WM just for some window to decide changing title after mapping is fine, so the window briefly appears where it shouldn't...
Ireozar has quit [Ping timeout: 276 seconds]
Ireozar has joined #river
flower_ has quit [Quit: Lost terminal]
d34db33f has quit [Ping timeout: 260 seconds]
d34db33f has joined #river
d34db33f has quit [Read error: Connection reset by peer]