Top "X11" questions

X11 is an extensible windowing system for bitmap displays.

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 focus. And if for any reason my …

x11
Global Hotkey with X11/Xlib

My goal is to have a program that sleeps in the background but can be activated by the user via …

x11 hotkeys xlib
How to determine what ports X is listening on?

My use case is that I am running nx over ssh and the local proxy connects to the remote host …

ssh x11 x11-forwarding
where to change the default location of .Xauthority file when log in via ssh -X as a specific user

I need to change the .Xauthority file location for a group of users to be $HOME/tmp/.Xauthority rather than …

x11 xauth sshd
Fake X11 display?

I have a Java program using AWT which I would like to run on a headless system. The display for …

java linux awt x11
Creating a window manager for Linux

I want to create a simple stacking window manager (in C) for private use, mainly for the purpose of learning …

c linux x11 window-managers window-management
X session in Git Bash on Windows?

I'm using Git Bash on Windows. I have used Git Bash to SSH into a UNIX machine and tried to …

git user-interface x11 putty git-bash
How to identify top-level X11 windows using xlib?

I'm trying to get a list of all top level desktop windows in an X11 session. Basically, I want to …

c++ x11 xlib icccm ewmh
How do I gracefully exit an X11 event loop?

Almost every tutorial I find tells me to do this for my event loop: XEvent event; while (true) { XNextEvent(display, &…

c linux x11 xlib
No X11 DISPLAY variable was set on Mac

I am running an application from terminal. It is expected to launch an Application specific debugger GUI which internally talks …

java macos gdb x11 x11-forwarding