-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fluor stopped working with Karabiner Elements 13.7 on Big Sur #65
Comments
I am still using Fluor 2.1.0 build 1670 and it works OK. |
Thanks! I can confirm that. I have an unusual requirement: to switch to function-key (fn) mode in Fluor when a particular app (BeebEm 4) is active on macOS Mojave on an old 2014 MacBook Pro. But I also want Karabiner-Elements to remap the Right Option key to Enter (because I got used to the muscle-memory ages ago on an old MacBook). Reverting to Fluor 2.1.0 was the only way to achieve what I wanted because the latest release of Fluor (v2.5.0) doesn't seem to work with Karabiner-Elements. |
FWIW, I found a link for Fluor 2.1.0: https://web.archive.org/web/20210201220229/https://fluorapp.net/ |
Hi guys I had same problem, and I found one [Karabiner-Elements complex_modifications rules] and no need anymore for flour : https://ke-complex-modifications.pqrs.org/#function_keys |
Unfortunately that is not ideal as it prevents you from using the Fn key to temporarily control media in the apps you've chosen. |
|
I haven't. I figured it might be possible with Karabiner Elements using complex rules to tell it to override the behavior of the media keys when pressed with Fn but I haven't been able to get it to work. |
Thanks for the answer. I've tried that in the end, config got extremely long, but it works fine. |
Do you mind sharing your config? |
No problem! This is the pattern I'm using:
This repo vastly simplifies writing of Karabiner configs, you could consider using it: https://github.com/yqrashawn/GokuRakuJoudo |
That's pretty much the configuration I had written too, for me it doesn't work though. Edit: never mind, it works just fine. Thank you! |
An update for those that would like to also disable media keys with modifiers (ctrl, shift, command, option):
If the modifiers aren't specified in the second part of the configuration that maps the F12 key back to itself (instead of the media functionality), they get caught by the first section with the |
Copy-paste solution for people finding this in the future. First you'll need to know how to create your own complex rule - video tutorial. The fn keys act as function keys in the selected application, but change to brightness, volume etc when fn is held. This isn't the case for f3-f6 because I don't use the mission control, spotlight etc buttons, but if you want them to work you'll be able to figure it out from the code. This is Jendker's solution as above but written out in full. Hope this helps someone!
|
I'll just add my 0.02$ to the post above. It's important to add:
to each basic modification to make sure that any modifier keeps working as expected with F keys. |
Reading this issue, and seeing how Fluor seems unmaintained, I tried Karabiner Elements. But it's too complicated for doing just this, which in my case was defaulting to F1, F2,... on Parallels Desktop. I'm a programmer. I don't shy away from scripts and configs, etc. I think I'll continue to use Fluor until it breaks (works well on Sonoma 14.3), then look at the best script to start with and customise. Huge thanks to @Pyroh for creating this. |
My version keeps F keys as F1-12 by default and converts to multimedia keys only in Spotify, Music etc. In case anybody needs as such, here is the code: Expand{
"description": "[Spotify, mpv, VLC, Music, IINA] F1-F12 => Multimedia & Functions",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f1",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f1"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "display_brightness_decrement"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f2",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f2"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f7",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f7"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f7"
},
"to": [
{
"consumer_key_code": "rewind"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f8",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f8"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f8"
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f9",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f9"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fastforward"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f10",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f10"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f11",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f11"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f12",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "f12"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Music$",
"^com\\.colliderli\\.iina$",
"^com\\.spotify\\.client$",
"^io\\.mpv$",
"^org\\.videolan\\.vlc$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
],
"type": "basic"
}
]
} |
Fluor does not work with Karabiner Elements 13.7 on Big Sur anymore (it worked for years on Catalina and Karabiner Elements 13.5 and below).
It works perfectly fine if Karabiner Elements is turned off though.
I suppose it's more a Karabiner Elements than a Fluor issue. I've reported it also there:
pqrs-org/Karabiner-Elements#2858
The text was updated successfully, but these errors were encountered: