You are not logged in.
Pages: 1
Hello. I like having Google Hangouts in my second monitor, regardless of what workspace I'm in.
To this end, I've configured devilspie to run on startup; it sticks/pins the Google Hangouts window (via the GH extension) to the appropriate monitor.
However, it only works if I run devilspie AFTER Hangouts loads; while the actual GH window/app is launching it seems to ignore it completely. Every other application (Slack for Linux, Firefox) does what devilspie is configuring them to do - correctly, when I launch them.
So what I've resorted to doing is launching Hangouts; waiting for it to open; then killing/restarting devilspie.
Anyone understand what's going on here? Thanks!
My devilspie config:
( if
( begin
( is ( window_name ) "Google Hangouts" )
)
( begin
( pin )
( stick )
( geometry "812x1000+0+416" )
( println "match" )
)
)
Last edited by yochaigal (2016-06-28 17:36:28)
Offline
Perhaps the window name is changing during the startup and after devilspie has processed it. Try running devilspie in debug mode:
devilspie -d
...and see what it is recognizing when you start the extension.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Ah ha - this solved it for me. The window calls itself "Google Hangouts" at first, then after everything loads, changes its name. So I just set the application name to "google hangouts" and everything works!
So:
( if
( begin
( is ( application_name ) "Google Hangouts" )
)
( begin
( pin )
( stick )
( geometry "812x1000+0+416" )
( println "match" )
)
)
Thanks!
Last edited by yochaigal (2016-06-28 17:37:14)
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 520.45 KiB (Peak: 521.3 KiB) ]