MartyMacGyver / PyRegMonDaemon

A Windows daemon for monitoring and undoing specific shell icon overlay identifier settings that are made by certain applications which cause overlays for other applications to fail to appear.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyRegMonDaemon for Windows

A Python 3 Windows daemon for monitoring and undoing specific shell icon overlay identifier settings that are made by certain applications which cause overlays for other applications to fail to appear.

IMPORTANT: this modifies your Windows registry - DO NOT USE if you aren't comfortable with backing up and editing your registry!

Note: this must run with admin privileges to work properly. You may want to create a shortcut to this that runs minimised with admin privileges, with a target such as:

C:\Python39\python.exe X:\tools\pyregmondaemon.py

or for no console output at all:

C:\Python39\pythonw.exe X:\tools\pyregmondaemon.py

(If you don't make python.exe part of the target you may not be able to check the "run as administrator" box. Alternatively you could run this from an admin-elevated command prompt.)

You got this far: do I need to remind you to back up your registry? Maybe your whole computer? Do it anyway! Read the code too... if nothing else it's interesting how this works.

Why this exists

Windows only offers about 15 shell icon overlay slots. They are allocated in alphanumeric registry key name order. Programs like TortoiseGit don't force themselves to appear first in the list, but others applications such as Dropbox and OneDrive will prepend spaces to their key names to use up all the initial slots. This breaks TortoiseGit's selective overlays as well as those of other apps. Furthermore, apps that do this often don't allow similarly selective configuration of their overlays so as to allow them to cooperate with other apps that the user would prioritize for overlays.

This daemon will immediately and periodically undo specific unwanted changes to the overlays, preventing such problems in the first place.

Workaround discussions:

More info:

Notes

This depends on pywin32, which uses AppVeyor. Unfortunately AppVeyor doesn't support Python beta versions (e.g., 3.8 beta).

About

A Windows daemon for monitoring and undoing specific shell icon overlay identifier settings that are made by certain applications which cause overlays for other applications to fail to appear.

License:Apache License 2.0


Languages

Language:Python 100.0%