REQ: DietPi-Cloudshell for 7" Screen

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
Taxick
Posts: 3
Joined: Thu Feb 01, 2018 9:21 pm

REQ: DietPi-Cloudshell for 7" Screen

Post by Taxick » Fri Feb 02, 2018 1:57 pm

Hi :D

First thanks for a fantastic script :D ... Keep up the good work 8-)

I have a raspberry pi 3 (B Model), and I did buy a 7" touchscreen for it, but the DietPi-Cloudshell it's not optimised for the 7" touchscreen (Its the RPI model)

DietPi-Cloudshell only fills the 1/3 of the screen...

Can you optimise the script so I fill the hole screen? Or give me a guide to fix this???

Thanks

EDIT # 1 I did try to set The resolution is 800 x 480 (PI Touchscreen) - Dont work :(
Last edited by Taxick on Sat Feb 03, 2018 2:55 pm, edited 3 times in total.

User avatar
WarHawk
Posts: 254
Joined: Thu Jul 20, 2017 7:55 am

Re: REQ: DietPi-Cloudshell for 7" Screen

Post by WarHawk » Sat Feb 03, 2018 10:53 am

Is that a fix..your edit below?

Taxick
Posts: 3
Joined: Thu Feb 01, 2018 9:21 pm

Re: REQ: DietPi-Cloudshell for 7" Screen

Post by Taxick » Sat Feb 03, 2018 10:59 am

I have edited the first post.

I did try to edit screen size to right one (PI Touchscreen)

But the image look like this:

Image

User avatar
Fourdee
Site Admin
Posts: 2744
Joined: Tue Feb 06, 2007 12:36 pm

Re: REQ: DietPi-Cloudshell for 7" Screen

Post by Fourdee » Sat Feb 03, 2018 6:43 pm

Taxick wrote:I have edited the first post.

I did try to edit screen size to right one (PI Touchscreen)

But the image look like this:
Cloudshell is coded to print a specific number of characters and lines. Other than changing the font size, we lack the ability to in Bash to have a "true" scaling system.

Two methods to fill screen:
- Use a bigger font size in the sourcecode: https://github.com/Fourdee/DietPi/blob/ ... shell#L161
- Modify the sourcecode to print addition characters, to fill up the screen. EG: adding spaces prior to the last ", would increase length of the banner https://github.com/Fourdee/DietPi/blob/ ... hell#L1104
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.

Taxick
Posts: 3
Joined: Thu Feb 01, 2018 9:21 pm

Re: REQ: DietPi-Cloudshell for 7" Screen

Post by Taxick » Sun Feb 04, 2018 12:14 am

Ok :) Thanks for the reply..

I will try to do it by your instructions :)

Post Reply