Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Adjust screen brightness increment/decrement value

  1. #1
    currentshaft Guest

    Question Adjust screen brightness increment/decrement value

    111
    Last edited by currentshaft; September 2nd, 2024 at 03:52 PM.

  2. #2
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,731
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Adjust screen brightness increment/decrement value

    You don't say whether you are using X11 or Wayland.
    If using X11, you might try some different xrandr settings ...
    Code:
    xrandr --output HDMI-A-1 --brightness 0.8
    This turns brightness down from nominal 1.0 to 0.8.
    Of course, your output entry will be different from mine.
    Run just xrandr from terminal to determine what display you are using.
    Cheers,


    The Linux Command Line at https://linuxcommand.org/

  3. #3
    currentshaft Guest

    Re: Adjust screen brightness increment/decrement value

    dn
    Last edited by currentshaft; September 2nd, 2024 at 03:53 PM.

  4. #4
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,731
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Adjust screen brightness increment/decrement value

    No idea. Whatever the default Ubuntu 24 installation came with.
    Code:
    echo $XDG_SESSION_TYPE
    I have one monitor that is really bright so I put the xrandr command in a startup file whenever I open a terminal it dims the display.
    Cheers,


    The Linux Command Line at https://linuxcommand.org/

  5. #5
    Join Date
    Dec 2014
    Beans
    2,721

    Re: Adjust screen brightness increment/decrement value

    I don't know Gnome well enough to give you any answers regarding that, but in XFCE / Xubuntu the settings for the number of steps for the brightness keys and whether the steps are linear or exponential is in the power management settings on the first tab ('General').

    Holger

  6. #6
    currentshaft Guest

    Re: Adjust screen brightness increment/decrement value

    xs
    Last edited by currentshaft; September 2nd, 2024 at 03:54 PM.

  7. #7
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Adjust screen brightness increment/decrement value

    Yep It works a lot better in a XFCE session.

    When I played with Gnome there was a application named "brightness-controller" and it worked better than what Gnome Settings did.

    If interested the PPA is here: https://launchpad.net/~apandada1/+ar...ss-controller/
    Attached Images Attached Images
    Last edited by #&thj^%; July 7th, 2024 at 05:03 PM. Reason: add link

  8. #8
    currentshaft Guest

    Re: Adjust screen brightness increment/decrement value

    132 x
    Last edited by currentshaft; September 2nd, 2024 at 03:54 PM.

  9. #9
    Join Date
    Apr 2007
    Beans
    3,146
    Distro
    Ubuntu

    Re: Adjust screen brightness increment/decrement value

    I typically use a command line tool like "light" (you have to find one that works with your GPU) and then bind a script to <Ctrl>XF86MonBrightnessUp/Down that increments/decrements in smaller steps.

  10. #10
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Adjust screen brightness increment/decrement value

    +1 with vanadium, and a few more ways.

    Well at least you gave it a shot, and much like you feel about XFCE I feel the same as you about Gnome. (Not for Me)

    For CLI I'll use:
    Code:
    xrandr -q | grep " connected"
    eDP-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
    HDMI-1-0 connected (normal left inverted right x axis y axis)
    my cahanges go like:
    [code]xrandr --output eDP-2 --brightness 0.5
    ## Or
    Code:
     xrandr --output eDP-2 --brightness 0.8
    You can add a script to deal with that, 0.5 stands for brightness level and it ranges from 0.0 to 1.0 . 0.0 -> Full black .so you have to choose the required value of brightness .

    This doesn't change brightness at a hardware level.

    One more way we have to do this is with another new program named as xbacklight , open your terminal and type this

    Code:
    sudo apt install xbacklight
    then enter this
    Code:
    xbacklight -set 50
    there 50 stands for brightness range we can get it upto 100 from 0 .

    you can also increase and decrease the brightness from present value to specified level.as you mentioned if you want to increase to 10% from current value of brightness then you can give this
    Code:
    xbacklight -inc 10
    and to decrease 10% you can give this
    Code:
    xbacklight -dec 10
    Disclaimer: I haven't used any of the above on Gnome-Shell with Wayland. (For Obvious reasons)

    The first time I installed XFCE on any system, I felt the same as you did, now I won't use anything else.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •