Xfce where is the ability to adjust the screen brightness

userxbw

Well-Known Member

Reaction score: 31
Messages: 424

As this OS automatically goes dim when unplugged, then there has to be a way to make it un-dim .. why it is so well hidden to reverse this process?

I got no means to adjust the screen brightness at all, in any WM/DT (that I know of). I just happen to be in XFCE and found that out on low battery. I plugged it in and the screen stayed dark and the power manager plugin in FreeBSD does not have that adjustment option in it.

I found this, it no worky

Code:
[userx@FreeBSD ~]$ fbs xbacklight
xbacklight-1.2.3               Program to adjust backlight brightness
[userx@FreeBSD ~]$ fbi xbacklight
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed
[userx@FreeBSD ~]$ xbacklight -4
No outputs have backlight property
so that is a bust.
 
OP
userxbw

userxbw

Well-Known Member

Reaction score: 31
Messages: 424

found this, BUT it does not completely work, I unplugged it and it went dim, I ran it, and nothing, I plugged it back in and ran it again and nothing. I had to reboot my laptop to get my screen brightness back to where I can actually make out what is on it. This is frustrating to say the lest.




just need to adjust the device to be used, and HOW do I find the max setting ?
0-9 9 = 100% yes? maybe? No?

anyways made a wrapper with this in it
Code:
 sudo xrandr --output eDP-1 --brightness 0.9
chmod +x filename . then just run if off cli as the file is set within my PATH.
 

Elazar

Active Member

Reaction score: 90
Messages: 190

I would use a command like sysctl -a | grep backlight to see my settings.

On my system, there is a backlight setting for fullpower, current (which resets after the xorg screensaver kicks in), and one more (that I dont remember).

Good luck.
 
OP
userxbw

userxbw

Well-Known Member

Reaction score: 31
Messages: 424

I would use a command like sysctl -a | grep backlight to see my settings.

On my system, there is a backlight setting for fullpower, current (which resets after the xorg screensaver kicks in), and one more (that I dont remember).

Good luck.
so what is this telling me?
Code:
root@FreeBSD:/home/userx #  sysctl -a | grep backlight
compat.linuxkpi.i915_enable_dpcd_backlight: 0
it's like if the backlight goes dim due to low battery, or not plugged in. when I plug it in it does not change to a brighter setting. I am still stuck in the dark and reboot is the only thing I've found to reset it, so far.
 
OP
userxbw

userxbw

Well-Known Member

Reaction score: 31
Messages: 424

yeah I did opt to have power control or thatever freebsd calls it put in rc.conf on this install. so that is prob why it is set to 0 zero.
 
OP
userxbw

userxbw

Well-Known Member

Reaction score: 31
Messages: 424

I would try sysctl(8) setting the value to "1"


Okay ...
Code:
[userx@FreeBSD ~]$  sysctl -a | grep backlight
compat.linuxkpi.i915_enable_dpcd_backlight: 1
unplugg the laptop it goes (too) dim, plug it back in. It stays too dim. When I ran this
Code:
xrandr --output eDP-1 --brightness 0.9
I can actaully see it go dimmer then it already is.
 

Elazar

Active Member

Reaction score: 90
Messages: 190

Sorry, I think I made a mistake.
The acpi_video() man file suggests these sysctls:
hw.acpi.video.<device>.brightness
Current brightness level of the device.

hw.acpi.video.<device>.fullpower
Preset brightness level to be used in full power mode.

hw.acpi.video.<device>.economy
Preset brightness level to be used in economy mode.
Do you have those?
 
OP
userxbw

userxbw

Well-Known Member

Reaction score: 31
Messages: 424

Sorry, I think I made a mistake.
The acpi_video() man file suggests these sysctls:


Do you have those?
the commands to find that S#($# would be nice, makes life a little eaiser. now I got a google how to find that...

when I get to it I'll see. I just blasted this OS and reinstalled a fresh one. busy setting it up with everything...
 
OP
userxbw

userxbw

Well-Known Member

Reaction score: 31
Messages: 424

nothing so far works on making it go back to being bright and having to reboot the system to get it to reset.
 
Top