Quote:
Originally Posted by nasser
baf has included a logic in the kterm.sh file which checks the resolution of the kindle and selects the appropriate layout files. But this has to be updated for the 300 ppi kindles. And also, of course, all the 3 sets of image files need to be available.
|
Could you check that this command will get dpi on all the platforms. On KT it does.
Code:
cat /var/log/Xorg.0.log | grep DPI | sed -n 's/.*(\([0-9]\+\), [0-9]\+).*/\1/p'
Or maybe there is a better way to get dpi from command line?
Previously I used
xwininfo, but I would prefer to have screen dpi, not dimensions.