How to lower the screen brightness?

Moderator: BarryK

Post Reply
szept
Posts: 164
Joined: Wed Jan 11, 2023 5:37 pm
Has thanked: 27 times
Been thanked: 4 times

How to lower the screen brightness?

Post by szept »

How can I lower the screen brightness guys?

Thanks

Last edited by Flash on Thu Dec 12, 2024 7:48 pm, edited 1 time in total.
Reason: Expand original subject line

Running live-USB EasyOS-64_6.4.5

...and taxes are theft! -.-
https://321my.wordpress.com/pw/

User avatar
pp4mnklinux
Posts: 1181
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 649 times
Been thanked: 311 times

Re: How to lower the screen brightness?

Post by pp4mnklinux »

Task bar, the third icon from the left.

Attachments
Screenshot_20241212-212037_Chrome.jpg
Screenshot_20241212-212037_Chrome.jpg (21.54 KiB) Viewed 965 times

PP4MNK

SteveS
Posts: 22
Joined: Tue Sep 24, 2024 4:00 pm
Been thanked: 10 times

Re: How to lower the screen brightness?

Post by SteveS »

A left click on this icon indeed gives access to Redshift's brightness adjustment setting.

As a side note,

EasyOS was totally unusable for me at first because my eyes cannot tolerate the brightness reduction method of Redshift.
It gave me eye strain and headaches.

It was quite painful but I didn't want to give up on this OS, so I investigated...

In 2022, @Burunduk explained the problem here:
viewtopic.php?p=72602#p72602

sct as well as redshift cannot control the backlight. Here is an explanation from the http://jonls.dk/redshift:

Redshift has a brightness adjustment setting, but it does not work the way most people might expect. In fact it is a fake brightness adjustment obtained by manipulating the gamma ramps, which means that it does not reduce the backlight of the screen. Preferable only use it if your normal backlight adjustment is too coarse-grained.

But dcontrol uses the brightness-set script for the task. It also puts a script into the /root/Startup directory that runs the brightness-set NN command.

Gamma modification is just a fake brightness adjustment not reducing the backlight of the screen.
So, despite the adjustments to the display, the brightness is still max_brightness.

This is also a concern for laptops where the battery is draining much faster than with a true brightness reduction really reducing the backlight (and energy consumption).

After multiple attempts, I finally found the solution:
Dcontrol.pet (= display control) for EasyOS.

You can download it here (see attachment).

It was originally shared by @Sofiya in December 2023:
viewtopic.php?t=10161

In 2021, @williams2 also said something interesting here:
viewtopic.php?p=38896#p38896

Only after adjusting the backlight properly should you adjust the gamma. Redshift, xgamma, and xrandr adjust the gamma.

The only way to adjust painfully bright whites is to adjust the backlight brightness.

He is absolutely right.

This is what I do on a new EasyOS install:
1. Launch Dcontrol gui and reduce the backlight,
2. Right click on the Redshift icon on the tray and check the box "Redshift auto mode" (for gamma adjustment).

Personally, I would have really wished that Dcontrol.pet was integrated by default into EasyOS!

I hope this helps.

Attachments
Dcontrol-EasyOS-2.1.pet
(26.6 KiB) Downloaded 45 times
User avatar
bugnaw333
Posts: 360
Joined: Wed Jul 20, 2022 11:04 pm
Location: Cebu, Philippines
Has thanked: 560 times
Been thanked: 81 times

Re: How to lower the screen brightness?

Post by bugnaw333 »

Got it...thanks. :thumbup2:

Attachments
Screenshot(6).png
Screenshot(6).png (74.77 KiB) Viewed 936 times
szept
Posts: 164
Joined: Wed Jan 11, 2023 5:37 pm
Has thanked: 27 times
Been thanked: 4 times

Re: How to lower the screen brightness?

Post by szept »

SteveS wrote: Fri Dec 13, 2024 6:36 am

