r/linuxdev • • 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

28 comments sorted by

View all comments

Show parent comment

2

u/_-p_q-_ Jun 28 '17

From what I'm reading xlib doesn't support actual file streaming so I think you're right. Good find with libmagic. When I make significant progress I'll make the repo public and make an announcement on the front page.

1

u/a_2 Jun 29 '17

File streaming as in implementing your own video player? for that I would recommend more of the libav/ffmpeg libraries, libavformat to demux the container format, libavcodec to decode the audio and video frames, libswscale and libswresample/libavresample to convert the pixel and sample formats.
(or gstreamer, which I'm not very familiar with)

Or maybe reusing existing minimalistic media players

1

u/_-p_q-_ Jun 29 '17

File querying as in finding files of certain type and rendering them on my desktop environment solution.