keyboard – Reliable shortcut for non-ASCII text insertion

I occasionally use text strings such as ¯_(ツ)_/¯ Unfortunately, I don’t have a ¯ or a on my keyboard, so using such strings can be a bit of a pain, usually involving a web search and copy and paste. I’d prefer to have an easier way of typing these. Here’s what I’ve tried so far:

  1. Set up a text replacement in System Preferences.
    • Problem: It does nothing in several apps such as Discord and Firefox.
  2. Set up an automator service running this AppleScript:
    on run {input, parameters}
    
        tell application "System Events" to keystroke "¯\_(ツ)_/¯"
    
    end run
    
    • Problem: It outputs ¯_(a)_/¯
  3. Set up a different automator service which
    1. Get Contents of Clipboard
    2. Set Value of Variable "clipboard"
    3. Get Specified Text "¯_(ツ)_/¯"
    4. Copy to Clipboard
    5. Run Applescript `tell application "System Events" to keystroke "v" using command down`
    6. Get Value of Variable "clipboard"
    7. Copy to Clipboard
    
    • Problem: Sometimes it does nothing, sometimes it pastes the original clipboard contents, sometimes it will actually paste ¯_(ツ)_/¯. Adding 0.2 second pauses both before and after step 5 did not fix the problem.

And with that, I’ve run out of straightforward, reasonably simple ideas that have a chance of having a return on investment somewhere in the vicinity of their cost. Web searches haven’t really produced anything other than BetterTouchTool, which is a route I’d prefer not to take at this time.

Is there a reasonably simple, free, reliable, and legal method of doing what I want to do?

I’m running 10.14.6, on a Mac with a Touch Bar. Touch Bar only solutions are generally acceptable, though solutions that can work with or without the Touch Bar are preferable.

Issue: Safari on macOS won’t open a new window via keyboard shortcut

In full screen mode, Cmd-N opens a new Tab instead of a new Window. Are you in full screen mode?

Also, in System Preferences > Keyboard > Shortcuts you can adjust the Cmd-N shortcut to open a new tab.

And it wouldn’t surprise me if there is a hidden defaults write command to do the same, though I wouldn’t know off the top of my head.

My Apple Magic Keyboard on Windows says it’s connected, but doesn’t do anything

I’m using Boot Camp and trying to reuse my Apple Magic Keyboard. It works fine when connected via Lightning. But I can’t get it to work via Bluetooth.

Is it paired and connected?

The most infuriating thing is, Bluetooth says it’s connected. There’s no mistaking it, it says “Vanessa’s Keyboard” and then “Connected”. I don’t have any other Magic Keyboards around I could be mistaking it for. If I remove it, then pair it again, the pairing seems to work fine, and it again says “Connected”, but the keyboard keys don’t do anything. I pick a text box, type, and nothing happens. I press Caps Lock, hoping to see the light turn on, nothing happens.

Once, not sure how, I got it to type a little bit, and then got the Caps Lock light on. But it stopped working a few seconds later.

Other devices causing problems?

One possibility might be the sheer number of keyboards. I have:

  1. The laptop keyboard
  2. The Touch Bar, apparently counts separately
  3. This Magic Keyboard
  4. The Logitech Unifying Receiver (for my mouse)
  5. A Yubikey authentication device (when you touch it it spits out a token, then presses Enter)

I tried removing the external ones and rebooting, and there was no effect. So I don’t think that’s it.

Tried Googling?

Google hasn’t done me any good, there are a million identical articles for how to pair this keyboard in Windows. Nothing for when it says it’s connected but doesn’t do anything.

Device Manager say anything?

No little yellow warnings. I see Vanessa’s Keyboard under Bluetooth, and see “This device is working properly” in “Device status”.

Specs

  • Machine: MacBook Pro 15-inch 2017
  • OS: Windows 10 Pro, version 2004
  • Other OSes: Catalina (personal partition), Mojave (work partition)
  • Keyboard: Apple Magic Keyboard model A1843

catalina – Is there a way of inserting a tilde (~) on a German keyboard without having to press space afterwards?

I have a german keyboard layout (QWERTZ), and I often need to type a tilde (~) without any other symbols attached to it (e.g. ñ). Currently, the only way I know of to inset a tilde is ⌥ N + Space, which is rather tedious. In comparison, on Windows I only need to press Alt Gr + +.

Is there a way to configure macOS to not require the additional spacebar press?

Windows 10 Pro keeps changing keyboard layout

I’m using Windows 10 Pro build 19042.330 and the Insiders Edition.

For several months now I’ve been experiencing the following problems (even AFTER resetting Windows to factory defaults):
I work as a software developer and several times a day, Windows changes my keyboard layout (I use a German keyboard, and it’s changed to English (UK)).
My system language is English (UK), but with only the German keyboard configured.
I’ll add some screenshots.

Configured languages
Configured keyboard layouts

However, the taskbar would indicate otherwise:

Available keyboard layouts in taskbar

I’ve not been able to discern the key combination to switch between these keyboard layouts, in fact I’m beginning to think there isn’t one and that it’s random.

Is there a way to disable the second (apparently configured) keyboard layout?
It’s not that I can’t type with the English layout, but having gotten used to the German layout, it’s somewhat confusing when all of a sudden a question mark appears where a dash should be.

