Giter Site home page Giter Site logo

cutiepi-io / cutiepi-shell Goto Github PK

View Code? Open in Web Editor NEW
229.0 229.0 25.0 2.24 MB

A mobile shell for Raspberry Pi OS

Home Page: https://cutiepi.io

License: GNU General Public License v3.0

QML 88.91% Shell 0.36% JavaScript 3.90% C++ 6.44% QMake 0.38%

cutiepi-shell's People

Contributors

arturo182 avatar penk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cutiepi-shell's Issues

Rotation issue when VNC enabled

Confirmed on 2 different SD card with 0123 build when enabling within the raspberry pi configuration in the interfaces section the VNC it will stop rotation of the screen when moving the cutiepi, if you turn VNC off rotation will work again.

Any plans to support anything other than RPi?

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

  • This shell is using connman, while postmarketOS uses NetworkManager, this means that if we don't use connman, then we can't connect to AP.
  • Screen dimensions are hard-coded (800x1280), this means that it'll only works on that specific display, this also does not only affect us, but also to people who uses a different LCD type.
  • Custom MCU is used to read battery information.
  • raspi-gpio is used to read power button state, I'm pretty sure there are other way of handling this, like elogind, or hook that specific event.
  • The terminal that you use (yat) is unmaintained, and currently only targets Qt 5.10, we use Qt 5.12 on Alpine Linux.

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

In the shell the terminal does not scale down with the onscreen keyboard

When using the terminal in the cutiepi shell the keyboard obscures the lower half of the screen. Since this is where you type commands you cannot see what you are typing on the command line.

Also: on the command line in the terminal a command is prefixed with the URL of the first open browser (non-terminal) tab when the command line is obscured by the keyboard. When there is no other non-terminal tab the command is prepended with the standard https://www.duckduckgo.com URL.
In summary: a URL from the browser tab is echoed on the command line.

A workaround is frequently using the clear command :-)

IMG_20220127_220852_5

documentation on how to build + run this locally

Any chance we could get some documentation on how to get up and running with this repo?
Currently trying to get this shell building + running on my Ubuntu 21.10 install, but running into issues.
I'm not too familiar with Qt either.

Rough steps I've had to take so far:

  • install a bunch of qt packages
  • comment out backlight init code - was segfaulting
  • change DISPLAY variable in main.cpp to :1
  • compilation fails when following the adblocker steps, so build without
  • change the path to shell.qml

Still missing a few steps though. I can get it to run, but now it throws a bunch of messages about missing modules that I have installed.
Guessing I need to find where they're at in my system and copy them somewhere else, change some import path variable, or similar.

Possible to integrate PyQT applications?

I was wondering if it was easily possible to add PyQT based Python applications into the UI of CutiePie-Shell. I specifically backed the CutiePie to be able to run qspectrumanalyzer which is a spectrum analyzer (go figure) for USB based radios.

Obviously it should be possible to run a "normal" desktop and use it from there but as the UI is based on QT I was wondering if it was at all possible to integrate an external app. If so could you point me to the right files or keywords to attempt to do so?

Thanks for this project,
Normen

Shell settings aren't saved

Hi,

I can't seem to figure out how the settings of Cutiepi-Shell can be saved. When I enable "PIXEL Desktop" as the default or disable the ad blocker the settings aren't saved. Doesn't matter if I close the settings panel or reboot right away with the panel open. When I reopen the settings everything is back to the defaults. Is there something I am missing?

Using the latest CutiePi image - 2022-04-01

Thanks,
Normen

Wrong display orientation when system default changed: CutiePi

Hi,
By default, Raspbian is set to be portrait when it boots, and the CutiePi shell appears correctly (in landscape), and auto-orientates itself.
But I'd like Raspbian to be landscape by default, so I change it via Preferences > Screen Configuration. DSI-1 > Orientation > Left.
Now, the CutiePi shell is 90 degrees out. So when tablet is landscape, CutiePi shell is portrait. When I rotate the table, it always seems to be 90 degrees out. Is there a way to set it to 0?

Thanks

Shell terminal cropped by on-screen keyboard

The shell interface does not resize when on-screen keyboard is shown.
On terminal, we cannot check our input while we are typing if we got lot of output from a previous command (like apt update).

Installed version: CutiePi image - 2022-01-23

Shell does not support other user than the default one

Using pi user is a potential security threat, even more with the default password.
So, I had created a brand new user but the shell status zone shows nothing (only icons without information)

CutiePi image - 2022-01-23

Charge Status

I just got my CutiePi today - yay!

I plugged it in and let it sit for 2 hours or so, but when I unplug it, the battery drops from (only!) 55% to 5%....

It remains powered on but is this normal behaviour?

What am I missing?

HDMI output not working correctly

The HDMI output is not working correctly.
Using the same cable on RP400 und RP4 works without problems.
BUT I use a micro HDMI to HDMI adapter and when wiggleing the adapter half way out - sometimes i get a picture on the monitor.

Virtual keyboard (onscreen keyboard) is missing Ctrl key and thus possibility to send SIGINT signal

Although I really like the big keys and simple layout of the virtual keyboard I found troublesome, that it lacks the Ctrl key. Lets's say you open terminal and start commands like top or journalctl -f How do you terminate those processes ? Usually, I do Ctrl + C to send a SIGINT signal to go back to terminal - I think the majority of other users is used to this too.

My proposal would be to either have a Ctrl key or a direct possibility to terminate the current process

Dropdown is shown in different orientation

The dropdown seems to follow the underlying screen orientation instead of the shell orientation, so the dropdown would be rotated in landscape mode.

Here's an example:
image

Many problems, Open Source?

  1. CutiePi tablet Is not open source: I have been unable to boot up the CutiePi tablet with any other OS distro than the custom CutiePi OS distribution of Raspberry PI. I just get a backlit screen when I switch on the tablet. then nothing happens after that. How do I do this?
  2. Arduino IDE will not properly install even using the terminal window. That is why I was trying to install another Raspberry Pi OS, so I could install and run Arduino IDE. How do I do this?
  3. How do you use the camera? where is the camera app?
  4. Will not discover bluetooth devices except my iPhone. Does not discover Bluetooth speakers or EarPods. How do I fix this?

cutiePI shell browser can not cast to chromecast device?

The browser window of the cutiePi shell does not seem to have the ability to chromecast - the version of chromium on the desktop version does, however.
Since HDMI output seems a bit flaky, I was looking at using the chromecast to get media up on the big screen, but that only works from the desktop, which is fine.... but not what I had hoped to do...

Provide APT repository for updates

Actually, the only way to upgrade the CutiePi OS is to reflash the card.
While this is a long process, it also wipe all our data/settings and might block people to update their image.
It would be great if any update could be provided through an APT repository so we can upgrade without wiping data.

Use OSK with desktop option?

I can't figure out how to use the on-screen keyboard with the raspbian desktop - is this possible.

I tried matchbox-keyboard, which I have used with raspbian in the past, but it was rendered vastly too large and so only a few keys were visible at all (so was useless.)

Anyone else seen this? Is there a workaround?

browser: Downloading files

Maybe it's out of scope for a simple-ish shell, but would love to be able to download files over the built-in browser :D

Changing system rotation breaks shell rotation

The Raspberry Pi OS image ships a display configuration utility which can be used to edit the X.org config.

It allows you to set a rotation so that for example the Pi desktop is oriented as you would expect.

When you set the display orientation to anything other than none, like "left" for example, the Cutiepi-shell cannot deal with that and will draw outside the screenspace and with the wrong orientation.

Please let the Pi-shell take into account the X11 rotation setting, so that it is possible to use the desktop in landscape mode without breaking Cutiepi-shell.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.