r/linuxdev • u/_-p_q-_ • Jun 26 '17
How to write a custom desktop environment
I'm looking to write a custom DE for linux. I want something like a media browser: display the icon, meta data for the movie story line, and the ability to play from the selection. Restricted access to system specific files; only media can be browsed and played.
I have years of experience programming and minor OS writing experience in uni.
What do I need to get started?
3
Upvotes
View all comments
Show parent comment
1
u/_-p_q-_ Jul 10 '17
Digging around for twm led me to this post.
It's not too late to abandon Xlib but what do you think? XCB > Xlib?
Haven't found source for twm so I'll be sticking to this project as a starting point if I stick with Xlib.
It seems XCB has the advantage of being more modern and asynchronous. Xlib has a lot of "secret" asynchronous functions mixed in with synchronous which can get erroneous but only if you don't know what you're doing. It seems that XCB has a lower adoption rate so there are more tutorials for Xlib like the one I've linked.