Flip portrait orientation 180 degrees
#1
I bought a bluetooth keyboard with a groove to put my phone in. It works great, but I can't plug in my phone when it's docked. I'm hoping there's a way to change the settings so that I'm essentially holding the phone upside-down when in portrait orientation.
  Reply
#2
OK, I have found a semi-solution to this.

```
sudo apt install wlr-randr
```

Then edit ~/.bashrc and add this:

```
function flip() { wlr-randr --output DSI-1 --transform 180; }
```

Then `. ~/.bashrc` to reload bash. Now, when you run `flip` either on the phone's terminal or over SSH, You'll be in upside-down portrait mode.

This is nice because you can dock your phone and keep it plugged in, and the headphone position is like an old iPod touch (if you like that).

However, you can't flip it this way using the indicator. It will flip back to normal portait mode if you click it, then landscape. These are the three things I would like to do:


  1. Make the upside-down portrait orientation permanent;
  2. Make it work with the phosh indicator;
  3. Invert the volume buttons so they're also upside-down.
  Reply
#3
(01-15-2021, 01:21 PM)3x5co Wrote: ...

  1. Make the upside-down portrait orientation permanent;
  2. Make it work with the phosh indicator;
...

Arch has this working recently (say in January sometime, not sure when): enabling auto screen rotation via Phosh indicator and it does what you expect.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.12 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with pmOS/SXMO on eMMC
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Default SMS app send button off screen in vertical orientation motox6 0 1,477 05-22-2021, 02:55 PM
Last Post: motox6

Forum Jump:


Users browsing this thread: 1 Guest(s)