Skip to content

Pinephone Support #103

Open
Open
@RangerMauve

Description

@RangerMauve

This is a tracking issue for getting Agregore to work properly on the Pinephone.

https://twitter.com/RangerMauve/status/1390099799320506369

Compiling

So far, I'm able to compile Agregore from source on a pinphone running monjaro+Phosh using the following steps (I did this over SSH but you can probably do it on the phone's terminal app):

  • git clone the repo somewhere and cd into it
  • Set up node.js using nvm
  • Install yarn with npm i -g yarn
  • Install build-essentials using sudo pacman -Sy base-devel
  • Use yarn to install node modules. Should see a bunch of output for compiling node-gyp modules like utp-native and sodium-native
  • Use yarn start to run it
  • Use yarn builder --arm64 to compile an AppImage in the release folder

Installing

Once you've compiled or downloaded the AppImage, you can install it onto the system with AppImageLauncher

On Monjaro you can install it with sudo pacman -S appimagelauncher

From there you should be able to open AppImages from the file explorer (e.g. Portfolio) and get it to install them onto your system.

Known issues:

  • Text is appearing blurred, probably an issue with scaling. The text of the web page loaded in Electron on Pinephone appears blurry electron/electron#27169
    • Adding some command line flags seems to help. --enable-features=UseOzonePlatform --ozone-platform=wayland
  • Keybaord input isn't working sometimes (might need to bring it up first and then click the text area)
  • Initial load is pretty slow (comparable to firefox), should investigate
  • GPU acceleration for video doesn't seem to be working yet Gonna try a fix from here
  • The alt menubar isn't showing up on Phosh (not sure about others)
  • The Icon for the AppImageLauncher isn't working.

Other TODOs:

  • Publishing to the Linux On Mobile app list here
  • Publishing on AUR?

Any help with figuring out issues would be very much appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxPrimarily happens on LinuxbugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions