Change display resolution after XRANDR

Fernando Antunes fs.antunes at gmail.com
Wed Mar 24 11:29:33 CET 2010


On Wed, Mar 24, 2010 at 4:55 AM, Olivier Fourdan <fourdan at gmail.com> wrote:

> On Wed, Mar 24, 2010 at 3:36 AM, Fernando Antunes <fs.antunes at gmail.com>
> wrote:
> > Hi.
> >
> > I'm a notebook user and I have a external LCD monitor at work connected
> > through the VGA port. I don't have a xorg.config file, so I enable this
> > monitor using xranrd :
> >
> > xrandr --output LVDS1 --mode 1280x800 --primary
> > xrandr --output VGA1 --mode 1280x1024 --above LVDS1
> >
> > After that command, my display was enlarged, but XFCE have a lot of
> problems
> > to work on it. Some applications doesn't switch between monitors,
> maximize
> > windows doesn't work, and many others things. I think the problem is XFCE
> > doesn't know about the change done by xranrd. If you check
> > xfce4-display-settings, the resoluion didn't change and the maximum
> allowed
> > is 1280x800 (LVDS1 - the notebook screen resolution).
> >
> > I trying to resolve this changing the XFCE resolution by
> > xfconf-query -c displays -p /Default/Screen_0/Resolution -s "new
> resolution
> > AxB". The configuration is changed in the file, but the resolution of the
> > screen doesn't.
> >
> > Is there a way to force some xfce4 program to reload the new resolution
> in
> > the file and resize the monitor ?
>
> that should work automatically.
>
> Can you build and run the following program and post the output?
>
> http://www.foo-projects.org/~olivier/misc/enum-displays.c<http://www.foo-projects.org/%7Eolivier/misc/enum-displays.c>
>
> That will tell the actual layout as it's seen by the apps.
>
> It is the result :

This display has 1 screen.

Screen 0:
  Name:  :0.0
  Size: 1280x1824
  2 monitors connected:
    Monitor 0: 1280x1024+0+0
    Monitor 1: 1280x800+0+1024



> Oh, and also, please give some details on the version of xfce you run,
> the output of "xfwm4 --version" is a start.
>

Follow  :

    This is xfwm4 version 4.6.1 (revision 29817) for Xfce 4.6.1
    Released under the terms of the GNU General Public License.
    Compiled against GTK+-2.16.6, using GTK+-2.18.6.

    Build configuration and supported features:
    - Startup notification support:                 Yes
    - XSync support:                                Yes
    - Render support:                               Yes
    - Xrandr support:                               Yes
    - Embedded compositor:                          Yes
    - KDE systray proxy (deprecated):               No



> Cheers,
> Olivier.
>

Thanks for your help.


> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20100324/17aeed9e/attachment.html>


More information about the Xfce mailing list