📜  gnome nightlight reset (1)

📅  最后修改于: 2023-12-03 15:30:59.434000             🧑  作者: Mango

GNOME Nightlight Reset

GNOME Nightlight Reset is a tool designed to reset the Night Light settings of GNOME desktop environment to its default state. Night Light is a feature that reduces the blue light emitted by the screen, making it easier on the eyes during night time. This feature is available in various operating systems and desktop environments, including GNOME.

However, there may be cases where the Night Light feature may not function as expected or may cause issues with the display. In such cases, resetting the Night Light settings to its default state can help resolve the issue. This is where GNOME Nightlight Reset comes in handy.

How does GNOME Nightlight Reset work?

GNOME Nightlight Reset is a simple Python script that resets the Night Light settings of GNOME desktop environment. When executed, the script sets the "night-light-enabled" and "night-light-schedule-automatic" keys in the dconf database to their default values. The script also restarts gnome-shell to apply the changes.

How to use GNOME Nightlight Reset?

To use GNOME Nightlight Reset, follow the steps below:

  1. Download the latest version of GNOME Nightlight Reset from the GitHub repository: https://github.com/AravindoWanasundera/gnome-nightlight-reset/

  2. Extract the downloaded file to a folder of your choice.

  3. Open the terminal and navigate to the extracted folder.

  4. Run the following command to make the script executable:

    chmod +x gnome-nightlight-reset.py
    
  5. Run the script as a superuser:

    sudo ./gnome-nightlight-reset.py
    
  6. Enter your password when prompted.

  7. Wait for the script to complete its execution.

Upon completion, the Night Light settings of GNOME desktop environment will be reset to its default state.

Conclusion

GNOME Nightlight Reset is a simple yet useful tool for resetting the Night Light settings of GNOME desktop environment to its default state. This tool can be helpful in resolving issues with the Night Light feature and in ensuring that the feature functions as expected.