psc
unread,Aug 4, 2011, 12:02:25 AM8/4/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to xdotool-users
Hi,
I am trying to control Banshee (Media Player) with my voice using
kiku / xdotool. Banshee is open in the same desktop that my terminal
(xdotool.static).
When searching for "Banshee" (first startup) like this:
./xdotool.static search Banshee
Defaulting to search window name, class, and classname
67108865
67108876
67108931
Banshee is showing the song's title (after hitting play) in the window
title bar:
./xdotool.static search Banshee
Defaulting to search window name, class, and classname
67108865
67108876
67110432
67108931
Now my problem:
./xdotool.static search Banshee windowactivate
Defaulting to search window name, class, and classname
XGetWindowProperty[_NET_WM_DESKTOP] failed (code=1)
Same problem with --sync (only taking longer).
Adding --desktop 0 is working (returning only 1 ID):
./xdotool.static search --desktop 0 Banshee
Defaulting to search window name, class, and classname
67108931
But not very useful in my case, i cannot know on what desktop Banshee
or kiku will be open. Or cannot know what ID to use (sometimes the
first, sometimes the last)?
Any idea on how to work with this situation?
Thanks!