Hacker News new | past | comments | ask | show | jobs | submit login
WinCompose – A Compose Key for Windows (github.com/samhocevar)
228 points by mkotowski on Aug 13, 2021 | hide | past | favorite | 134 comments



Total aside but I never knew about the `kbd` HTML tag used for the key sequence renderings in the readme.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kb...


Oh! I always thought they were specific to SuperUser.com


I'm a big fan of the compose key, both for its universality and intuitive "syntax". For many years I endured the pain of a dual French/US keyboard layout (one for writing, the other for coding), until a coworker showed me the special Option-key shortcuts you can use on a Mac to make French accents, and then finally I settled on the nice and intuitive Compose Key support offered natively by Ubuntu: https://help.ubuntu.com/community/ComposeKey


On Linux/xorg I use the qwerty international layout and a dead compose key for the rarely used symbols.

Example: é is "altgr+e", ç is "altgr+", while Ω is "right-ctrl, shift+w" and ⁶ is "right-ctrl,^,6" etc.

You can do it all with the compose key. But for typing in french I find altgr+e to be faster than "rightctrl,',e".


The difference is if you don’t use these characters a lot, compose+accent, letter is a lot easier to remember than altgr+random key.

Especially when it’s not printed on your keyboard.


I was trying to make a grave accent, opposite direction to an acute, on Win10 - everything I tried seemed to make acute accents ... how do I, please?


Windows uses what they call "alt codes," where you hold down the alt key and type a numerical code on your numeric keypad. You can find them with a search: here's one site:

https://sites.psu.edu/symbolcodes/windows/codealt/

Note that you can't just do an accent and apply it to any character (like compose). You have to put in the code for the accented character.


