Email or username:

Password:

Forgot your password?
Niki Tonsky

Germans: we don’t use Y that much, so we swapped it with Z
Also Germans:

27 comments
Григорий Клюшников

хмм, вот никогда не задумывался, а в этих альтернативных латинских раскладках хоткеи работают по расположению кнопок в обычной qwerty или всё-таки вот как ты показываешь?

iliazeus

@grishka мне казалось, что альтернативные латинские раскладки должны вести себя в ОС и программах ровно так же, как и, к примеру, кириллические. Ctrl+V для вставки же, например, работает в ру-раскладке, хотя он в ней на самом деле Ctrl+М.

Но на опыте не знаю, надо проверять.

@nikitonsky

iliazeus

@grishka хм. Поставил себе французкий AZERTY как одну из раскладок, попробовал шорткаты - а они и правда другие! Не знал, что это так работает.

@nikitonsky

ldvsoft

@grishka @nikitonsky а смотря где реализована раскладка. Если на уровне клавиатуры то все переедет, а если на уровне ОС то всё нормально будет. А если смешать оба будет очень вкусно!

Vftdan

@ldvsoft
Даже на уровне приложения обычно и номер клавиши и результированный символ доступны в событии, так что разные приложения могут по-разному обрабатывать
@grishka @nikitonsky

Григорий Клюшников

Vftdan, если ты самостоятельно обрабатываешь хоткеи на уровне приложения, вместо того, чтобы доверить это операционной системе, то лучше вообще не занимайся графическими интерфейсами.

Vftdan

@grishka
Я сам и не пробовал конкретно хоткеи делать — обычные приложения я почти не пишу и буду с тулкитами, а не с ОС скорее всего работать, а для глобальных хоткеев мне пока sxhkd достаточно. Я просто с протоколом X11 немного работал и видел как выглядит событие клавиатуру с учётом раскладки и X Input Method.
@nikitonsky

Niki Tonsky

@grishka там странная штука, есть код клавиши (физической, чтобы условный ctrl+z работал в русской раскладке), если буква (чтобы одна клавиша набирала разные буквы, очевидно) и есть еще какой-то промежуточный слой как будто, потому что условный dvorak на маке вроде бы меняет положение шорткатов тоже

Martin Clausen

@nikitonsky Given the symbolism I have just scratched the Z off the key cap.

Carlo Zottmann

@nikitonsky This combo is rarely used. Germans, we're all engineers and never make mistakes

Source: I'm Gemran

Matthias Wiesmann

@nikitonsky Swiss French keyboard is the same, with more diacriticals, [] and {} end up in weird places. You get used to it, and I’m coding in C++/Swift.

Григорий Клюшников

Matthias, I'm still genuinely envious to people whose native language uses the Latin alphabet because they get to use just one keyboard layout for everything. Typing something in the wrong layout, realizing it, erasing it, switching the layout and typing it again is the frustration you'll never know.

Matthias Wiesmann

@grishka @nikitonsky technically I use an extended Swiss French keyboard that also does Greek letters: wiesmann.codiferes.net/wordpre but I used to also write in Japanese which has multiple scripts, so I get the pain.

DarthAloha

@grishka @thias And here I am over here complaining about not being able to copy and paste going between windows and a Mac.

top.ofthe.top

> > Typing something in the wrong layout, realizing it, erasing it, switching the layout and typing it again is the frustration you'll never know.

Blind typing leverages this problem, you always see what you are typing.

Thomas =:-)

@nikitonsky @siracusa in truth, when we swapped ctrl-z was still a looooong way off

Thomas Tempelmann

@nikitonsky That's a pet peeve of mine - when WYSIWYG systems (Mac, Windows) started adopting the Copy/Copy/Paste/Undo paradigm, a German system should have used ctrl-y instead of ctrl-z because the idea of the design was to have all the shortcuts close by the ctrl key. And I still modify the keymap on my Mac systems (with German kbd) so that I can undo with cmd-Y for that reason.

Niki Tonsky

@tempelorg yes, obviously. Russian layout has its quirks, too, I usually solve them by always buying English/US keyboards

Primo

@nikitonsky I'm baffled by the way you use the keyboard.
I was only one time more baffled by tje wqy someone used an input device, when the german textbook showed a kid hold a gamecube controller, supporting it from below with it's entire palm (unable to access any buttons or triggers) and used the other hand from above to manipulate all of the face buttons and the sticks, likely unable to hit z or R or L in a timely manner, and not without letti g go of the analog stick, the c-stick, start, A, B, X and Y.

Nadav🏳️‍🌈🇪🇺🇩🇪🇮🇱🎗️

@nikitonsky
That's odd indeed, but the least problematic thing about the German keyboard layout. More so are the locations of "special characters", ones that a software developer you use on very non special circumstances: `|/\[] {} to name a few.

schlaeps

@nikitonsky It’s a holdover from typewriters.

Григорий Клюшников

schlaeps, as are all keyboard layouts, as well as the staggered rows.

Go Up