xlib
How do I detect the currently focused application?
I\'d like to be able to track which application is currently focused on my X11 display from Python. The intent is to tie it into a timetracking tool so that I can keep track of how much time I spend b[详细]
2023-01-04 18:57 分类:问答Making a window a desktop in XLib/Qt
I am trying to write a simple program to act as my desktop background in Qt, I have made it all work fine apart from making it a Desktop Widget. I have no idea on how to do this, I don\'t mind using X[详细]
2023-01-02 09:28 分类:问答What is the format of Xlib ZPixmap format
开发者_高级运维does anyone know what is XLib ZPixmap format for 32/24bit images/pixmaps. Is it RGB(A) or BGR(A), etc. or highly implementation dependent?Pixmaps have no color, period.They\'re just arr[详细]
2023-01-02 02:30 分类:问答In Xlib, How can I animate until an event occurs?
I\'ve been trying to animate in a C program using Xlib and I wanna do something when an event occurs, otherwise I wanna keep animating. Here\'s an example code snippet of what I am doing currently:[详细]
2022-12-31 12:51 分类:问答set oracle user Display so i can install
running oracle enterprise linux the Oracle installer keeps telling me that my DISPLAY variable isn\'t set. however echo display clearly prints \":0.0\"[详细]
2022-12-29 06:53 分类:问答X11, how to detect I’m the last window/application on the display
I have an x11 display wi开发者_开发技巧th a windowmanager (sadly not a specific one, could be twm, dtwm, mwm, metacity …) , myApp and other applications with windows. I want to close the display if t[详细]
2022-12-28 18:02 分类:问答How can I monitor mouse events with Python Xlib instead of capture them?
I need to monitor and filter mouse events with Xlib in Python. So far I have found out that this code receives events, but does not pass them on, so I can\'t actually do anything with the mouse anymo[详细]
2022-12-26 01:00 分类:问答Python: how to switch between workspaces using Xlib?
How do I switch between my window manager\'s workspaces using Python with Xlib module? This is my most promising attempt:[详细]
2022-12-22 19:43 分类:问答problem with dead keys (acute, diaeresis, etc) c++
I\'m currently writing my own virtual keyboard for linux using the X11 lib and i just can\'t find the way to simulate a KeyPress event of any dead keys.[详细]
2022-12-22 15:02 分类:问答Top level window on X Window System
I want to print on the screen the information about Top level w开发者_如何学编程indows under Linux.[详细]
2022-12-22 13:50 分类:问答