pyroh / fluor Goto Github PK
View Code? Open in Web Editor NEWA handy tool for macOS allowing you to switch Fn keys' mode based on active application.
Home Page: https://fluorapp.net
License: MIT License
A handy tool for macOS allowing you to switch Fn keys' mode based on active application.
Home Page: https://fluorapp.net
License: MIT License
Reproduce:
expected result:
actual result:
The app crashes on me on Mac OS X 10.11.6 (El Capitan).
Nothing useful in the Console:
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Is this app not supported on 10.11?
Hey @Pyroh!
I put this up on PH today, but have no way to list you as a maker. Do you have a twitter handle I could attach? Trying to get you some PH love for what is a great product!
Cheers!
Is it in scope of this project to activate the touchbar function keys for certain apps?
I'm using winehq to play windows game in macOS.
Unfortunately, it can't detect winehq application as active application.
Hi, amazing app, works perfectly for my Pro Tools needs.
When I add my official Apple wired keyboard (has all the relevant F keys up top), the F-keys don't function either way till I flip the default mode switch in the app and then it's all fine again. Wondered if you might be able to squish this little bug.
Many thanks for your work.
Why have I never heard of this? Where was this when I needed it?
Hello.
I'm trying to configure Fluor using command line, but it doesn't work for some reason...
I configured 2 application in Fluor (using gui) and got this output:
$ defaults read com.pyrolyse.Fluor AppRules
(
{
behavior = 1;
id = "org.mozilla.firefox";
path = "/Applications/Firefox.app";
},
{
behavior = 2;
id = "com.googlecode.iterm2";
path = "/Applications/iTerm.app";
}
)
Then I quit Fluor and removed all it's Application rules using defaults delete com.pyrolyse.Fluor AppRules
.
Then I add new AppRules
configuration using this command:
$ defaults write com.pyrolyse.Fluor AppRules -array '{
behavior = 1;
id = "org.mozilla.firefox";
path = "/Applications/Firefox.app";
}' '{
behavior = 2;
id = "com.googlecode.iterm2";
path = "/Applications/iTerm.app";
}'
# Output is the same like in the first example:
$ defaults read com.pyrolyse.Fluor AppRules
(
{
behavior = 1;
id = "org.mozilla.firefox";
path = "/Applications/Firefox.app";
},
{
behavior = 2;
id = "com.googlecode.iterm2";
path = "/Applications/iTerm.app";
}
)
Then I started Fluor again, but I do not see any defined rules in the window.
I have no idea what needs to be done to set these rules using command line.
Thank you for the answer
I know that there would be a lot of work to allow the functionality for external keyboards and this is why it wasn't done yet, but why not to cope it with the script which will change the standard f key functionality in MacOS Preferences? Something like the thing done here: https://github.com/jakubroztocil/macos-fn-toggle
This could make it work with external keyboards with small effort.
What do you think about it? I could also help with that (even though I didn't program with Swift yet).
It would be useful to be able to have a rule that adds the <delete>
key on a Mac keyboard to the keys that would be modified with +<fn>
since when running a Windows VM or using Remote Desktop Protocol (RDP), one currently still needs to press <fn>+<delete>
to get the expected Windows behaviour for the <backspace>
key on a typical Windows keyboard.
Fluor works great when running Microsoft Office applications in a Parallels Windows 10 VM, it's so helpful. It doesn't recognize the Windows application when Parallels is switched to coherence mode though, it would be nice if it did. This might be difficult to do, so more of a wish list request than a bug report.
Hi,
I'm trying to build the executable but it's not working. Do you have the executable for downloading?
Thanks.
I'd pay easily 5 bucks for this. Let it be free as DMG, and charge anything between $1 and $5 on the app store, and I think a couple of dinners a month are free for you.
And yes this is an issue - because for a couple of bucks you keep developing this, and without you might not.
Thank you so much for this app!
Not much to say hereβI just recognized that the icons placed in the switch elements are not scaled to fit the parent box.
See below:
By the way, there is another tiny thing that could be improved.
The 'About Fluor' window does not have the option to close itβso you actually have to quit Fluor and restart it in order to get rid of it.
Keep up the great work and thanks for Fluor :)
I want to use Fluor with the codelite ide to use its keyboard shortcuts. When the application is running, Fluor doesn't see it so it is not possible to set the function keys to function keys when this application is active.
I found https://fluorapp.net to be inaccessible, also I'm surprised that I didn't found a v2 version on GitHub though I'm currently using the v2 version.
Hi,
A game I tried playing did not display in Fluor when I looked for running apps.
The game uses Quake1 engine and not WINE. The name of the app is xonotic.app
This is available on xonotic.org
I have a similar problem with a wine based game called Eve Onine ( mentioned in a Wine related ticket )
Version 1.2beta build 456 on MacOS 10.13 / High Sierra
Would be really grateful if Wine or this game could be looked into.
Many thanks for such a useful app - One day Apple will buy it from you for lots of money ( or at least they should π
Best wishes, Sophie
Will you update this app's repository with the latest code from flourapp.net's release (2.0.2 I think?)
Flour 2.1.0
Mac mojave
I switch mode to fn on TexStudio. Press F11 and it calls the default function of mac: show desktop, instead of another shortcut key I assigned in TexStudio.
I tried to get the source and fix but figured out that they are outdated.
Could you fix this for us or release the source so I can try?
Bests,
The app actually looks nice, but sadly for Xcode it only does two things:
F11 - show desktop
F12 - show dashboard
It would be nice if I could set custom actions for different apps. I will keep an eye on it if it gets updated :D
There's an issue, that reproduces often enough to considerable, I think.
App does react on desktop apps being switched, but it happens after some time (several seconds). This might cause confusion and undesired results. Example: I have Fn keys set up for my IDE and media buttons for everything else. I use some applications, then switch to IDE and want to skip song. Pressing fn + F9 (I am in IDE already and I know that media keys here work with fn key only), but system still thinks media keys are in priority so I get F9 pressed instead. In different IDE's this might be set to different actions, e.g. start building project π which is something I don't want.
Can something be done about this? Palua did not have this behaviour, but it is not available anymore.
I use latest Fluor 2.0.2 build1289 with MacOS 10.14.1
Please add build instructions for apple silicon support, and/or make the brew cask fluor a universal binary.
As a side note, your brew command line syntax has changed, so please update your README document with newer flavor: brew install --cask fluor
Hi Pyroh
it should be mentioned in the README.md that this application requires El Capitain (10.11) or greater.
If I'd have enough time I'll put an eye on the code to see if I'm able to help you and to prepare a PR supporting 10.10 (that is still >20% of the installed MacOS as of Jan 2017).
thank you
Stefano
It could be good to add a Sparkle updater so that people can get notified about new updates. Not sure how difficult this is though?
Hi there,
thanks for this tool, highly appreciated π I also was looking for a tool like this.
To my feature request:
An option to whitelist some (function) keys.
Example: Whitelist F1+F2 to always keep the brightness-options.
Maybe that's something for version 1.1 π
This application works great with a keyboard however, on my Touch Bar MacBook Pro, when I click an application that has the function key override, the default Touch Bar appears.
I want this setting to also toggle the setting under Keyboard Preferences:
Touch Bar shows: F1, F2, etc., Keys
This way, I don't have to press the function key, so see the function keys, hence defeating the purpose of the application.
When I click off of the application, it should switch back to:
Touch Bar shows: App Controls with Control Strip
If you could do this, I'd gladly make a donation to the development team.
It'd be cool if holding fn would reveal a view (maybe like the command-tab menu) at the bottom of the screen, displaying the current mappings of the function keys. This could give all the folks with older machines a taste of the cutting edge!
I use Fluor with the default mode set to media keys. I have set function keys to be enabled for certain applications. Sometimes when I resume my laptop from sleep the Fluor indicator shows media keys as enabled when, in fact, function keys are. Has anyone else come across this problem?
When logged in to two users, each running an instance of Flour, it seems that the Flour running on the suspended user still controls the Fn keys. You can reproduce it like this:
Log in to a user, start Flour and an app that you set to swap the keys. Now log in to another user while leaving that app open on the suspended user. Now try the Fn keys on user 2. They are now swapped as set by Flour running on user 1.
The intended behaviour should be that these settings are isolated per user, I think. You can't see from user 2 if user 1 has an app running that makes Flour modify the Fn keys.
Keep up the good work, loving it. β€οΈ
Greetings, Dane
First of all, thank you for this, I never realised I needed this app until now.
Support for installing via brew cask
would be great https://github.com/caskroom/homebrew-cask/blob/master/doc/development/adding_a_cask.md.
I know, that for many users it is useful to have an overview on the current state of the app, but why not to add the possibility to hide the icon in the menu bar? I like to keep it clean without any additional apps like Bartender or alike. Then it would be possible to access Fluor again after launching it one more time manually, when it is already running. I think that should be possible, this is how the other apps often handle it, for example BetterTouchTool.
That would be a nice addition to the current (very beautiful) UI.
I tried
brew cask install fluor
and get
Error: No available Cask for fluor
Error: nothing to install
Can you please check this
Just wondering what the status is for localization of this project? I could translate to Norwegian, but then it would of course need to be ready for translation.
If needed, I could probably see what I could do, but I might need someone pointing me in the right direction. I see that there are quite a few files in the Base.lproj already, though there also seems to be some inline strings that would need to be extracted.
Is it me, or it doesn't seem to work on 10.13.1?
Hey, I'm using the logitech k380 and it doesn't appear to work with fluor. Is this something that's fundamentally not possible?
First off, thank you for this amazing app!
Is this application supposed to change the MBP's TouchBar displays to fn keys? I see it change in the menubar, however the touch bar's display does not change. If not, can this be a feature? Thanks!
I used to use Karabiner to switch the "Use all F1, F2 as standard keys" on and off globally (not per application) but its broken now in macOS Sierra. For instance, turn on when debugging in Eclipse (easy access to F keys), toggle off when coding in Eclipse and listening to music (easy access to music keys). So for me is not about changing the behaviour per application but having a keyboard shortcut to the toggle.
A nice extra was that it would give me a message on-top of all windows to know the current status.
Is there a way to accomplish this using Fluor for macOS Sierra?
Screenshot of on-top message (bottom right corner) and Karabiner setting that used to work on El Capitan:
Hi,
Just noticed that this app won't run anymore ( cannot recall if this ran or not immediately after the upgrade). I upgraded from 10.12 to 10.13 last night. I can click on the app and nothing happens.
Where can I find the log files?
Thanks.
I don't have an Apple Developer account and for now I run your app through Xcode as a builded Xcode project.
Is it possible to extract it as .app so I could run it outside of Xcode?
Pardon me for the silly question.
Best of luck :)
Michel Cevzar
App crashes due to lack of icons
http://joxi.ru/12MV5aOfM5RwbA
I believe the culprit here is something from the code you used from fntoggle, and as such may fall outside of your knowledge to fix, but I just wanted to make you aware that as stated in the title, Fluor simply doesn't function unless Karabiner-Elements is quit. I also opened an issue there in case @tekezo knows how to fix it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.