I wish I could toggle the variant using the pause key and not the menu
key as it is currently set on my OpenBSD system---see below.
Salvador Mirzo <smirzo@example.com> writes:
I wish I could toggle the variant using the pause key and not the menu
key as it is currently set on my OpenBSD system---see below.
I'm not sure, but this sounds more like something xmodmap(1) would do.
man xmodmap.
However, since I usually see "Pause" as "Break"+Shift on keyboards, you
may need to look at references to Break's keycode as well as Pause.
-WBE
I wish I could toggle the variant using the pause key and not the menu
key as it is currently set on my OpenBSD system---see below.
I'm not sure, but this sounds more like something xmodmap(1) would do.
man xmodmap.
However, since I usually see "Pause" as "Break"+Shift on keyboards, you
may need to look at references to Break's keycode as well as Pause.
xev(1) shows the keycode on my Linux system:
KeyPress event,
[...] state 0x10, keycode 127 (keysym 0xff13, Pause), same_screen YES,
Salvador Mirzo <smirzo@example.com> posted:
I wish I could toggle the variant using the pause key and not the menu >>>> key as it is currently set on my OpenBSD system---see below.
to which I replied:
I'm not sure, but this sounds more like something xmodmap(1) would do.
man xmodmap.
However, since I usually see "Pause" as "Break"+Shift on keyboards, you
may need to look at references to Break's keycode as well as Pause.
vallor <vallor@cultnix.org> then replied:
xev(1) shows the keycode on my Linux system:
KeyPress event,
[...] state 0x10, keycode 127 (keysym 0xff13, Pause), same_screen YES,
I see the same keycode and keysym for Pause, but on "PC" type keyboards,
I see "Pause" printed above "Break" on the key label, and one has to
hold down a Shift key when pressing that key to get Pause.
Either way, I was just a bit surprised when it sounded like Salvador
seemed to be saying he has a keyboard where Pause doesn't require Shift.
I wish I could toggle the variant using the pause key and not the
menu key as it is currently set on my OpenBSD system---see below.
I'm not sure, but this sounds more like something xmodmap(1) would
do. man xmodmap.
Thanks. I was able to get it to work. I used xev to figure out what
was the keycode of pause and the menu key. I discovered that the pause
key issues the keycode 135 when pressed, and menu key, keycode 117. So
the following commands disable the menu key and makes the pause key
behave like the menu key:
xmodmap -e 'keycode 135 = ISO_Next_Group'
xmodmap -e 'keycode 117 = VoidSymbol'
Now, what I'm puzzled about is that I add these commands to .xsession,
which I'm positive that xenodm runs when I log in, but it takes no
effect.
Another puzzling thing that's going on here, which might be totally unrelated, is that my Firefox stopped translating 'c into ç. The
toggle to make this translation happen is the environment variable
GTK_IM_MODULE=cedilla
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 462 |
Nodes: | 16 (2 / 14) |
Uptime: | 65:52:13 |
Calls: | 9,372 |
Calls today: | 3 |
Files: | 13,549 |
Messages: | 6,087,741 |