use python to get xcursor graphics?
I would like to use python to access the system cursor graphics (Xcursor files, I believe). Unfortunately, I do not know enough X to know how to do that. Any suggestions? ...
I would like to use python to access the system cursor graphics (Xcursor files, I believe). Unfortunately, I do not know enough X to know how to do that. Any suggestions? ...
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...
I want to know the event name of application moving from one workspace to another using Xlib. ...
I'm using XISelectEvents for root window with deviceid=XIAllDevices and mask=XI_RawMotion, but I don't get any events. What's wrong? ...
Hi, I'm trying to create a X11 window with a bit depth of 32 so that I can use ARGB colors. Here's what I do: XVisualInfo vinfo; int depth = 32; XMatchVisualInfo(dpy, XDefaultScreen(dpy), depth, TrueColor, XCreateWindow(dpy, XDefaultRootWindow(dpy), 0, 0, 150, 100, 0, depth, InputOutput, vinfo.visual, 0, NULL); Here's what happe...
I am perl, python guy and new to java and groovy. I am getting this error while running groovyConsole groovy is working fine. myhome:~/gscripts # groovyConsole java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAc...
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 ...
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...
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 ...
I've been searching around and can't find a solution for this. The official NVIDIA Tegra 2 Linux SDK (L4T) doesn't include both XRandR or the VideoMode X11 extension for querying available video modes. My next thought was to parse the log file for video modes. Of course most of the time it's at /var/log/Xorg.0.log but I'd rather not al...
Is there a simple way to install TTF fonts on macos X so that they work with X11 (and Gimp) ? ...
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 ...
Hello, How can I draw a selection rectangle on my screen with Qt in X11? I want to be able to drag a rectangle on my screen (outside of the application) and then save the whole rectangle. Thanks in advance. ...
Consider an application where it's desirable to grab the keyboard when focused in order to capture all window manager commands (Alt+F4 and whatnot) for processing. Now, this has the downside that the user has no way of switching to another application or virtual desktop via the keyboard when the keyboard is grabbed. I'd like to have a us...
How to get top-level window position relative to root window (i.e. whole screen) using plain ol' xlib (or brand new XCB)? ...
I've got a Python/Linux application that displays bits of info I need in a GTK window. For the purposes of this discussion, it should behave exactly like a dock - exists on all virtual desktops, and maximized windows do not overlap it. The first point is pretty easy, but I have spent days bashing my head against my monitor trying to ...
I have take a try dvorak keyboard layout, and i also taked a look of programmers dvorak and colemak layout. But what I'd like create a new layout, which is more better in code and *nix. I've do some statistic from many codes include java,python,ruby,php,c,js, and get a result of which key use most, which symbol use most, which number us...
I have start a project to redefine keyboard layout for coders.under GPLv3 The most popular layout is qwerty, then dvorak, then colemak. but qwerty and dvorak is design for typewriter, and colemak is design for easy to learn. but this layout is design for coders. 5~ 3! 1@ 0$ 29 48 67 #` *^ y w x q Tab (\ c d .< ,>...
I have been trying to get Qt X11 cross compiled for PowerPC for a while now and kept having various problems. From the information given my Qt support, all one needs to do is: Create a new mkspec Copy an existing directory in mkspec/ I used linux-g++ and modified it. Modify qmake.conf to use your toolchain, libraries and includes R...
What x11 header file and function would I use to change the position of the cursor on the display? I have heard there is a straight forward function on Vc++ but I wish to be able to use this on linux. ...