Yes, I thought there had to be a grave accent method like altgr+e makes é, say altgr+ee makes è (it's easy on a touchscreen phone keyboard!).


If you have a 105 key (EU, tall return) layout, consider changing to a layout with the ` as dead key. For example, the Irish layout is pretty much just the UK layout with dead key functionality + euro sign. `e will then type è while AltGr+e will type é.

If you have a 104 key (US, wide return) keyboard layout, you can try the US international layout. In that case, shift-~ will get you ` and you can use the same compose rules as above.


nowadays the easiest way is to google the character by its name and add "unicode", then copy-paste, unless you do it a lot.

e.g. "a acute unicode" yields https://www.compart.com/en/unicode/U+00E1


That's not really easy...


Never said it’s easy ;) just the easiest…


Depending on your layout (I guess?) it's more easier to just type ´ (or any other dead key) and then the letter you want. éêè ...


Assuming US keyboard, you can use US International as a secondary layout. That would make typing “single quote” then the letter an acute accented letter.

So ‘ then a would become á


That's an acute, I want the accent the other way - and I know I could learn the alt-code but it's crazy if there isn't an easier way using the keyboard alone.

Why isn't it altgr+(letter) and repeated presses like holding down the letter on an Android mobile phone touch keyboard?


For Ω and other rarely used symbols, I just type: <Ctrl>+<Shift>+U 2126 <Space>.

Works like a charm in pretty much any program and keyboard layout.

For the more common acute/grave/.. letters, I use

  setxkbmap -layout latin,<local layout> -variant ,qwerty -option grp:switch,grp:alt_shift_toggle
Then I can use the nice us keyboard without dead keys for programming and access the local layout by holding <AltGr> (right alt) for local characters (usually via localized dead keys).


I also use dual layouts and found that switching between US (for coding) and US international (typing with diacritics) is the most comfortable setup for me. Both in Win and Mac switching between both modes is just pressing Ctrl+Space and the US international layout allows me to type all diacritics I use (Catalan) with an US keyboard.

Maybe I’m just stating the obvious and everybody already knows and is moving aware from that, so I won’t explain the details. But if someone is interested just let me know


Basically the same here, now I settled on QWERTY with a few tricks to do french diacritic signs. Compose key can be a bit slow at times, so I only use it for the less common characters, like e-circumflex. For the really common ones like e-acute and e-grave I simply assign additional shortcuts: for example hyper+e = e-acute (my keyboard has got additional modifier keys: it's not just ctrl/alt/shift as I've got additional physical keys, which I configured to act as Hyper and Super).


I'm using a logical FR layout on a physical Mac FR layout, the underlying layout for Japanese input is QWERTY while the pinyin for Traditional Chinese uses AZERTY... I'm tired of all these context switches and I wish there was an universal keyboard IME that allow me to type the languages I care about without having to switch between IME all the time. Same complains about mobile (iOS). I might build something one day because of how annoying it is (at least typing English is easy from FR keyboard so that's one less keyboard to use).


Can’t you just configure Japanese IME to use the same one as physical keyboard map? Japanese IME shouldn’t be adamant about “keymap goes with language” model.


Same issue.

I struggeled with french on German keyboard, so I searched how to type everything, and all wad easy except the ç.

The only solution was to type ALT+135 from the keypad. It worked until a recent windows update, now I get garbage from that shortcut.

I will give this a try, thanks!


I had a similar problem recently, but it was self-inflicted.

Try changing the status of the "Beta: Use Unicode UTF-8 for worldwide language support" checkbox.

You can see this option by going to Settings and then: All Settings -> Time & Language -> Language -> "Administrative Language Settings"


> dual French/US keyboard layout (one for writing, the other for coding)

Why not use one of the QWERTY layouts with accented characters?


WinCompose is one of a handful of utilities that's made using Windows virtually painless as someone who's used to using Linux as a daily driver.

(other such utilities include Chocolatey, MobaXterm, Greenshot, WSL in general for common CLI tools, and some KDE apps but especially Kate and Okular)


Also worth checking out is Ditto, clipboard history manager. Much snappier and lighter than the built-in one they eventually put into Windows. Nearly identical to KDE's Klipper, CTRL ` and your searchable clipboard history appears next to your cursor.


There was a software called 3dclip, which is essentially Ditto, but much more lightweight. I think it uses native windows elements and written without use of big libraries.

Unfortunately it's discontinued and website isn't available anymore, but I have installer for anyone who is interested (it's not modified or anything). It doesn't have history search, but if all you want is a multiclipboard, it does that, and some other useful things as well. I use it for many years and happy with it.

Tried Ditto but it's too big and slow for my taste.

UPD: I was wrong, site is still up.

https://www.3dclipboard.com/


Love that app. The built in one does not show tons of stuff you can copy to your clipboard.

I work in IT and people are baffled when I copy a few things, paste them one by one, then search for a thing I copied a week ago…I feel naked without Ditto.


> Much snappier and lighter than the built-in one they eventually put into Windows

Ditto also supports searching through your clipboard history. Been using Ditto for years.


It's really a killer utility. I find it to be slightly better than KDE's Klipper and much better than Butler as a clipboard in OS X (although it's been many years since I've used Butler)


I prefer Scoop over Chocolatey https://scoop.sh/

Also Windows Terminal is really great https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk...

I also prefer ShareX for screenshots https://getsharex.com/


I just use the built-in screen snip. You can configure it to activate on press of the "print screen" key.


I like to be able to records gifs/mp4s quickly as well, for reporting some issue with an animation on a website or whatever. On Linux I like to use Peek for that, and I use the built-in Screenshot tool otherwise on Ubuntu.


On windows you can use win+g which allows you to record videos of the current window. I think it’s for games but it works for everything else pretty well.


It's also bound to Windows-Shift-S by default, as of 2018


Unfortunately scoop stopped being maintained. See https://github.com/lukesampson/scoop/issues/2609#issuecommen...


Shovel, a fork of scoop, is being maintained however. https://github.com/Ash258/Scoop-Core


for screen shots, I mucked around with a bunch and ended up using lightshot https://app.prntscr.com/en/index.html and a tool called GifCam to take animated Gif screenshots.


Second scoop: it’s smart use of symlinks and no need for admin is exactly what Windows CLI needs.


A nice alternative for MobaXterm is Royal TS, especially for maintaining a list of 100’s of servers and simultaneously executing commands on a subset or all of them:

https://royalapps.com/ts/win/features


Have a look at Taekwindow as well, then.

Provides the missing but to me vital functionality of "middle click the title bar to send to the back of the stack".


I was wondering why Windows doesn't come with a built in compose implementation. There doesn't seem to be a reason, just something that exists outside of the folklore of Microsoft/Windows [1].

1: https://en.wikipedia.org/wiki/Compose_key


I started to use WinCompose when I changed from a full size keyboard (with numpad) to a TKL keyboard which omits it.

As a mechanical engineer, I often need to type things like the degree symbol and with WinCompose it is just Compose, o, o whereas I used to type these using alt codes.

Other common uses are for sub and super scripts (₁¹), bullets (•), and my own custom ones like on for my email, which I set as Compose, e, m (since these days working from home I am constantly logging into lots of things).


How does this compare to the built in Win + .?


The Win + . sequence opens the Emoji selector window, which as the name implies can only be used to select emojis. It's also more disruptive since it opens a separate window where you must navigate to or search for the desired emoji, select it, close the window, and then paste the selection into the original app. WinCompose (like XCompose) works as you are typing, without opening a new window; you just type a certain sequence starting with a special Compose key (like "Right-Alt ( 3 )") and it inserts arbitrary pre-defined characters (in this case ③). The key sequences and their replacements can be redefined by the user.


> as the name implies can only be used to select emojis

It has a tab for emojis, a tab for "kamoji" (emoticons), and a tab for what looks like a decent chunk of the non-asian symbols in the unicode basic multilingual plane. ©™⇈⇊⇄↹

I don't know about everyone else, but in my copy of Windows 10, Win+. opens a small window attached to the text box I'm typing into. I can then type the name of the symbol I'm looking for, hit enter, and the symbol is inserted into the text box. Escape closes the box, so I don't even have to touch my mouse.

https://i.imgur.com/FsDc7F9.png

To be clear, it is somewhat more disruptive, but requires no prior knowledge of anything except how to open it. There's room for both methods.


Hm. That doesn't look anything like the window I see when I type Win + . while connected to my Windows 10 PC at work. (All my own systems run Linux, so I can't test it locally.) That could be due to version differences, enterprise settings, or the fact that I'm accessing it remotely, but the UI I get behaves as a separate program, not an input method overlay, and only shows emoji.


If you win+. from the carat/focus on text input, just type a hint for the emoji and hit enter (or use arrow keys to select other result) and it should replace the string you typed. i.e. win+. Skull


Interesting. That was not my experience. I could type to search, but pressing enter just showed a message about copying the emoji to the clipboard. This was over a Remote Desktop connection, so perhaps that affected the behavior? Or it might depend on the specific type of text input field.

In any case, most of the characters I use XCompose for (such as arrows, mathematical operators, Greek letters, and non-ASCII punctuation) are not emojis and cannot be selected this way.


It looks like the whole Greek alphabet is accessible in the pop up window

αΔδηκβεΘθΛλΓγζΙιμνπΠΤτΧΞξΡρΥυΨΣςσΦφΩχἁω


This is so nearly awesome, but the hint only works for emoji. So I can type "<WIN>+. sad <ENTER>" for a sad emoji but, e.g., "<WIN>+. gamma" doesn't find the Greek letter. There seems to be no way of selecting a symbol using only the keyboard. So I go back to charmap. Its shitty UI hasn't been improved in decades but at least it can search all of the unicode characters.


Wow, I had no idea this was a thing. Not to distract from the thread, but thanks for sharing!


> Wow, I had no idea this was a thing. Not to distract from the thread, but thanks for sharing!

I think it was added in just the last few years. I am pretty sure it was added in one of the Win 10 updates. But yes it is really useful.


You’re welcome, now try Win + V


Wincompose can handle emojis, Compose compose g o b l i n will give you a tengu ("Japanese goblin") emoji for instance. But it's on you to try to guess what you think their names are and I usually fail.

I prefer the Win . for emojis.


WinCompose has a "Show Sequences" to see all the sequences.


I don't understand how this is different than the "International" keyboard variants that ship with Windows.

How is this better than the status quo?


For one, the character coverage is much broader than what's typically found on an international keyboard.

I use it all the time for typing arrows and other symbols, for example. YMMV but I also find it mnemonically better, from time to time I can just guess what the right Compose sequence is.


Wouldn't it be better to just create a new keyboard layout featuring the composed keys you want, rather than running software constantly in the background to achieve the same thing?

See here for example: https://dailydoseoftech.com/how-to-create-a-custom-keyboard-...


Not really. I don't know in advance which symbols I want to type, and even then I'd have to learn where I put the symbols on the custom layout, while the compose sequences I can usually guess. Considering the amount of background processes the typical Windows system runs, having one additional program really doesn't make a difference.


I don't necessarily mean that each individual user of the software should do this. I mean, why not just create a new layout instead of developing this? Or as a user, why not just use a layout someone else has already developed which has logical choices for the composed keys?

EDIT: Some compelling arguments in favour of the app in this thread. Thank you


You'd swiftly run out of practical combinations.

On the 1 key, I have 1 and !. Maybe I could add ¹ and ₁, with AltGr and Shift+AltGr (or Ctrl, or something). Maybe ½ and ¼?

With Compose, I have ¹, ₁, ½, ⅓, ¼, ⅕, ⅙, ⅐, ⅛, ⅑, ⅒, ①, ⑩, ⑪, … ㊶ which involve the 1 key. I do not need to look up the sequences for these, as they're intuitive: Compose ^ 1, Compose _ 1, Compose 1 2, … Compose ( 4 1 ).


You could maybe use AltGr combined with dead keys to accomplish that, but I suppose it would be limited to combinations of two keys (plus the modifier).

EDIT: Actually, it seems Windows supports chained dead keys, so I think you could accomplish longer sequences with a plain old Windows keyboard layout definition too. But that's not supported with MSKLC.


you can't compose keyboard layouts, so you'd either have to stick with only QWERTY or generate separate enhanced layouts for Azerty + Dvorak + etc. discoverability would also be harder, and you'd have to hold down every key in the combo instead of pressing them in sequence holding the compose key, so you couldn't distinguish /ae/ vs /ea/ and you'd get carpal tunnel.

side-note: X11 layouts are really frustrating. there's a hard constraint of one key combo -> one Unicode character, which makes it impossible to output multiple characters. I run into this with Lushootseed, which has /ƛ̕/ (glottalized barred lambda encoded as barred lambda + accent marker), but you'd never write it without the accent in that language.


> there's a hard constraint of one key combo -> one Unicode character, which makes it impossible to output multiple characters.

The orthodox solution for this problem is an IME.

Quickest path to success is via editing a new map file /usr/share/m17n/lut.mim (see Blackfoot and Inuktitut in the same directory for examples of multiple character output) and then using the m17n plugin for fcitx or scim or ibus.


Because a Compose key allows you to type any of thousands of characters, which (a) isn't possible with a custom keyboard layout, and even if it was, (b) would be very difficult to learn.


What makes this easier to learn? I think you could implement the same kinds of sequences by using AltGr combined with dead keys.


So you're going to turn every key on the keyboard into a dead key? Also, the compose file can easily be customized, and some entries output multiple characters or involve non-character keys like the arrows. How is that going to work with a static keyboard layout?


Only AltGr + [the key] would be a dead key, not the bare key itself. Perhaps a tool could be made to convert compose files into Windows keyboard layout definitions with this strategy

That's a good point about non-character keys though, I don't think that could be supported with this method.


> some entries output multiple characters

Too bad that Qt broke support for that in version 5 and has never fixed it.


I agree! This is exactly what I ended up doing: https://github.com/bradrn/Conkey


Nice! Thank you for this.


Say I want to type the copyright symbol, not something I do every day, not something worth its own key on my keyboard. I type Compose O C and it gives me: ©, Compose ~ ~ gives me ≈,

The built-in shortcuts are very easy to guess, it's great for things I don't type every day. Plus you can add or remove shortcuts so you can change your layout on the fly.

It's great in Windows, Compose is great in Linux, and it's also is a good alternative for the otherwise useless CapsLock key.


Compose key — and by extension WinCompose — is used as a mnemonic shortcut for various characters, both predefined and custom.

For example, I am using WinCompose right now: … ’ č ß ɐ ə ” « ʌ × þ ð n’t ď ɥ. All the characters inserted without leaving hands off keyboard.

As far as I know, there is no built-in keyboard on Windows with that kind of functionality (the emoji keyboard under `Win+.` coming close, but with no customization and more centered on inputting singular characters rather than blending in with normal keyboard usage).


https://support.microsoft.com/en-us/topic/how-to-use-the-uni...

"Creating international characters

When you press the APOSTROPHE ( ' ) key, QUOTATION MARK ( " ) key, ACCENT GRAVE ( ` ) key, TILDE ( ~ ) key, or ACCENT CIRCUMFLEX,. also called the CARET key, ( ^ ) key, nothing is displayed on the screen until you press a second key:"...


The constant downside to that is that you can no longer type these characters without considering what the next character is going to be, and pressing space if you want to opt out of the combination. If you type the accented characters much more often than the quotes it can be fine, but it gets annoying very quickly while programming.

The compose key is basically an opt-in alternative to combining those characters that also allows a lot of other combinations.


If you are willing to create your own layout or use a third-party layout, you could forgo dead keys and instead put all your symbols on the "AltGr" layer (which I think basically works the same as the "Compose" key).


The approach I took for my keyboard layout [0] was a compromise: I kept the base layout the same as US, but added a bunch of dead keys on the AltGr layer. So e.g. ⟨ď⟩ is ‘G-% d’; ⟨ɐ⟩ is ‘G-f a’.

[0] https://github.com/bradrn/Conkey


It is weird it's not altgr-' and altgr-^ that activate accents.


That's what I use on Linux, in addition to direct Alt+Character for the variants I need most commonly and XCompose whatever is left.


Autohotkey is also useful for this. Any arbitrary set of characters can be auto replaced with the desired output, or alternatively be bound to a hotkey.

This removes the need to memorize some abstract set of Alt key sequences and instead one could type something such as ++degree to produce °. The sequence of characters could be anything to distinguish it from regularly used text, here using ++ and name of the symbol to illustrate.

WinCompose it appears uses a similar principle.


Fun fact, WinCompose used to be written in AutoHotkey. It's still shown as a branch on GitHub: https://github.com/samhocevar/wincompose/tree/autohotkey


I started writing my own WinCompose-like utility in AutoHotkey, before I learned about WinCompose. Gave up on that immediately, obviously.

AutoHotkey is really an amazing tool. The actual programming language is awkward, but it has capabilities no other tool offers without writing a bunch of tricky low-level C code yourself.


That's my approach. Autohotkey plus sequences starting with "qq", like qqdeg (degree), qq>- (right arrow), and so forth.


Being a plan 9 nerd, I originally found 9ime [1] when I wanted a compose key in windows. It serves the same purpose and has the same default compose key of right-Alt. I’ve yet to be frustrated by it enough to switch to wincompose (but the UX is certainly better).

[1] https://github.com/sqweek/9ime


I'm now using this and I like it very much, tiny and superfast, better than the slow bloat of WinCompose.

Build notes for those from the future (I use Windows 7):

1) Install Cygwin, including mingw64-x86_64-gcc-core package

2) Edit build.sh file to replace compiler from CC=gcc to CC=x86_64-w64-mingw32-gcc

