cutiepi-io / cutiepi-shell

A mobile shell for Raspberry Pi OS
https://cutiepi.io
GNU General Public License v3.0
232 stars 25 forks source link

Any plans to support anything other than RPi? #1

Open asriel-danctnix opened 4 years ago

asriel-danctnix commented 4 years ago

We're interested of packaging this to Alpine Linux (or postmarketOS), however these are the problem that hold us back:

Any plans on support anything other than Raspbian and your current Raspberry Pi setup? This shell would look good to be used on tablet computers like Pinetab and many more.

CC: @dreemurrs-embedded @PureTryOut @DolphinChips

penk commented 4 years ago

Hi @asriel-danctnix, thanks for the feedback, it would be cool if we can make CutiePi shell a more general offering.

DolphinChips commented 4 years ago

For screen resolution and default apps, this is an easy one, could be a setting file loading at runtime. Also you might be interested in the Wayland branch, which I believe is more future proof?

We can set screen resolution with environment variables, but shell still should handle placing all UI elements so they would fit on screen.

Network manager could be tricky, do you guys have KDE/networkmanager-qt package in the repo? It pulls lots of KDE framework bits which I don't like.

Yes. we do (https://pkgs.alpinelinux.org/package/edge/community/x86_64/networkmanager-qt), and it doesn't seen to pull any KDE dependencies.

penk commented 4 years ago

@DolphinChips Thanks for the info, that looks good.

I'll check if we can reuse networkmanager-qt on Raspbian, if it's feasible then I'll make a PR to get rid of ConnMan dependency.

Danct12 commented 4 years ago

Network manager could be tricky, do you guys have KDE/networkmanager-qt package in the repo? It pulls lots of KDE framework bits which I don't like.

You may also not need that, I believe you can use dbus + policykit to control NetworkManager, use it to connect to Wi-Fi.

battery reading

Most systems uses upowerd to read battery status, so you should adapt that:

pine64-pinephone:~$ upower -i /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Tue Feb 18 15:09:32 2020 (20 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               discharging
    warning-level:       none
    energy:              0 Wh
    energy-full:         0 Wh
    energy-rate:         0 W
    percentage:          99%
    icon-name:          'battery-full-symbolic'

pine64-pinephone:~$ 
penk commented 4 years ago

@Danct12 manually control NM is painful, I'll try to get (at least part of) plasma-nm working.

PureTryOut commented 4 years ago

Well don't bother with plasma-nm if you're afraid of dependencies. You just need networkmanager-qt really for Qt bindings.

MightyM17 commented 3 years ago

Any new updates on this? Would love to get CutiePi Shell on my Tab :smile:

fancsali commented 9 months ago

Well, just bumped into this, and I'd be chuffed to get this working on my old Chromebook under pmOS...

... so +1! :wink:

Can this be chopped up and addressed one issue at a time @asriel-danctnix & @penk? It's more likely that people can chip in.