Skip to content

How to change the brightness with i3 and xfce-power management?

I want to change the brightness of the x230 screen when using i3 with xfce-power management.

Too clarify I use the thinkpad x230 with a the nitrocaster fhd mod. As window manager I use i3 and for power management xfce-powermanagment. I know that the bind should be

bindsym XF86MonBrightnessUp exec

now the question is with which command can I control the brightness?

i tried light -U 5 without any results. Is there a terminal command that controls the brightness with xfce-power managment?

1 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
fe09oa

Author

45
posts
65
comments
0
media
View profile

7 comments

I control with "xbacklight [-inc | -dec] 10" (intel graphic).

2 points

sorry did not work

0 points

You can change /sys/class/backlight/intel_backlight/brightness or something similar. But you need to write a script for this if you want to control brightness like this. cat /sys/class/backlight/intel_backlight/max_brightness will show you maximal brightness.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.