How to permanently save my xrandr settings.

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read how to get help
thakurnp
Level 1
Level 1
Posts: 4
Joined: Fri Jan 20, 2017 1:28 am

How to permanently save my xrandr settings.

Postby thakurnp » Mon Jul 31, 2017 5:15 am

I have tweaked gamma for my display using xrandr

Code: Select all

xrandr --output eDP1 --gamma .7:.7:.55

(Default display is little blueish :( )

I had put command in startup so I wont bother to run it every time laptop starts.
Now problem is that whenever Laptop screen locks due to inactivity or I switch between user, xrandr effect is gone and I need to run command again.

Is there a better way to make these settings permanent?

more info:
Linux mint cinnamon 18.2 64 bit
LightDM
linux kernel 4.10
Lenovo G50-80

thakurnp
Level 1
Level 1
Posts: 4
Joined: Fri Jan 20, 2017 1:28 am

Re: How to permanently save my xrandr settings.

Postby thakurnp » Thu Aug 03, 2017 12:43 am

anyone? :!:

User avatar
Faust
Level 3
Level 3
Posts: 195
Joined: Thu Jul 14, 2016 3:40 am

Re: How to permanently save my xrandr settings.

Postby Faust » Thu Aug 03, 2017 2:22 am

Don't know about saving them , as such ....

I create a Launcher , put the required xrandr command in it , add a suitable icon and keep it in the panel for instant one-click access .

But there is probably a more elegant solution :)
" And so it goes " - Kurt Vonnegut
The modern reality and the satirical parody are rapidly converging .

maxkilroy
Level 1
Level 1
Posts: 1
Joined: Thu Aug 17, 2017 2:30 pm

Re: How to permanently save my xrandr settings.

Postby maxkilroy » Thu Aug 17, 2017 2:47 pm

Xrandr/arandr works fine when used in conjunction with the other similar display manager in Mint for me. When I reboot, the settings tend to be permanent. I use 1366x768 on both a 32-inch TV and 110-inch projection on an AMD AM1 APU(5370)/GT 710 GPU. So your results may vary. If not for you, try saving the config then activate it automatically in the utility that activates things upon startup. Hardware varies, I know, and sometimes functionality is different. My best advice is for you to see what's available for configuration, then try what you can. And also, share with others of your successes with your hardware specs so that they may benefit.

thakurnp
Level 1
Level 1
Posts: 4
Joined: Fri Jan 20, 2017 1:28 am

Re: How to permanently save my xrandr settings.

Postby thakurnp » Wed Sep 13, 2017 2:21 am

thanks faust and maxkilroy for reply,

My problem is solved, thanks to cardsurf for his/her Brightness and gamma applet

its working smooth with cinnamon. following is the link
https://cinnamon-spices.linuxmint.com/applets/view/286

User avatar
Faust
Level 3
Level 3
Posts: 195
Joined: Thu Jul 14, 2016 3:40 am

Re: How to permanently save my xrandr settings.

Postby Faust » Wed Sep 13, 2017 3:10 am

thakurnp wrote:thanks faust and maxkilroy for reply,

My problem is solved, thanks to cardsurf for his/her Brightness and gamma applet

its working smooth with cinnamon. following is the link
https://cinnamon-spices.linuxmint.com/applets/view/286


Thank you @thakurnp !

That is an excellent find .
And thanks for taking the time to share it with us here .

I had given up trying to find a simple continuously-adjustable brightness control for 17.3 Cinammon
An added bonus is that settings remain the same on reboot !

Maybe you could mark this thread " Solved " , next time you login here ?
" And so it goes " - Kurt Vonnegut
The modern reality and the satirical parody are rapidly converging .


Return to “Other topics”