Comments (12)
Hi Kermit,
I do not know much about ICC color profile, so I am not sure if I am the right person to help you about xrandr and icc conflict.
What I can suggest are these:
- After your ICC profile is setup, check the output of
xgamma
By default the output is
-> Red 1.000, Green 1.000, Blue 1.000
If the output is changed, you can then setup a bash script that you will run right after you set brightness value using Brightness Controller.
2. Otherwise, you probably need to use the package which is specially used for setting ICC profile in Linux via CLI.
xcalib
Please check man page for further documentation.
I am sorry that I could not help you much about it. Brightness Controller simply provides an UI to xrandr brightness settings and xrandr itself resets the color configuration once it is used. I don't think there are any switches to prevent it from doing it. :(
I hope that other people who are better than me regarding the display settings in Linux will come forward and will contribute in this simple project.
from brightness.
Hi Amit,
thanks for the response! I'll try out the commands you mentioned, see if I
can get it to work. If I find something useful, I'll get back to you!
Cheers,
DraΕΎen
On Fri, Jun 21, 2013 at 5:41 AM, Amit Seal Ami [email protected]:
Hi Kermit,
I do not know much about ICC color profile, so I am not sure if I am the
right person to help you about xrandr and icc conflict.What I can suggest are these:
- After your ICC profile is setup, check the output of
xgamma
By default the output is
-> Red 1.000, Green 1.000, Blue 1.000
If the output is changed, you can then setup a bash script that you will
run right after you set brightness value using Brightness Controller.
2. Otherwise, you probably need to use the package which is specially used
for setting ICC profile in Linux via CLI.xcalib
Please check man page for further documentation.
I am sorry that I could not help you much about it. Brightness Controller
simply provides an UI to xrandr brightness settings and xrandr itself
resets the color configuration once it is used. I don't think there are any
switches to prevent it from doing it. :(I hope that other people who are better than me regarding the display
settings in Linux will come forward and will contribute in this simple
project.β
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-19796813
.
from brightness.
@Kermit666 You stay here? π β‘οΈ π»
from brightness.
@zdroid yup. I tried it - my gamma settings are (1, 1, 1) even with my color profile, but running Brightness Controller to change the brightness still resets my color profile and makes the color all too cold. I could probably tweak this using xcalib
to activate my original color profile, but it would require too much hard-coding (I see that the command requires the display ID, color profile ID etc.) so it wouldn't be useful as a general solution.
from brightness.
I think that it can be fixed adding your xcalib in brightness.py
(but just for you, not for everyone π¦).
from brightness.
@Kermit666 - probably it will be possible to automate the activation of original color profile in Brightness Controller, but to implement that I need your help.
If you tried it already (you said, requires too much hard-coding) please share the exact procedure to restore color profile through xcalib. If not, please try it and let us know then.
from brightness.
I think that in Ubuntu it is better to change profiles on a higher level - through colord. I just checked and there is a terminal client for it called colormgr
. You can e.g. list the profiles applied to various devices:
colormgr get-devices
Where for example the screen I'm having problems with after using Brightness Controller lists (I shortened the output):
Object Path: /org/freedesktop/ColorManager/devices/xrandr_Goldstar_Company_Ltd_W2343_8491_kermit_1000
Profile 1: icc-0a01147a5d884d56a1e71683d0ac347b
/home/kermit/.local/share/icc/W2343 kermit-calibrated.icc
Profile 2: icc-cda7bc8c90f493893f6fb7eb3d39e2d7
/home/kermit/.local/share/icc/edid-df293042c98351588e9b610689a081b8.icc
Profile 3: icc-417c01ad09f980645eb4d8682ea39b5e
/home/kermit/.local/share/icc/W2343 DVI kermit-calibrated.icc
The default profile is listed through:
$ colormgr device-get-default-profile /org/freedesktop/ColorManager/devices/xrandr_Goldstar_Company_Ltd_W2343_8491_kermit_100
Profile ID: icc-0a01147a5d884d56a1e71683d0ac347b
And I guess it could be set back to this value using the device-make-profile-default
subcommand. There are many other subcommands (see the manpage) that might be of importance. There is also a DBUS API to do all this properly. More here.
You can play with all this by adding a profile for one of your screens in Gnome control center - Color - select device - add profile - choose non-default one - add - activate it. Now try using your application and try to accomplish that the profile stays selected even after changing the brightness settings.
from brightness.
Thanks @Kermit666 . I never used color profile before - and was not able to use when I tried before.
Looks like there were several dependencies I had to take care of before installing. Am experimenting with things and hope to come up with a solution soon. π
I was wondering - if you can use Brightness Controller to control the color profile along with brightness - will it be helpful for you? π
from brightness.
OK, glad to hear it @LordAmit!
Well, I currently primarily need Brightness Controller to easily dim my
display in the evening (without messing with my monitor's hardware
buttons). I created my color profiles in OS X using their profiler, because I didn't find an
equivalent app in Ubuntu (except for using hardware calibration devices
which I don't have such as hughski or
dispcalgui ) - there is maybe potential to
allow this in Ubuntu, but it might be quite a challenge. Also, there is
room to improve on the color adaptation based on time and geography, which
is done in RedShift, but not as good as the
older (but unfortunately quite buggy) f.lux app,
whose authors did some extensive research.
Ideally, all these apps would be combined into one big killer monitor
configuration app :)
On Sun, Aug 25, 2013 at 6:50 PM, Amit Seal Ami [email protected]:
Thanks @Kermit666 https://github.com/kermit666 . I never used color
profile before - and was not able to use when I tried before.
Looks like there were several dependencies I had to take care of before
installing. Am experimenting with things and hope to come up with a
solution soon. [image: π]I was wondering - if you can use Brightness Controller to control the
color profile along with brightness - will it be helpful for you? [image:
π]β
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-23231050
.
from brightness.
Color profile function is added to Brightness.
from brightness.
Not sure if that is the color profile function @Kermit666 is looking for. I asked for his opinion via email thousands of years ago I think. π
from brightness.
Lol.
2013/9/10 Amit Seal Ami [email protected]
Not sure if that is the color profile function @Kermit666https://github.com/kermit666is looking for. I asked for his opinion via email thousands of years ago I
think. [image: π ]β
Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-24181077
.
Zlatan VasoviΔ - ZDroid
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.