samsung – Android 10 English keyboard always first when writing in numerous apps. Using two keyboard layouts

I have Samsung Galaxy S10(android 10) and I use two keyboard layouts, finnish and english. got this annoying problem with keyboard.

I have set finnish by default.

When I open chrome and start to write to address bar keyboard is english by default, I always have to change the language to finnish and if I open Google site and write to search box, the keyboard layout is finnish. Same problem is with Gmail every writebox, even it has translation in finnish.

Same problem is with numerous apps if they have no translation to finnish. I think that there is something to do with.. like in html code has meta language tag.

I have reseted all settings, but I have not done factory reset.

I have used galaxy s7 edge(android 8) and galaxy s8(android 10) with same keyboard settings without problems.

keyboard – Revert back from a BT dongle 4.0 to internal bluetooth controller won’t work

When the Mac mini 2018 was released, I was experiencing Magic Mouse 2 issues (choppiness, etc), like many others, so I decided to get a Bluetooth 4.0 dongle (IOGear GBU521) and see if the problem would go away. It did…

I plugged in the new adapter, went into Bluetooth Explorer, under “HCI Controller Selector” selected my adapter “Broadcom Corp, Location ID XXXXXXX”, made it ACTIVE and I was good to go. From memory, I don’t believe I did anything else to get this to work. One thing though. When I would reboot, it would go back to the internal Bluetooth controller so after reading about it, I used this Terminal code sudo nvram bluetoothHostControllerSwitchBehavior=always and all was good…

A year later and after moving my workstation around, I would like to go back to using the internal Bluetooth controller but it seems I can’t.

This is what I did… I unplugged the dongle and the mouse and keyboard no longer show under the Bluetooth devices panel, for me to Connect to. So I tried the following…

1- Unplugged all devices and hubs going to the Mac mini except for a wired mouse, keyboard and monitor so I can set things up.

2- I entered this code in Terminal sudo nvram -d bluetoothHostControllerSwitchBehavior (to go back to the default setting).

3- I trashed com.apple.bluetooth.plist & com.apple.bluetooth.xxxxxxxxxx (random numbers and letters)

4- Shift-Option to Debug (Reset the Bluetooth Module, Factory reset all connected Apple devices, Remove all devices) re-booted.

5- PRAM (Option-Command-P-R)

6- SMC (Unplug AC cord, 15 seconds, replug and wait 5 seconds) Reboot.

I’m not sure what I may be missing here but all that I’ve tried so far isn’t working and I’ve tried it multiple times. Maybe there’s a Kext file I need to delete (replace) but I’m not sure what to do. I know I can plug the dongle back in again, and the mouse and keyboard will show up in the Bluetooth panel but I shouldn’t have to anymore. Actually, when I also plug in an older Bluetooth 2.0 dongle, I’m able to connect devices to it. Very strange.

Any help or advice would be appreciated.

Thank you.

Wake from sleep with external Keyboard or mouse after these have been unplugged and replugged on Windows 10

I am working with two computers, an Asus laptop with Windows 10 and a Dell Optiflex Desktop PC with Ubuntu 20.04. The Asus laptop is also used as if it was a a desktop computer, i.e. the lid is always closed, so it is inconvenient to open and close it to use the built-in keyboard or power button. For both computers, I use an external keyboard and mouse.

During the day, I have to switch between the two computers. When I switch computers, I set the one I will stop using for a while (say, computer A) in sleep mode, I unplug the external keyboard and mouse and plug them to computer B (since I do not have a KVM switch). When I want to use again computer A, I do the inverse operation – I unplug the mouse and keyboard from computer B and plug them to A.

Now, suppose I set to sleep the Windows 10 laptop, I unplug the keyboard and mouse, plug them to the Ubuntu PC, then replug everything to the Windows 10 laptop. If I do this, I am no longer able to wake-up the Windows laptop from sleep. Note that if I set the Windows laptop to sleep without unplugging anything, I am perfectly able to wake it up (both with the mouse and the external keyboard). Is there any way to wake-up my Windows laptop after all the unplugging/replugging? Is there any other workaround I could use that does not involve opening the lid of my laptop? E.g. wake-up after plugging a pendrive, if such a thing exists.

My question is similar to this one, where, however, the problem involved a computer running Linux (while mine is running Windows 10) and using a KVM switch (which I do not have).

What percentage of Internet keyboard users are hunt-and-peck typers?

Some people can type without needing to look at the keys. Other people need to look at the keys before pressing a key.

I’m curious if there is any published research on the percentage of users that need to hunt for the keys vs. the percentage that can type without looking at the keyboard.

I was able to find several studies comparing speeds – as expected, the people who typed without looking won – but could not find any on population percentages that use each method.

windows – Keyboard Accelerators – Where can I Find the list?

There’s a mechanism it windows that would allow applications to let user assign keyboard shortcut. This is called “Keyboard Accelerators”.
https://docs.microsoft.com/en-us/windows/win32/menurc/keyboard-accelerators

It is used in google chrome extensions as local chrome shortcuts and global shortcuts. I assume other programs use it (like ALT Tab replacement apps, launchers, etc).

enter image description here

My question is, does anyone know where to find the list of these “Keyboard Accelerators” and what applications they are assigned to ?

It seems like there’s no registry key that I could find that would hold all of these.