Skip to main content

Questions tagged [x11]

X11 is an extensible windowing system for bitmap displays. It forms the foundation of most Unix operating system GUIs.

0 votes
0 answers
8 views

Failed to use MTWindow in Docker

I used the following method to open the desktop xhost '+local:*'; The description of creating a Docker container is as follows: sudo docker run -dit --privileged --name test3 -v /dev/bus/usb:/deb/bus/...
wicky's user avatar
  • 1
-1 votes
0 answers
32 views

X11 forwarding request failed on channel 0 in the CentOS7 after updating openssh [closed]

After updating openssl and openssh, I got trouble with server. (base) ichan-yeong@ichan-yeong-ui-noteubug LAB_local % ssh -X ID@server X11 forwarding request failed on channel 0 [chanyeong:~]$ xclock ...
이찬영's user avatar
0 votes
1 answer
56 views

XQuerytree returns wrong number of child windows

I am trying to get the number of top level windows aka children of the root window in Xlib using XQuerytree. It is just working fine when only experimenting with basic X utilities such as Xterm or ...
Kuglatec's user avatar
1 vote
1 answer
112 views

X11 compositing: how to manually update redirected window

I am trying to do some post-processing (colors manipulation, sharpening, blurring etc) of an arbitrary application window. I am using the Composite extension to get the content as an off-screen pixmap,...
svlasov's user avatar
  • 10.3k
0 votes
1 answer
23 views

Why xcb_poly_segment doesn't draw to the pixmap?

I'm trying to make a simple xcb program to learn the basics and hopefully use it in another projects, but i encountered a strange problem. Having created a pixmap i can draw to it with the ...
Pepo__'s user avatar
  • 31
-1 votes
0 answers
20 views

How do I get XTest.h on Ubuntu System? [duplicate]

I am having issues compiling a project. I believe I need to include the XTest.h file but I don't have in my X11 directory. This is a side project to help me learn how to manage dependencies, build, ...
blurry's user avatar
  • 1
-3 votes
0 answers
35 views

Unable to run a GUI program with Ubuntu [duplicate]

When compiling one GUI program, I get the following error: Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation ...
lonebeetle's user avatar
0 votes
1 answer
78 views

Accessing X11 window pixel data over shared memory

I am writing a program in which I need to access a X11 window's pixel data as efficiently as possible, ideally over shared memory, without needing to make XCB calls every time I want to refresh the ...
Etienne Perot's user avatar
1 vote
0 answers
74 views

Weird behaviour of X11 window opened via ProcessBuilder [closed]

I am on Ubuntu 20.04 and java se 17. I have a java application that uses a ProcessBuilder to start a subprocess. The subprocess (running R code) launches a X11 window and plots things in it. This X11 ...
Arnab Chakraborty's user avatar
1 vote
1 answer
29 views

X11/Xlib - how to intercept minimizing/restoring a window

I can check if a window is minimized when handling PropertyNotify event using _NET_WM_STATE_HIDDEN atom. Here is an example. That is too late in my case. I would like to intercept minimize/restore ...
Irbis's user avatar
  • 1,377
0 votes
0 answers
27 views

Vulkan on X11 error resizing windows, handling VK_ERROR_INITIALIZATION_FAILED

When I resize a window, or maximize or restore it, sometimes (like 1/50 of the times) I get a VK_ERROR_INITIALIZATION_FAILED error when recreating the swapchain with vkCreateSwapchainKHR. I gather ...
tracker74's user avatar
0 votes
0 answers
32 views

Cypress failed test screenshot are smaller when running inside docker container, any fix?

I have set my test to viewportWidth: 1920 and viewportHeight: 1080. When running locally, if a test fails, the screenshot captures the entire window. However, when I run it in Docker (cypress/browser ...
nico's user avatar
  • 11
-1 votes
1 answer
23 views

How to notify the file name when copying or moving a file using drag an drop on linux

i would like to implement a functionality that when moving a file from one directory to another by dragging and dropping ,i could get the name of the file.i want to know if there is any way to ...
zhiming wen's user avatar
1 vote
0 answers
25 views

X11 Pixels buffer drawing. Pixmap vs XImage [duplicate]

I'm learning the approaches to draw a buffer of pixels on window using X11 API. I found that Pixelmap and XImage both can be used for this purpose. What is the difference between Pixmap and XImage&...
vipe4ka-visko4ka's user avatar
0 votes
0 answers
64 views

Get access to SDL texture pixels

Is there anyway (besides the documented slow method) to get access to the texture pixels from an SDL2 texture? SDL_RenderReadPixels says Warning: this is a very slow method and should not be used ...
chugadie's user avatar
  • 2,874

15 30 50 per page
1
2 3 4 5
227