csavalas / HotkeyMapper

Hotkey Mapper for Lenovo Thinkpads
21 stars 0 forks source link

pressing fn10 or fn11 does the expected plus opens Teams #4

Open AlonRR opened 4 months ago

AlonRR commented 4 months ago

Customizing works but it also continues to open Teams. For example I set fn10 to url google.com, on pressing fn10 the broser goes to google then teams opens.

csavalas commented 4 months ago

Hi Alon,

I don't use Teams, so I wasn't aware of that issue. If, like me, you do not have Teams installed, HotkeyMapper will trick the machine into thinking it is installed so that Vantage does not prompt for it to be installed when pressing f10/11.

That being said, I just installed Teams to test out what you are seeing, and it does indeed open up Teams, as you described.

Until I figure out a proper fix for that (which I'm not sure when that will be), a simple workaround I tried is to rename the Teams executable from Teams.exe to Teams_0.exe. That file is located here:

%localappdata%\Microsoft\Teams\current\Teams.exe

That way, when the Lenovo keyboard driver attempts to load Teams, it will fail silently. FYI, you will need to create new links to Teams on your Start Menu and Desktop, in light of you renaming the executable.

Obviously, if you are anyone has any cleaner way of doing that before I dig into it at some point, by all means, let me know! Also, let me know if the above worked for you.

csavalas commented 4 months ago

@AlonRR Perhaps, a slightly less messy solution:

rh45-one commented 2 months ago

Hey @csavalas,

Thanks for taking the time to figure this out! (And thanks to AlonRR for posing the question.)

I recently had to install Teams on my ThinkPad and so I faced this issue. Your response was very helpful.

Cheers!

csavalas commented 2 months ago

@rh45-one That's great to hear!