Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xquery(1) [suse man page]

sax2(1) 							Utils for X-Window							   sax2(1)

NAME
xquery - query the X-Server for a various set of information SYNOPSIS
xquery [ options ] DESCRIPTION
xquery is used to obtain/set special information from/to the X-Server like new modeline timings to change size and position of the picture or check for active number of screens... see the options chapter to get an overview of what xquery can do COMMAND LINE OPTIONS
Available command line options are the following: -s Get number of available screens. -a "screen timing" Apply new modeline timing to the X-Server which may change the current geometry of the picture. The option -a takes only one parame- ter which is a string containing the screen and timing information. Every value of the parameter is seperated by a single space, screen define which screen should be used to apply the new timing and timing specify the new timing values. Timing parameters are the following: 1. Horizontal display value 2. Number of horizontal ticks before vsync-start 3. Number of horizontal ticks until vsync-end 4. Total number of horizontal ticks 5. Vertical display value 6. Number of vertical ticks before vsync-start 7. Number of vertical ticks until vsync-end 8. Total number of vertical ticks -m Obtain currently used modelines for all screens -r Obtain currently used resolutions for all screens -y Obtain sync ranges from the active configuration for all screens -n screen Switch to next mode of the given screen, according to Modes configuration parameter which is located within the screen section of the /etc/X11/xorg.conf -p screen Same as option -n except switching to the previous mode. -d display Set basic display to use. Specify only the major display number without any screen information because the number of screens are acounted from xquery itself. -c Get current color depths for all screens. -f Get current used frequencies for all screens. -M Get middle point coordinates of all screens. -S Get screen number of the screen the mouse is currently over. -R "screen text" Show XFT rendered string on a specific screen. NOTE
xquery take care about Xinerama sessions. This means even if you have only one big screen, xquery will know about the single screens build- ing this big screen. Unfortunately there are Xinerama or similar extensions built into binary drivers like nvidia which are not handled correctly via xquery. AUTHORS
Written by Marcus Schafer REPORTING BUGS
Report bugs to <bugzilla.novell.com>. COPYRIGHT
Copyright (C) 2005 SuSE Linux Products GmbH, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 3rd Berkeley Distribution March 15, 2005 sax2(1)

Check Out this Related Man Page

DMXChangeScreensAttributes(3)				     Library Functions Manual				     DMXChangeScreensAttributes(3)

NAME
DMXChangeScreensAttributes - change back-end screen attributes SYNOPSIS
#include <X11/extensions/dmxext.h> int DMXChangeScreensAttributes(Display *dpy, int screen_count, int *screens, int mask_count, unsigned int *masks, DMXScreenAttributes *attr, int *error_screen); DESCRIPTION
DMXChangeScreensAttributes() changes the geometries and positions of the DMX screen and DMX root windows on the back-end X servers. screen_count specifies the number of screens to be changed. For each screen, the screen number is placed in screens, an attribute mask is placed in masks, and a DMXScreenAttributes structure is included in attr. An explanation of the DMXScreenAttributes structure is given in DMXGetScreenAttributes(3). The values that are used to compute each value in masks are as follows DMXScreenWindowWidth DMXScreenWindowHeight DMXScreenWindowXoffset DMXScreenWindowYoffset DMXRootWindowWidth DMXRootWindowHeight DMXRootWindowXoffset DMXRootWindowYoffset DMXRootWindowXorigin DMXRootWindowYorigin In general, mask_count should be equal to screen_count. However, as a convenience, mask_count may be less than screen_count, and the last entry in masks will then be used for all of the remaining screens. For example, this allows identical changes to be made to several screens using only one mask. RETURN VALUE
On success, 0 is returned. Otherwise, error_screen is set to the value of the first screen in the list that caused the error and a non- zero value is returned. If screen_count or mask_count is less than 1, or if any of the attribute values are not within the appropriate bounding boxes, DmxBadValue is returned. If a protocol error occurs, DmxBadReply is returned. DMXChangeScreensAttributes() can generate BadLength (if the data provided does not match the data implicitly required by the screen_count and mask_count values), BadValue (if the values in screens are not valid), and BadAlloc errors. SEE ALSO
DMXGetScreenCount(3), DMXGetScreenAttributes(3), DMX(3), Xdmx(1) X Version 11 libdmx 1.1.2 DMXChangeScreensAttributes(3)
Man Page