Mouse side button remapping issue #4014
Replies: 2 comments
-
When adding rules in the editor, you only need to include the content inside rules. {
"description": "Assign Command+[ and Command+] to mouse side buttons in System Settings",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com.apple.systempreferences$"
],
"type": "frontmost_application_if"
}
],
"from": { "pointing_button": "button4" },
"to": [
{
"key_code": "open_bracket",
"modifiers": ["command"]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com.apple.systempreferences$"
],
"type": "frontmost_application_if"
}
],
"from": { "pointing_button": "button5" },
"to": [
{
"key_code": "close_bracket",
"modifiers": ["command"]
}
],
"type": "basic"
}
]
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, Thanks for providing me the solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've been trying to remap my mouse side buttons for 'System setting'.
What I want to do: Assign mouse button 4 to back which is
cmd + [
, Assign button 5 to forward which iscmd + ]
.Problem : It generates the error below.
Could someone help me how to make it work?
Or side buttons on mouse are simply not supported?
The code that i wrote ( with chatGpt) is below.
I also check the id of app in terminal.
I'm on sequoia 15.1.
❯ osascript -e 'id of app "System Settings"' com.apple.systempreferences
This app is really amazing and I would appreciate any assistance in making this remapping work.
Beta Was this translation helpful? Give feedback.
All reactions