Coder Social home page Coder Social logo

sidneys / desktop-dimmer Goto Github PK

View Code? Open in Web Editor NEW
364.0 15.0 38.0 6.16 MB

Enable darker-than-dark dimming for internal and external screens.

License: Creative Commons Zero v1.0 Universal

JavaScript 91.07% HTML 2.39% CSS 6.53%
desktop dark shade electron windows linux macos dimmer dimming nodejs

desktop-dimmer's Introduction

Desktop Dimmer Beta travis appveyor npm dependencies devDependencies



Enable darker-than-dark dimming for internal and external screens.
Available for macOS, Windows and Linux (Beta).


macOS Windows 10


Cross-Platform

Tested on macOS Sierra, Windows 10 Anniversary. Beta support for Ubuntu 16.10.

Lean

Small resource footprint, minimal User Interface.

Unobstrusive

Settings are persisted and restored per-Display without any configuration.

Smart

Heading out? Disconnecting and reconnecting external displays are handled seamlessly.

Open Source

GitHub-based workflow, MIT licensed.

Contents

  1. Installation
  2. Developers
  3. Continuous Integration
  4. Up Next
  5. Contact
  6. Author

Installation

Standard Installation

Download the latest version of Desktop Dimmer on the Releases page.

Installation as Commandline Tool

npm install --global desktop-dimmer		# Installs the node CLI module
desktop-dimmer							# Runs it

Developers

Sources

Clone the repo and install dependencies.

git clone https://github.com/sidneys/desktop-dimmer.git desktop-dimmer
cd desktop-dimmer
npm install

Scripts

npm run start

Run the app with integrated Electron.

npm run start
npm run start:dev 					# with Debugging Tools
npm run start:livereload 			# with Debugging Tools and Livereload

npm run localsetup

Install the app in the System app folder and start it.

npm run localsetup
npm run localsetup:rebuild			# Build before installation
npm run localsetup:rebuild:dev 		# Build before installation, use Developer Tools

npm run build

Build the app and create installers (see requirements).

npm run build					# build all available platforms
npm run build macos windows		# build specific platforms (macos/linux/windows)

Build Requirements

  • Building for Windows requires wine and mono (on macOS, Linux)
  • Building for Linux requires fakeroot and dpkg (on macOS, Windows)
  • Only macOS can build for other platforms.

macOS Build Setup

Install Homebrew, then run:

brew install wine mono fakeroot dpkg

Linux Build Setup

sudo apt-get install wine mono fakeroot dpkg

Continuous Integration

Turnkey build-in-the-cloud for Windows 10, macOS and Linux.

The process is managed by a custom layer of node scripts and Electron-optimized configuration templates. Completed Installation packages are deployed to GitHub Releases. Builds for all platforms and architectures take about 5 minutes. Backed by the open-source-friendly guys at Travis and AppVeyor and running electron-packager under the hood.

Setup

  1. Fork the repo
  2. Generate your GitHub Personal Access Token using "repo" as scope. Copy it to the clipboard.
  3. macOS + Linux
    1. Sign in to Travis using GitHub.
    2. Open your Travis Profile, click "Sync Account" and wait for the process to complete.
    3. Find this repository in the list, enable it and click "⚙" to open its settings.
    4. Create a new Environment Variable named GITHUB_TOKEN. Paste your Token from step 2 as value.
  4. Windows
    1. Sign in to AppVeyor using GitHub.
    2. Click on "New Project", select "GitHub", look up this repo in the list and click "Add".
    3. After import navigate to the Settings > Environment subsection
    4. Select "Add Variable", insert GITHUB_TOKEN for name, paste your Token as value. Save.

Triggering Builds

  1. Add a new Tag to start the build process:

    git tag -a v1.0.1
    git push --tags

    The builds are started in parallel and added to the "Releases" page of the GitHub repo (in draft mode).

  2. Use the editing feature to publish the new app version.

  3. There is no step 3

Up Next img

  • Colored Shades
  • In-App Updates (Squirrel)
  • Signed binaries
  • E2E Testing (Spectron)

Contact Contributions Wanted

  • Gitter Developer Chat
  • Issues File, track and discuss features and issues
  • Wiki Read or contribute to the project Wiki

Author

sidneys 2016

desktop-dimmer's People

Contributors

sidneys 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

desktop-dimmer's Issues

Preferences window shows two options on the same line without a space between them on a 2K monitor.

🤷🏽‍♂️ Current Behaviour

Preferences window shows two options on a single line with no separation between them.

🎯 Expected Behaviour

First option should appear on one line. Second option should be displayed below. (That's the case on lower resolution monitors I tested.)

👟 Steps to Reproduce (S2R)

  1. Click on the running application icon located in the Mac Toolbar.
  2. Click on the cog wheel button to bring up the Preferences window.
  3. Window shows '[v] App Auto Update[v] App Launch On Startup' all on one line without a gap in between.

🏡 Environmental Context

App Version
v4.0.4
Installation Type
Setup
Operating System
macOS High Sierra 10.13.6
Hardware Display Device
single external monitor 2K/QHD 2560x1440 (1418)

App Throws Error On Fedora 31 x64

🤷🏽‍♂️ Current Behaviour

Application fails to run on Fedora 31 x64

(desktop-dimmer:2206266): Pango-ERROR **: 03:17:55.384: Harfbuzz version too old (1.2.7)

Trace/breakpoint trap (core dumped)

🎯 Expected Behaviour

Application should run

👟 Steps to Reproduce (S2R)

  1. At command prompt, enter desktop-dimmer

🏡 Environmental Context

4.0.4
Installation Type
RPM
Operating System
Fedora 31 x64
Pango 1.44.7-1
Harfbuzz 2.6.1-2

Dimming is one pixel off

Observing this issue on Ubuntu 16.04.2, not sure if it affects other versions.

When Desktop Dimmer is running, it dims the whole screen but a one-pixel row at the bottom of the screen and a one-pixel column at the right of the screen.

Here's a screenshot of the bottom right of my screen as proof, obviously you'll need to zoom in a lot to see that off-by-one pixel issue.
desktop dimmer pixel off

This is only noticeable when the alpha value is turned way up and the one-pixel column/row is bright (white for example), the rest of the time it's barely noticeable.

No menu icon in Ubuntu

Launching the AppImage on Ubuntu 16.04 results in just a blinking cursor, with no visible user interface or menu item.

Dimness covers only a thumbnail-sized patch of screen

🤷🏽‍ Current Behaviour

Instead of the entire screen, only a 63x63 px square in the upper-left corner is dimmed.

Screenshot

🏡 Environmental Context

App Version
desktop-dimmer-4.0.4-setup.exe

Operating System
Windows 7 Home Premium x64 (version 6.1, build 7600)

Privacy

I have a question. I'm looking for alternative to f.lux because of their privacy policy and I'm searching for software without any internet activity like previously mentioned f.lux. Is this software meets my expectations or not ?

Made with electron.

hi i have a low spec pc with only i7 and 16gb memory, it eats too many memories and cpus. please fix

The cursor and dropdown menus should also be dimmed

Hello,

First, thank you very much for the awesome work on the app!

This is a feature request. Would be lovely if the app also dimmed the cursor and dropdown menus from apps that are still lit, currently it's a bit distracting having the screen dimmed but with the cursor and menus still very bright.

Best regards,
Cristiano Vitorino

Segmentation fault on linux

Segmentation fault

🤷🏽‍♂️ Current Behaviour

Stopped working.

🎯 Expected Behaviour

It was working before but not now.

👟 Steps to Reproduce (S2R)

  1. Install
  2. Doesn't run.

🏡 Environmental Context

App Version
4.0.4
Installation Type
Arch Linux AUR
Operating System
Linux - Arch Linux x64

Add ability to pause Desktop Dimmer

Currently, if we want to temporarily disable Desktop Dimmer, there are two options:

  1. Set the alpha value to 0
  2. Quit Desktop Dimmer

None of those solutions are satisfying because:

  1. Requires the user to reset the desired alpha value
  2. Requires the user to reset the position of the slider (at least until #8 is resolved)

It would be nice to instead have an option in the menu to disable (and re-enable) Desktop Dimmer.

one monitor only gets a tiny dark square in the upper left corner

🤷🏽‍♂️ Current Behaviour

Only 3 of my 4 mintors are properly getting dimmed.
The one with the taskbar only gets a tiny dark square in the upper left corner.

🎯 Expected Behaviour

all monitors can be dimmed

👟 Steps to Reproduce (S2R)

Install it o.O

App Version
auto updated
Installation Type
Setup
Operating System
Windows 7 Ultimate x64

corner

Unable to scroll up or down in Microsoft Edge while dimmer is on

🤷🏽‍♂️ Current Behaviour

When I try to scroll up or down in Microsoft Edge with my cursor or my keyboard while dimmer is on, I am not able to scroll down, but when I pause or turn off dimmer, the scroll down function immediately works.

🎯 Expected Behaviour

Dimmer should not have conflict with scrolling up and down.

👟 Steps to Reproduce (S2R)

1: Open Microsoft edge.
2: Turn on dimmer

🏡 Environmental Context

App Version
v3.1.2
Installation Type
Setup
Operating System
Windows 10 Pro x64 (15063.483)

Always pretty print the settings

I keep my Desktop Dimmer config in git and noticed a difference with regards to how the settings (~/.config/Desktop Dimmer/Settings) are saved to disk.

When changing the settings AND quitting Desktop Dimmer, the settings will be pretty printed, like so:

{
  "currentVersion": "2.5.0",
  "overlays": {
    "21691165392764930": {
      "alpha": 0.75,
      "color": "transparent"
    },
    "17607560531959042": {
      "alpha": 0,
      "color": "transparent"
    }
  },
  "launchOnStartup": true
}

But when changing the settings without quitting Desktop Dimmer, the settings will be saved on a single line, like so:

{"currentVersion":"2.5.0","overlays":{"21691165392764930":{"alpha":0.75,"color":"transparent"},"17607560531959042":{"alpha":0,"color":"transparent"}},"launchOnStartup":true}

Which results, for me, in git telling me there are changes every time I open Desktop Dimmer. Would be great if the settings could always be pretty printed so that doesn't happen.

High CPU usage

🤷🏽‍♂️ Current Behaviour

If using this software on Windows 10 having all 3 screens dimmed
my CPU usage goes up to 80% as well as the GPU.

🎯 Expected Behaviour

Proper ressource claim

🏡 Environmental Context

App Version
4.0.4.7

Installation Type
Setup
Operating System
Windows 10 Enterprise x64 (15042.00)

Compatibility with Pop!_OS?

🤷🏽‍♂️ Current Behaviour

Desktop dimmer icon does not appear in Gnome Shell's top bar.

🎯 Expected Behaviour

After installation I expected to see the icon in the Gnome Shell top bar.

👟 Steps to Reproduce (S2R)

  1. Get Pop!_OS 19.10
  2. Download deb package for latest version
  3. Install with gdebi
  4. Run desktop-dimmer and observe nothing.

🏡 Environmental Context

App Version
v4.0.4
Installation Type
Downloaded deb package and installed with gdebi.
Operating System
Pop!_OS 19.10

Option to disable auto update

🤷🏽‍♂️ Current Behaviour

The software updates itself without any warn and I can't disable it.

🎯 Expected Behaviour

There should be an option to disable the auto-update. I am having a problem with the new version and trying to use the older one but it updates itself automatically.

🏡 Environmental Context

Operating System
Windows 10

White screen

Current Behaviour

Once activated, Desktop Dimmer makes the whole screem white. I can quit it after a hit and miss process to right-click on it in the system tray, though. It's actually curious why it [the white screen] doesn't cover the context menus...

Steps to Reproduce (S2R)

  1. Click on Desktop Dimmer launcher or execute desktop-dimmer from terminal,

Environmental Context

App Version
v3.1.2
Installation Type
.deb installer
Operating System
Lubuntu 17.04

Slider Control

What a fantastic tool. I was about to fork Shady and essentially build this. Thrilled to have found it - need to put it up on MacUpdate to raise awareness.

So I realized that it would be useful to have a toggle that will turn brightness control on and off for all monitors at once, thus maintaining the levels once it goes back on.

Further, having a "master slider" that would raise and lower all levels of brightness for all monitors at once while maintaining the current brightness ratio would be useful. This would be extremely useful actually, especially with a keyboard control. I, for example, control all monitor brightness via Shady with a keyboard binding through Keyboard Maestro since I frequently need to alter brightness based upon people coming in and out of our studio office.

Fullscreen metro apps, mouse cursor, taskbar, start menu, and context menus in Win32 apps are not dimmed

🤷🏽‍♂️ Current Behaviour

Fullscreen UWP/metro apps (such as Plex or Netflix), the mouse cursor, and right-click/context menus in Win32 programs (file Explorer, Chrome, Notepad, etc.) are not dimmed.

🎯 Expected Behaviour

All parts of Windows should be dimmed

👟 Steps to Reproduce (S2R)

  • Run on Windows, open Explorer, and right click something
  • Install the Netflix app from the Windows store, watch something, and go fullscreen
  • Notice the taskbar becomes undimmed when you open the start menu, and that the start menu and cursor are undimmed

🏡 Environmental Context

App Version
2.9.0
Installation Type
Setup
Operating System
Windows 10 Pro x64 build 1703

Ram usage

App is great, it's doing what it's supposed to do. But when i look a this:

http://i.imgur.com/LzM0IdL.png

It makes me question this quote from your readme:

Small resource footprint, minimal User Interface.

Don't take it as offence, i know electron have it's rights and a lot of people have enough memory to run it. But it's kinda unfair if you advertise small resource footprint when it's just.. not.

This kind of software, if written in something native, could take 0,5 MB of ram? I think we can go even lower than this.

Apps that go fullscreen have old brightness value

🤷🏽‍♂️ Current Behaviour

When I go fullscreen on an app like VLC or such, it is overlayed on top of Desktop Dimmer, and as such appears at the brightness that i have set on my computer, not the reduced one set by desktop dimmer.

This doesn't happen, for instance, on youtube after going fullscreen.

Clicking on icon should yield adjust brightness.

🤷🏽‍♂️ Current Behaviour

Feature Suggestions: Click on sun icon in unity tool bar, asks if I want to "show desktop dimmer"

🎯 Expected Behaviour

Feature Suggestions: Click on sun icon in unity tool bar and automatically show brightness sliders without having to click on a drop down menu to retrieve it.

I think it pretty obvious as to why I clicked on the icon, I want to change my brightness...

Just put version info in the brightness setting window, you already have the X there which quits the program.

App Version
v2.9.0
Installation Type
amd64 deb
Operating System
Ubuntu 14.04 LTS

White outline?

Has anyone figured out how to eliminate the white outline that's particularly noticeable on the top in macOS Mojave?

CloudApp Not Clickable in Windows

Currently when you click CloudApp in the system tray in Windows 10 it will not reliably click. One has to quit the app or turn it off (uncheck the enable box) before it will clicking on CloudApp will activate.

Please download CloudApp from here: https://www.getcloudapp.com/download/windows

And reproduce the issue. It reliably occurs on all Windows 10 installations I've tested it on (3).

Command Line Options available?

Is it possible to change the settings via command prompt?
I want to control this awesome software using a different applications that uses custom conditions like daytime/user-idle etc.

🤷🏽‍♂️ Current Behaviour

It seems I can only change the settings by handling the sliders/cb's using my mouse

🎯 Expected Behaviour

I think of something like "/>Desktop Dimmer.exe -display 1 -opacity 30"

App Version
4.0.4.7
Operating System
Windows 10 Enterprise x64 (15042.00)

Save the position of the pop-up window containing the slider

I'm running Ubuntu 16.04.2, I'm not sure if this affects other versions of Desktop Dimmer or not as I can't test them.

Whenever I click on the Desktop Dimmer icon and hit "Show", the pop-up always shows up in the middle of the screen. I can manually move it around to be where I wish it would show up, and then the pop-up will continue showing up there whenever I hit the "Show" option again.

That is until I restart Desktop Dimmer, at which point I need to move the pop-up again. It would be nice if we could save the position of the pop-up in the settings and have Desktop Dimmer use that whenever it is required to display the pop-up.

Support for keyboard shortcuts

Would be nice to be able to change Desktop Dimmer's alpha value with keyboard shortcuts instead of having to use the mouse and go through menus.

All screens white - Debian 9 - Mate

🤷🏽‍♂️ Current Behaviour

When you open the desktop dimmer after installing the .deb file for 3.1.2, all is white, completely all. but you can still click in the upper right and select "quit Desktop Dimmer". You can DO anything, but you can't SEE anything. Only a completely white screen

🎯 Expected Behaviour

It should dim the screen, not converting it all to white

👟 Steps to Reproduce (S2R)

Just install plain Debian 9 - Mate desktop

🏡 Environmental Context

App Version
v3.1.2
Installation Type
dpkg -i .deb
Operating System
Debian 9.1

Support for scheduled brightness

The option to schedule screen dimming, like in SunsetScreen, would be very useful. I use the program on my Surface Pro for watching videos at night and I would like to automatically dim the screen after, say, 8 PM, and have it return to normal in the morning.

JavaScript error after login

🤷🏽‍♂️ Current Behavior

When I login I get this error:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: Object has been destroyed
at Error (native)
at OverlayWindow.updateRenderer (/opt/Desktop Dimmer/resources/app.asar/app/scripts/main/windows/overlay-window.js:174:13)
at _.debounce (/opt/Desktop Dimmer/resources/app.asar/app/scripts/main/windows/overlay-window.js:185:47)
at invokeFunc (/opt/Desktop Dimmer/resources/app.asar/node_modules/lodash/lodash.js:10350:23)
at trailingEdge (/opt/Desktop Dimmer/resources/app.asar/node_modules/lodash/lodash.js:10397:18)
at Timeout.timerExpired [as _onTimeout] (/opt/Desktop Dimmer/resources/app.asar/node_modules/lodash/lodash.js:10385:18)
at tryOnTimeout (timers.js:232:11)
at Timer.listOnTimeout (timers.js:202:5)

When the errors are gone, the app works. It dims the screen. It also remembered the last setting.

🎯 Expected Behavior

I would expect to see no error when login in / starting the app.

👟 Steps to Reproduce (S2R)

In preferences enable "App Launch On Startup".
Reboot computer and login.
Please note - the app does not always print this error, sometimes it just runs fine...

🏡 Environmental Context

App Version
v4.0.4
Installation Type
Installed using desktop-dimmer-4.0.4-amd64.deb
Operating System
Running ubuntu 18.04 LTS

Mac Screenshots not working

🤷🏽‍♂️ Current Behaviour

The default screenshots from mac are not working if the dimmer is activated. The result is just a grey screen.

🎯 Expected Behaviour

Well of course that I can do also with the dimmer a screenshot.

👟 Steps to Reproduce (S2R)

  1. start app
  2. dimm your screen
  3. press SHIFT+COMMAND+4 press space

🏡 Environmental Context

I have an extra monitor connected.

App Version
v4.0.4
Installation Type
Setup
Operating System
Mac OSX 10.12

Causes entire desktop to be completely white

🤷🏽‍♂️ Current Behaviour

Starting the program on Linux Mint 19.2 XFCE causes my entire desktop to be white. I had to uninstall it via tty1.

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

🎯 Expected Behaviour

At vero eos et accusam et justo duo dolores et ea rebum.

👟 Steps to Reproduce (S2R)

  1. At vero eos et accusam,
  2. justo duo dolores et ea rebum,
  3. stet clita kasd gubergren,
  4. no sea takimata sanctus est.

🏡 Environmental Context

App Version
v0.0.1
Installation Type
Setup
Operating System
Windows 10 Enterprise x64 (15042.00)

Autostart doesn't work on Linux

Running on Ubuntu 16.04, with a gnome-flashback DE.

The application is installed by default on /opt/Desktop Dimmer/ if installed via the .deb package.
Selecting the "Launch on startup" setting does create an entry to auto start the application, but it fails to escape the space in the path, rendering the autostart unusable.

/opt/Desktop Dimmer/desktop-dimmer --hidden
should be
/opt/Desktop\ Dimmer/desktop-dimmer --hidden

Or even simpler, and considering the .deb package installs a link in /usr/local/bin, another option is to remove the path from the launcher command:
desktop-dimmer --hidden

Support for bottom task bars

The desktop dimmer window is always drawn in the upper right corner. This fits top menu bars but not menu bars placed at the bottom of the screen.

It is quite inconvenient to click on the menu icon and then go all the way up to move the bar. Support for bottom menu bars (via automatic detection if possible, or else through a configurable option) would be great.

Can't install on Raspberry Pi. (NPM related)

can't install on Raspberry Pi.
NPM outdated.
Even when installing the latest NPM version for RPi 3B+, using Buster (Debian 10, or Raspbian).

🤷🏽‍♂️ Current Behaviour

npm does not support Node.js v10.15.2

🎯 Expected Behaviour

npm should have updated, or desktop-dimmer should have compatibility with older npm versions (5.8.0).

👟 Steps to Reproduce (S2R)

sudo npm install --global desktop-dimmer

🏡 Environmental Context

App Version
latest
Installation Type
npm
Operating System
Raspbian

High cpu usage after version 4.0 update

🤷🏽‍♂️ Current Behaviour

Cpu usage of the software is much higher than the usual after the update and mouse cursor can't move smoothly.

🏡 Environmental Context

App Version
v4.0.0 and later
Installation Type
Setup
Operating System
Windows 10 Home x64 1709 / 16299.19

Linux 32bit RPM won't install on Fedora 25

Trying to install the 32bit RPM on Fedora 25 as follows:

rpm -ivh /strg/ftp/ibnd/DesktopDimmer-LnxX32-2.2.0.rpm
error: Failed dependencies:
libappindicator1 is needed by desktop-dimmer-2.2.0-37.i386
libgconf-2-4 is needed by desktop-dimmer-2.2.0-37.i386
libnotify-bin is needed by desktop-dimmer-2.2.0-37.i386
libnotify4 is needed by desktop-dimmer-2.2.0-37.i386

None of my searches have turned up anything for the missing dependencies.

Any ideas?

Thanks

Windows 10 taskbar set to autohide does not appear on hover

🤷🏽‍♂️ Current Behaviour

Bug Reports: Windows 10 taskbar set to autohide does not appear on hover.

🎯 Expected Behaviour

Bug Reports: Taskbar set to autohide should appear on hover.

👟 Steps to Reproduce (S2R)

  1. Right click taskbar.
  2. Select Settings.
  3. Enable Automatically hide the tasbar in desktop mode.
  4. Hover to taskbar.

🏡 Environmental Context

App Version
v4.0.4.7
Installation Type
Setup
Operating System
Windows 10 Enterprise N 2016 LTSB x64

Dimming only occurs on one space per monitor

🤷🏽‍♂️ Current Behaviour

Desktop Dimmer applies an overlay to the active space on each monitor.

🎯 Expected Behaviour

Desktop Dimmer applies an overlay to each space on each monitor. The menu bar dropdown would still have one slider for each monitor; a monitor's slider would adjust the overlays for all the spaces on that monitor.

👟 Steps to Reproduce (S2R)

  1. Open more than one desktop/space on one or more monitors
  2. Start Desktop Dimmer
  3. Switch to another desktop/space and notice there is no overlay/dimming

🏡 Environmental Context

App Version
v2.9.0
Installation Type
Downloaded DMG from releases section
Operating System
MacOS 10.12.5 (16F73)

It doesn't work on "second level" windows or popups

Current Behaviour

The whole desktop becomes darker but if you for example activate full screen mode on Firefox (F11), make a right click on the web browser (it appears the contextual menu), open a menu of a desktop application or click on a username entering field of a web form (it appears a list with the saved users) -I called these stuff "second level" windows or layers - , then they appear with the normal and actual monitor brightness as if desktop-dimmer has not influence over them.

It also occurs when pressing ALT+TAB or when activating the "Activities" mode on GNOME Shell (pressing the Windows key). These are also "second level" layers.

🎯 Expected Behaviour

All elements on the screen should stay darker.

👟 Steps to Reproduce (S2R)

One of the examples described above...

Whit desktop-dimmer running and the brightness adjusted at 50% (in order to notice the effect):

  1. Open Firefox and a video on YouTube
  2. Press F11 to activate the fullscreen mode.

🏡 Environmental Context

App Version
v 2.9.0
Installation Type
Installed with the .deb package
Operating System
Ubuntu GNOME 16.04.2 ; Kernel: 4.10.5-041005-generic ; GNOME Shell 3.18.5

Images:



Does not work on linux mint 18.3 or 19

Run the install, then Running desktop-dimmer gets this immediately

module.js:549
    throw err;
    ^

Error: Cannot find module '/home/user/.nvm/versions/node/v8.11.3/lib/node_modules/desktop-dimmer/lib/logger'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/user/.nvm/versions/node/v8.11.3/lib/node_modules/desktop-dimmer/bin/cli.js:36:16)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)

Linux mint 18.3 and also tried mint 19

Integrate the slider in the menu instead of having it as a separate pop-up

I don't know if this is feasible but if it is I think it would improve usability.

Taking for example the Ubuntu sound menu:
Ubuntu sound menu

It would be nice to have the slider available after clicking on the Desktop Dimmer icon (i.e. without having to click on "Show" and then have the slider pop-up), just the way it works with the sound.

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.