View Single Post
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#159
Originally Posted by taixzo View Post
Would it be possible to automatically determine the device screen resolution? (I know that this can be done in QML, but don't know if there's a command-line method that works with Wayland.)
"cat /sys/class/graphics/fb0/modes" seems to give useful output, but may be problematic on other devices if multiple modes are available. On my system /sys/class/graphics/fb0/mode was just an empty file.
__________________
Leap before you look.
 

The Following 5 Users Say Thank You to preflex For This Useful Post: