-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weasel input method does not work as expected #892
Comments
Do you use |
Some don't ask for elevation, e.g., https://github.com/rime/weasel |
See issue #801, you will find also a reference about Rime. Please close this issue if it cleared your doubt, we're trying to avoid any duplicate. |
Why not release an app template? |
But my situation is IM is installed inside sandbox, not in host. |
Not all programs can be installed inside the sandbox, also please provide the steps you tried in order to allow me to reproduce your issue (screenshots or videos would also help, especially about the installer part in chinese).
Not everybody has the same user, so I think it's easier to write this at the bottom of the ini file:
or just copying the OpenPipePath line to the sandbox. EDIT:
|
Dear @isaak654, Tmpl.Title=Weasel (Rime)
Tmpl.Class=Local
OpenPipePath=\Device\NamedPipe\%user%\WeaselNamedPipe
ReadFilePath=%localappdata%\Microsoft\Windows\Fonts A simple way to probe rime would be checking the existence of |
Here it is a list of Scan methods: Sandboxie/Sandboxie/apps/control/ThirdPartyDialog.cpp Lines 866 to 896 in 9ac72fc
So you may want to test:
or
Further examples are available in Templates.ini. |
Tmpl.Scan=s
Tmpl.ScanKey=\REGISTRY\USER\%sid%\Software\Rime\Weasel
Edit: I just checked the code and obviously this will not work since the ScanKey does not expand the variable. |
If no other Scan options can be applied for this template, you could open a new feature request and in the meantime open a new pull request with the suggested template. If anyone wants to know how to check the template detection in App Compatibility:
|
Since Weasel does not create a key in HKLM (which hindered the key scan cuz it's not easy to access HKCU with [Template_Weasel]
Tmpl.Title=Weasel (Rime)
Tmpl.Class=Desktop
Tmpl.Scan=s
Tmpl.ScanKey=\REGISTRY\MACHINE\SOFTWARE\Classes\CLSID\{A3F4CDED-B1E9-41EE-9CA6-7B4D0DE6CB0A}
OpenPipePath=\Device\NamedPipe\%user%\WeaselNamedPipe
ReadFilePath=%localappdata%\Microsoft\Windows\Fonts I used the same technique found in the 7z template, since I can't get Sandboxie/Sandboxie/install/Templates.ini Lines 2810 to 2817 in 7fc005f
Since it's a relatively small change, would you please commit this directly, or should I open a PR for it? |
Add a Tmpl.Url reference and improve Tmpl.Title in the Weasel template.
Installed an input method inside a sandbox, but can't input another language.
The text was updated successfully, but these errors were encountered: