olup / kobowriter

A simple typewriter written in go for KOBO e-readers
315 stars 14 forks source link

How to change display orientation #11

Open laRob95 opened 2 years ago

laRob95 commented 2 years ago

Hello

I downloaded your custom XCSoar archive from https://github.com/olup/kobowriter/releases, and I successfully started kobowriter. However, display orientation is not landscape. Is there a way to change this?

olup commented 2 years ago

This is strange, what is your device model ? I think I read from FBINK that rotation is not always working...

laRob95 commented 2 years ago

I used kobo GLO HD

bcmpinc commented 2 months ago

I'm also running into the problem kobowrite runs in the default portrait orientation. I would prefer landscape.

I noticed in the following line in the code:

exec.Command(`fbdepth`, `--rota`, `2`).Run()

But it does not seem to do anything. My guess is that the fbdepth program is not installed. Unfortunately I don't know how I can read the log output, so I have no means to debug this.

@olup: Could it be that you installed fbdepth separately but did not include it in the release build?

Edit: The fbdepth executable missing indeed seems to be the issue. For instructions, see my repo. You also need to build my version as it has the path to fbdepth hardcoded.