(Redshift's) Gamma modification is just a fake brightness adjustment not reducing the backlight of the screen.
So, despite the adjustments to the display, the brightness is still max_brightness.

This is also a concern for laptops where the battery is draining much faster than with a true brightness reduction really reducing the backlight (and energy consumption).

Personally, I would have really wished that Dcontrol.pet was integrated by default into EasyOS!

I didn't like Redshift since the very beginning of my journey with EasyOS. I posted a question here, how to remove its icon and it's gone since. I was thinking about the laptop's battery too, so the Display control sounds perfect and it works great, thanks! Yes, please integrate it @BarryK! :)

Running live-USB EasyOS-64_6.4.5

...and taxes are theft! -.-
https://321my.wordpress.com/pw/

User avatar
PipzDex
Posts: 192
Joined: Sun Jul 12, 2020 11:16 pm
Location: Mexico
Has thanked: 61 times
Been thanked: 83 times

Re: How to lower the screen brightness?

Post by PipzDex »

Here s another option

Screenshot(1).jpg
Screenshot(1).jpg (26.46 KiB) Viewed 871 times
Light_Control-2.0.pet
(4.89 KiB) Downloaded 34 times

Cheers! :thumbup2:

Pentium (R) 2.20GHz I RAM: 8.0 GB I F96-CE_5 I Kernel 6.6.8-64oz-ao I Glibc: 2.31 I 1600x900 Px

My Puppy Stuff and more

User avatar
pp4mnklinux
Posts: 1181
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 649 times
Been thanked: 311 times

Re: How to lower the screen brightness in EasyOS?

Post by pp4mnklinux »

Hi @SteveS , I downloaded your file only to test it in EasyOS daedalus. I usually use the monitor controls to adapt bright and contrast so don´t use this soft, but....

... error when installing.

Have a nice day u all

Attachments
dCONTROLfailed.jpg
dCONTROLfailed.jpg (17.49 KiB) Viewed 824 times
Last edited by pp4mnklinux on Sat Dec 21, 2024 5:28 pm, edited 1 time in total.

PP4MNK

User avatar
bugnaw333
Posts: 360
Joined: Wed Jul 20, 2022 11:04 pm
Location: Cebu, Philippines
Has thanked: 560 times
Been thanked: 81 times

Re: How to lower the screen brightness?

Post by bugnaw333 »

No problem with me both Dcontrol and Light_control :P

Attachments
LCv2.jpg
LCv2.jpg (168.14 KiB) Viewed 816 times
SteveS
Posts: 22
Joined: Tue Sep 24, 2024 4:00 pm
Been thanked: 10 times

Re: How to lower the screen brightness?

Post by SteveS »

Hi @pp4mnklinux ,

No problem for me too with both Dcontrol and Light_control on a fresh EasyOS Daedalus 6.5.1.1 :)

Screenshots for Dcontrol:

capture1.jpg
capture1.jpg (115.09 KiB) Viewed 751 times
capture2.jpg
capture2.jpg (114 KiB) Viewed 751 times
SteveS
Posts: 22
Joined: Tue Sep 24, 2024 4:00 pm
Been thanked: 10 times

Re: How to lower the screen brightness?

Post by SteveS »

And the screenshots for Light_control:

capture3.jpg
capture3.jpg (114.69 KiB) Viewed 751 times
capture4.jpg
capture4.jpg (113.43 KiB) Viewed 751 times

@BarryK ,
If you don't use a laptop, I tested them and confirm that both Dcontrol and Light_control are great for backlight adjustment, for laptop users who don't have physical monitor controls :thumbup2:

They saved my eyes and my battery (...while reducing my electricity consumption).

szept
Posts: 164
Joined: Wed Jan 11, 2023 5:37 pm
Has thanked: 27 times
Been thanked: 4 times

Re: How to lower the screen brightness?

Post by szept »

Question 1
How do I uninstall these apps (Display control or Light control) if I'd like to?

Question 2

bugnaw333 wrote: Sat Dec 14, 2024 10:08 pm

No problem with me both Dcontrol and Light_control :P

Wait a minute... What is this?! I might want that too! How do I get it?:)

Image

Running live-USB EasyOS-64_6.4.5

...and taxes are theft! -.-
https://321my.wordpress.com/pw/

User avatar
pp4mnklinux
Posts: 1181
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 649 times
Been thanked: 311 times

Re: How to lower the screen brightness?

Post by pp4mnklinux »

Hi @szept

You can obtain it installing pwidgets and configuring it.

Really simple.

Hope it works.

Have a nice day.

Attachments
pwidgets.jpg
pwidgets.jpg (105.2 KiB) Viewed 613 times
pwidgets-2.5.10-x86_64-test6.pet
(182.44 KiB) Downloaded 17 times

PP4MNK

SteveS
Posts: 22
Joined: Tue Sep 24, 2024 4:00 pm
Been thanked: 10 times

Re: How to lower the screen brightness?

Post by SteveS »

@szept ,

Question 1
How do I uninstall these apps (Display control or Light control) if I'd like to?

To uninstall any installed .PET package, you can:
- Open Menu => Setup => PKGget Package Manager
- Click at the bottom right on the installed package you want to uninstall
- Click the button to confirm

EasyOS does indeed its best to make everything... easy.

Hope it helps!

szept
Posts: 164
Joined: Wed Jan 11, 2023 5:37 pm
Has thanked: 27 times
Been thanked: 4 times

Re: How to lower the screen brightness?

Post by szept »

SteveS wrote: Fri Dec 20, 2024 4:12 am

To uninstall any installed .PET package, you can:
- Open Menu => Setup => PKGget Package Manager
- Click at the bottom right on the installed package you want to uninstall

I was there, clicking through the lists and couldn't find it! Haven't noticed the list on the bottom...

Uhm... Nah?! It's still in Menu => Desktop and still working, even if it disappeared from the PKGget Package Manager list. Any other ways to remove it?

Image

pp4mnklinux wrote: Thu Dec 19, 2024 6:33 pm

You can obtain it installing pwidgets and configuring it.

Beautiful, got a nice calendar now, thanks!
Not everythig is working thou, e.g. the analog clock.

Running live-USB EasyOS-64_6.4.5

...and taxes are theft! -.-
https://321my.wordpress.com/pw/

User avatar
BarryK
Posts: 2780
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 142 times
Been thanked: 767 times

Re: How to lower the screen brightness?

Post by BarryK »

szept wrote: Fri Dec 13, 2024 9:12 am
SteveS wrote: Fri Dec 13, 2024 6:36 am

(Redshift's) Gamma modification is just a fake brightness adjustment not reducing the backlight of the screen.
So, despite the adjustments to the display, the brightness is still max_brightness.

This is also a concern for laptops where the battery is draining much faster than with a true brightness reduction really reducing the backlight (and energy consumption).

Personally, I would have really wished that Dcontrol.pet was integrated by default into EasyOS!

I didn't like Redshift since the very beginning of my journey with EasyOS. I posted a question here, how to remove its icon and it's gone since. I was thinking about the laptop's battery too, so the Display control sounds perfect and it works great, thanks! Yes, please integrate it @BarryK! :)

I am starting to consider dcontrol, but isn't there a conflict with the current tray icon?
They both have a brightness control, which might cause confusion.

Maybe remove the current redshift tray icon app?
@szept has done that, do others agree to its removal?

SteveS
Posts: 22
Joined: Tue Sep 24, 2024 4:00 pm
Been thanked: 10 times

Re: How to lower the screen brightness?

Post by SteveS »

@szept ,

Uhm... Nah?! It's still in Menu => Desktop and still working, even if it disappeared from the PKGget Package Manager list. Any other ways to remove it?

Weird, I uninstalled it too to try and its JWM menu entry has disappeared for me.

I will help you remove everything manually.

1.
To remove the menu entry manually, you can:
- Open the file /root/.jwmrc in the Geany text editor,
- Delete the following line:

Code: Select all

<Program label="Display Control" icon="/usr/local/dcontrol/icons/monitor.svg">dcontrol</Program>

- Save the .jwmrc file,
- Restart JWM by typing the following command in the terminal:

Code: Select all

jwm -restart

2.
You also said it was still working. This means that you still have a dcontrol folder (with some files inside) located in /usr/local/.
- Just remove the dcontrol folder manually from the file explorer,
- Or by typing the following command in the terminal:

Code: Select all

rm -r /usr/local/dcontrol/

- The effects of the application should disappear after a reboot.

Bonus stage:
Did you know?
You can also find your personally installed packages in the following text file:
/root/.packages/user-installed-packages
An underrated but very useful file :)

