Skip to content
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

Feature Request: automatic keyboard layout switch #371

NickolayStrahov opened this issue Jun 9, 2011 · 4 comments

Feature Request: automatic keyboard layout switch #371

NickolayStrahov opened this issue Jun 9, 2011 · 4 comments


Copy link

I have a problem: using two keyboard layouts on my computer spoils expirience of using Quicksilver. When I type some text in Russian and want to open some application I'm pressing a hotkey, starting to type and I see that the keyboard layout is still Russian and I can't open the Application I want. After that I switch the keyboard layout and re-type the name of appication I want. This process takes some time and attention. I don't know a solution, this question was discussed on some forums and people doesn't know the solution either.

I would be great if we have an option: "Use english layout as a default". It means when I press a Qucksilver hotkey - the layout automaticaly changes to english.

Copy link

+1, I've never been happy to find out i'm typing in Russian in Quicksilver.

Copy link

I hope this function is added to QuickSilver ASAP!
It's really irritating experience that I always have to switch the input language to English before I type some commands in QS.
I want QS to switch the input language to English by default whenever it gets focused.

Copy link

Here's a workaround -

Get the changeInput command line tool from:
(There's a link in red called 'ChangeInput (3.86 kB)' about a page down.)

Unzip it and put it in ~/Scripts/ (or wherever, but you'll need to change the following script to match though).

Save the following script in AppleScript Editor:

do shell script (POSIX path of (path to home folder)) & "Scripts/changeInput toggle U.S. British"
delay 0.5
tell application "System Events" to key code 49 using command down

(Change British and U.S. to the two languages you want to toggle. The first should be the one that makes QS work correctly. The "System Events" line presses ⌘space, my shortcut for QS. The delay 0.5 stops the Trigger shortcut interfering with the System Events key press.)

Put the script in QS's Catalog and make a Trigger for [script]⇥Run. I suggest changing QS's shortcut to something else, and telling System Events to key code that, then your regular QS shortcut can be the Trigger shortcut instead.

QS should now activate with the correct language, and revert back to your default on dismissal.

Copy link

ybian commented Jul 12, 2012

I submitted a pull request for this: #987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

6 participants