big sur – Apple’s unicode keyboard layout versions location

Based on the “ISO” standard, say you we’re to buy a keyboard and then plug it in. Note, I have never attempted this, but am assured it will work after changing your keyboard’s input source.

Is there a location on the Mac OSX Big Sur operating system where these different key mappings are stored? Where it would be easier to program based on these files? Where are these mapping located?

Keyboard
Goal: (Input) American

Translated: (Other) Language

Or would it be best to programmatically change this.

python – Sound bound to Pyglet keyboard event handler plays the first time the event is triggered, but never again

I am working on an application which requires 3d audio support.
I looked around, and decided on Pyglet as the simplest python solution for this.
I wrote a simple program to test basic sound using only 1 player object (my application will play many sounds, and I need to do this to get around the OpenAL limit on the number of sources)), but, it doesn’t work.
When I hit a key, the sound plays the first time, but never again. Any help is appreciated.
Code:

import pyglet

window=pyglet.window.Window(width=200,height=200)
sound=pyglet.media.load("rock.wav",streaming=False)
player=pyglet.media.Player()
@window.event
def on_key_press(symbol,modifiers) :
    player.queue(sound)
player.play()
@window.event
def on_draw() :
    window.clear()
pyglet.app.run()

macbook pro – Does the new 24″ iMac Touch ID keyboard work with Mac’s with the T2 Chip?

macbook pro – Does the new 24″ iMac Touch ID keyboard work with Mac’s with the T2 Chip? – Ask Different

keyboard shortcuts – A *faster* faster way to access Strikethrough on Google Docs

The keyboard shortcut for strike-through in the Google Docs web UI is AltShift5 (yes that is a five), and the toolbar doesn’t have a strike-through button.

It’s very awkward (I actually have to swivel my whole body slightly to press it, my hand and wrist just don’t work that way, heh; also sometimes I have to wear a wrist brace on my left hand, which makes it even worse).

I use Chrome on Windows. I found A faster way to access Strikethrough on Google Docs when searching for other shortcuts, it got my hopes up (especially because the OP’s use case is the same as mine)… but it wasn’t what I was looking for:

  • The top answer just describes the aforementioned keyboard shortcut.
  • This answer has a userscript but it doesn’t work any more.
  • This answer seems to point to the same script.
  • Everything there is over 10 years old, anyways, a lot has probably changed.

So, my question is, is there some way to make toggling (or even just setting) strike-through on highlighted text more convenient than the current tendinitis-inducing keyboard shortcut (preferably by keyboard rather than mouse, if possible)?

As far as I can tell, I can’t modify keyboard shortcuts or customize the toolbar. But maybe there’s a way to do that? Or some outside-the-box trick to accomplish something similar? Fwiw, I’m open to console- or script-based solutions, too, I do have Tampermonkey installed. I don’t know, I poked around in the UI a bit but I don’t really have any ideas.

keyboard – Troubles with Calculator key on HP notebook

I’ve got a new notebook HP Omen 15, manufactured in 2020.
I has Calculator key, and I cannot get it launching calculator in Ubuntu 20.04.

When I press Calculator key, nothing happens. I also cannot assign a shortcut to that key in the respective configuration program from the desktop environment. I’ve tried KDE with Plasma and Gnome shell (I suppose it is launched if I choose “Ubuntu” session on login screen of a display manager). Those programs invite “Press a desired key” but don’t see Calculator key presses.

I’ve tried debugging situation with xev and showkey utilities.

If I run xev and press Calculator I see insanely many messages about pressing and releasing XF86Calculator key:

...
KeyRelease event, serial 42, synthetic NO, window 0x3e00001,
root 0x29e, subw 0x0, time 52918, (151,-96), root:(151,806),
state 0x14, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
XLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyPress event, serial 42, synthetic NO, window 0x3e00001,
root 0x29e, subw 0x0, time 52918, (151,-96), root:(151,806),
state 0x14, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 42, synthetic NO, window 0x3e00001,
root 0x29e, subw 0x0, time 52958, (151,-96), root:(151,806),
state 0x14, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 42, synthetic NO, window 0x3e00001,
root 0x29e, subw 0x0, time 52958, (151,-96), root:(151,806),
state 0x14, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 42, synthetic NO, window 0x3e00001,
root 0x29e, subw 0x0, time 52999, (151,-96), root:(151,806),
state 0x14, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
...

Then I press Ctrl-C to stop it.
If I run xev again, it doesn’t show any events on Calculator key.
If I run dmesg, it shows messages like ( 5685.955273) kauditd_printk_skb: 46 callbacks suppressed. Probably this key still generates press-release events, but the kernel suppresses them.

Probably this is the reason of the bug.

If I run showkey, it always shows scan codes and key codes, if I press Calculator key:

$ sudo showkey -s
kb mode was ?UNKNOWN?
( if you are trying this under X, it might not work
since the X server is also reading /dev/console )

press any key (program terminates 10s after last keypress)...
0x9c
0xe0 0x21
0x1d
^Ccaught signal 2, cleaning up...
0xe0 0x21
$ sudo showkey -k
kb mode was ?UNKNOWN?
( if you are trying this under X, it might not work
since the X server is also reading /dev/console )

press any key (program terminates 10s after last keypress)...
keycode  28 release
keycode 140 press
keycode  29 press
^Ccaught signal 2, cleaning up...

Overall, it looks like that key is a normal media key that is correctly mapped to XF86Calculator.

So, could you give me any clues how to get it working?

I am ready to provide any additional information about my notebook and OS.

I also think that I could try to fix that bug myself. However, currently I have no idea which module to debug.

keyboard – macOS: repeat only certain keys

keyboard – macOS: repeat only certain keys – Ask Different

keyboard – Ghost key presses in Dell laptop

I am using a Dell laptop with Windows and Ubuntu 18 dual-boot. Recently I have an annoying problem with my laptop, ghost keypresses. If I’m reading an article or a long mail or reading a PDF file, the page will scroll down automatically after 10-15 seconds of idle.
The problem is there on Ubuntu and Windows in both Chrome and Firefox. The issue is probably caused by an automatic keypress triggered by the presence of dust. However, I could not identify which key is being triggered.
We have several possible keys,

  1. The four arrow keys ( ) on the keyboard
  2. The tiny joystick on the keyboard ( the small button between G, H and B keys )
  3. The trackpad
  4. The buttons of the trackpad

How can I find what is causing this? and how to fix this?

Keyboard Shortcut for exposing current Spotify track?

I’ve been using a keyboard shortcut for 15 years to know what was the current track playing, preferably by also displaying the album’s photo.
What was easy when only iTunes existed, has become complicated with me also using Spotify
I’ve been hunting for and using different plugins, sizzle, bowtie, growl, spark, lastfm, AppleScript customs script, or more recently Neptunes, with different successes, changing with each new incompatibility brought by new OS X versions.

Now that I am on Big Sur, there is a possible shortcut to bring the control center where an Itunes track playing is present (but not Spotify), there is also a menu item that can be accessed by the mouse, showing the current media stream (including Spotify) but as far as I know, there is no keyboard shortcut for it.

So what would you do, preferably using Apple OS native features, to get it done ?
(a Keyboard Shortcut for exposing current Spotify track playing, preferably with the album image)
Thanks

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123