xanderfrangos / twinkle-tray Goto Github PK
View Code? Open in Web Editor NEWEasily manage the brightness of your monitors in Windows from the system tray
Home Page: https://twinkletray.com
License: MIT License
Easily manage the brightness of your monitors in Windows from the system tray
Home Page: https://twinkletray.com
License: MIT License
8649 verbose lifecycle [email protected]postinstall: CWD: E:\download\iedeown\twinkle-tray-1.11.4postinstall: Args: [ '/d /s /c', 'electron-builder install-app-deps' ]
8650 silly lifecycle [email protected]
8651 silly lifecycle [email protected]postinstall: Returned: code: 1 signal: nullpostinstall: Failed to exec postinstall script
8652 info lifecycle [email protected]
8653 verbose teardown shutting down workers.
8654 info teardown Done in 0s
8655 verbose stack Error: [email protected] postinstall: electron-builder install-app-deps
8655 verbose stack Exit status 1
8655 verbose stack at EventEmitter. (C:\Users\zimu2\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
8655 verbose stack at EventEmitter.emit (events.js:315:20)
8655 verbose stack at ChildProcess. (C:\Users\zimu2\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
8655 verbose stack at ChildProcess.emit (events.js:315:20)
8655 verbose stack at maybeClose (internal/child_process.js:1021:16)
8655 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
8656 verbose pkgid [email protected]
8657 verbose cwd E:\download\iedeown\twinkle-tray-1.11.4
8658 verbose Windows_NT 10.0.18362
8659 verbose argv "E:\p_x86\nodejs\node.exe" "C:\Users\zimu2\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "ci"
8660 verbose node v12.17.0
8661 verbose npm v6.14.8
8662 error code ELIFECYCLE
8663 error errno 1
8664 error [email protected] postinstall: electron-builder install-app-deps
8664 error Exit status 1
8665 error Failed at the [email protected] postinstall script.
8665 error This is probably not a problem with npm. There is likely additional logging output above.
8666 verbose exit [ 1, true ]
I'm experiencing 2 bugs with the normalize brightness feature.
My settings are:
Internal display: Min: 0, Max: 100
External display: Min 0, Max 70
First of all, whenever I open the Twinkle Tray UI, the brightness of the internal display resets to 70 inmediately if it was over 70 previously.
Second, and more importantly, the feature doesn't work at all. If I set the brightness of the internal display to more than 70, it should raise the brightness of the internal display ONLY, without changing the brightness of the external display, since it's capped to 70. However, it ignores the limit and sets the brightness of the external display to 100 anyways. (and the UI lies about it saying that it's capped to 70). So the feature isn't working at all, really. It just makes the UI glitchy without acomplishing its goal.
Here's a video which shows both issues. You can see that I set the brightness of the internal display to 100 and then I check the brightness of the external display from the display's interface and it changes to 100 despite the limit. After that, I open the Twinkle Tray UI and the brightness of the internal and external displays inmediately drops to 70
The video might look like I set the brightness limit for the wrong screen but that's not the case. In fact, you can see that the internal display, which is the one that is set to uncapped, is properly recognized by the program as an internal laptop display.
Would be nice if you can set times where it Adjust the brightness to a certain value
Encountering some weird behavior. Saw it on v1.10.0 (from Microsoft Store) and still seeing it on v1.10.1 from the GitHub release.
Almost every time I open the tray, the brightness of my laptop's built-in display decreases, generally following this sequence with some variation: 100, 83, 68, 56, 46, 38, 31, 25, 20, 16, 13, ... 1.
This doesn't happen with my external monitor (connected over USB-C->HDMI) which works perfectly with Twinkle Tray. Only the internal monitor (eDP) is affected. I've set the minimum brightness range to 90 as a workaround and am happy with that, but I thought this bug was worth putting out there.
Error given:
A JavaScript error occurred in the main process
[Content]
Uncaught Exception:
Error: Failed to get physical monitor count.
at process.func (electron/js2c/asar.js:140:31)
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1016:18)
at Object.func (electron/js2c/asar.js:140:31)
at Object.func [as .node] (electron/js2c/asar.js:149:18)
at Module.load (internal/modules/cjs/loader.js:816:32)
at Module._load (internal/modules/cjs/loader.js:728:14)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
On version 1.9.0
When you adjust volume with keyboard shortcuts an indicator pops up in the top left of the screen for a few seconds. Can we get this same thing for the brightness hotkeys?
Btw, I love this app and use it all the time!
Been using the app for a while and I love it, but I think that support for custom hotkeys would be a great addition.
Keep up the good work!
I just downloaded the latest version from the Windows store. When I select the top slider, the bottom slider moves. When I select the bottom slider, the top slider moves. Very confusing.
If you want you can see video on my OneDrive
https://1drv.ms/v/s!AjeVI4nhcV5Uk9M_fDjksYlQ2I_XHw
As of the 1.12.0 update, I'm having an issue where using the brightness hotkeys in Rocket League (running in exclusive fullscreen mode), causes the game to minimize each time a brightness hotkey is pressed. I went back to 1.11.4 and confirmed this doesn't happen. Unfortunately I couldn't recreate in other games, but RL is free on Epic Games if you need it for testing.
I'm running an external display with the laptop screen disabled. Yet Twinkle tray shows both screens and tries to adjust both levels under such operations such as hot key level adjustments
Hi! Saw the app mentioned by you on reddit and thought I'd give it a try. I installed the app from your github releases page (v1.6.3) and I have the following issues.
I use a program that lets me change the volume, by hovering the mouse anywhere in the system tray and scrolling.
When hovering over Twinkle Tray, it will change volume and brightness at the same time.
An option to disable this scroll feature would solve my issue.
Not all monitors can be set from 0-100. Mine goes from 0-20 for example. You added a user setting for this, which is ok if you know your monitor's range, but it would be better if the app would read this automatically (this information is available when reading the monitor properties via DDC/CI).
By the way, I like the interface of this app a lot. I just replaced ClickMonitorDDC, which I was using for a long time.
There is a button that shut down the screens.
Could you add a hotkey to do the same ?
By the way, the meaning of the moon icon in the tray menu is not very clear.
It made me think of night mode at first sight.
Somethink like this should be more understandable I think
https://fontawesome.com/icons/lightbulb-slash?style=regular
This icon is not free, but that is just to give an idea
We can add an option like EarTrumpet to switch tray icon style whether twinkle tray style or system style from Segoe MDL2.
Thanks for the App, Twinkle Tray looks great, works great and the additional settings are really useful! Great to see well mantained software.
I only have one problem with Twinkle Tray: the flyout doesn't close reliable in some situations. Especially when playing a video game and trying to quickly switch the brightness. Going back into the game Twinkle Tray stays open.
Maybe you could improve the behaviour, how Twinkle Tray recognizes being out of focus or closing Twinkle Tray if the user clicks again on the Icon on the taskbar.
The easiest fix: implement a keyboard listener which closese the flyout when pressing the "esc" key. Every Windows Flyout supports this.
Thanks!
It has 72MB. Is it has any problem?
From my personal experience, this software should not need that size.
If using Windows 10 light colour scheme (almost white) the Twinkle Tray system tray icon stays white which is hard to see against the background.
Would be nice to have an option to turn it black (maybe auto change) if the Windows theme colour is changed to white.
Best app in win10!
but i want know is 1XX MB in win10 store?some other app just need 1.X MB.
And why need four processes?
Thanks to xanderfrangos!
When HDR support is enabled, brightness control on my monitor is disabled.
Instead, the following slider can control brightness of SDR apps, which acts like a 'pseudo' brightness bar.
Twinkle tray's brightness control in this scenario should either
Right now I can mess around with the brightness slier in Twinkle tray, but it looks like it's corrupting my monitors brightness setting (which are disabled) and has the ability to completely turn off my monitor at setting 0%, and in general doesn't look like it's doing the correct thing and possibly corrupting some state. I had to restart my monitor to reset settings back.
When using a Windows 10 Home laptop along-side of an Acer monitor connected using an HDMI cable, twinkle tray fails to detect the second monitor.
An error occurs when editing on weblate. It may be a temporary error on the site, but I report it.
Because I choose japanese, The error message is Japanese, and contains the English word "checksum".
error message:
パラメータ checksum 内でエラー: この項目は必須です。
I am saddened that the program is in English only.
I suggest to localize the program.
I am ready to assist in the translation into Russian.
(For example, you can use the service Crowdin or any other. Crowdin is free for Open source projects.)
If you're having trouble with Twinkle Tray detecting your displays, please refer to the following page:
Display Detection & Support Issues:
https://github.com/xanderfrangos/twinkle-tray/wiki/Display-Detection-&-Support-Issues
If that page doesn't help, post to the Monitor Compatibility Issues discussions and I'll do my best to help when I'm available. I also encourage users who've determined that the problem wasn't covered in the wiki page to share what worked for them.
Please do not open an Issue about a specific monitor if the issue is isolated to just that model.
I just discovered this awesome app and and I ran into a small problem with the second monitor.
The monitor is connected with HDMI cable, running latest AMD Adrenalin 20.9.1 WHQL driver.
Here is the monitor manual: https://images-eu.ssl-images-amazon.com/images/I/C1rf83w6VZS.pdf
Currently, I have to have two icons in the systray - the twinkie one and the power icon to change screen brightness and see my battery charge. It would be nice to have 2in1 functionality twinkie icon for that
Regardless of my settings, the brightness is only shown on the display after a delay (about 4-5 seconds later).
With the tool Monitorian it works fluently - so it's basically possible with my PC model (Samsung RV720 laptop).
But Twinkle Tray has better features otherwise, so I would like to continue using it.
The app is very useful, but currently the contrast cannot be changed. I'm eagerly looking forward to the addition of the ability to change the contrast with the slider. I like this app so much that I will pay for it if the ability to change the contrast is added.
I can't find the switch for app theme changing(light/dark).
It happened like this:
I used an old ver.1.11.4, and set a light app theme, so i got used to its appearance. But after I update ver.1.12.3, app theme changed to dark background, then I tried to find the switch, but I failed.
Then, I closed the app and tried to edit file: %userprofile%\AppData\Roaming\twinkle-tray\settings.json:
"theme":"default"
↓
"theme":"light"
Relaunch app, but nothing changed(still dark background), and I read the file(settings.json) again, it restored.
So, that all, could you please provide help?
Looking forward to your replay.
raw user configs in Debug page:
{
"isDev": false,
"userClosedIntro": true,
"theme": "default",
"icon": "icon",
"updateInterval": 500,
"openAtLogin": true,
"killWhenIdle": false,
"remaps": {
"DISPLAY\\BOE0747\\4&8a52dc4&0&UID265988_0": {
"min": 0,
"max": 25
}
},
"hotkeys": {},
"hotkeyPercent": 10,
"adjustmentTimes": [],
"adjustmentTimeIndividualDisplays": false,
"checkTimeAtStartup": false,
"order": [],
"checkForUpdates": false,
"dismissedUpdate": "",
"language": "system",
"settingsVer": "v1.12.3",
"names": {
"DISPLAY\\BOE0747\\4&8a52dc4&0&UID265988_0": "Twinkle ☆"
},
"analytics": true,
"scrollShortcut": false,
"useAcrylic": false,
"useNativeAnimation": false,
"uuid": "d2464a07-95c2-45cb-ac76-40b1c7a114d8",
"branch": "master"
}
image about system color settings and app page(couldn't find dark/light switch in app pages):
When the taskbar is on the top of the screen, the flyout doesn't appear. I suspect it is opening off screen as when the taskbar is on the side / bottom of the display, it opens just fine.
When I first installed the app, everything worked. Installation was from the MS store.
In the mean time my main monitor (Lenovo) stoped reacting to changes of brightness. At the same time Dell changes are visible. Nothing happens even if I link the monitor values.
Today I installed the latest version from Github, but nothing changed (except for Lenovo name now handled correctly - thanks for that).
Both monitors are connected via DP, if that matters, to AMD RX580. Drivers are up to date, as per Radeon software. Difference is that Dell is pivoted to vertical position. Lenovo is horizontal.
What happens:
I make changes to sliders. Dell reacts instantly. For Lenovo nothing happens.
I close the Twinkle tray windows and opet it again. Lenovo values are defaulted to 50.
As the title says the fn keys are not detected on hotkeys config
I have 4 monitors plugged in, three regular monitors and one tv. Only one of them is recognized by the program, however. The one that is recognized is the one plugged in through VGA into my motherboard, while the other three are connected to my graphics card.
Is this a bug or if the program is intended to only recognize the monitors directly plugged in to the internal graphics? If it's the second, I'd like to request support for dedicated graphics card to be added in a future update.
It would be great if you would add one of those translation status widgets at: https://hosted.weblate.org/widgets/twinkle-tray/#multi on your website https://twinkletray.com/
BTW, I've just translated the app into Croatian at Weblate.
Cheers,
Milo
It would be great if you could use the scroll wheel above the icon on the taskbar to change the brightness.
I use hotkeys to change the brightness of my monitor, not the tray icon.
When using multiple Windows 10 virtual desktops, the OSD, displaying the current brightness, only pops up on the first virtual desktop. When any other virtual desktop is active, the OSD is not visible (but the brightness still changes).
Windows 10 64 bit, build 1909
All the lines of the changelog overlap :
Language set to french, also tested manually set english.
Scaling set to 125% in Windows, tested reverting to 100% to no avail.
Screen resolution does not matter (tested in 3440x1440 and 1920x1080).
Tested resizing the window to no avail.
Good day,
I would like to configure Twinkle Tray to change the display brightness not to a specific time but according to sunrise and sunset information in the area where I currently am. Could you implement this function in the UWP app version?? It was very handy if Twinkle tray would look automatically in what area I am and if it could update the sunset/sunrise time information on a maybe daily basis and then changes the brightness according to when the sun rises or goes down.
Hope you may implement this! Thanks!
It would be nice if we could take advantage of the tray icon to access a shorcut, ideally user defined, like turning off the default monitor, opening settings, etc.
Keep up the good work!
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.