I'm trying to change my hotkeys to Windows-like layout. When I replace all the 'cmd's with 'ctrl's in the hotkeys.txt file it does nothing and after reopening the hotkeys.txt again, all the changes are reversed back to 'cmd's. How can I change the hotkeys for my use? If there's some restrictions with it, please, fix it as soon as possible
MacOS: hardcoded CMD instead of CTRL?
It appears that on macOS, the cmd
key is hardcoded to function as the ctrl
key does on Windows. This means that even if you modify the hotkeys.txt
file to replace cmd
with ctrl
, the changes will revert back to cmd
upon reopening the file. This behavior is by design to ensure consistency across different operating systems.
To customize your hotkeys, you should use the cmd
key in place of ctrl
for macOS. If you want to reset your hotkeys to default, you can delete the hotkeys.txt
file or clear its contents and restart Spine. This will regenerate the default hotkeys file. Additionally, you can use the "Defaults" button in the settings dialog to reset the hotkeys, but you will still need to restart Spine for the changes to take effect.
Here is a step-by-step guide to reset and customize your hotkeys:
- Open the settings dialog in Spine.
- Locate and open the
hotkeys.txt
file. - Delete the contents of the file or delete the file itself.
- Restart Spine to regenerate the default hotkeys file.
- Edit the
hotkeys.txt
file to customize your hotkeys, usingcmd
for macOS.
If you are using a non-QWERTY keyboard layout, you may need to adjust the settings accordingly to ensure the hotkeys work as expected.
For example, if you want to set the undo action to cmd+Z
, your hotkeys.txt
should include:
Undo: cmd + Z
If you encounter any issues with specific hotkeys or keyboard layouts, you can manually edit the hotkeys.txt
file to suit your needs, but remember to use cmd
instead of ctrl
for macOS.
Well, thank you bot for a useless reply. Is there any human?
I'm already using karabiner to fix mac's shitty shortcuts in most of the cases, but because of the described issue it does not help here
- 已编辑
The bot is giving you correct information so I can't really elaborate more on that, but it sounds strange that you are unable to use karabiner to get what yo uwant. If you do not touch hotkeys.txt
and use karabiner to assign cmd to ctrl
and ctrl to cmd
do you not get the desired result ?
Søren so you suggest me to throw away everything I've already set up on shortcuts in other apps and set this global change just for the Spine? I would like at least to try set up the condition in karabiner to run specified scripts to only work in Spine, but karabiner uses bundleID for that thing and Spine does not have such id
Sorry, I'm unfortunately not very familiar with karabiner, I thought you were able to set it up for a single app. I'm not suggesting you throw away everything of course.
I've forwarded your thread to someone more knowledgeable on Mac issues, but I don't know if the reply will be different from what the bot already gave you. With that said, we're investigating some hotkey issues at the moment, so it's possible something can be done to address your issue as well, but I can't make any promises.
In macOS terminology, there is no ctrl
key. The same key is called cmd
. Spine uses the key name appropriate for the OS it is being run on. Using cmd
or ctrl
in your hotkeys file will work identically. If you are still having a problem, please describe the problem.