xserver

How to get accurate window information (dimensions, etc.) in Linux (X)?

How can I get accurate window information in Linux? I know that I can use wmctrl to get a window's size, but the actual size of the window can vary due to window decorations. I need the following information and methods: precise window dimensions precise available screen space (excluding panels like gnome-panel) the ability to set a wi...

Xlib : how to get CAPS LOCK status

Hello, How to retrieve CAPS Lock key information using Xlib if it is on or off ? Regards, Levon ...

How to simulate CAPS LOCK press in Xlib

Hello, How to simulate CAPS LOCK on and off using Xlib ? Regards, Levon ...

best way to work on / debug Xorg server modules

Hi, I want to work on an Xorg server module and I am wondering how I can reload the module at runtime. Also, maybe someone can give me some good tips about doing this (because I never have worked with Xorg server code before). Esp. I am running the Ubuntu version of Xorg 7.5 (if that matters much -- does it?). What I want to do s...

X11: How to rotate the gravity/orientation to 90 degrees

Hello, I need to know is it possible to rotate the orientation of all X-based apps to 90 degrees. Without modifying their sources. I guess X11 should have some configuration option for this. So how to do this ??? Regards, Levon ...

Touch screen relative coordinates

Hello, I've rotated X environment with xrandr -o left|right|inverse|normal on touch screen device. Everything is working OK beside touch. When moving finger on the screen, it takes absolute coordinates of finger and moves cursor in opposite direction if the rotation is inverse. So if I slide up actually it slides down. So is there a way...

How to attach X11 app to Dbus.

Hello, How to make X11 application to listen to DBus signal. That to listen to Dbus signal gmainloop should be launched, and for X11 app XEvent loop. So is there an elegant way to do this ? Or do I have to run gmainloop in another thread. Regards, Levon ...

X11: How to make the application to be on top

Hello, Situation I'm using matchbox keyboard which is X11 based application. When any application is in full screen mode matchbox keyboard cannot be visible as the full screened application is on TOP. So is there a way to launch X11 based application over full screened applictions ? Regards, Levon ...

big problem with libraries and X after texmaker install

Hello... I just had a big problem after installing tekmaker in Debian testing via apt-get. It was suspicious already that it wad re-installing a lot of libraries and even removing packages (!) When I restarted the machine, X windows not working.... Have you any idea of what happened? I googled for a solution but it really seems that i...

What method rotates screen in Xserver

Hi, I would like to know the functioncode/source_file which rotates screen by 90/180/270 degrees using xrandr tool ? xrandr -o left xrandr -o right xrandr -o inverted xrandr -o normal What function invokes screen rotation in Xserver using above commands ? Regards, Levon ...

what is the best windows x server to use to connect linux GUI

Hello all im searching for free fast x server to connect Linux GUI . any recommendations? ...