Giter VIP home page Giter VIP logo

wingpanel-indicator-nightlight's Introduction

Wingpanel Nightlight Indicator

Translation status

Screenshot

Building and Installation

You'll need the following dependencies:

libglib2.0-dev
libgranite-dev
libgtk-3-dev
libwingpanel-dev
meson
valac

Run meson to configure the build environment and then ninja to build

meson build --prefix=/usr
cd build
ninja

To install, use ninja install

sudo ninja install

wingpanel-indicator-nightlight's People

Contributors

1280px avatar bagjunggyu avatar cassidyjames avatar codygarver avatar comradekingu avatar danirabbit avatar davidmhewitt avatar ddieter avatar djaler avatar elementarybot avatar fabiozaramella avatar fitojb avatar hugok79 avatar ihorhordiichuk avatar josprachi avatar lenemter avatar marcin-serwin avatar mirosnik1 avatar nathanbnm avatar norwayfun avatar p-bo avatar philip-scott avatar queeup avatar rowtricker avatar ryonakano avatar tintou avatar tomiohl avatar tucansw avatar weblate avatar yarons 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

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

wingpanel-indicator-nightlight's Issues

Snoozed indicator doesn't dissappear when inactive

I sometimes snooze nightlight after 0:00, but then I notice that the indicator doesn't disappear during the day. Looks like if it's snoozed it sticks around even when it's inactive.

So I'd like to see the indicator hide itself when the night light period (night time traditionally) is over. Whether it's snoozed or not.
When it's still in the night light period (night time traditionally) snoozing it shouldn't impact the indicator's visibility.

Add tooltip to indicator icon

Problem

You might not know what this icon is at a glance, and a tooltip could provide some extra information before clicking

Proposal

Add a tooltip with the status it is indicating, and maybe the middle-click action:

Night Light: On
Middle-click to snooze

Prior Art

We added a tooltip to Applications Menu with a longer description and keyboard shortcuts.

Add a temperature slider

        var temp_scale = new Gtk.Scale.with_range (Gtk.Orientation.HORIZONTAL, 3500, 6000, 10);
        temp_scale.draw_value = false;
        temp_scale.has_origin = false;
        temp_scale.inverted = true;

Fancy CSS is in the stylesheet as the class temperature

Change toggle to a snooze

Snooze Night Light (O—)

————————O———

Night Light Settings…

And if we want to get real fancy:

Snooze Night Light (—O)

Snoozed until sunset

Night Light Settings…

Sometimes Night Light doesn't start

Prerequisites

  • I have searched open and closed issues for duplicates.

Describe the bug

Occasionally, after logging in, the night light indicator is missing and the color adjustments do not take effect. Making changes via System Settings (e.g. turning Night Light off and back on) doesn't help. After rebooting, everything usually works again.

Unlike issue #40, the indicator is entirely absent (as opposed to simply being invisible)

Unlike issue #47, the workaround (killall gsd-color) has no effect (gsd-color: no process found).

To Reproduce

Steps to reproduce the behavior:

  1. Log in.
  2. Be unlucky.

Expected behavior

Night light adjusts the colors as expected (provided it should at this time of day). The indicator is visible and

Logs

Would love to provide helpful logs. Don't know which ones to share though.

Platform Information

Screenshot from 2020-03-31 21-07-34

  • I'm using the latest version from git that I've manually compiled
  • I'm using the latest released stable version

Using the proprietary Nvidia drivers: 440.64

Additional context

Most of the time Night Light works.

Nightlight symbolic icon does not change colour sometimes

What Happened

Screenshot from 2021-03-12 21-32-08

