Made a free macOS menu bar app that fixes typing in the wrong keyboard layout
Posted by tal_alfi 6 hours ago
Comments
Comment by tal_alfi 6 hours ago
Comment by PinkaDunka 2 hours ago
Considering half of the time layout switch somehow does not do anything on the first press.
Comment by indrora 2 hours ago
The most minor of things, but I now can't unsee it.
Comment by rekoil 3 hours ago
Tried it and it seems to work for the most part, but one app where it would be really helpful to me is Ghostty.app, specifically the quick-terminal, and it seems that it doesn't currently handle that, which is unfortunate.
Comment by holistio 5 hours ago
So I guess I'm pretty much the perfect audience here.
Every time I code I get mildly enraged by having typed é or ö instead of a semicolon.
Will definitely give this a go.
I really like the (lack of a) business model, too, I hope some people will appreciate your efforts. This was probably my favourite bit. All these small apps that somehow need to figure out an extra feature just so that they can upsell. I get it, but it's still annoying.
This ones gives off the goold old vibes of "I scratched my own itch and I'm sharing".
Appreciate it!
Comment by rock_artist 5 hours ago
Comment by throw-the-towel 24 minutes ago
Comment by holistio 3 hours ago
I do ctrl-space a lot, but very rarely use the long press feature, mainly because depending on the active keyboard, the numbers to press are different and it hinders me from being able to type blindly.
Edit: I adore papanași.
Comment by jhartikainen 4 hours ago
Comment by fortran77 28 minutes ago
On Windows, there's a setting under "Advanced keyboard settings” called “Let me use a different input method for each app window.”
I can keep this turned on and if I'm writing a document in Word in עברית and I have my broswer open in English, I can switch back and forth and not have to hit WIN+SPACE to swap lanaguages.
Comment by cyberax 2 hours ago
It works well for EN->RU, but not really for EN->CN (or RU->CN).
Comment by Scoundreller 5 hours ago
I acquired a keyboard for a language I’m learning and was disappointed that I couldn’t physically switch my hands between keyboards to use the other’s layout. I thought the computer would be smarter, mais non.
Comment by netsharc 5 hours ago
So you'd have a button for each keyboard layout, and you'd just have to form the habit of smashing the key for e.g. Russian before typing a message in Russian.
For a more complicated solution, I suppose it'd be possible to detect which USB device sent a signal, and use this to detect which keyboard you're using. Maybe there'd need to be a workaround, like hitting Caps Lock on and off so the app has time to react and change the OS keyboard layout, before you type.
Comment by notpushkin 38 minutes ago
If you really want a dedicated keyboard though yeah, would be a bit harder but might be possible to do something with Karabiner as well. The device_if condition might work here: https://karabiner-elements.pqrs.org/docs/json/complex-modifi...
Edit: this might work but I haven’t tried:
{
"manipulators": [
{
"type": "basic",
"from": {
"any": "key_code",
"modifiers": { "optional": ["any"] }
},
"to": [
{ "select_input_source": { "language": "^ja$" } },
{ "from_event": true }
],
"conditions": [
{
"type": "device_if",
"identifiers": [{ "vendor_id": 1111, "product_id": 2222 }]
}
]
}
]
}Comment by Deathmax 2 hours ago
Comment by josefrichter 4 hours ago
Comment by yreg 2 hours ago
Can we get per-team Slack support?
And an option to set the layout for all the Xcode versions, including the ones that will be installed in the future (using https://xcodes.app/)
Also, it doesn't seem to work with iTerm2 for me.
Comment by bellowsgulch 4 hours ago
So many times do I want live subtitles in multiple languages, at least two, simultaneously. Or vision capabilities to view something without translating a whole block of a UI or a webpage so I can read through missing intermediate to advanced vocabulary or typically native turns of phrase.
Language support basically everywhere feels like it's implemented by Americans who can't speak anything else besides English, and look at products as things that only monolingual users use.
Single-layout physical keyboards, etc.
Comment by _-_-__-_-_- 5 hours ago
Comment by yreg 2 hours ago
Comment by wetpaws 2 hours ago