SteveS
Posts: 22
Joined: Tue Sep 24, 2024 4:00 pm
Been thanked: 10 times

Re: How to lower the screen brightness?

Post by SteveS »

@BarryK ,

SteveS wrote: Fri Dec 13, 2024 6:36 am

This is what I do on a new EasyOS install:
1. Launch Dcontrol gui and reduce the backlight,
2. Right click on the Redshift icon on the tray and check the box "Redshift auto mode" (for gamma adjustment).

In my case I don't see a conflit because I don't use Dcontrol and Redshift for the same thing (backlight/brightness vs. gamma/temperature).

But to avoid any possible conflit, we could also imagine this:
Recreating a lighter Redshift Gui Light (viewtopic.php?t=573) with no more manual settings and just the "Redshift auto mode" and every other menus we see when right-clicking on the icon tray becoming accessible with just a left-click (and no more YAD window appearing with the left-click).

Or else my little secret dream:
Integrating the "Redshift auto mode" checkbox feature into Dcontrol :idea:

szept
Posts: 164
Joined: Wed Jan 11, 2023 5:37 pm
Has thanked: 27 times
Been thanked: 4 times

Re: How to lower the screen brightness?

Post by szept »

BarryK wrote: Sat Dec 21, 2024 1:11 am

I am starting to consider dcontrol, but isn't there a conflict with the current tray icon?
They both have a brightness control, which might cause confusion.

Maybe remove the current redshift tray icon app?
@szept has done that, do others agree to its removal?

To be honest, I even like Light Control more than Display Control.
Light Control seems to be easier and more intuitive.
On the other hand Display Control has a Screen Saver tab which may be an advantage to some users.
Not sure if both of them save brightness setting after reboot - that needs to be double checked.
Redshift was totally useless for me and I saw few posts saying that too.

SteveS wrote: Sat Dec 21, 2024 3:46 am

I will help you remove everything manually.

1.
To remove the menu entry manually, you can:
- Open the file /root/.jwmrc in the Geany text editor,
- Delete the following line:

Code: Select all

<Program label="Display Control" icon="/usr/local/dcontrol/icons/monitor.svg">dcontrol</Program>

- Save the .jwmrc file,
- Restart JWM by typing the following command in the terminal:

Code: Select all

jwm -restart

2.
You also said it was still working. This means that you still have a dcontrol folder (with some files inside) located in /usr/local/.
- Just remove the dcontrol folder manually from the file explorer,
- Or by typing the following command in the terminal:

Code: Select all

rm -r /usr/local/dcontrol/

- The effects of the application should disappear after a reboot.

Bonus stage:
Did you know?
You can also find your personally installed packages in the following text file:
/root/.packages/user-installed-packages
An underrated but very useful file :)

Bonus command didn't work in terminal.

Code: Select all

# /root/.packages/user-installed-packages
bash: /root/.packages/user-installed-packages: Permission denied

Hence I opened it manually and these are the same entries as in the PKGget Package Manager list, right?

Manual removal of DControl folder and menu entry did work partially - the icon is gone, but the entire entry :P
Image

Thanks a lot for help!

Running live-USB EasyOS-64_6.4.5

...and taxes are theft! -.-
https://321my.wordpress.com/pw/

SteveS
Posts: 22
Joined: Tue Sep 24, 2024 4:00 pm
Been thanked: 10 times

Re: How to lower the screen brightness?

Post by SteveS »

