Questions tagged [x11]
X11 is an extensible windowing system for bitmap displays. It forms the foundation of most Unix operating system GUIs.
11
questions
1
vote
2
answers
101
views
Idiomatic Rust API to X11 displays
I am currently implementing a native Rust API to X11, especially around the XDisplay for a related project.
I chose an object-oriented approach:
...
2
votes
0
answers
45
views
Program to hide the cursor on a running X.org server
I have a use case where I need to programmatically hide the cursor on a running X.org server.
While the suggested C progam works, I wanted to learn a bit about the X.org API and get some practice with ...
3
votes
0
answers
93
views
X11 Desktop Pager
This is a simple desktop pager for UNIX/X11 environments. More information in the manual:
...
3
votes
0
answers
157
views
X11 file manager in C, using Xlib and imlib2
This is a still incomplete file manager for X11. It can only navigate
through directories, select files (and do nothing with them), call a
script to open files, and call a script to produce and cache ...
3
votes
2
answers
111
views
Possible improvements to window swallowing program?
I have written a small program that swallows windows. It works in X.org using the xcb library. This is my first rust program but I have lots of other programming experience.
Any general improvements ...
3
votes
0
answers
80
views
Bash script to mirror XWindow to remote SSH host
The source code within this question aims to provide a short-cut for mirroring a local XWindow (or session) to a remote host via SSH port forwarding, such as:
...
5
votes
2
answers
1k
views
Menu for X11 using Xlib in C
I am learning the xlib library and I made a xmenu utility in order to practice it.
It receives as input a menu specification where each line is a menu entry.
Each line can be indented with tabs to ...
2
votes
2
answers
2k
views
Get pixel color from screen in C++ on Linux
For a long period of time I worked on this code, mostly trying to understand it. That is the main reason for needed review. Second reason is simply that I would like to optimize it in any way you can ...
6
votes
2
answers
335
views
Taskbar for X11 using Athena widgets
I am developing a simple taskbar for X11 using the Athena widgets. The current code is very limited: it assumes an EWMH-compliant window manager and only adds the initially running windows to the ...
2
votes
0
answers
293
views
Lemonbar + perl scripting for workspaces
I have made this program to simulate polybar's bspwm module. So far, it works flawlessly, however it consumes too much ram and cpu ie 16-30%. I suspect it is the while loop causing the trouble but ...
2
votes
1
answer
111
views
Sysinfo parser for a window manager status bar
The program is written mainly for the status bar in dwm (a window manager for Linux), but it can be used for any manager that takes input from the root window in X. It queries different resources in ...