TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Typing the λ (lambda) character with the compose key on Xorg

10 pointsby ciderpunxover 12 years ago

4 comments

thyrsusover 12 years ago
My Google-foo is usually pretty good, because I usually understand the conceptual framework within which I'm looking for a detail. This is not the case with the X11 system. The last reasonable overview I'm familiar with is the O'Reilly X System Administrators Guide ( <a href="http://www.amazon.com/Windows-System-Administrators-Definitive-Guides/dp/0937175838" rel="nofollow">http://www.amazon.com/Windows-System-Administrators-Definiti...</a> ) from 1992 (volumes 1-7 are mostly about protocol details, primitives and libraries). Things introduced since then are a jumble to me.<p>What should I read for an update? I'm mostly in the Red Hat/Fedora ecosystem, which includes a multitude of upper layers.
AngryParsleyover 12 years ago
After reading the post, I was curious how to do the same thing on OS X.<p>I knew there was a menu for special characters built into all text inputs, so I searched help for "characters." The first result was Edit-&#62;Special Characters, which showed a shortcut of ⌘+⎇+T. I searched the special characters for "lamda" and selected the first result. After that, I figured out how to easily type λ often. You can add a string substitution in System Prefs -&#62; Language &#38; Text -&#62; Text.<p>No googling. No config files. No restarting X. ♥ My biggest issue was finding the ⌘ symbol, which is classified as "place of interest sign" in the technical symbols category.
评论 #4887616 未加载
thristianover 12 years ago
For me, changing the GTK+ input method was as easy as right-clicking in any GTK+ dialog box and picking "Input Methods" → "System (Simple)", rather than having to mess with /etc/environment. That setting seems to have stuck even through reboots.<p>I also highly recommend you look through the standard XCompose file, since there's a lot of handy symbols—like &#60;Compose&#62;&#60;hyphen&#62;&#60;hyphen&#62;&#60;hyphen&#62; for an em-dash, &#60;Compose&#62;&#60;hyphen&#62;&#60;greater-than&#62; for an arrow, or &#60;Compose&#62;&#60;C&#62;&#60;C&#62;&#60;C&#62;&#60;P&#62; for ☭.
评论 #4887076 未加载
p4bl0over 12 years ago
I use the compose key extensively and I think that one of the best .XCompose file out there is the one of kragen [1]. It has a <i>lot</i> of bindings and they are easy to remember. λ is &#60;Multi_key&#62; &#60;asterisk&#62; &#60;l&#62; (actually all greek letters are on &#60;Multi_key&#62; &#60;asterisk&#62; [letter]).<p>[1] <a href="https://github.com/kragen/xcompose/blob/master/dotXCompose" rel="nofollow">https://github.com/kragen/xcompose/blob/master/dotXCompose</a>