• Problem with brightness


    <keybind key="XF86MonBrightnessUp"\>  
    <action name="Execute"\>  
    <command\>xbacklight -inc 40</command\>  
    </action\>  
    </keybind\>  
    <keybind key="XF86MonBrightnessDown"\>  
    <action name="Execute"\>  
    <command\>xbacklight -dec 10% -steps 1 -time 1</command\>  
    </action\>  
    </keybind\>
    

    This is my rc.xml file, on openbox.
    My problem/question is how can I manage the brightness level on my laptop with ± 10% steps?
    If I press the Fn Keys the level is bounce.

    Sorry for the wrong wording

    Don't forget to mark as [SOLVED], if your problem was solved!

  • <keybind key="XF86MonBrightnessUp"\>  
    <action name="Execute"\>  
    <command\>xbacklight -inc 40</command\>  
    </action\>  
    </keybind\>  
    <keybind key="XF86MonBrightnessDown"\>  
    <action name="Execute"\>  
    <command\>xbacklight -dec 10% -steps 1 -time 1</command\>  
    </action\>  
    </keybind\>
    

    This is my rc.xml file, on openbox.
    My problem/question is how can I manage the brightness level on my laptop with ± 10% steps?
    If I press the Fn Keys the level is bounce.

    Sorry for the wrong wording

    Don't forget to mark as [SOLVED], if your problem was solved!

  • Use just “xbacklight +10” and “xbacklight -10” to achieve what you want. Keep in mind that every graphics chip is different and may only allow specific % steps. Those commands will adjust at the nearest supported rate from what you entered (In my case, it actually does 12.5% steps up or down.)

    Cheers!

  • [u:2dpdmtet][b:2dpdmtet]brightUP.sh:[/b:2dpdmtet][/u:2dpdmtet]

    \#!/bin/sh  
      
    xbacklight -inc 10 -steps 1 -time 10  
      
    var=$(xbacklight -g)  
    notify-send --urgency=low "$var"
    

    [u:2dpdmtet][b:2dpdmtet]brightDW.sh:[/b:2dpdmtet][/u:2dpdmtet]

    \#!/bin/sh  
      
    xbacklight -dec 10 -steps 1 -time 1  
      
    var=$(xbacklight -g)  
    notify-send --urgency=low "$var"
    

    I wrote these two files, and I assigned to the rc file:

    <keybind key="XF86MonBrightnessUp"\>  
    <action name="Execute"\>  
    <command\>~/Scripts/brightUP.sh</command\>  
    </action\>  
    </keybind\>  
    <keybind key="XF86MonBrightnessDown"\>  
    <action name="Execute"\>  
    <command\>~/Scripts/brightDW.sh</command\>  
    </action\>  
    </keybind\>
    

    But the levels bounce, no smooth like in gnome.

    Don't forget to mark as [SOLVED], if your problem was solved!

  • I can only speculate as I am not well versed on this but I would think that making a 10% change in only one step over such a quick time leaves no way to be smooth. Try adding another step or increasing the time and see what happens

Posts 5Views 895
Log in to reply