I'm on linux, it's working fine apart from some shenanigans with the window size and the media keys aren't integrated. Which isn't that surprising. I can use keyboard shortcuts as long as the program has focus, but not if it doesn't. Which also isn't that surprising.
My approach to solving this has been two headed, but both attempted paths have thus far failed. Option one:
I can open the program with a script:
Code: Select all
wine '/home/mint/.wine/drive_c/Program Files (x86)/MediaMonkey/MediaMonkey.exe
And assign this to a key. Investigation tells me that some programs enable functions like this:
Code: Select all
wine ~/.foobar2000/foobar2000.exe /playpause
Is this a possibility with mediamonkey? I have tried searching and guessing, but no success.
Option 2:
Using a send keys program with a script. And assigning the relevant hot key within mediamonkey. This fails because, I think, MediaMonkey will not accept send keys if the program is not focused.
I can probably do it with a script to give it focus, send the key then put the focus back where it came from. But that will make the screen flicker if I'm also in game or whatever.
Is there an option to enable mediamonkey to accept sendkey events when not focused? More on that
here.
Any help with the above, or other methods to get it it to work in linux much appreciated.
I'm in Mint Victoria Cinnamon if that matters.
I'm on linux, it's working fine apart from some shenanigans with the window size and the media keys aren't integrated. Which isn't that surprising. I can use keyboard shortcuts as long as the program has focus, but not if it doesn't. Which also isn't that surprising.
My approach to solving this has been two headed, but both attempted paths have thus far failed. Option one:
I can open the program with a script:
[code]wine '/home/mint/.wine/drive_c/Program Files (x86)/MediaMonkey/MediaMonkey.exe[/code]
And assign this to a key. Investigation tells me that some programs enable functions like this:
[code]wine ~/.foobar2000/foobar2000.exe /playpause[/code]
Is this a possibility with mediamonkey? I have tried searching and guessing, but no success.
Option 2:
Using a send keys program with a script. And assigning the relevant hot key within mediamonkey. This fails because, I think, MediaMonkey will not accept send keys if the program is not focused.
I can probably do it with a script to give it focus, send the key then put the focus back where it came from. But that will make the screen flicker if I'm also in game or whatever.
Is there an option to enable mediamonkey to accept sendkey events when not focused? More on that [url=https://github.com/jordansissel/xdotool/blob/master/xdotool.pod#sendevent-notes]here[/url].
Any help with the above, or other methods to get it it to work in linux much appreciated.
I'm in Mint Victoria Cinnamon if that matters.