ililim / dual-key-remap

Remap any key to any other two keys on Windows 🔥. Remap CapsLock to both Ctrl and Escape! (It's like xcape for windows!)
GNU General Public License v2.0
512 stars 36 forks source link

Administrator mode #1

Closed riley-van-hengstum closed 3 years ago

riley-van-hengstum commented 6 years ago

I discovered that when running Intellij in administrator mode, dual-key-remap only worked when also started in administrator mode.

Maybe something to mention in the documentation.

ililim commented 6 years ago

That's a good point, I should add that to the README. Same goes for working in other elevated windows, e.g. task manager.

I've been thinking on how to handle this better in the future, without needing to request elevation each time. Perhaps in a future release, I can register dual-key-remap as scheduled background task with a simple installer. That way it would run as an elevated background process on startup by default.

Konfekt commented 6 years ago

This can be circumvented by creating an "Elevated Shortcut". Either following these instructions or, more conveniently, using the Winaero Tweaker.

badgh commented 5 years ago

Is there any workaround so far to launch dual-key-remap in admin mode at startup? I tried making dual-key-remap.lnk file run as admin in startup folder, but it doesn't work.

Konfekt commented 5 years ago

Create an elevated shortcut by https://winaero.com/blog/create-elevated-shortcut-to-skip-uac-prompt-in-windows-10/ (or more conveniently by the Winaero Tweaker as pointed out at the end of these instruction) and put it into the startup folder C:\Users\<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

ililim commented 3 years ago

Thanks all! This has been added to the README. In the future I'd like to add an (optional) installer that can set these kind of things up for you - but for now having the user do it manually should be OK. I imagine it's mostly technically savvy people using this tool for now, so they might tolerate some amount of tinkering.