This provides a native exe without dependancy on cygwin1.dll


I want to try this, is there a prebuilt binary available.


There is not unfortunately.


Related but different (and no emoji special features), I was once recommended (either here or on Reddit) EurKEY [0] and have been using it since. Ö is (AltGr/Ctrl+Alt)+Shift+o.

I mainly type in English (and prefer it for programming), but I still need German Umlauts, it’s just a super convenient layout and even has niceties like typographical apostrophes (’ vs ') built in (ctrl+shift+alt+0).

To me, that seems more convenient than this (and Windows has a decent emoji picker with Win+. anyway, if you are into that )

[0]: EurKEY The European Keyboard Layout https://eurkey.steffen.bruentjen.eu/


Did you run into any problems using that layout? I tried using it (also after discovering it on HN) but I could not get around that bug where Windows error sounds appear randomly when alt tabbing.


I’ve been using it exclusively for probably over a year by now, the only problems I have is when crappy software has non-configurable hotkeys and conflicts with certain letters. And even then, AltGr instead of Ctrl+Alt usually works.


Hm looks like the error is on my side then, good to know it works for others. Thanks, I'll see if I can get it to work somehow!


I'll have to remember this when I go back to windows one day.

I roll my own keyboard layout on Linux, and the Compose key is a nice to have. I put it where the right Alt normally lives along with the dead greek key (by using shift-RALT).


For emojis WIN+. is my go to.


The touch keyboard can be really useful for any other special characters too. Just hold your click down on the key and you'll see other variants (e.g. S = šß§). I wouldn't rely on it to constantly type characters like that, but it is great every once in a while.


Cute. My least favorite part of any language class I've ever taken is if I have to type anything outside of the standard US english alphabet, the standard alt code method was never good.


It's not an off-the-shelf solution, but what I do is roll my own keyboard layout with MSKLC.


Do you know if such a tool exists for Linux? I would like to use the US-INTL keyboard, as it allows me to write international characters easily, but comes with the downside that ' and " are dead keys, which makes programming annoying.

I did once manage to manually write a keyboard layout that gets around that, but it was a painful process and I've been since looking for a tool that allows me to create keyboard layouts more easily.

edit: I did a quick search and it seems that such a keyboard layout already exists. Here it is in case it's useful to anyone else: https://pieter-degroote.github.io/UltimateKEYS/


When porting my own multilingual keyboard layout [0] to Linux, I used M17N. It’s actually really convenient and flexible: the keyboard itself is specified as an sexp, which makes it easy to both write it manually and generate it from another format. (I actually ended up making a tool to translate from MSKLC to M17N format [1].)

[0] https://github.com/bradrn/Conkey [1] https://github.com/bradrn/Conkey/tree/master/ms2mim


Well, at least it wasn’t at the level of pain of getting any IME to work on Linux (not that Windows is much better in that regard…).


The guessability of combos to compose characters with is really key to what makes the compose key a great tool. I wouldn't be surprised if Microsoft adopts this into their OS someday.


For accents and such a good alternative is selecting an international keyboard on Windows. For example you can write a ñ with ALT + N.


Also see AllChars:

https://allchars.zwolnet.com/

This was universal functionality on the DEC terminals that IBM adapted the PC AT Enhanced keyboard layouts from. It's a standard feature on Sun machines too, and can be turned on trivially in Linux.

So there are many implementations.


AllChars hasn’t been maintained for a long time, last stable release is from 2007, bugs are not getting fixed. I switched from AllChars to WinCompose for that reason.


Fair enough.

I've seen Windows installations where one will work but the other won't.

DEC itself included another such tool for Windows 3 with Pathworks. Here's another:

http://www.accentcomposer.com/

My point being, it's a popular function and there are multiple implementations.

Sadly I don't know of a working one for macOS. I've seen claims and tried them but nothing that actually works.


these days i prefer to use menus like Rofi for things like this. all you need to memorise is 1 hotkey to open the menu and then you can search and filter the list to find whatever character you want, say 'trademark' or 'tra' to find ™, or search for an emoji by describing it


You don't have to memorize compose key combinations unless you use a few strange ones often. "Compose", "t", "m" gives me "™". Your first guess is usually right.


Rofi won't work on Windows, will it?


This is great! It's a shame XCompose doesn't follow rfc1345 though, which is the input method I use on Emacs. I have to learn two different sets of composing sequences :(

(Fortunately they seem to agree on the majority of the accented Latin letters I use.)


You could always place the rfc1345 sequences in your ~/.XCompose file.


Off topic... but damn, Windows emojis are still super ugly.

Anyone knows if they are better in Windows 11?


Totally agree. Apparently they're getting an overhaul: https://www.xda-developers.com/microsoft-emoji-windows-11-mi...


Oh wow these look great!


Isn't this something that can be done in AutoHotkey?

I feel that it is more effective to have a powerful tool such as AHK and invest a bit into writing the combinations of key/mouse/whatever than to have several standalone programs.


Actually, WinCompose started as an AHK script, so your conclusion isn't far off.


The same way "2003 google can be done by yahoo" I guess


Sorry but I do not understand this comment, can you please clarify?


What I meant is that while I'm not the target user of it, the actual value of WinCompose to its user is not the method of composing, but the pre-compiled database of available composition.

Unless I misunderstood you, yes it can be done in AHK but you would have to rewrite all the composition you want in it by hand


Yes, this i strue. I just found out that people tend to accumulate bits and pieces of software or configuration and at some point if may be worthwhile to invest in AHK to keep all this in one place, in a predictable way.


I'm on Linux and on a keyboard layout that already uses AltGr for a lot of symbols. What key do you use for the compose key? I certainly don't have a physical compose key on my keyboards.


I use capslock.

There are a number of popular choices that come preconfigured, see file /usr/share/X11/xkb/rules/base.lst line 851

https://github.com/freedesktop/xkeyboard-config/blob/master/...


cool thanks


In my case (AltGr similarly reserved for (mostly) Polish specific letters), I set it to the right Ctrl key, though keys like CapsLock and Menu are also good candidates.


As documented in the linked README, they use right-alt as compose, but that can be changed in the settings.


That's the readme for WinCompose. I'm wondering about linux


In the case of Ubuntu system with Gnome/Xfce4/KDE/LXDE: https://help.ubuntu.com/community/ComposeKey

As for other distributions, unfortunately I have no idea, but I would hazard a guess the right settings (if present) should be in similar places relating to keyboard setup.


Shift+AltGr, i.e. ralt_switch_multikey


Maybe the menu key, if you have it


Why is it composing e.g. ´ + e into é when that's the default behavior without composing? Is it just to make the compose key a no-op in all such scenarios?


> Why is it composing e.g. ´ + e into é when that's the default behavior without composing?

It's not “the default behavior”, its just what certain keyboard layouts (US-International, for instance) do.


This WinCompose app seemed to be what I've been looking for, but it didn't work for me.

Just so sluggish, sometimes missing keystrokes or waiting for it to catch up. Keyboard is one of those things that have to be INSTANT, even milliseconds is too long. This app is way to slow.

It seems to be written in .NET? Which would be a very poor choice for such an app.

EDIT: I presumed the sluggishness was because of .NET, perhaps my thinking is a bit dated.


.NET (framework) should be a very compelling choice for a win-only tray app. The framework is included with the OS, and the standard libraries will most likely already be in memory. The process footprint will be tiny and if the app is written correctly, it should be quite possible to make a very resource friendly app.


Why do you think that .NET is a poor choice?


I haven't had this experience at all, for whatever it's worth. I type ~120-130wpm for reference.


Looks like a great project template for making a robust keylogger. Neat.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: