Screen brightness
Tony Newman
tonyn at efn.org
Mon Dec 23 02:09:10 CET 2024
One other thought...
In my case it wasn't so much that the screen was too bright, but that the darker elements of the
screen weren't quite dark enough (for my taste, yours may vary).
I created a small script that runs at login that adjusts the screen gamma to about 0.6 for red,
blue, and green. Since this sometimes makes dark areas of images too dark, I also have a hot-key
(alt-g in my case) set up to step through three gamma settings - 0.6, 1.00, & 1.40
Here's the initial on-login settings - you will almost certainly have different output names. This
controls two screens.
#! /bin/sh
sleep 10
xrandr --output DVI-I-1 --mode 1920x1080 --pos 0x0 --gamma 0.6:0.6:0.6 --output HDMI-1 --mode
1920x1080 --pos 1920x0 --gamma 0.6:0.6:0.6
The 'xrandr' line is a single line (may be folded by the email system).
I have it sleep 10 seconds before executing to make sure everything is up and stable, this may not
be necessary.
If anyone is interested in the gamma stepping script, I can send it to the list, or wherever the
list management folks would prefer. It's only about 800 bytes long (php script, but likely could be
reworked to bash).
--
Tony
On 12/22/24 12:23, Ralf Mardorf wrote:
> PS:
>
> I couldn't resist :D. I don't like chat AIs. As for "sudo apt install",
> I should have mentioned Fedora.
>
> • rocketmouse at archlinux ~
> $ tgpt --provider duckduckgo "I have a new monitor. The screen it too bright. I have the setting on the side of the monitor set to 0 for brightness. It went down but is still too bright. Is there a way in Xfce to set the brightness lower?"
>
> Yes, you can adjust the brightness of your monitor in Xfce using a few different methods. Here are some options you can try:
>
> 1. **Using the Display Settings:**
> - Go to the **Settings Manager** in Xfce.
> - Click on **Display**.
> - Look for a brightness slider and adjust it to your preference.
>
> 2. **Using the Terminal:**
> - You can use the xrandr command to adjust the brightness. Open a terminal and type the following command:
>
> xrandr --output <your-output-name> --brightness <value>
> ```
> Replace <your-output-name> with the name of your display output (you can find this by running xrandr without any arguments) and <value> with a number between 0 (completely dark)
> and 1 (full brightness). For example, to set the brightness to 50%, you would use:
>
> xrandr --output HDMI-1 --brightness 0.5
> ```
>
> 3. **Using a Third-Party Tool:**
> - You can install a tool like brightnessctl or light to manage brightness more effectively. You can install them using your package manager. For example, to install brightnessctl,
> you can run:
>
> sudo apt install brightnessctl
> ```
> After installation, you can adjust the brightness using:
>
> brightnessctl set 50%
> ```
>
> 4. **Editing Configuration Files:**
> - If you want to make a permanent change, you can edit your display manager's configuration files, but this is more advanced and may vary based on your setup.
>
> Try these methods, and you should be able to lower the brightness of your monitor further.
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org
More information about the Xfce
mailing list