This happens sometimes and for some reason I can't reproduce it at all but generally, this occurs mostly when I've just started my computer/session (but killing Wingpanel and starting it again doesn't seem to produce this issue).

Expected Behavior

Icon colour should be change according to system theme preference.

Steps to Reproduce

No clue.

Platform Information

eOS6 daily

One minute of miscalculation

Right at 20:00 my screen went high Kelvin (daytime setting) for a minute just to restore itself to the correct setting at 20:01.

Only show during scheduled time

After some discussion in #ux on Slack, it sounds like we only want to show the indicator during the scheduled time (either sunset/sun up or manual schedule if chosen)

Night Light is applied over video

Night light is applied over kodi on my secondary screen, a tv. I want to view video without distortion.

An option to apply Night light on a per monitor basis or to be disabled for certain applications would be much appreciated.

Night Light occasionally does not work

Sometimes, Night Light does not start at the displayed/configured time, no matter if it's in Sunset to Sunrise or Manual mode. Using the Night Light switch in Settings does not work in these cases, only rebooting fixes the problem.

Disappearing System Indicator

The indicator sometimes disappears. I can still access settings by clicking on where it should be, as shown in the screenshot. I'm currently still experiencing a similar issue with the bluetooth indicator as well, which you can see in the screenshot too.

screenshot from 2018-11-23 23-47-07

Nightlight doesn't apply to all displays

What Happened

Nightlight only applies to two of my three screens.

Expected Behavior

Nightlight should apply to all screens.

Steps to Reproduce

  1. Have more than two screens connected.
  2. Turn on nightlight
  3. See that it only applies to two of the screens

Platform Information

This happens on both elementary OS 5.1.7 Hera and the dailies of elementary OS 6

AMD Ryzen 5 3600
AMD Radeon RX 5700XT

Add AppData

So that users get clearer updates and issue URLs are available

Update indicator icon

What Happened?

image

Steps to Reproduce

  1. Snooze night light
  2. Look at Wingpanel indicator

Expected Behavior

New icon.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

Add a gradual transition to nightlight

When it's early in the morning, nightlight turns off because the sunrise already happened but I feel like it's still too early to turn it off completely (the screen looks so blue). Something similar happens in the evening..

So I think it would be great if you added a gradual transition (1 hour long or so) from the warm temperature to 6500K. If you need an example of what I mean you can check f.lux, it has a slow gradual transition that lasts 1 hour.

Snooze disabled at 00:00?

When I Snooze nightlight before 0:00 (midnight), it will re-enable itself at 0:00.

My schedule is set to Sunset to Sunrise.

I'm assuming this isn't the right repo, but I couldn't find a repo for something like a nightlight daemon.

Add option to use Night Light all day

screenshot from 2018-05-25 00-01-46

It seems that there is no way to use Night Light all day. If I set manually "from 0:00 to 23:59" at System Setting→Display→Night Light→Schedule, the setting changed "from 0:00 to 23:00" forcibly, and it was disabled from 23:00 to 0:00.

Automatic schedule is too short (late) [wishlist]

The automatic schedule of Nightlight is not working well for me - the icon and redshifting starts at 19:00, which in November at my location in Central Europe is waaaay beyond the dawn. My other laptop with Gnome kicked nightlight into work before 16:00! Afaik Gnome is using geolocation service to determine when to switch on nightlight, and so did Redshift app back in Loki (although I could set the location there if I didn't want to give off my location).

Nightlight in Juno doesn't seem to use geolocation (it's not listed in Privacy tab), but frankly, it doesn't seem to use any other clue, not even the date in the calendar (let alone timezone or locale settings, which could be tricky I admitt).

Is there a way to opt in to geolocation-based scheduling? At least a choice of automatic geolocation or putting a pin into a map would be great.

[Juno] Nightlight stops working after suspend/resume

Nightlight works after logging into the user session when turning the computer on, but stops working after sleeping & resuming (e.g. closing laptop).

No nightlight icon on wingpanel, no color temperature modification, no way of activating it manually (going to the control panel and disabling/enabling it by hand does not work).

Adding Silesian translation file

Hi, could you add translation files for Silesian?

ISO 639-3: szl
Plurals: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);

Thank you!

"nvidia x server settings" app disables night light

Opening the "nvidia x server settings" application disables night light. Restarting night light (say by snooze and un-snoozing) brings it back. But everytime you open "nvidia x server settings" night light gets disabled.

Define log domain

Problem

It's currently quite hard to debug wingpanel indicators as there are many indicators that add log messages. There isn't a good way to filter this to a specific indicator.

Proposal

We could define log domains:
https://developer.gnome.org/glib/stable/glib-Message-Logging.html#log-domains

This enables filtering log messages using G_MESSAGES_DEBUG, to do do something like the following to only get the logs from a specific indicator and the wingpanel:

G_MESSAGES_DEBUG=io.elementary.wingpanel.bluetooth wingpanel

Prior Art

We've added this to the bluetooth indicator
elementary/wingpanel-indicator-bluetooth#81

Add dark style toggle

We should add settings for dark style and make sure to show the indicator whenever dark style is active/scheduled/etc

Night Light remains active after sleep

After wakening up when Night Light is out of time period of activation screen remains warm coloured. Switching monitor on/off fixes this.

System:    Host: desktop Kernel: 5.1.12-050112-generic x86_64 bits: 64 Desktop: Gnome
           Distro: elementary OS 5.0 Juno
Machine:   Device: desktop Mobo: ASRock model: B450 Gaming-ITX/ac serial: N/A UEFI: American Megatrends v: P3.30 date: 05/17/2019
CPU:       Quad core AMD Ryzen 5 2400G with Radeon Vega Graphics (-MT-MCP-) speed/max: 1534/3600 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           Display Server: x11 (X.Org 1.19.6 ) drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: [email protected]
           OpenGL: renderer: AMD RAVEN (DRM 3.30.0, 5.1.12-050112-generic, LLVM 8.0.0)
           version: 4.5 Mesa 19.1.0 - padoka PPA
Network:   Card-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
           Card-2: Intel I211 Gigabit Network Connection driver: igb
Drives:    HDD Total Size: 1628.3GB (5.0% used)
Info:      Processes: 289 Uptime: 1 day Memory: 2333.5/5946.4MB Client: Shell (zsh) inxi: 2.3.56 

Add display brightness slider to nightlight indicator controls, too

Problem

The night light indicator wing panel icon looks very similar to the brightness symbol in the battery indicator wingpanel menu
This often leads users to the wrong place when they want to adjust the display brightness on their laptop.

Proposal

Add the same brightness control to the night light wingpanel menu like the one that already exists on the battery indicator menu.
I'd suggest keeping the control on both menus though so that users who are used to find it on the battery menu will still find it, too.

Prior Art (Optional)

No response

Add Linter to CI

Update CI process for wingpanel-indicator-nightlight to include a vala-lint step.

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.