Longcat 34 Posted February 17, 2021 Share Posted February 17, 2021 (edited) If you are like me, you're an Android enthusiast and you love how the keyboard on the F(x)tec Pro1 makes it feel like a miniature laptop. However, you must have also noticed that most of Android isn't built for landscape use. I've thought about it for a bit, and I decided to make a Tasker profile that seamlessly changes DPI when the keyboard is opened. Assuming your close-up eyesight is fine, this allows much more information to be displayed on the screen in landscape mode, and gives Chrome desktop-like tabs at the top (basically a tablet mode). Since I am loving it so much, I bet there's at least one other person out there who would love this, too! Requirements: This lovely keyboard phone Android OS (only tested on LineageOS 18.1) Tasker SecondScreen An ADB connection to the phone Steps: Install the aforementioned apps Run SecondScreen; follow the in-app steps to allow it to WRITE_SECURE_SETTINGS using ADB Go into SecondScreen's settings, and enable setting a custom DPI value (be careful to only pick normal values later; this can mess up your device!) Make two profiles in SecondScreen: one for portrait (here, 380dpi), and one for landscape (here, 280dpi; allowed freeform mode) Make a Tasker profile based on state: Keyboard Out Add enter & exit tasks with plugin: SecondScreen; load each of these profiles accordingly ... Profit! Your Android phone now feels even more like a mini laptop with the keyboard opened, and it works great in portrait mode, too. You can also use SecondScreen to change resolutions (useful for HDMI connections), but be careful to always be able to return to the native resolution of the device. Tasker also has a built-in method to change DPI, but for some odd reason this wouldn't work on my device/OS. You might want to check whether this works for you, since that'd be one app fewer to install. Let me know if I've missed something, or if you have something to add! This post was written entirely on my mini laptop F(x)tec Pro1. My hands are tired. That's enough thesis distraction for now... Edited February 17, 2021 by Longcat add image 1 6 Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.