Ctrl+\ not working using Wine
re: https://discussions.agilebits.com/discussion/comment/134505/#Comment_134505
I've just started experimenting with Linux (first time I've managed to successfully install it with no hardware driver issues. Yay Linux Mint!)
I noticed @khad's post that browser extensions could be made to work so I now have 1Password for Windows running under Wine. However, I can't seem to get the extension to recognise Ctrl+\. I can right click and select the 1Password option in the menu which then fills as normal. It's just the shortcut that isn't working.
Has anyone else running 1P in this way seen this problem, and if so, do you have a workaround?
Comments
-
CTRL+\ will not work in Wine. I'm sorry but it's not a bug.
0 -
Well, since it's an unsupported config, it's clearly not a bug! :p
I was hoping for a workaround. ;)From a technical point of view, why doesn't it work? It's Chrome so I expect the plugin interface to be reasonably common.
0 -
It's not a chrome issue: only the toolbar button and the context menu are part of the extension.
The CTRL-\ shortcut is a global shortcut intercepted by the 1Password application and Wine won't work with those.
You could use xdotool to send the key sequence to 1Password, put that in a script and bind a shortcut with your desktop environment to execute that script but this is quite advanced and I've never tried it.
0 -
Ah, interesting. I knew that there is a hook to handle Ctrl+\ when not in a browser window but I thought that the browser extensions were picking it up directly from a keypress event handler in the extension api.
I'll have a play with xdotool and see what I can get working.
0 -
For anyone interested, setup a global hotkey for Ctrl+\ to run a script containing the following:
xdotool search --name "1Password Agent" keydown Control_L+backslash
This works in the browser (only tested on Chrome) but I can't seem to get it to work anywhere else.
0 -
I'm surprised it works at all... I thought WINE didn't allowed Windows apps to query running applications. Thanks for sharing !
0 -
This is really good to know. Thanks indeed, @RichardPayne!
0 -
Is Ctrl+\ still working for you ? I have 1Password working under Chrome for Linux, using wine, and it works fine.
The only exception is the Ctrl+\ shortcut not working. I tried the xdotool trick but it never worked for me.Is there any other trick needed ?
0 -
@andrelop it's really hit and miss. Sometimes it works, sometimes not. I've given up on it in all honesty.
0