News for hackers. Stuff that matters.
Re:Caps Lock Behaviour Disabled in Gnome by flipdot on Thursday September 28, 2023 @06:17PM (#37696619)
I find the Compose feature to be quite useful, so I used to have Compose key on Caps Lock on Linux. After I’ve switched back to Windows, I found WinCompose to be a pretty decent equivalent of Compose for Windows, and found out it can also override Caps Lock behaviour (though in about 1% of cases the default Windows Caps Lock behaviour breaks through for a brief moment) and reassign the Caps Lock function to some other, less frequent combination of keys. In my case pressing both Shifts at the same time acts as a Caps Lock toggle.
Re:Caps Lock Behaviour Disabled in Gnome by solardev on Thursday September 28, 2023 @06:39PM (#37696857)
What is a compose feature?
Re:Caps Lock Behaviour Disabled in Gnome by seabass-labrax on Thursday September 28, 2023 @06:55PM (#37697027)
It allows you to access more characters than would usually be accessible on the keyboard, such as diacritical marks and currency symbols.
Re:Caps Lock Behaviour Disabled in Gnome by solardev on Thursday September 28, 2023 @06:59PM (#37697061)
Thanks! Sounds like the opt key on Macs or the AltGr key on some international keyboards
Re:Caps Lock Behaviour Disabled in Gnome by Brian_K_White on Thursday September 28, 2023 @07:11PM (#37697166)
Just another form of shift key. Shift itself is a compose key.
Re:Caps Lock Behaviour Disabled in Gnome by jgtrosh on Thursday September 28, 2023 @07:16PM (#37697220)
Not really: shift must be used simultaneously and you only input a single key to be shifted, while compose takes a (“dead”?) sequence of inputs to be combined.
Re:Caps Lock Behaviour Disabled in Gnome by Brian_K_White on Thursday September 28, 2023 @07:34PM (#37697371)
yes really. it's all the same thing. shift is just a simpler and more common subset. you are getting a glyph by composing from more than one key. whether ypu can let go of the key to do them in serial is immaterial. anyone could have an accessability setup for instance that allows shift to require only a single physical keypress at a time. It would still be shift.
Re:Caps Lock Behaviour Disabled in Gnome by stvltvs on Thursday September 28, 2023 @09:49PM (#37698364)
How can I input ° for example with Shift?

It's "AltGr o o" but I haven't seen how to do it with Shift.

Re:Caps Lock Behaviour Disabled in Gnome by db48x on Friday September 29, 2023 @12:20AM (#37699233)
You’ve misunderstood. No one said that they were equivalent, only that there was no functional difference between them. They certainly allow you to access different characters, but whether you hold down shift and then type a “d” to input a capital “D” or you tap shift and then tap the “d” to get the same result is merely a software setting that you can toggle. The same is true for AltGr and compose keys. You can configure your OS to require them to be typed as chords or as dead keys, whichever you prefer.

See also the space–cadet keyboard (<https://en.wikipedia.org/wiki/Space-cadet_keyboard#/media/Fi...>), which had no fewer than seven such keys labeled control, meta, super, hyper, shift, front, and top.

Re:Caps Lock Behaviour Disabled in Gnome by Brian_K_White on Friday September 29, 2023 @04:36AM (#37700908)
It's immaterial if some key on some keyboard in some language happens to have a key that produces that glyph by composing with shift, or not.

If you asked how to type numbers, and I said "same way you type letters", that does not mean by typing "A" and wondering why it didn't produce "1".

The question was what is a compose key or what does compose key mean.

Shift is an example of a compose key that everyone is familar with, just no one calls it that. But everyone already understands what the shift key does. If you know what the shift key is and how to use it and what it does, then you know what a compose key is. It's that.

All the other possible compose keys just do exactly that same thing, just more of it for more and different glyphs and control codes.

Re:Caps Lock Behaviour Disabled in Gnome by jgtrosh on Saturday September 30, 2023 @03:55AM (#37713493)
I understand you mean compose as a generic term for a symbol modifier? But for the compose key, the word composition is used as a synonym of combination, and that of a set of symbols; which is not the case of shifting each symbol into a corresponding set.

I agree that ctrl/alt/meta/shift are somewhat synonymous, and all those+compose are just instances of modifier keys.

But this combination meaning is specifically what makes the compose-key distinction useful and clear.

Re:Caps Lock Behaviour Disabled in Gnome by Brian_K_White on Saturday September 30, 2023 @02:04PM (#37718063)
No not symbol modifier. Compose.

To get a particular glyph, or control code, you have to compose it out of multiple keypresses.

Some common examples happen to be modified versions of whatever glyph happens to be on a key, but that is just a subset, arranged that way for human sanity, humans would hate it if you had to press shift+g to get A, and really only in the latin languages whose writing even works that way. The glyphs could actually be anything, and outside of the latin languages they are. The poop emoji is not a modified form of any number or letter.

And it's not even just glyphs but any byte or byte sequence you want to produce. A single 0x01 byte is not a glyph, nor a modified form of any glyph, but you can still type it, and it's composed of the CTRL key and the A key.