0

Linux gui/terminal distribution modify the output pixels/character buffer

Hello! How can I modify my linux output buffer? Example, how do I modify it so that each row 2nd consists of black pixels. Which part of linux system set up the buffer, which send to the screen? And how can I modify, example with a program?

1st Jan 2022, 7:57 AM
Domonkos Gyömörey
Domonkos Gyömörey - avatar
5 Réponses
+ 1
your post is confusing, title, tags and content. you want terminal output to be colored or what?
1st Jan 2022, 8:51 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
it depends on how you want to do that, in userspace or lower level. I suggest you read about Linux frame buffer and its api. for low level approach, check" low level devel" channel on YouTube he has some interesting stuff there. look for : "Raspberry pi bare metal tutorial part 14 (hdmi video)"
1st Jan 2022, 10:38 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
Bahha🐧 Thanks for helping, I more like to do that in low level
1st Jan 2022, 10:49 AM
Domonkos Gyömörey
Domonkos Gyömörey - avatar
0
Bahha🐧 I'm working with a raspberry pi 4 with a linux distribution installed and I want to modify the data which send to a monitor throught the HDMI port. That data can be modified, rewritten, edited in some way? And how can I do that?
1st Jan 2022, 9:42 AM
Domonkos Gyömörey
Domonkos Gyömörey - avatar