Comments (6)
Hi Metro,
Thanks for the report. Really appreciate it.
Looks like you found a bug in xrandr documentation. :p It does not list brightness as an option in the xrandr --help output.
Now - about the core problem, I always assumed that the internal / primary monitor will be listed first in the xrandr output. Looks like it is not true for some cases, such as yours. Looking at xrandr output - I have seen two differences compared to mine.
- Your xrandr listed external monitor as the first one.
- The naming convention is not similar. Mine lists as LVDS1 whereas yours lists as LVDS-0
Either xrandr will have to make the output consistent across systems, or I will have to rename from internal/external to monitor 1/monitor 2 as a workaround.
Unfortunately, this is not an approach anyone will want to take, but - this is the only one I can think of right now. I will still check if there is any other way to sort the displays according to their internal and external nature.
from brightness.
can't find a place to tell xrandr developers about it :s
If all internal monitors are LVDSXXX maybe you can use it to define the internal monitor.
from brightness.
Oh, it is probably not a bug. The manual says --help gives a summary. Probably they didn't consider brightness for summary. Or it can be a bug after all.
Interesting idea, I will check if LVDS type is always the internal monitor - or something else can be considered as internal monitor as well. Thanks for it 😃
After a bit of Googling and Binging - I think the names should be primary/secondary. The name internal is too laptop-specific.
Looks like someone else also experienced something similar to yours.
http://superuser.com/questions/414646/xfce-cant-set-primary-monitor-in-xrandr
from brightness.
Hi,
The latest version still change my screen order. SimpleScreenRecord, a screen recording tool, give me the option to select which monitor I want to record and it label the screen in the right order. Maybe you can look at the code and see how they do it:
https://github.com/MaartenBaert/ssr
from brightness.
@metropt When you use a external display, you use it as primary,isn't it? Probably xrandr is programmed to work like this.
Please check if Brightness Controller is showing your internal display as primary when there are no other displays connected.
from brightness.
No, @apandada1 - it is up to user how they want to use the external display. For example, almost everyone will consider it secondary if the external display is actually a projector screen. For me, I always use the external monitor as secondary. The issue likes with xrandr itself, it automatically assigns the primary and secondary options as I explained in the links given above.
I think I have a solution that might appropriately solve this problem for users of Brightness Controller through the UI. It will take some time though, am working on a complete redesign of the whole brightness controller. 😉
from brightness.
Related Issues (20)
- Sync brightness level across multiple monitors
- Installation failure using yay.... failure occurred in build() [manjaro linux, gnome DE] HOT 1
- Tray Icon HOT 1
- The brightness resets(or we can say the brightness is lost) to full brightness if there comes a new chat message in skype on the ubuntu-20.04. HOT 4
- Crashes when /dev/i2c-* are not accessible for the user
- Fedora package
- Simple for 21+ Current Python3 Version - with Reduced Feature Set HOT 7
- Installation via AUR Failed HOT 1
- Installed with pip, no hassle. But cannot change brightness (can change RGB) of the secondary monitor, Samsung LF27T35, connected by HDMI. Debian 11 on an HP Notebook. Can change brightness of primary display, but have buttons for that already. HOT 1
- Upgrade doc for pip HOT 1
- ModuleNotFoundError: No module named 'brightness_controller_linux HOT 2
- Error when changing color temperature
- Wayland is actually supported. HOT 4
- Make appimage format support HOT 1
- Unable to add repository HOT 3
- Can't pin to dock HOT 4
- Cannot run brightness-controller after installing. Python error with index out of range. HOT 2
- How I handle on Debian 12 HOT 3
- Additionnal actions for installation with pip
- Brightness controller has no effect HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brightness.