Change display resolution after XRANDR
Fernando Antunes
fs.antunes at gmail.com
Wed Mar 24 19:03:20 CET 2010
On Wed, Mar 24, 2010 at 2:42 PM, Olivier Fourdan <fourdan at gmail.com> wrote:
> On Wed, Mar 24, 2010 at 6:35 PM, Fernando Antunes <fs.antunes at gmail.com>
> wrote:
> >
> >
> > On Wed, Mar 24, 2010 at 7:46 AM, Olivier Fourdan <fourdan at gmail.com>
> wrote:
> >>
> >> On Wed, Mar 24, 2010 at 11:44 AM, Olivier Fourdan <fourdan at gmail.com>
> >> wrote:
> >> > On Wed, Mar 24, 2010 at 11:29 AM, Fernando Antunes
> >> > <fs.antunes at gmail.com> wrote:
> >> >> 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
> >> >
> >> > So you have monitor 0 on top of monitor 1.
> >> >
> >> > Where's your panel located? Do it work if you place the panel on top
> >> > side of monitor 0?
> >> >
> >
> > Yes, my panel is in the bottom of the monitor 0. I moved it to the top
> and
> > everythings works now.
>
> The panel being at the bottom of the upper monitor, it sets the struts
> for the bottom side to be the size of monitor 1 + panel height.
>
> The WM avoiding placing windows beyond struts boundaries, that explain
> the behaviour you see.
>
> I would consider this a bug in the panel.
>
> Note: I suspect there is some lines missing from the xprop outpout you
> posted, the actual struts are not listed.
>
> Thanks Oliver, It already helped a lot.
Follow xprot - root (w/o grep) :
_SCREENSAVER_STATUS(INTEGER) = 0, 1269447403, 0, 0
RGB_DEFAULT_MAP(RGB_COLOR_MAP):
colormap id #: 0x2c00001
red-max: 255
red-mult: 65536
green-max: 255
green-mult: 256
blue-max: 255
blue-mult: 1
base-pixel: 0
visual id #: 0xd3
kill id #: 0x1
_NET_WM_USER_TIME(CARDINAL) = 26068637
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x1800003, 0x1600003,
0x2800044, 0x1c014df, 0x2a00158, 0x360002c, 0x3800004, 0x1200016
_WIN_CLIENT_LIST(WINDOW): window id # 0x1200016, 0x1800003, 0x1600003,
0x2a00158, 0x2800044, 0x1c014df, 0x360002c, 0x3800004
_NET_CLIENT_LIST(WINDOW): window id # 0x1200016, 0x1800003, 0x1600003,
0x2a00158, 0x2800044, 0x1c014df, 0x360002c, 0x3800004
_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 0, 1, 0
XFDESKTOP_IMAGE_FILE_1(STRING) =
"/usr/share/xfce4/backdrops/33533-puula.jpg"
XFDESKTOP_IMAGE_FILE_0(STRING) =
"/usr/share/xfce4/backdrops/indiansummer1280.jpg"
ESETROOT_PMAP_ID(PIXMAP): pixmap id # 0x18000c0
_XROOTPMAP_ID(PIXMAP): pixmap id # 0x18000c0
_NET_DESKTOP_NAMES(UTF8_STRING) = 0x31, 0x0, 0x32, 0x0, 0x0
NAUTILUS_DESKTOP_WINDOW_ID(WINDOW): window id # 0x1600003
XFCE_DESKTOP_WINDOW(WINDOW): window id # 0x1600003
XKLAVIER_ALLOW_SECONDARY(INTEGER) = 0
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x3800004, 0x0
_NET_CURRENT_DESKTOP(CARDINAL) = 0
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0
_NET_DESKTOP_GEOMETRY(CARDINAL) = 1024, 768
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0xe00014
_NET_SUPPORTED(ATOM) = _NET_ACTIVE_WINDOW, _NET_CLIENT_LIST,
_NET_CLIENT_LIST_STACKING, _NET_CLOSE_WINDOW, _NET_CURRENT_DESKTOP,
_NET_DESKTOP_GEOMETRY, _NET_DESKTOP_LAYOUT, _NET_DESKTOP_NAMES,
_NET_DESKTOP_VIEWPORT, _NET_FRAME_EXTENTS, _NET_MOVERESIZE_WINDOW,
_NET_NUMBER_OF_DESKTOPS, _NET_REQUEST_FRAME_EXTENTS, _NET_SHOWING_DESKTOP,
_NET_SUPPORTED, _NET_SUPPORTING_WM_CHECK, _NET_SYSTEM_TRAY_OPCODE,
_NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_ACTION_CHANGE_DESKTOP,
_NET_WM_ACTION_CLOSE, _NET_WM_ACTION_FULLSCREEN,
_NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT,
_NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE,
_NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ALLOWED_ACTIONS,
_NET_WM_CONTEXT_HELP, _NET_WM_DESKTOP, _NET_WM_FULLSCREEN_MONITORS,
_NET_WM_ICON, _NET_WM_ICON_GEOMETRY, _NET_WM_ICON_NAME, _NET_WM_MOVERESIZE,
_NET_WM_NAME, _NET_WM_PID, _NET_WM_PING, _NET_WM_STATE, _NET_WM_STATE_ABOVE,
_NET_WM_STATE_BELOW, _NET_WM_STATE_DEMANDS_ATTENTION,
_NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_HIDDEN,
_NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT,
_NET_WM_STATE_MODAL, _NET_WM_STATE_SHADED, _NET_WM_STATE_SKIP_PAGER,
_NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_STICKY, _NET_WM_STRUT,
_NET_WM_STRUT_PARTIAL, _NET_WM_SYNC_REQUEST, _NET_WM_SYNC_REQUEST_COUNTER,
_NET_WM_USER_TIME, _NET_WM_USER_TIME_WINDOW, _NET_WM_WINDOW_OPACITY,
_NET_WM_WINDOW_OPACITY_LOCKED, _NET_WM_WINDOW_TYPE,
_NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DIALOG,
_NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_MENU,
_NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_WINDOW_TYPE_SPLASH,
_NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WORKAREA,
_NET_STARTUP_ID
_WIN_DESKTOP_BUTTON_PROXY(CARDINAL) = 14680084
_WIN_SUPPORTING_WM_CHECK(CARDINAL) = 14680084
_WIN_PROTOCOLS(ATOM) = _WIN_LAYER
_NET_WORKAREA(CARDINAL) = 0, 32, 1280, 1792, 0, 32, 1280, 1792
_NET_NUMBER_OF_DESKTOPS(CARDINAL) = 2
_WIN_WORKSPACE_COUNT(CARDINAL) = 2
_DT_RESTORE_MODE(STRING) = "xfce4"
_DT_SAVE_MODE(STRING) = "xfce4"
RESOURCE_MANAGER(STRING) =
"Xcursor.size:\t16\nXcursor.theme:\tdefault\nXcursor.theme_core:\ttrue\nXft.antialias:\t1\nXft.dpi:\t96\nXft.hinting:\t1\nXft.hintstyle:\thintnone\nXft.rgba:\trgb\n"
_XKB_RULES_NAMES(STRING) = "evdev", "evdev", "us", "alt-intl", ""
XFree86_VT(INTEGER) = 4
XFree86_DDC_EDID1_RAWDATA(INTEGER) = 0, -1, -1, -1, -1, -1, -1, 0, 16, -84,
35, 64, 68, 80, 66, 65, 3, 17, 1, 3, 14, 34, 27, 120, -18, -82, -91, -90,
84, 76, -103, 38, 20, 80, 84, -91, 75, 0, 113, 79, -127, -128, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 48, 42, 0, -104, 81, 0, 42, 64, 48, 112, 19, 0, 82,
14, 17, 0, 0, 30, 0, 0, 0, -1, 0, 82, 89, 48, 50, 53, 55, 49, 71, 65, 66,
80, 68, 10, 0, 0, 0, -4, 0, 68, 69, 76, 76, 32, 49, 55, 48, 56, 70, 80, 10,
32, 0, 0, 0, -3, 0, 56, 76, 30, 81, 14, 0, 10, 32, 32, 32, 32, 32, 32, 0,
-91
> Cheers,
> Olivier.
> _______________________________________________
> 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/95f4421a/attachment.html>
More information about the Xfce
mailing list