The Librem 5 has an open source desktop GNU/Linux distribution, PureOS, and hardware for haptic feedback, ambient light sensor, accelerometer and proximity sensors, Bluetooth, and accessing the internet. And unlike other smartphones we don’t restrict what you can do on your device, which means you can create powerful apps like a screen recorder!
Watch the full tutorial to see how I followed this process to create the Librem 5 screen recording app
https://puri.sm
...
https://www.youtube.com/watch?v=0BGL1cQwurk