Not sure where to post this, please move topic if neccesary.
I'm running Linux Mate 14 (64bit, Cinnamon) on a MacbookPro 7,1 and it's really awesome so far ('cept for minor things like having to disable keyboard backlight at every login).
One thing that annoys me is that the color profile is set to default every time I wake the laptop from sleep/suspend (reopening the lid). Deleting the default profile in the Color preferences did not help. It might be the Nvidia Settings (Geforce 320M, using the proprietary driver) interfering here but I don't know how to solve this
Any ideas?
Color profile set to default after suspend/sleep
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Color profile set to default after suspend/sleep
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Color profile set to default after suspend/sleep
Yay, I just found a way to disable the keyboard backlight that actually works on my MacbookPro7,1:
Add
to rc.local via
No progress on the profile-problem though …
EDIT: The above obviously only sets the backlight to one (and doesn't really turn it fully off). But since 0 and -1 do not work I think this is good enough. To set the screen brightness to something else then full power at login add the line:
Add
Code: Select all
echo 1 >> /sys/class/leds/smc::kbd_backlight/brightness
Code: Select all
sudo gedit /etc/rc.local
EDIT: The above obviously only sets the backlight to one (and doesn't really turn it fully off). But since 0 and -1 do not work I think this is good enough. To set the screen brightness to something else then full power at login add the line:
Code: Select all
echo 3 >> /sys/class/backlight/apple_backlight/brightness
Last edited by q____q on Wed Jan 23, 2013 12:01 pm, edited 1 time in total.
Re: Color profile set to default after suspend/sleep
This seems to be a bug known since 2011 not only affacting NVIDIA.
Re: Color profile set to default after suspend/sleep
Found a way to solve this:
Install xcalib.
Place a script with the following in /etc/pm/sleep.d/
Thanks/credit to this and this thread.
Install xcalib.
Place a script with the following in /etc/pm/sleep.d/
Code: Select all
#!/bin/bash
case "$1" in
thaw|resume)
export DISPLAY=:0
su -c - <USERNAME>
/usr/bin/xcalib "<PATH TO COLOR PROFILE>"
;;
*)
;;
esac
exit $?