Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172030 > unrolled thread

Gnome 3.21: how to define compose key?

Started byJoost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
First post2016-09-11 08:50 +0200
Last post2016-09-13 23:40 +0200
Articles 15 — 7 participants

Back to article view | Back to linux.debian.user


Contents

  Gnome 3.21: how to define compose key? Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> - 2016-09-11 08:50 +0200
    Re: Gnome 3.21: how to define compose key? davidson@freevolt.org - 2016-09-12 04:40 +0200
      Re: Gnome 3.21: how to define compose key? davidson@freevolt.org - 2016-09-12 06:50 +0200
        Re: Gnome 3.21: how to define compose key? Doug <dmcgarrett@optonline.net> - 2016-09-12 20:00 +0200
          Re: Gnome 3.21: how to define compose key? davidson@freevolt.org - 2016-09-13 07:10 +0200
            Re: Gnome 3.21: how to define compose key? <tomas@tuxteam.de> - 2016-09-13 09:20 +0200
              Re: Gnome 3.21: how to define compose key? Siard <shiems146@kpnplanet.nl> - 2016-09-13 12:10 +0200
                Re: Gnome 3.21: how to define compose key? <tomas@tuxteam.de> - 2016-09-13 12:30 +0200
            Re: Gnome 3.21: how to define compose key? Doug <dmcgarrett@optonline.net> - 2016-09-13 21:20 +0200
              Re: Gnome 3.21: how to define compose key? David Wright <deblis@lionunicorn.co.uk> - 2016-09-13 22:50 +0200
                Re: Gnome 3.21: how to define compose key? Siard <shiems146@kpnplanet.nl> - 2016-09-14 00:10 +0200
                Re: Gnome 3.21: how to define compose key? Doug <dmcgarrett@optonline.net> - 2016-09-14 01:50 +0200
                  Re: Gnome 3.21: how to define compose key? "Neal P. Murphy" <neal.p.murphy@alum.wpi.edu> - 2016-09-14 02:20 +0200
                  Re: Gnome 3.21: how to define compose key? David Wright <deblis@lionunicorn.co.uk> - 2016-09-14 17:20 +0200
              Re: Gnome 3.21: how to define compose key? davidson@freevolt.org - 2016-09-13 23:40 +0200

#172030 — Gnome 3.21: how to define compose key?

FromJoost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Date2016-09-11 08:50 +0200
SubjectGnome 3.21: how to define compose key?
Message-ID<sg6Kt-2Gm-3@gated-at.bofh.it>
Hi,

I want to use my right super key (right win) as my compose key to be
able to type accented letters. 

I have read the online manual regarding the compose key but that does
not work: there is no (disabled) "Compose Key" in "Activities-
>Keyboard->Typing". (The manual actually say "Activities->Keyboard-
>Shortcut tab->Typing" but I assume that that is for a previous version
of Gnome)

How do I enable a Compose  Key in Gnome 3.21?

TIA

-- 
Groeten,

Joost Kraaijeveld

[toc] | [next] | [standalone]


#172072

Fromdavidson@freevolt.org
Date2016-09-12 04:40 +0200
Message-ID<sgpk5-5Qe-1@gated-at.bofh.it>
In reply to#172030
On Sun, 11 Sep 2016, Joost Kraaijeveld wrote:

> I want to use my right super key (right win) as my compose key to be
> able to type accented letters.

I don't use gnome, but I expect

  $ setxkbmap -option "compose:rwin"

would do what you want.

And if I wanted that behavior all the time, I would edit the file
/etc/default/keyboard, adding compose:rwin to the comma-separated list
of pairs in XKBOPTIONS.

So, for example, if I found this there, originally,

XKBOPTIONS="lv3:caps_switch,compose:ralt,grp:menu_toggle"

I would replace it like so:

#XKBOPTIONS="lv3:caps_switch,compose:ralt,grp:menu_toggle"
XKBOPTIONS="lv3:caps_switch,compose:rwin,grp:menu_toggle"

I would expect it to work. Maybe it will.

[toc] | [prev] | [next] | [standalone]


#172076

Fromdavidson@freevolt.org
Date2016-09-12 06:50 +0200
Message-ID<sgrlT-73m-5@gated-at.bofh.it>
In reply to#172072
On Mon, 12 Sep 2016, davidson@freevolt.org wrote:

> And if I wanted that behavior all the time, I would edit the file
> /etc/default/keyboard, adding compose:rwin to the comma-separated list
> of pairs in XKBOPTIONS.

Of course, editing that file will change the default system-wide, for
everybody. Even, erm, Mark! (...if running Ubuntu.)

Maybe that is not what you want.

[toc] | [prev] | [next] | [standalone]


#172089

FromDoug <dmcgarrett@optonline.net>
Date2016-09-12 20:00 +0200
Message-ID<sgDGq-6uu-17@gated-at.bofh.it>
In reply to#172076
On 09/11/2016 11:47 PM, davidson@freevolt.org wrote:
> On Mon, 12 Sep 2016, davidson@freevolt.org wrote:
>
>> And if I wanted that behavior all the time, I would edit the file
>> /etc/default/keyboard, adding compose:rwin to the comma-separated list
>> of pairs in XKBOPTIONS.
>
> Of course, editing that file will change the default system-wide, for
> everybody. Even, erm, Mark! (...if running Ubuntu.)
>
> Maybe that is not what you want.
>
>
It looks like your code sets up the right Win key to be Compose, I don't 
know why it would bother anyone using the machine. It wouldn't stay that 
way
if you rebooted into Windows, and the key does nothing at all (that I 
know of) in Linux. As it happens, I have an old IBM model M keyboard 
with no
Windows keys, so I use the right alt key. Also, PCLOS has an option in 
the keyboard setup to choose a Compose key. Are you sure that Debian 
doesn't
have that capability built in, somewhere?
(I happen to be a big fan of Compose, because even if you don't write a 
European language, it does other useful things—like that m-dash I just 
wrote.
And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)

--doug

[toc] | [prev] | [next] | [standalone]


#172105

Fromdavidson@freevolt.org
Date2016-09-13 07:10 +0200
Message-ID<sgO8N-5xj-1@gated-at.bofh.it>
In reply to#172089

[Multipart message — attachments visible in raw view] — view raw

On Mon, 12 Sep 2016, Doug wrote:

> On 09/11/2016 11:47 PM, davidson@freevolt.org wrote:
>> On Mon, 12 Sep 2016, davidson@freevolt.org wrote:
>> 
>>> And if I wanted that behavior all the time, I would edit the file
>>> /etc/default/keyboard, adding compose:rwin to the comma-separated list
>>> of pairs in XKBOPTIONS.
>> 
>> Of course, editing that file will change the default system-wide, for
>> everybody. Even, erm, Mark! (...if running Ubuntu.)
>> 
>> Maybe that is not what you want.
>> 
>> 
> It looks like your code sets up the right Win key to be Compose, I don't know 
> why it would bother anyone using the machine. It wouldn't stay that way
> if you rebooted into Windows, and the key does nothing at all (that I know 
> of) in Linux.

I see your point. That particular change is not going to surprise
anyone. It won't turn an expected character key into an unexpected
dead key, and then keep some other user from entering their password,
quotation marks, etc.

In other words, no fun at all.

> As it happens, I have an old IBM model M keyboard with no
> Windows keys, so I use the right alt key. Also, PCLOS has an option in the 
> keyboard setup to choose a Compose key. Are you sure that Debian doesn't
> have that capability built in, somewhere?

No, I am certainly not certain about that. And I imagine there are
desktop-environment-specific ways of configuring keyboard default
preferences like this, and doing so per-user. It will be interesting
to see if someone who uses the OP's DE suggests one.

In the meantime there is also this:

  # dpkg-reconfigure keyboard-configuation

It asks many questions. One of the questions it eventually asks is
about your compose key--whether you want one, which key you want it to
be, etc.

It edits /etc/default/keyboard to conform to your answers. So the same
caveat about "system-wide changes, hope everyone will be equally
thrilled" applies. A backup of the file you started with, before you
made changes, could be convenient to have.

> (I happen to be a big fan of Compose, because even if you don't write a 
> European language,

Aha, a Brexit joke. Good one.

> it does other useful things—like that m-dash I just wrote.

Mastery of sarcasm: Check.

> And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)

I see recognisable glyphs for five out of seven of those. My
environment does not support the other two.

So I know what they are not, but I don't know what they are. Very
mysterious. Could be IPA symbols. Could be a happy face next to a
clover/club symbol. I may never know.

[toc] | [prev] | [next] | [standalone]


#172107

From<tomas@tuxteam.de>
Date2016-09-13 09:20 +0200
Message-ID<sgQaB-72V-5@gated-at.bofh.it>
In reply to#172105
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Sep 13, 2016 at 05:07:28AM +0000, davidson@freevolt.org wrote:
> On Mon, 12 Sep 2016, Doug wrote:

[...]

> >And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)
> 
> I see recognisable glyphs for five out of seven of those. My
> environment does not support the other two.

My personal favourite is still ♥ (and of course those omnipresent
☺ and ☹) I chose the (to me otherwise useless) caps lock as compose.
> 
> So I know what they are not, but I don't know what they are. Very
> mysterious. Could be IPA symbols. Could be a happy face next to a
> clover/club symbol. I may never know.

With compose, they tend to be somewhat mnemonic, so you can remember
them once you've seen them once. E.g. '<' + '3' => '♥' and
'.' + ')' => '☺'. You get the idea. I haven't yet seen a complete
table (nor have I yet bothered to find out how one configures that
in X -- some day I'll do).

Regards

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlfXpxAACgkQBcgs9XrR2kbOOQCfbVd7Aedwwp21eJSNAlLjhQDV
AcUAn0P5jZK/DtRu/Q+lnvMh6nVhmcrs
=NLsN
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#172112

FromSiard <shiems146@kpnplanet.nl>
Date2016-09-13 12:10 +0200
Message-ID<sgSP7-pv-17@gated-at.bofh.it>
In reply to#172107
tomas@tuxteam.de wrote:
> I haven't yet seen a complete table (nor have I yet bothered to find out
> how one configures that in X -- some day I'll do).

Well, there is a complete listing in /usr/share/X11/locale/<locale>/Compose.
You can add or edit your own combinations there.

I should add that my <locale> en_GB.UTF-8 does not exist here [stretch],
but en_US.UTF-8 appears to be taking its place.

[toc] | [prev] | [next] | [standalone]


#172114

From<tomas@tuxteam.de>
Date2016-09-13 12:30 +0200
Message-ID<sgT8t-x4-3@gated-at.bofh.it>
In reply to#172112
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Sep 13, 2016 at 12:04:53PM +0200, Siard wrote:
> tomas@tuxteam.de wrote:
> > I haven't yet seen a complete table (nor have I yet bothered to find out
> > how one configures that in X -- some day I'll do).
> 
> Well, there is a complete listing in /usr/share/X11/locale/<locale>/Compose.
> You can add or edit your own combinations there.

Hey, thanks -- you just killed my last excuse :-)

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlfX0s4ACgkQBcgs9XrR2kaSxQCfV7Ic7EKbwl8gF4peWyAllZh7
jHIAnRKHCarrTflSH7z2TO/yw1sciGEG
=5L0p
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#172137

FromDoug <dmcgarrett@optonline.net>
Date2016-09-13 21:20 +0200
Message-ID<sh1po-64P-17@gated-at.bofh.it>
In reply to#172105
On 09/13/2016 01:07 AM, davidson@freevolt.org wrote:
> On Mon, 12 Sep 2016, Doug wrote:
>
>> On 09/11/2016 11:47 PM, davidson@freevolt.org wrote:
>>> On Mon, 12 Sep 2016, davidson@freevolt.org wrote:
>>>
>>>> And if I wanted that behavior all the time, I would edit the file
>>>> /etc/default/keyboard, adding compose:rwin to the comma-separated list
>>>> of pairs in XKBOPTIONS.
>>>
>>> Of course, editing that file will change the default system-wide, for
>>> everybody. Even, erm, Mark! (...if running Ubuntu.)
>>>
>>> Maybe that is not what you want.
>>>
>>>
>> It looks like your code sets up the right Win key to be Compose, I 
>> don't know why it would bother anyone using the machine. It wouldn't 
>> stay that way
>> if you rebooted into Windows, and the key does nothing at all (that I 
>> know of) in Linux.
>
> I see your point. That particular change is not going to surprise
> anyone. It won't turn an expected character key into an unexpected
> dead key, and then keep some other user from entering their password,
> quotation marks, etc.
>
> In other words, no fun at all.
>
>> As it happens, I have an old IBM model M keyboard with no
>> Windows keys, so I use the right alt key. Also, PCLOS has an option 
>> in the keyboard setup to choose a Compose key. Are you sure that 
>> Debian doesn't
>> have that capability built in, somewhere?
>
> No, I am certainly not certain about that. And I imagine there are
> desktop-environment-specific ways of configuring keyboard default
> preferences like this, and doing so per-user. It will be interesting
> to see if someone who uses the OP's DE suggests one.
>
> In the meantime there is also this:
>
>  # dpkg-reconfigure keyboard-configuation
>
> It asks many questions. One of the questions it eventually asks is
> about your compose key--whether you want one, which key you want it to
> be, etc.
>
> It edits /etc/default/keyboard to conform to your answers. So the same
> caveat about "system-wide changes, hope everyone will be equally
> thrilled" applies. A backup of the file you started with, before you
> made changes, could be convenient to have.
>
>> (I happen to be a big fan of Compose, because even if you don't write 
>> a European language,
>
> Aha, a Brexit joke. Good one.
>
>> it does other useful things—like that m-dash I just wrote.
>
> Mastery of sarcasm: Check.
>
>> And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)
>
> I see recognisable glyphs for five out of seven of those. My
> environment does not support the other two.
>
> So I know what they are not, but I don't know what they are. Very
> mysterious. Could be IPA symbols. Could be a happy face next to a
> clover/club symbol. I may never know.
Don't know what you are not seeing. Here's what I wrote—and what I do see—

one-half, one-third,  three-eighths, copyright symbol, degree sign after 
75, Greek letter mu meaning micro before F (for Farads), cent sign after17.

--doug

[toc] | [prev] | [next] | [standalone]


#172141

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2016-09-13 22:50 +0200
Message-ID<sh2Ou-6TO-5@gated-at.bofh.it>
In reply to#172137
On Tue 13 Sep 2016 at 15:12:17 (-0400), Doug wrote:
> On 09/13/2016 01:07 AM, davidson@freevolt.org wrote:
> >On Mon, 12 Sep 2016, Doug wrote:
> >
> >>On 09/11/2016 11:47 PM, davidson@freevolt.org wrote:
> >>>On Mon, 12 Sep 2016, davidson@freevolt.org wrote:
> >>>
> >>>>And if I wanted that behavior all the time, I would edit the file
> >>>>/etc/default/keyboard, adding compose:rwin to the comma-separated list
> >>>>of pairs in XKBOPTIONS.
> >>>
> >>>Of course, editing that file will change the default system-wide, for
> >>>everybody. Even, erm, Mark! (...if running Ubuntu.)
> >>>
> >>>Maybe that is not what you want.
> >>>
> >>>
> >>It looks like your code sets up the right Win key to be Compose,
> >>I don't know why it would bother anyone using the machine. It
> >>wouldn't stay that way
> >>if you rebooted into Windows, and the key does nothing at all
> >>(that I know of) in Linux.
> >
> >I see your point. That particular change is not going to surprise
> >anyone. It won't turn an expected character key into an unexpected
> >dead key, and then keep some other user from entering their password,
> >quotation marks, etc.
> >
> >In other words, no fun at all.
> >
> >>As it happens, I have an old IBM model M keyboard with no
> >>Windows keys, so I use the right alt key. Also, PCLOS has an
> >>option in the keyboard setup to choose a Compose key. Are you
> >>sure that Debian doesn't
> >>have that capability built in, somewhere?
> >
> >No, I am certainly not certain about that. And I imagine there are
> >desktop-environment-specific ways of configuring keyboard default
> >preferences like this, and doing so per-user. It will be interesting
> >to see if someone who uses the OP's DE suggests one.
> >
> >In the meantime there is also this:
> >
> > # dpkg-reconfigure keyboard-configuation
> >
> >It asks many questions. One of the questions it eventually asks is
> >about your compose key--whether you want one, which key you want it to
> >be, etc.
> >
> >It edits /etc/default/keyboard to conform to your answers. So the same
> >caveat about "system-wide changes, hope everyone will be equally
> >thrilled" applies. A backup of the file you started with, before you
> >made changes, could be convenient to have.
> >
> >>(I happen to be a big fan of Compose, because even if you don't
> >>write a European language,
> >
> >Aha, a Brexit joke. Good one.
> >
> >>it does other useful things—like that m-dash I just wrote.
> >
> >Mastery of sarcasm: Check.
> >
> >>And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)
> >
> >I see recognisable glyphs for five out of seven of those. My
> >environment does not support the other two.
> >
> >So I know what they are not, but I don't know what they are. Very
> >mysterious. Could be IPA symbols. Could be a happy face next to a
> >clover/club symbol. I may never know.
> Don't know what you are not seeing. Here's what I wrote—and what I do see—
> 
> one-half, one-third,  three-eighths, copyright symbol, degree sign
> after 75, Greek letter mu meaning micro before F (for Farads), cent
> sign after17.

Oh good, someone who uses these! Can you help me with how you use the
last of these characters:

⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅛ ⅜ ⅝ ⅞ ⅟

It doesn't say it's a combining character and I can't find any
denominators anyway to go with it.

(For those people using fonts having qualities other than a wide
repertoire, they're the thirds, fifths, sixths and eighths followed
by a solitary 1/ numerator.)

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#172148

FromSiard <shiems146@kpnplanet.nl>
Date2016-09-14 00:10 +0200
Message-ID<sh43U-7UT-37@gated-at.bofh.it>
In reply to#172141
David Wright wrote:
> Oh good, someone who uses these! Can you help me with how you use the
> last of these characters:
> 
> ⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅛ ⅜ ⅝ ⅞ ⅟
> 
> It doesn't say it's a combining character and I can't find any
> denominators anyway to go with it.

Use the subscripts of digits.
E.g. ⅟  followed by <Compose_key> _2 <Compose_key> _5 <Compose_key> _6
yields ⅟₂₅₆  (1 divided by 256).

[toc] | [prev] | [next] | [standalone]


#172151

FromDoug <dmcgarrett@optonline.net>
Date2016-09-14 01:50 +0200
Message-ID<sh5CF-nm-5@gated-at.bofh.it>
In reply to#172141
On 09/13/2016 04:40 PM, David Wright wrote:
> On Tue 13 Sep 2016 at 15:12:17 (-0400), Doug wrote:
>> On 09/13/2016 01:07 AM, davidson@freevolt.org wrote:
>>> On Mon, 12 Sep 2016, Doug wrote:
>>>
>>>> On 09/11/2016 11:47 PM, davidson@freevolt.org wrote:
>>>>> On Mon, 12 Sep 2016, davidson@freevolt.org wrote:
>>>>>
>>>>>> And if I wanted that behavior all the time, I would edit the file
>>>>>> /etc/default/keyboard, adding compose:rwin to the comma-separated list
>>>>>> of pairs in XKBOPTIONS.
>>>>> Of course, editing that file will change the default system-wide, for
>>>>> everybody. Even, erm, Mark! (...if running Ubuntu.)
>>>>>
>>>>> Maybe that is not what you want.
>>>>>
>>>>>
>>>> It looks like your code sets up the right Win key to be Compose,
>>>> I don't know why it would bother anyone using the machine. It
>>>> wouldn't stay that way
>>>> if you rebooted into Windows, and the key does nothing at all
>>>> (that I know of) in Linux.
>>> I see your point. That particular change is not going to surprise
>>> anyone. It won't turn an expected character key into an unexpected
>>> dead key, and then keep some other user from entering their password,
>>> quotation marks, etc.
>>>
>>> In other words, no fun at all.
>>>
>>>> As it happens, I have an old IBM model M keyboard with no
>>>> Windows keys, so I use the right alt key. Also, PCLOS has an
>>>> option in the keyboard setup to choose a Compose key. Are you
>>>> sure that Debian doesn't
>>>> have that capability built in, somewhere?
>>> No, I am certainly not certain about that. And I imagine there are
>>> desktop-environment-specific ways of configuring keyboard default
>>> preferences like this, and doing so per-user. It will be interesting
>>> to see if someone who uses the OP's DE suggests one.
>>>
>>> In the meantime there is also this:
>>>
>>> # dpkg-reconfigure keyboard-configuation
>>>
>>> It asks many questions. One of the questions it eventually asks is
>>> about your compose key--whether you want one, which key you want it to
>>> be, etc.
>>>
>>> It edits /etc/default/keyboard to conform to your answers. So the same
>>> caveat about "system-wide changes, hope everyone will be equally
>>> thrilled" applies. A backup of the file you started with, before you
>>> made changes, could be convenient to have.
>>>
>>>> (I happen to be a big fan of Compose, because even if you don't
>>>> write a European language,
>>> Aha, a Brexit joke. Good one.
>>>
>>>> it does other useful things—like that m-dash I just wrote.
>>> Mastery of sarcasm: Check.
>>>
>>>> And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)
>>> I see recognisable glyphs for five out of seven of those. My
>>> environment does not support the other two.
>>>
>>> So I know what they are not, but I don't know what they are. Very
>>> mysterious. Could be IPA symbols. Could be a happy face next to a
>>> clover/club symbol. I may never know.
>> Don't know what you are not seeing. Here's what I wrote—and what I do see—
>>
>> one-half, one-third,  three-eighths, copyright symbol, degree sign
>> after 75, Greek letter mu meaning micro before F (for Farads), cent
>> sign after17.
> Oh good, someone who uses these! Can you help me with how you use the
> last of these characters:
>
> ⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅛ ⅜ ⅝ ⅞ ⅟
>
> It doesn't say it's a combining character and I can't find any
> denominators anyway to go with it.
>
> (For those people using fonts having qualities other than a wide
> repertoire, they're the thirds, fifths, sixths and eighths followed
> by a solitary 1/ numerator.)
>
> Cheers,
> David.
>
>
Dave, I'm not sure, but I don't think you can write a number greater than 8
in this system.  I just tried to create one-ninth, but was unsuccessful.
Perhaps someone smarter than me has an answer.

BTW, there is at least one free Windows app that will give you just 
about the
same system--it's called (surprise!) WinCompose. Google it if you use 
Windows.
I only use Windows for some audio things that Linux kinda bombs on.

--doug

[toc] | [prev] | [next] | [standalone]


#172155

From"Neal P. Murphy" <neal.p.murphy@alum.wpi.edu>
Date2016-09-14 02:20 +0200
Message-ID<sh65H-Sq-3@gated-at.bofh.it>
In reply to#172151
On Tue, 13 Sep 2016 19:46:03 -0400
Doug <dmcgarrett@optonline.net> wrote:

> On 09/13/2016 04:40 PM, David Wright wrote:
> > On Tue 13 Sep 2016 at 15:12:17 (-0400), Doug wrote:
> >> On 09/13/2016 01:07 AM, davidson@freevolt.org wrote:
> >>> On Mon, 12 Sep 2016, Doug wrote:
> >>>
> >>>> On 09/11/2016 11:47 PM, davidson@freevolt.org wrote:
> >>>>> On Mon, 12 Sep 2016, davidson@freevolt.org wrote:
> >>>>>
> >>>>>> And if I wanted that behavior all the time, I would edit the file
> >>>>>> /etc/default/keyboard, adding compose:rwin to the comma-separated list
> >>>>>> of pairs in XKBOPTIONS.
> >>>>> Of course, editing that file will change the default system-wide, for
> >>>>> everybody. Even, erm, Mark! (...if running Ubuntu.)
> >>>>>
> >>>>> Maybe that is not what you want.
> >>>>>
> >>>>>
> >>>> It looks like your code sets up the right Win key to be Compose,
> >>>> I don't know why it would bother anyone using the machine. It
> >>>> wouldn't stay that way
> >>>> if you rebooted into Windows, and the key does nothing at all
> >>>> (that I know of) in Linux.
> >>> I see your point. That particular change is not going to surprise
> >>> anyone. It won't turn an expected character key into an unexpected
> >>> dead key, and then keep some other user from entering their password,
> >>> quotation marks, etc.
> >>>
> >>> In other words, no fun at all.
> >>>
> >>>> As it happens, I have an old IBM model M keyboard with no
> >>>> Windows keys, so I use the right alt key. Also, PCLOS has an
> >>>> option in the keyboard setup to choose a Compose key. Are you
> >>>> sure that Debian doesn't
> >>>> have that capability built in, somewhere?
> >>> No, I am certainly not certain about that. And I imagine there are
> >>> desktop-environment-specific ways of configuring keyboard default
> >>> preferences like this, and doing so per-user. It will be interesting
> >>> to see if someone who uses the OP's DE suggests one.
> >>>
> >>> In the meantime there is also this:
> >>>
> >>> # dpkg-reconfigure keyboard-configuation
> >>>
> >>> It asks many questions. One of the questions it eventually asks is
> >>> about your compose key--whether you want one, which key you want it to
> >>> be, etc.
> >>>
> >>> It edits /etc/default/keyboard to conform to your answers. So the same
> >>> caveat about "system-wide changes, hope everyone will be equally
> >>> thrilled" applies. A backup of the file you started with, before you
> >>> made changes, could be convenient to have.
> >>>
> >>>> (I happen to be a big fan of Compose, because even if you don't
> >>>> write a European language,
> >>> Aha, a Brexit joke. Good one.
> >>>
> >>>> it does other useful things—like that m-dash I just wrote.
> >>> Mastery of sarcasm: Check.
> >>>
> >>>> And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)
> >>> I see recognisable glyphs for five out of seven of those. My
> >>> environment does not support the other two.
> >>>
> >>> So I know what they are not, but I don't know what they are. Very
> >>> mysterious. Could be IPA symbols. Could be a happy face next to a
> >>> clover/club symbol. I may never know.
> >> Don't know what you are not seeing. Here's what I wrote—and what I do see—
> >>
> >> one-half, one-third,  three-eighths, copyright symbol, degree sign
> >> after 75, Greek letter mu meaning micro before F (for Farads), cent
> >> sign after17.
> > Oh good, someone who uses these! Can you help me with how you use the
> > last of these characters:
> >
> > ⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅛ ⅜ ⅝ ⅞ ⅟
> >
> > It doesn't say it's a combining character and I can't find any
> > denominators anyway to go with it.
> >
> > (For those people using fonts having qualities other than a wide
> > repertoire, they're the thirds, fifths, sixths and eighths followed
> > by a solitary 1/ numerator.)
> >
> > Cheers,
> > David.
> >
> >
> Dave, I'm not sure, but I don't think you can write a number greater than 8
> in this system.  I just tried to create one-ninth, but was unsuccessful.
> Perhaps someone smarter than me has an answer.
> 
> BTW, there is at least one free Windows app that will give you just 
> about the
> same system--it's called (surprise!) WinCompose. Google it if you use 
> Windows.
> I only use Windows for some audio things that Linux kinda bombs on.
> 
> --doug
> 

I've been using the right menu key (between R-ALT and R-CTRL) to compose for some years now

degree (°): <R-MENU> o o
mu (µ): <R-MENU> m u
elipsis (…) <R-MENU> . .
½ ⅓ ¼ ⅕ ⅙ ⅛ <R-MENU> 1 [2 3 4 5 6 8]
copyright (©) <R-MENU o c
trademark (™) <R-MENU> t m
paragraph (¶) <R-MENU> p !
not equal (≠) <R-MENU> / =
circled #24 (㉔) <R-MENU> ( 2 4 )
Spanish letter after 'n' (ñ) <R-MENU> ~ n
superscript 0 (⁰) <R-MENU> ^ 0
U with umlaut(?) (ü) <R-MENU> " u
em dash (—) <R-MENU> - - -

Look in /usr/share/X11/locale/en_US.UTF-8/Compose for the definitions. Not all of them work. Some (many?) may require keyboards capable of generating more than ASCII. But there are a lot of common uses (such as European 'diacritics').

These usually require programs that display UTF-8.

[toc] | [prev] | [next] | [standalone]


#172167

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2016-09-14 17:20 +0200
Message-ID<shk8G-2tN-15@gated-at.bofh.it>
In reply to#172151
On Tue 13 Sep 2016 at 19:46:03 (-0400), Doug wrote:
> On 09/13/2016 04:40 PM, David Wright wrote:
> >On Tue 13 Sep 2016 at 15:12:17 (-0400), Doug wrote:
> >>On 09/13/2016 01:07 AM, davidson@freevolt.org wrote:
> >>>On Mon, 12 Sep 2016, Doug wrote:
> >>>
> >>>>On 09/11/2016 11:47 PM, davidson@freevolt.org wrote:
> >>>>>On Mon, 12 Sep 2016, davidson@freevolt.org wrote:
> >>>>>
> >>>>>>And if I wanted that behavior all the time, I would edit the file
> >>>>>>/etc/default/keyboard, adding compose:rwin to the comma-separated list
> >>>>>>of pairs in XKBOPTIONS.
> >>>>>Of course, editing that file will change the default system-wide, for
> >>>>>everybody. Even, erm, Mark! (...if running Ubuntu.)
> >>>>>
> >>>>>Maybe that is not what you want.
> >>>>>
> >>>>>
> >>>>It looks like your code sets up the right Win key to be Compose,
> >>>>I don't know why it would bother anyone using the machine. It
> >>>>wouldn't stay that way
> >>>>if you rebooted into Windows, and the key does nothing at all
> >>>>(that I know of) in Linux.
> >>>I see your point. That particular change is not going to surprise
> >>>anyone. It won't turn an expected character key into an unexpected
> >>>dead key, and then keep some other user from entering their password,
> >>>quotation marks, etc.
> >>>
> >>>In other words, no fun at all.
> >>>
> >>>>As it happens, I have an old IBM model M keyboard with no
> >>>>Windows keys, so I use the right alt key. Also, PCLOS has an
> >>>>option in the keyboard setup to choose a Compose key. Are you
> >>>>sure that Debian doesn't
> >>>>have that capability built in, somewhere?
> >>>No, I am certainly not certain about that. And I imagine there are
> >>>desktop-environment-specific ways of configuring keyboard default
> >>>preferences like this, and doing so per-user. It will be interesting
> >>>to see if someone who uses the OP's DE suggests one.
> >>>
> >>>In the meantime there is also this:
> >>>
> >>># dpkg-reconfigure keyboard-configuation
> >>>
> >>>It asks many questions. One of the questions it eventually asks is
> >>>about your compose key--whether you want one, which key you want it to
> >>>be, etc.
> >>>
> >>>It edits /etc/default/keyboard to conform to your answers. So the same
> >>>caveat about "system-wide changes, hope everyone will be equally
> >>>thrilled" applies. A backup of the file you started with, before you
> >>>made changes, could be convenient to have.
> >>>
> >>>>(I happen to be a big fan of Compose, because even if you don't
> >>>>write a European language,
> >>>Aha, a Brexit joke. Good one.
> >>>
> >>>>it does other useful things—like that m-dash I just wrote.
> >>>Mastery of sarcasm: Check.
> >>>
> >>>>And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)
> >>>I see recognisable glyphs for five out of seven of those. My
> >>>environment does not support the other two.
> >>>
> >>>So I know what they are not, but I don't know what they are. Very
> >>>mysterious. Could be IPA symbols. Could be a happy face next to a
> >>>clover/club symbol. I may never know.
> >>Don't know what you are not seeing. Here's what I wrote—and what I do see—
> >>
> >>one-half, one-third,  three-eighths, copyright symbol, degree sign
> >>after 75, Greek letter mu meaning micro before F (for Farads), cent
> >>sign after17.
> >Oh good, someone who uses these! Can you help me with how you use the
> >last of these characters:
> >
> >⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅛ ⅜ ⅝ ⅞ ⅟
> >
> >It doesn't say it's a combining character and I can't find any
> >denominators anyway to go with it.
> >
> >(For those people using fonts having qualities other than a wide
> >repertoire, they're the thirds, fifths, sixths and eighths followed
> >by a solitary 1/ numerator.)

Thank you to Siard; I grepped "denom" and not "subscript".

> Dav[id], I'm not sure, but I don't think you can write a number greater than 8
> in this system.  I just tried to create one-ninth, but was unsuccessful.
> Perhaps someone smarter than me has an answer.

Not smarter; there's a list somewhere. Extracted:

2150    VULGAR FRACTION ONE SEVENTH
        # <fraction> 0031 2044 0037
2151    VULGAR FRACTION ONE NINTH
        # <fraction> 0031 2044 0039
2152    VULGAR FRACTION ONE TENTH
        # <fraction> 0031 2044 0031 0030
2153    VULGAR FRACTION ONE THIRD
        # <fraction> 0031 2044 0033

then as quoted above, and, knocking around:

2189    VULGAR FRACTION ZERO THIRDS
        * used in baseball scoring, from ARIB STD B24
        # <fraction> 0030 2044 0033

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#172147

Fromdavidson@freevolt.org
Date2016-09-13 23:40 +0200
Message-ID<sh3AS-7tK-17@gated-at.bofh.it>
In reply to#172137

[Multipart message — attachments visible in raw view] — view raw

On Tue, 13 Sep 2016, Doug wrote:
> On 09/13/2016 01:07 AM, davidson@freevolt.org wrote:
>> On Mon, 12 Sep 2016, Doug wrote:
>>> And ½, ⅓, ⅜, ©, 75°, µF, 17¢, and others.)
>> 
>> I see recognisable glyphs for five out of seven of those. My
>> environment does not support the other two.
>> 
>> So I know what they are not, but I don't know what they are. Very
>> mysterious. Could be IPA symbols. Could be a happy face next to a
>> clover/club symbol. I may never know.
> Don't know what you are not seeing. Here's what I wrote—and what I do see—
>
> one-half, one-third,  three-eighths, copyright symbol, degree sign after 75, 
> Greek letter mu meaning micro before F (for Farads), cent sign after17.

I see now.

Thank you.

-- 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web