ZhaoChi Posted January 16, 2022 Share Posted January 16, 2022 Alfred version: 4.6.1 macOS: 12.1 Like the figure showed, there is only one input method Squirrel in my computer. But here Alfred shows two. Other app showed the correct result. Link to comment
vitor Posted January 16, 2022 Share Posted January 16, 2022 Welcome to the forum. It helps if you explain where “Squirrel” comes from. Is this it? https://github.com/rime/squirrel Link to comment
ZhaoChi Posted January 16, 2022 Author Share Posted January 16, 2022 28 minutes ago, vitor said: Welcome to the forum. It helps if you explain where “Squirrel” comes from. Is this it? https://github.com/rime/squirrel Yes, it’s. Link to comment
Andrew Posted January 18, 2022 Share Posted January 18, 2022 Alfred uses a standard API call to get the list of available keyboard layouts, and this is provided to the user as-is (without processing or de-duping). It's unlikely I'll be making any changes to Alfred's code to process the list of inputs provided by Apple, as this is working with all 1st party, and other 3rd party keyboard layouts. Could you have perhaps installed the layout twice? Link to comment
ZhaoChi Posted January 18, 2022 Author Share Posted January 18, 2022 24 minutes ago, Andrew said: Could you have perhaps installed the layout twice? When I install the new one, I already remove the old one by following the instruction provided by Squirrel. Maybe you can tell me how to call the apple api to get such list? I use https://github.com/Lutzifer/keyboardSwitcherto get the list. It shows the correct result. Link to comment
Andrew Posted January 18, 2022 Share Posted January 18, 2022 @ZhaoChi Alfred uses the same method as the link you posted, the only difference is KeyboardSwitcher checks if the input source is marked as "enabled". As far as I can tell, there is no simple way of marking an input source as disabled in macOS (unless I'm looking in the wrong place). As Alfred is showing all input sources, it looks like you still have the old Squirrel installed and perhaps just marked it as disabled. How did you remove the old Squirrel? Could you provide a link to the instructions you're referring to? Link to comment
ZhaoChi Posted January 18, 2022 Author Share Posted January 18, 2022 5 hours ago, Andrew said: @ZhaoChi Alfred uses the same method as the link you posted, the only difference is KeyboardSwitcher checks if the input source is marked as "enabled". As far as I can tell, there is no simple way of marking an input source as disabled in macOS (unless I'm looking in the wrong place). As Alfred is showing all input sources, it looks like you still have the old Squirrel installed and perhaps just marked it as disabled. How did you remove the old Squirrel? Could you provide a link to the instructions you're referring to? Hi, Andrew. I followed the instruction from official wiki. https://github.com/rime/home/wiki/FAQ Unfortunately, it was in Chinese. 1. remove squirrel here. 2. remove Squirrel.app here. 3. rm -rf ~/Library/Rime Link to comment
ZhaoChi Posted January 18, 2022 Author Share Posted January 18, 2022 I also try to re-install squirrel by brew & pkg installer. They both show the same result(two squirrel in the list). Link to comment
Andrew Posted January 19, 2022 Share Posted January 19, 2022 @ZhaoChi have you contacted the people who create Squirrel to ask them how to properly remove it? Link to comment
ZhaoChi Posted January 19, 2022 Author Share Posted January 19, 2022 2 hours ago, Andrew said: @ZhaoChi have you contacted the people who create Squirrel to ask them how to properly remove it? Of course, https://github.com/rime/home/issues/59 the same step as official. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now