The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 18 C Xlib Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
RGFW
A multi-platform single-header very simple-to-use framework library for creating GUI Libraries or simple GUI programs.
-
RSGL
A simple-to-use modular, cross-platform software development and GUI library. It combines the freedom of lower-level GUI libraries with modern C techniques, offering both simplicity and convenience.
-
recordmydesktop
Fork of recordMyDesktop X Window System desktop recording abandonware, much bug fixing and general cleanups/rewriting has been done. (by recordmydesktop)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
GUI: xfiles, written in C, very lightweight but immensely powerfull (and has support for drag-and-drop)
Project mention: RGFW: Simple, multi-platform single-header C framework for GUI library, programs | news.ycombinator.com | 2024-02-24
Project mention: RSGL | Modular header-only cross-platform GUI Library for easily creating GUI software your way! | dev.to | 2024-02-25The RSGL Repo can be found at : https://github.com/ColleagueRiley/RSGL
Project mention: Disk write buffering and its interactions with write flushes | news.ycombinator.com | 2024-03-22One of the things I improved in my recordMyDesktop fork [0] was an awful tendency for the frame cache writer to accumulate heaps of dirty pages until background writeback would flush them out.
I had 16GiB of RAM which meant quite large swaths of dirty pages would become buffered while the SSD sat idle until writeback began. This would cause high-FPS full-screen recordings in particular to just become backlogged and start dropping frames / audio dropouts. Just generally broken behavior for a desktop recorder, especially for a defferred-encode mode that's supposed to be optimized for minimizing system-wide effects/overheads during the recording.
The simple solution I found was to proactively initiate writeback regularly via fdatasync() on the cache fd. [1] I haven't decided yet if more should be done to constrain its buffer cache effects though. The cache files will be read back during encoding in post, so if there's enough RAM it can be desirable to enable reading them back entirely from memory instead of having to hit the disks again... but it would also be nice to let the rest of the system's processes keep their stuff in the page cache. memcg can probably be used to find a balanced solution, but I haven't done any experiments yet. Have any of you handled similar scenarios? What did you do?
[0] https://github.com/recordmydesktop/recordmydesktop
[1] https://github.com/recordmydesktop/recordmydesktop/commit/42...
C Xlib related posts
- Suckless file manager?
- I rewrote my UNIX/X11 File Manager from scratch: code is simpler; threaded thumbnailing; alpha compositing with XRender; etc
- BeeRef – a free opens-source simple reference image viewer
- XFCE live usb(i686) is using almost 200mb of memory on boot?
- [OC] XFiles: A modular X11 file browser (WIP)
- Playing around with 'Video Wallpaper' & 'xwinwrap + gifview', just a 'demo mode' for my own learning. Together they use close to 15% of my (old Phenom II 1100T) cpu. The screen recorder used much more.
- "Weapon wheel" for X11 - alternative to rofi
-
A note from our sponsor - WorkOS
workos.com | 26 Apr 2024
Index
What are some of the best open-source Xlib projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | berry | 998 |
2 | sowm | 893 |
3 | alttab | 378 |
4 | xmenu | 288 |
5 | pmenu | 205 |
6 | shod | 164 |
7 | xnotify | 157 |
8 | xprompt | 97 |
9 | xfiles | 92 |
10 | xclickroot | 84 |
11 | RGFW | 71 |
12 | RSGL | 37 |
13 | devoidwm | 28 |
14 | swcursor | 24 |
15 | 91menu | 14 |
16 | recordmydesktop | 13 |
17 | mpdart | 8 |
18 | xfocusnotify | 8 |
Sponsored