Questions tagged [x11]

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

The X Window System (commonly known as X11, based on its current major version being 11, or shortened to simply X, and sometimes informally X-Windows) is a computer software system and network protocol that provides a basis for graphical user interfaces (GUIs) and rich input device capability for networked computers. It creates a hardware abstraction layer where software is written to use a generalized set of commands, allowing for device independence and reuse of programs on any computer that implements X.

History

X originated at the Massachusetts Institute of Technology (MIT) in 1984. The protocol version has been X11 since September 1987. The X.Org Foundation leads the X project, with the current reference implementation, X.Org Server, available as free and open source software under the MIT License and similar permissive licenses.

The key design principles of X11 are

  • define methods, not policies
  • extensibility
  • network transparency
  • window based

A X11 system consists of

  • a X11 Server that connects with one or more display devices (called Screens), user input devices and accepts connections from so called…

  • X11 Clients which communicate with the X11 server to receive user input and draw graphics (into windows) through it.

References

3357 questions
18
votes
2 answers

X/Gnome: How to measure the geometry of an open window

Is there a standard X / Gnome program that will display the X,Y width and depth in pixels of a window that I select? Something similar to the way an xterm shows you the width and depth of the window (in lines) as you resize it. I'm running on Red…
JohnnyLambada
  • 12,700
  • 11
  • 57
  • 61
18
votes
2 answers

Modern ways to write a window manager

I'm trying to write a window manager. (Actually, I have written an OS and a compiler, but that's beside the point.) XLib and xcb aren't exactly nasty, at least not by, say, win32 standards, but they are definitely very old and don't lend themselves…
David Given
  • 13,277
  • 9
  • 76
  • 123
18
votes
3 answers

How to properly configure xstartup file for TightVNC with Ubuntu VPS GNOME environment

I'd like to access my Ubuntu 16.10 VPS (Contabo) with using a GNOME environment with VNC, however I am still facing some issues that I couldn't solve so far. To install and configure the software I ran the following commands: sudo apt-get install…
Matthias Munz
  • 3,583
  • 4
  • 30
  • 47
18
votes
4 answers

Open applications in different workspaces in Gnome

Given my laziness, I tried to write a bash script that opens at once some daily apps in different desktops. This script should work in Gnome. I've written that so far: #!/bin/bash firefox & thunderbird & /usr/bin/netbeans --locale en & amsn…
fbiville
  • 8,407
  • 7
  • 51
  • 79
18
votes
2 answers

how to check linux X11 version?

I need to read X11 source code, since there are a number of X11 versions, like: X11R1 X11R2 ... X11R7.7 how can I find out which version of X11 my ubuntu 10.04 has installed? thank you.
nimbus_debug
  • 620
  • 2
  • 7
  • 17
18
votes
5 answers

x11 forwarding with paramiko

I'm trying to run a command with paramiko that should be able to open an X window. The script I'm using would something as follows: import paramiko ssh_client =…
jcollado
  • 39,419
  • 8
  • 102
  • 133
18
votes
4 answers

Intercept WM_DELETE_WINDOW on X11?

I'd like to intercept the WM_DELETE_WINDOW message that is posted to a certain selection of windows that an application I'm writing (AllTray), so that I can act on it instead of the application receiving it. I'm currently looking at trying this at…
Michael Trausch
  • 3,187
  • 1
  • 21
  • 29
17
votes
6 answers

X11/GLX - Fullscreen mode?

I am trying to create a Linux application - a screensaver, in this case - and it is proving remarkably difficult to find information on the simple task of making a window full-screen. Even the code of existing screensavers makes no mention of how…
DigitalMan
  • 2,440
  • 5
  • 26
  • 32
17
votes
4 answers

How do you exit X11 program without Error

I have a fairly simple "Hello World" in X11 at end of question. But when it exits I get the run time error messages below: $ ./xtest XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 9 requests (7 known…
Joe McGrath
  • 1,481
  • 10
  • 26
17
votes
2 answers

Slow repaint underneath dragged object on X... Can Qt force drag and drop operations to be internal only?

I'm implementing Qt's drag and drop API across Windows and X. When I pick up an object in the app running on X and drag it, it leaves a white ghost trail of itself on the window underneath, as if the window underneath is being slow to repaint where…
sam-w
  • 7,478
  • 1
  • 47
  • 77
17
votes
4 answers

Does OpenGL use Xlib to draw windows and render things, or is it the other way around?

I want to render fonts and lines on a window using either OpenGL or Xlib, but I'd like to know which one is "more fundamental". Using the Xlib interface I can render such things with something like this (which I found here): // gcc x_1.c -o x_1…
étale-cohomology
  • 2,098
  • 2
  • 28
  • 33
17
votes
2 answers

Possible to use pyplot without DISPLAY?

I'm working remotely on a machine that's pretty restrictive. I can't install any software, and it won't accept my X11 session, so I have no display. The machine currently has pylab installed, and I'd like to use it to plot something and then save it…
lemur
  • 179
  • 1
  • 3
17
votes
1 answer

Main title at the top of a plot is cut off

When I plot two graphs after creating a new x11() device and want to set a overall title it is not displayed well. The top part of the title string is behind the window top bar. Is there a way to fix this? I couldn't find anything in ?x11 or in the…
Martin Schmelzer
  • 23,283
  • 6
  • 73
  • 98
17
votes
2 answers

X11: raise an existing window via command line?

Given an X client window ID, is there a way to raise that window from the command line? $ xlsclients -a Window 0x3000001: Machine: ohm Name: Terminal Icon Name: foo Command: foo Instance/Class: foo/bar $ xraise -id 0x3000001 <--…
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
17
votes
4 answers

How to know which window has focus and how to change it?

I would like to know how can I ask X11 which windows has the focus. And if for any reason my own application (that may be visible or not) got the focus I want be able to let the former windows get the focus again. For instance, my application is…
Plicatibu
  • 1,692
  • 2
  • 19
  • 20