GithubHelp home page GithubHelp logo

kalvin126 / brightnessmenulet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from superduper/brightnessmenulet

97.0 12.0 8.0 2.72 MB

macOS menulet that allows control of display brightness, contrast via DDC/CI protocol

Objective-C 100.00%

brightnessmenulet's Issues

Philips PHL 246V5 not working

My monitor (PHL 246V5) is recognized but does not work with your app (the brightness does not change). When I click on the debug button in 'preferences' the app freezes.
If you need any help, tell me and I will be happy to contribute!

Link brightness of external monitor to internal monitor

Thanks so much for this, solved all my brightness problems with my external monitor.

Ideally I would want to have the same brightness across both my internal and external monitor.

Not sure if it's possible to link the two though?

philips 4065uc?

Is there any chance this could work with a Philips 4065UC?

And how do I install? When I download the zip, it does not generate an .app when uncompressed.

Thanks

Dell P2412H not working. How do you undo the brightness change manually?

The app comes up, but:

  • all the slider bars don't work (aren't draggable).
  • If you manually type numbers in the box, it sometimes changes the brightness.
  • Clicking the "debug" button causes the pinwheel of death for a while (minutes), then the app starts responding again.
  • Once the app dims the display, you can never get brightness back. I've exited the app and rebooted and unplugged/replugged the display but it stays dim.

Is there a way to restore/undo the brightness change if the app is broken and can't do it?

Crash report

I am not certain what happened and why it crashed, I just noticed that the menu item was no longer in the menu bar, so I looked for a crash report and found one.
It does seem to contain an absolute path for one of your (@Kalvin126) local files (ddc.c).

Process:               Brightness Menulet [496]
Path:                  /Users/USER/*/Brightness Menulet.app/Contents/MacOS/Brightness Menulet
Identifier:            com.redpanda.BrightnessMenulet
Version:               1.0 (1.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Brightness Menulet [496]
User ID:               501

Date/Time:             2016-05-06 17:16:55.816 +0200
OS Version:            Mac OS X 10.10.5 (14F27)
Report Version:        11
Anonymous UUID:        50E87409-DE6D-C8EF-299F-B2174332BB68


Time Awake Since Boot: 33 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
Assertion failed: (kIOReturnSuccess == kr), function ddc_read, file
  /Users/kalvinloc/Documents/Projects/OBJC/OSX/BrightnessMenulet/BrightnessMenulet/ddc.c, line 146.


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8cdaf286 __pthread_kill + 10
1   libsystem_c.dylib               0x00007fff8d25c9b3 abort + 129
2   libsystem_c.dylib               0x00007fff8d224a99 __assert_rtn + 321
3   com.redpanda.BrightnessMenulet  0x000000010a911348 ddc_read + 696
4   com.redpanda.BrightnessMenulet  0x000000010a912821 -[DDCControls readDisplay:controlValue:] + 81
5   com.redpanda.BrightnessMenulet  0x000000010a90fc6b -[Screen refreshValues] + 219
6   com.redpanda.BrightnessMenulet  0x000000010a91301e -[DDCControls refreshScreens] + 1870
7   com.redpanda.BrightnessMenulet  0x000000010a90b5ab -[MainMenuController refreshMenuScreens] + 91
8   com.redpanda.BrightnessMenulet  0x000000010a913e44 -[AppDelegate applicationDidChangeScreenParameters:] + 116
9   com.apple.CoreFoundation        0x00007fff8a06745c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
10  com.apple.CoreFoundation        0x00007fff89f57634 _CFXNotificationPost + 3140
11  com.apple.Foundation            0x00007fff8dffeaa1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
12  com.apple.AppKit                0x00007fff83b7ee7e -[NSApplication _reactToScreenInvalidationImmediately:] + 379
13  com.apple.AppKit                0x00007fff83b7ecc7 __44-[NSApplication _reactToScreenInvalidation:]_block_invoke + 75
14  com.apple.CoreFoundation        0x00007fff89fc78ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
15  com.apple.CoreFoundation        0x00007fff89fb99f5 __CFRunLoopDoBlocks + 341
16  com.apple.CoreFoundation        0x00007fff89fb9536 __CFRunLoopRun + 1814
17  com.apple.CoreFoundation        0x00007fff89fb8bd8 CFRunLoopRunSpecific + 296
18  com.apple.HIToolbox             0x00007fff8159156f RunCurrentEventLoopInMode + 235
19  com.apple.HIToolbox             0x00007fff815912ea ReceiveNextEventCommon + 431
20  com.apple.HIToolbox             0x00007fff8159112b _BlockUntilNextEventMatchingListInModeWithFilter + 71
21  com.apple.AppKit                0x00007fff838028ab _DPSNextEvent + 978
22  com.apple.AppKit                0x00007fff83801e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
23  com.apple.AppKit                0x00007fff837f7af3 -[NSApplication run] + 594
24  com.apple.AppKit                0x00007fff83774244 NSApplicationMain + 1832
25  com.redpanda.BrightnessMenulet  0x000000010a90b542 main + 34
26  libdyld.dylib                   0x00007fff85bc15c9 start + 1

Auto-brightness setting not remembered

My monitor does not support Auto-brightness so I disabled it.
However, whenever I restart the app the feature is enabled again.
Is this intentional, or should the setting be remembered by the app?

Display issues in the value of the slider

(I am running Yosemite, in case this is a font issue)

When opening the dropdown menu the background behind the number is whiter than the background of the rest of the menu. It would be nicer if the background had the same color.
background
Setting the slider to 100 causes the number to be slightly to large to fit in the box for the number.
fit

Flux

This is awesome - thanks v much! (Dell U2715h)

Any chance for flux integration (perhaps increasing brightness based on current white point?)

cheers
y

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.