Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

marcusalwayswins

macrumors 6502a
Original poster
May 23, 2021
534
97
How do I know if a Particular APP on the MAC is running or not ? I mean is there a place where I can go and see if that APP is Loaded or not ?
 
Verify that you have "Show indicators for open applications" turned ON in the Desktop and Dock settings. Then running apps get a little dot next to them in the dock.

Press Command-Tab. Most apps with normal user interfaces will show in that list while running.

If you want to use Activity Monitor, and the app is running as a different user, then be sure to pick View-->All Processes in Activity Monitor.
 
There are few ways.

Is it showing in the Dock?
Is it showing in the menu bar?
Is it visible in the Activity Monitor?

Verify that you have "Show indicators for open applications" turned ON in the Desktop and Dock settings. Then running apps get a little dot next to them in the dock.

Press Command-Tab. Most apps with normal user interfaces will show in that list while running.

If you want to use Activity Monitor, and the app is running as a different user, then be sure to pick View-->All Processes in Activity Monitor.

Hi, I know the app name is CapsLocknodelay, but when you load it, there’s no UI. I guess it works in the background, which is why I need to know if it’s running. Since it doesn’t have a UI, I can’t see it on my desktop. So, how do I check if it’s running in the background? Should I directly search for it in the search field or look for a specific tab? If Yes, which Tab ?
 
Hold down the command key, and touch the tab key.
It will show you what apps are running, and you can choose between them to bring any app "to the front".
 
This APP does not load and has no UI. Command +Tab shows nothing.
TL;DR Activity Monitor. The app may not appear there by its commercial name, but you should be able to learn how it should appear there if it is running.

The command+tab does not show everything. I've been following the thread and playing along, so to speak. Thus, for example, I have several processes (VPN, Proton Mail Bridge, Box and a few others) that have icons in menus bar but do not appear with command+tab. And as you have written, and as @BrianBaughn responded and pointed out, the process runs in the background with no UI, so you won't see it in the dock or the menu bar.

The way I see it, you will see it in Activity Monitor if it is running. However, it may or may not be identified by the actual app name. If it were me, I would search for the name or title or whatever that should be in Activity Monitor. If you find no answer, next step would be reach out to the developer. To be clear, the question is, How does this process for this application, by what name, appear in Activity Monitor (assuming it is running)? There are several other posts in the thread with tips on using Activity Monitor.
 
Last edited:
  • Like
Reactions: ab22 and 123123123
The app is visible as CapsLockNoDelay in Activity Monitor
CapsLockNoDelay.jpg
 
  • Like
Reactions: aihpcfl
OP wrote:
"This APP does not load and has no UI."

Forgive my asking, but in what way is an app that "does not load" and has "no UI" useful?

I can [almost] understand the part about "no user interface".
But what can an app do that "does not load" (i.e. run?) ??

Sounds almost like malware to me.
 
  • Like
Reactions: _Mitchan1999
@marcusalwayswins As the developer notes, you don't need the app anymore, just run in Terminal:
Code:
hidutil property --set '{"CapsLockDelayOverride":0}'


https://github.com/gkpln3/CapsLockNoDelay#built-in-alternative

That’s a great point you’ve mentioned. I’m glad you did. I have this app running because I have the Apple Magic Keyboard, and it has a delay when you press the Caps Lock key. (This means it doesn’t instantly get enabled.) Apple has also mentioned this on their support page – they deliberately do so to prevent the user from accidentally pressing the Caps Lock button.

To overcome this problem, I do two things: first, I load the NoCapsLockDelay app and also run that terminal command. I was always confused about whether I needed to run the app and the terminal command both, because when I only run the app, the result isn’t good – there’s still a delay, and the Caps Lock key doesn’t get enabled instantly. However, when I run the terminal command, the result is very good – the Caps Lock key gets enabled instantly.

So, now you’re saying that according to the developer, I don’t need to run the app and the terminal command both? I can just run the terminal command?

is that what you’re saying?
 
You don’t need both.

The Terminal solution works until restart. Either you manually run the command after each restart or you can create a launch agent to run it.

Here is how, adapted from https://superuser.com/a/1858081, in Terminal:

1. Create the folder ~/Library/LaunchAgents, if it doesn’t already existent

Code:
mkdir -p ~/Library/LaunchAgents/

2. Create the launch agent that runs the command hidutil property --set '{"CapsLockDelayOverride":0}'

Code:
echo '<?xml version="1.0" encoding="UTF-8"?>
<plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>local.removecapslockdelay</string>

    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/hidutil</string>
        <string>property</string>
        <string>--set</string>
        <string>{"CapsLockDelayOverride":0}</string>
    </array>

    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>' > ~/Library/LaunchAgents/local.removecapslockdelay.plist

3. Load the launch agent

Code:
launchctl load ~/Library/LaunchAgents/local.removecapslockdelay.plist

To check if it works

Code:
hidutil property --get "CapsLockDelayOverride"

should return 0. If it returns null, it was not set.
 
You don’t need both.

The Terminal solution works until restart. Either you manually run the command after each restart or you can create a launch agent to run it.

Here is how, adapted from https://superuser.com/a/1858081, in Terminal:

1. Create the folder ~/Library/LaunchAgents, if it doesn’t already existent

Code:
mkdir -p ~/Library/LaunchAgents/

2. Create the launch agent that runs the command hidutil property --set '{"CapsLockDelayOverride":0}'

Code:
echo '<?xml version="1.0" encoding="UTF-8"?>
<plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>local.removecapslockdelay</string>

    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/hidutil</string>
        <string>property</string>
        <string>--set</string>
        <string>{"CapsLockDelayOverride":0}</string>
    </array>

    <key>RunAtLoad</key>
    <true/>
</dict>
</plist>' > ~/Library/LaunchAgents/local.removecapslockdelay.plist

3. Load the launch agent

Code:
launchctl load ~/Library/LaunchAgents/local.removecapslockdelay.plist

To check if it works

Code:
hidutil property --get "CapsLockDelayOverride"

should return 0. If it returns null, it was not set.

So with this launch agent code, now I do not need to run the terminal command manually every time I restart the computer. Once this launch code is set, It will automatically be triggered once the computer starts? Is that what you're saying?
 
So with this launch agent code, now I do not need to run the terminal command manually every time I restart the computer. Once this launch code is set, It will automatically be triggered once the computer starts? Is that what you're saying?
Exactly.
If you encounter errors in running the commands, give Full Disk Access to Terminal. You can revoke the permission after running them.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.