Giter Site home page Giter Site logo

pyroh / fluor Goto Github PK

View Code? Open in Web Editor NEW
1.9K 1.9K 113.0 12.06 MB

A handy tool for macOS allowing you to switch Fn keys' mode based on active application.

Home Page: https://fluorapp.net

License: MIT License

Swift 81.21% C 0.12% Objective-C 15.78% Rich Text Format 2.89%

fluor's People

Contributors

16patsle avatar a-b avatar pyroh avatar snowfoxzx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fluor's Issues

Fluor does not display running application xonotic.app

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

Hide Fluor icon in menu bar

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.

Fluor on external keyboards

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).

Add Support for Touch Bar

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.

Fluor works incorrectly after resuming system from sleep

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?

codelite is not detected as running app

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.

App Store, one dollar.

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!

Control Touchbar

Is it in scope of this project to activate the touchbar function keys for certain apps?

Apple Silicon support

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

Support for Parallels coherence mode

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.

Fluor does not work with Logitech Craft

  • Connect Logitech Craft keyboard
  • Install Logitech Options software.
  • Switch to an application where the function keys are activated.
    Function keys still have the default behaviour

Images/Icons in switch element not scaled properly (2.0.2) Build 1289

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:

bildschirmfoto 2018-05-10 um 10 47 49

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.

bildschirmfoto 2018-05-10 um 10 48 13

Keep up the great work and thanks for Fluor :)

Is there a way to use single-tap Fn to toggle the β€œUse all F1, F2 as standard keys" option?

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:
image

Pseudo Touchbar

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!

Fluor 1.2beta - cannot start anymore on macos 10.13

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.

Requirements

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

Fluor does not work with Logitech keyboards

Reproduce:

  • Use Logitech MX keys keyboard, with logi options software enabled
  • switch to "fn" for pycharm (or default mode, does not matter)

expected result:

  • pressing "F*" in pycharm triggers the actual pycharm function

actual result:

  • whatever is configured for the key in logi options, for example "show desktop"

Slow reaction to apps focus switching

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

Install via brew cask

I tried

brew cask install fluor

and get

Error: No available Cask for fluor
Error: nothing to install

Can you please check this

Behaviour when multiple users are logged in

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

Error? with F11

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,

Sparkle updates?

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?

Minimal Review

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

Menu in Dark Mode

It appears that the image backgrounds do not format correctly when dark mode is enabled in MacOS.

screen shot 2017-08-08 at 8 16 30 am

Confirmed it's perfect when not enabled.
screen shot 2017-08-08 at 8 20 10 am

Running v1.2beta build 456

[Feature Request] Whitelist Keys

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 πŸ˜„

More discreet taskbar icons

Hi!

Would it be possible to add alternative looks for the menu bar icons, that are a bit more discreet than the current ones?

Like in the screenshot attached
skarmavbild 2017-05-16 kl 06 56 37

Example icons
me_fn_16x16_lion
me_sun_16x16_lion

ps
Btw, the preference window lacks a name and is just called window now :-)

Crashes upon launch

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?

Fluor and "defaults write" command

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

[Non-Issue]Product Hunt

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!

Repository Out of Date

Will you update this app's repository with the latest code from flourapp.net's release (2.0.2 I think?)

Different behaviour with external keyboard

I use an external keyboard on my MBP with highSierra on it and the below shown beta version of Fluor.

issue

The behaviour of the function keys are remapped correct on the internal keyboard, but not on the external one.

Internal keyboard without the fn key, external keyboard with fn key.

Fluor not functional after plugging Mac keyboard in

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.

Dark preferences window background before activating

When I first open the preferences window, the background is very dark. The background gets set correctly when I press anywhere in the window (i.e give it focus)

screenshot 2017-05-24 23 15 12

I'm running MacOS 10.11.6 and Fluor 1.1 (build 118)

Changing touch bar display to fn keys?

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!

Translation/localization

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.

feature request: add <delete> key

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.

Noob can't build an .app file

Thank you for a great little program.

It's great for my 60%keyboard as I have no Fn row and can't have bought features of Fn keys enabled at the same time.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.