On Wed, 2008-01-16 at 18:54 +0100, Alberto Milone wrote: > On Wed, 2008-01-16 at 18:47 +0100, Alberto Milone wrote: > > > > The only reason why I would like to make my application run as root is > > that, as you might already know, sometimes a line such as the following > > has to be appended to the "Screen" section of the xorg.conf: > > > > Virtual 2880 1600 > > > > It depends on the graphic card but for example if I wanted to set up > > multiple screens (like xinerama used to do) so as to have my 1600x1200 > > screen to the left of my laptop's monitor (1280x800) I couldn't do it > > without setting the virtual resolution in my xorg.conf and restarting > > the Xserver, otherwise xrandr would say that the screen cannot be larger > > than 1600x1600. URandR should add that line automatically. > > > > Of course if you have a better idea I would be glad if you could let me > > know. > > > > P.S. I have an Intel card and, as far as I know, the Intel driver cannot > > reallocate the frame buffer, therefore whatever size you start with is > > the maximum the screen can ever become. > > > > Alberto > > > and another reason why I want URandR to run as root is driver detection > with this command (at least in Debian/Ubuntu): > cat /proc/`pidof X`/smaps | grep _drv.so > > as I need to see if either the Intel (modesetting) or the ati driver are > loaded. Use helpers and integrate with PolicyKit, please!! Simo. -- | Simo S Sorce | | Sr.Soft.Eng. | | Red Hat, Inc | | New York, NY | -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list