szept wrote: Sat Dec 21, 2024 8:14 am
SteveS wrote: Sat Dec 21, 2024 3:46 am

Bonus stage:
Did you know?
You can also find your personally installed packages in the following text file:
/root/.packages/user-installed-packages
An underrated but very useful file :)

Bonus command didn't work in terminal.

It wasn't a terminal command, but just the path to the file user-installed-packages.

Maybe I should probably have detailed the instructions to follow:
- Open the ROX-Filer file explorer,
- Press the green up arrow until you see the folder /root/,
- Open the folder /root/,
- Press 'Ctrl+h' to show hidden files and folders (they begin with a dot "."),
- Open the folder /.packages/,
- Now you can open the file user-installed-packages with Geany or Leafpad.

This file displays the list of packages you have installed manually.

szept wrote: Sat Dec 21, 2024 8:14 am

Manual removal of DControl folder and menu entry did work partially - the icon is gone, but the entire entry :P

Make sure you still don't have this line in the hidden file .jwmrc (which is in folder /root/):
<Program label="Display Control" icon="/usr/local/dcontrol/icons/monitor.svg">dcontrol</Program>
That line must be deleted and the file saved.

After, you can type these 2 terminal commands:

Code: Select all

rm /usr/share/applications/dcontrol.desktop

and:

Code: Select all

jwm -restart
szept wrote: Sat Dec 21, 2024 8:14 am

To be honest, I even like Light Control more than Display Control.
Light Control seems to be easier and more intuitive.
On the other hand Display Control has a Screen Saver tab which may be an advantage to some users.
Not sure if both of them save brightness setting after reboot - that needs to be double checked.
Redshift was totally useless for me and I saw few posts saying that too.

If I like Display Control, it's just because I know and can confirm that it saves brightness setting after each reboot.
How?
It automatically puts a script named "brightness-set" into the /root/Startup/ directory that runs the brightness-set NN command.

And I agree with you: Light Control seems to be "easier and more intuitive".
To be honest, I always prefer lighter applications if possible.

@BarryK and everybody,

If somebody can confirm that Light Control saves brightness setting after each reboot, I would be ok to choose it.

It can be downloaded in this post:
viewtopic.php?p=137826#p137826

szept
Posts: 164
Joined: Wed Jan 11, 2023 5:37 pm
Has thanked: 27 times
Been thanked: 4 times

Re: How to lower the screen brightness?

Post by szept »

SteveS wrote: Sun Dec 22, 2024 2:26 am

It wasn't a terminal command, but just the path to the file user-installed-packages.
Maybe I should probably have detailed the instructions to follow.

No, I managed to find and open the file manually, I just misunderstood and thought I can open it via terminal.

SteveS wrote: Sun Dec 22, 2024 2:26 am

Make sure you still don't have this line in the hidden file .jwmrc (which is in folder /root/):
<Program label="Display Control" icon="/usr/local/dcontrol/icons/monitor.svg">dcontrol</Program>
That line must be deleted and the file saved.

After, you can type these 2 terminal commands:

Code: Select all

rm /usr/share/applications/dcontrol.desktop

and:

Code: Select all

jwm -restart

Ok, so the line is back is back in .jwmrc file, even if I did jwm -restart, but I don't think I did rm /usr/share/applications/dcontrol.desktop - is it a command to remove DC's menu icon?

Anyway, I followed your latest instructions, so I removed the DC line in .jwmrc file, saved and then I did rm /usr/share/applications/dcontrol.desktop followed by jwm -restart, then reboot - it's finally gone! Maybe I did something wrong before, dunno. Thanks :D

SteveS wrote: Sun Dec 22, 2024 2:26 am

If I like Display Control, it's just because I know and can confirm that it saves brightness setting after each reboot.
How?
It automatically puts a script named "brightness-set" into the /root/Startup/ directory that runs the brightness-set NN command.

Ok, Light Control does NOT save brightness settings, which is NOT very convenient...
I confirm Display Control do saves brightness settings, so it wins :)

Now I'll try to remove LC and reinstall DC - hell heaven yeah! ;P

Nah... PKGget Package Manager reported successful uninstallation of Light Control, but Menu entry is still there as well as I can still run it.
Shall I report PKGget Package Manager uninstall issue in a separate post?

Meanwhile doing the manual removal of Light Control.

  • Light Control folder deleted from /usr/local/.

  • Line <Program label="Light Control 2.0" icon="/usr/local/Light_Control/icons/display-brightness.svg">/usr/local/Light_Control/Light_control_V2</Program> removed from /root/.jwmrc, changes saved.

  • I couldn't find any Light_Control.desktop file in /usr/share/applications/. There is a Brightness_Control.desktop which looks like LC's icon, but I wasn't sure I should remove it (maybe it is just using an existing icon), so I left it.

  • jwm -restart and it's gone,but...

I installed DC again and LC returned to the menu (I guess installation process refreshes menu entries), only without an icon - what a déjà vu...
Image

Reboot (with SAVE ofcourse), but nothing has changed. Waiting for directions plx :)

Running live-USB EasyOS-64_6.4.5

...and taxes are theft! -.-
https://321my.wordpress.com/pw/

SteveS
Posts: 22
Joined: Tue Sep 24, 2024 4:00 pm
Been thanked: 10 times

Re: How to lower the screen brightness?

Post by SteveS »

Shall I report PKGget Package Manager uninstall issue in a separate post?

I don't know... but it's a good practice to start a new topic for a different subject, to get more people reading your explanation of the issue (and to get more possible answers).

I installed DC again and LC returned to the menu (I guess installation process refreshes menu entries), only without an icon - what a déjà vu...

Explanation:
The icon disappeared when you removed the line <Program label="Light Control 2.0" icon="/usr/local/Light_Control/icons/display-brightness.svg">/usr/local/Light_Control/Light_control_V2</Program> from /root/.jwmrc ;)

Waiting for directions plx :)

Firstly, you can remove these 2 files (if you still have them) with these 2 terminal commands:

Code: Select all

rm /root/.config/autostart/Light_Control_Tray.sh
rm /root/.config/autostart/powerapplet_tray.desktop

And to fix your remaining menu entry, you can type these 2 commands:

Code: Select all

rm /usr/share/applications/Brightness_Control.desktop
jwm -restart

Yes, you were right: Brightness_Control.desktop was the file to remove.
You are improving day by day!

User avatar
fredx181
Posts: 3159
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 386 times
Been thanked: 1356 times
Contact:

Re: How to lower the screen brightness?

Post by fredx181 »

SteveS wrote: Fri Dec 13, 2024 6:36 am

A left click on this icon indeed gives access to Redshift's brightness adjustment setting.

As a side note,

EasyOS was totally unusable for me at first because my eyes cannot tolerate the brightness reduction method of Redshift.
It gave me eye strain and headaches.

It was quite painful but I didn't want to give up on this OS, so I investigated...
...
...

Please test if v5 is an improvement for your issue, I think it is, but cannot be sure.
viewtopic.php?p=138611#p138611

szept
Posts: 164
Joined: Wed Jan 11, 2023 5:37 pm
Has thanked: 27 times
Been thanked: 4 times

Re: How to lower the screen brightness?

Post by szept »

SteveS wrote: Mon Dec 23, 2024 1:42 am

Firstly, you can remove these 2 files (if you still have them) with these 2 terminal commands:

Code: Select all

rm /root/.config/autostart/Light_Control_Tray.sh
rm /root/.config/autostart/powerapplet_tray.desktop

I wouldn't figure this out on my own - removed!
Image

SteveS wrote: Mon Dec 23, 2024 1:42 am

And to fix your remaining menu entry, you can type these 2 commands:

Code: Select all

rm /usr/share/applications/Brightness_Control.desktop
jwm -restart

Done and... still in the menu, but it's finally gone after reboot! Thanks again :)

Running live-USB EasyOS-64_6.4.5

...and taxes are theft! -.-
https://321my.wordpress.com/pw/

Post Reply

Return to “EasyOS”