Re: F11: xorg decision to disable Ctrl-Alt-Backspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adam Jackson wrote:
> On Thu, 2009-04-02 at 01:16 -0400, Casey Dahlin wrote:
> 
>> If X simply knew it was in an inconsistent state, could it initiate
>> recovery from there? It'd be nice if we could have a simple
>> /usr/bin/xreconfig so we could add this to the "easy fix from vt" cases.
> 
> Ngggh.
> 
> xrandr --auto would get you most of the way there, except, if you're
> vt-switched away from X, then it can't actually do the hardware probe
> again, because it doesn't own the hardware.  You could do something like
> (chvt 7; sleep 5; xrandr --auto) &, along with all the requisite
> DISPLAY= and XAUTHORITY= and maybe that would help?
> 
> - ajax
> 

You could probably replace the chvt 7; sleep 5 with something that would simply wait for X's vt to become active again (new code). Then there'd be the matter of getting the environment.

My first thought was to simply have a command that would set a flag inside of X, and then have x respond as if the user had done xrandr --auto the next time the vt became active.

Its definitely not /pretty/ to do any way I can think of, and I'm not sure the benefit outweighs the ugly when I step back and look at it.

--CJD

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux