Article 6J39Y Is it possible to apply an xrandr command before logging onto a session?

Is it possible to apply an xrandr command before logging onto a session?

by
ipux
from LinuxQuestions.org on (#6J39Y)
Hi everyone,

I'm on a 22.04.03 LTS Ubuntu platform, using XORG.

I have a problem with a screen with waves, which is solved by changing the bpc (bit per color) value to 6.

The command is :

Code: "xrandr --output DP-1 --set 'max bpc' 6"It works when I run it through a terminal or with the "application to run at startup" function.

The problem is that I'd like to be able to apply the command before logging onto a session, so that the screen is already configured during the logging phase.

Is this possible?

Thanks in advance
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments