ApplePressAndHoldEnabled - menu for character accents disappears shortly after login

Hi all,


Desperate for help on this infuriating issue.


There's plenty of support that tells us to use the terminal command:


defaults write -g ApplePressAndHoldEnabled -bool true


to reenable the accent menu. This works absolutely fine, and immediately following a boot I have my accent menu back. However, almost immediately afterwards, the accent menu is disabled by something and it won't return until I next reboot / log out and in again.


  • I've removed all login items from my user
  • I've uninstalled anything I can think of that affects user input
  • I've created a test user and verified that the problem doesn't occur in this test account
  • Nothing that I can think of that would affect this on the system any more. No antivirus, apps that mess around with human interface devices.
  • Running :
defaults read -g ApplePressAndHoldEnabled 

gives 1 - but despite this the menu is not enabled.


I suspect the problem might lie with a plist in my user library. I don't really know what I'm doing in there - what can I delete without bricking the OS?


I'm very tempted to abandon my main account and port all settings over to a new account - might end up being easier and quicker than troubleshooting.


Can anybody point me in the right direction before I do so?


Any help greatly appreciated.

MacBook Pro 15″, macOS 11.5

Posted on Sep 3, 2021 9:50 AM

Reply

Similar questions

13 replies

Sep 3, 2021 10:11 AM in response to ATJBramley

An old solution to the problem was to add another Latin language to the Input Sources in Keyboard System preferences. Once added, it would work, and you could then remove the language.


That entry does not need to exist in the defaults, so you might try removing it.

defaults delete -g ApplePressAndHoldEnabled

The default is to enable Press And Hold, so you only usually need the entry if you want to disable it. Its existence may be confusing things, though it shouldn't.

Sep 3, 2021 11:37 AM in response to Barney-15E

Here we go!




Some explanation:


  • SIP is disabled to allow Macforge + Spaces renamer (allows renaming of multiple desktops)
  • It's running Big Sur through Big Sur patcher.
  • While neither of these are standard configs - it was working fine until recently. Something else is happening.
  • I'm a little alarmed that it says the SSD is slow - is that just because it's a 1st gen SATA SSD, or because it's running slower than a 1st gen SATA SSD should?
  • Istat menus also runs on the guest account - I guess we can rule that out.


Things I'm going to try right away:


  1. Get rid of that Silverlight plugin
  2. Remove the logi bolt Launch Agent
  3. Remove BlueStack (something to do with android emulation?)
  4.    [Loaded] com.fvdm.AccentMenu.plist (Apple - installed 2021-08-05) - that was a plist designed to help the issue. It's removed.


Will do all of this, restart and see what happens...

Sep 3, 2021 10:31 AM in response to Barney-15E

Thanks. I tried to add another Latin language - it didn't seem to do anything.


I can confirm that deleting the entry also restores the menu when combined with a restart. However, the entry is again restored by something quickly after reboot / re-logging in.


As soon as the menu goes, if I do a read of ApplePres... it reads 1 - even if it was deleted before. Something is setting the value to 1.


Also, if I keep focus on Atom the text editor on boot / login - the menu persists. I can create a new file in Atom and it still persists. As soon as I move focus from Atom, I lose my menu and reading the ApplePressAnd... entry gives 1.


Maddening!

Sep 3, 2021 12:58 PM in response to ATJBramley

Being that it worked in another account, this may not produce any value, but maybe give it a try as it will clear some system caches.

See if the function works while in Safe Mode.

Maybe there is some sort of interaction between all of the system modifications you are running.

Are they really necessary?

  • How many external hard drives have failed on you and SMART was able to alert you to the impending failure. I've only had two internal drives fail (factory faults) and SMART reported Verified until the very end.
  • What "stats" do you need to monitor? What do you do when you see one you don't like?
  • I have never figured out the need for IntelHAXM. What does it do for you?
  • And, at least you have limited the number of companies that can sell your information down to one, NordVPN. I guess selling all of it is more lucrative than bits and pieces.

Sep 3, 2021 1:27 PM in response to Barney-15E

Yeah, I think this might be the best way about it. It's actually a very recent installation - but I copied my account details over from a TB backup. That looks like a mistake now - should have started from scratch. Half of the extensions you've highlighted I haven't used for years - the same goes for the ones I removed manually.


To answer specifics though:

  1. Alerted to 2 HDDs failing via SMART.
  2. Was trying to figure out where the thermal throttling came from. That led me to replacing the thermal paste which improved things greatly for a while.
  3. I have no idea what IntelHAXM does.
  4. NordVPN was used for a very specific purpose (no, not that!), and deleted. That wouldn't be there with a fresh install.


I guess this is just a result of the computer being a computer and needing a fresh OS install after a while.

Sep 3, 2021 1:47 PM in response to ATJBramley

I guess this is just a result of the computer being a computer and needing a fresh OS install after a while.

I would believe that based on what you have installed. I purposely do not install anything with a kernel extension unless it is necessary to use some obscure hardware that Apple doesn't support (I don't have any). 99% of developers have no idea how to write them so that they do not cause other problems. Since they are so fragile, minor changes in the OS could cause them to break or behave oddly after an update.


I ran a 2012 Mini from Snow Leopard to High Sierra without ever erasing and installing. All were straight upgrades to the next OS. Never had a single issue with it short of known bugs that were fixed. The only reason I had to erase in High Sierra was the APFS Fusion drive issue. I ran the beta through the entire program on my Fusion drive without issue. However, the final release dropped support for APFS Fusion drives, so I had to erase and install.


You seem to have used the system modifications as tools to resolve particular issues, which I don't have an objection. There are many tools out there that should be used when the specific, rare case calls. Most of the time I see them used for preventative maintenance when none is needed. Kernel Extensions hack the OS which will necessarily make it less stable.

Sep 3, 2021 2:03 PM in response to Barney-15E

To give you a little more history, this one came from whatever it originally had in 2013, through to Catalina.


Extensions were installed to overcome limitations with macOS (in particular - window management, which still pales compared to Windows). I gave it a fresh install lately, but as I said, I was probably too scared of losing data so ported all my app settings over. It ran beautifully for a couple of weeks, but now it looks like it wasn't that clever - it's lagging in other areas too.


I'm getting ready for a reformat now and I'll go completely clean this time, reinstalling only what I'm currently using.

Sep 3, 2021 3:06 PM in response to ATJBramley

I guess I don't "manage" windows and have never had a need to do so. I usually work with several windows open on screen referencing different things all at the same time.

I work in Windows at work and can't stand their window management. If it drag an edge near a display boundary, it wants so suck the whole window into that section of the display. Why would I ever want that? I'm just trying to arrange them so I can use several at once. You seem to understand Windows window management; how can I stop it from doing that?

Sep 3, 2021 11:47 PM in response to Barney-15E

Ha - the snap-to-screen area is the number 1 standout feature of windows for me, support for high-DPI displays the second (greatly improved in windows since the start, and to be fair, much better in Big Sur than Catalina).


No idea how to remove it from Windows because I've spent so long researching how to best add it in macOS! (Magnet)


If you don't gain any benefit from those kind of features then I'd just be thankful and enjoy your workflow!


Thanks for your efforts on this error, I'll install Big Sur from scratch after my work this morning and will selectively install programs and addons one-by-one. I'm sure it'll be fine.

Sep 3, 2021 10:56 AM in response to ATJBramley

That really sounds like you have installed something that sets the preference.

I have no idea what would do that.

You could run EtreCheck to see what system modifications you have installed, but I don't know that I would be able to identify something that would do that. The only group of people who ever complained about it would have created something to turn it off, not on.

You can use the Share Report > Copy Report button and then paste into the Additional Text area (document icon), here.

Sep 3, 2021 11:45 AM in response to ATJBramley

OK - I did all of that and amazingly it slightly improved things!


Restarted, accent menu back in atom. Stayed in atom for quite a while - accent menu remained.


Swapped to a couple of other apps - word and outlook - accent menu gone.


Swapped back to atom - accent menu still there! Restarted atom - accent menu gone.


It never ceases to amaze me how granular things like this can be. You'd think it would either work or not - but no.


Eagerly anticipating next suggested steps. I think I'll give it a couple more days before I admit defeat and have to port everything over to a new user account.



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ApplePressAndHoldEnabled - menu for character accents disappears shortly after login

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.