View Single Post
Old 10-03-2016, 04:43 PM   #236
baf
Evangelist
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
Quote:
Originally Posted by nasser View Post
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.
baf is offline   Reply With Quote