Open rishirsv opened 3 months ago
Hello @rishirsv, it's nice to see you've liked the script :)
To have it working on ver. 0.2.0 (in <0.2.0 versions step 1 can be omitted)
execute this command: hidutil property --set '{"UserKeyMapping":[]}' In the script I swap control and command using hidutil (in order to get control + LMB shortcuts working) - this swap is not shown in the system preferences. You have to execute the above command after every system startup to undo this, but if you want to go with this solution you can make this change permanent. Now we can just test it.
Remove "Disable default app switcher" rule in Karabiner (I assume you've already done that?)
Remove "Opt & Cmd swap (...)" rule in Karabiner.
This should do the job (only for macos keyboard layout AFAIR), but probably will also impact the rest of the functionalities.
Unfortunately I don't se an option to modify the built in app switcher shortcut on system level. My another recommendation would be to write custom Karabiner rule to achieve that, so you don't need to execute those 3 steps and it would also not cause any unwanted side effects.
As you see the script is rather meant to be used as a whole - I do many tricks to make all tools work together properly.
You could list all the things you are and aren't gonna use from my script, so I could think about such cases as yours in future if possible. Maybe I'd add another installation step to choose preferred app switcher, so the script adjusts to that.
It worked :)
Thank you. As for future use of the script, I really just wanted to use common windows shortcuts and keyboard layout on my home mac mini. I use a PC for work and heavy in Excel, so hard to go back and forth. I generally don't like to use third party apps, so wanted to use the native functionality. I think an option in the script install for using third party vs. native solution would be great.
For step 1, how do I make this change permanent?
Rishi Sharma 416-684-6462
On Fri, Aug 9, 2024 at 2:45 AM Mateusz @.***> wrote:
Hello @rishirsv https://github.com/rishirsv, nice to hear you've liked the script :)
To have it working on ver. 0.2.0 (in <0.2.0 versions step 1 can be omitted)
1.
execute this command: hidutil property --set '{"UserKeyMapping":[]}' In the script I swap control and command using hidutil (in order to get control + LMB shortcuts working) - this swap is not shown in the system preferences. You have to execute the above command to undo this behaviour after every system startup, but if you want to go with this solution you can make this change permanent. Now we can just test it. 2.
Remove "Disable default app switcher" rule in Karabiner (I assume you've already done that?) 3.
Remove "Opt & Cmd swap (...)" rule in Karabiner.
This should do the job (only for macos keyboard layout AFAIR), but probably will also impact the rest of the functionalities.
Unfortunately I don't se an option to modify the built in app switcher shortcut in the system level. My another recommendation would be to write custom Karabiner rule to achieve that, so you don't need to execute those 3 steps and it would also not cause any unwanted side effects.
As you see the script is rather meant to be used as a whole - I do many tricks to make all tools work together properly.
You could list all the things you are and aren't gonna use from my script, so I could think about such cases as your's in future if possible.
— Reply to this email directly, view it on GitHub https://github.com/raxigan/pcfy-my-mac/issues/16#issuecomment-2277255988, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFYVCC5ZZQ3XVDZHQCWOWA3ZQRQP5AVCNFSM6AAAAABMHTSL52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZXGI2TKOJYHA . You are receiving this because you were mentioned.Message ID: @.***>
To make this change remain active after system restart just delete this file created by the script:
/Users/{username}/Library/LaunchAgents/com.github.pcfy-my-mac.plist
I am trying to use your script, but without using the rectangle and alt+tab applications on Mac OS Sequoia, in preference of the built-in tools.
When I disable alt+tab application, I cannot get the alt+tab on the keyboard (which should map to left_command+tab in system) to activate the built-in app switcher. The built-in app switcher does work using ctrl+tab (which is left_control+tab in system).
Can you assist? Love the script!