Code Monkey home page Code Monkey logo

pocketchip-pocket-home's People

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  avatar  avatar  avatar  avatar

pocketchip-pocket-home's Issues

Make fewer assumptions about aspect ratio

pocket-home happily scales to different window sizes, but it strongly assumes the aspect ratio of the original pocketCHIP screen. We can probably tweak the grid to behave a bit better in these cases.

Password seems useless on my PocketCHIP

Hi,

I tried to set a password to my PocketCHIP.
So I go to Settings > Advanced Settings > Change Your Password and I set password for Sudo password, New password and Retype password.
Once I reboot my PocketCHIP, when the field for the password is displayed, if I type the password that I set previously, it shows "Wrong password". But when I let the field blank and I press "Log In", the home screen is displayed.

Do you have any idea to how to resolve this problem? Thanks!

Cannot launch Pocket-Home error after attempting to calibrate screen

I recently installed pocket home and am really enjoying it however I seem to have screwed up the configuration file with a syntax error after attempting to calibrate the screen in which the terminal opened and threw an error and wouldn't return to the quit/return home so I restarted. Will poke around the config file later to upload if I can find it.

Do not segfault when an asset is missing

Adding code like this to the end of assetFile will at least give the user an error in the console about what is wrong:

if(!assetFile.exists()) {
 throw std::runtime_error("Missing asset file: " + fileName.toStdString());
}

No prompt for password on wake

When I "sleep" my PocketCHIP and then wake it by either tapping the screen or hitting the home button, I get the login screen but without a password prompt.
login screen
So I can just hit the "Log In" button without having to enter a password, and it lets me in.

I'm running 0.0.8.9 from the .deb package.

Adding gpg key fails with

Following command, described in the README.md fails with the error message:

sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 584F7F9F

Expected result: Commands finishes successfully.
Actual result Command fails with the following error:

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.nIzkBJLNRS --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys 584F7F9F
gpg: requesting key 584F7F9F from hkp server pgp.mit.edu
gpgkeys: key 584F7F9F can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

How to build Debian package from source

I'd prefer not to perform a make install and overwrite the official pocket-home in a way that can't easily be reversed, and would prefer to build a .deb package from source and install that. I can see there is a debian package directory already in there, but I have no idea how to actually run the packager. Could you add a makefile target for it?

Just a few lil ideas. and a couple bugs.

Option to reorganize the icons on a screen. [more than just move from right and left]

Option to display more or less than 6 icons per screen.

Option to toggle on/off on the IP address display.

Option to choose what font is used.

Option to change the color of the white display stuff, like the power button, the side arrows, time wireless...and so on [it gets hard to see on a light colored background]

when choosing the icon picture, make it so the icons are visible? instead of just names.

BUGS-

You can drag the background and image path screens around. [not sure if bug]

When adding an icon and then clicking "apply" and then trying to make another icon, you can't click apply again [still shows the "success!"], and have to back out and start over.

Merging with NTC upstream?

I'm wondering if there's interest from NTC upstream in importing some / all of your improvements so that they go into the "official" firmwares. Have you asked about this? Are they just busy, or actually don't want some of the changes?

AudioPluginHost eates 100% CPU on Linux

with latest build AudioPluginHost process stays at top with 100% cpu time

perf top --sort comm,dso
gives next output:

34,33% AudioPluginHost [kernel] ◆
14,45% AudioPluginHost libpthread-2.29.so ▒
5,98% AudioPluginHost libX11.so.6.3.0 ▒
4,28% AudioPluginHost libxcb.so.1.1.0 ▒
2,98% AudioPluginHost libc-2.29.so ▒
1,86% AudioPluginHost AudioPluginHost

with some advises I can try investigate it deeply

Hide Cursor not working

The "Hide Cursor" option in the advanced settings isn't working while using the default terminal emulator: "vala-terminal". I've also tested with the "st" terminal emulator, the cursor shows even though "Not Visible" is selected.

Login settings

I'm a bit confused about the whole "login" thing -- I mean, it seems strange to even have this feature in pocket home, since the window does not block the screen and anyone could just open a terminal or whatever using the keyboard, kill and restart pocket home. Why not delegate this kind of work to a real screen locking program?

Apart from that, the password seems to be stored using just plain SHA1, which is not a very good way to store a password. And also to compute this SHA1 by linking against OpenSSL, which is very probably in violation of the GPL3 license on this project.

I love most of the improvements in this fork, but I'm curious if these various security issues aren't better fixed by relying on an existing screen-locker instead of by doing all the work to fix them here.

Remove committed build artifacts

the debian/ directory right now contains a compiled arm binary, and other stuff that looks like just the output of a build... probably should just have source in the repository and let the build system create these arrangements?

Drag to delete dosnt work

I have an icon to delete but drag does not work. Also the icon I downloaded for doom dosnt even load. And it is valid.

Spawning of Defunct Processes

I installed the version from your repo and my pocket chip would have issues in the terminal about running out of processes. I'm probably unusual in that I am running pocket-home on the Standard Image. This is because I've added a service to have the CHIP reconfigure itself depending on whether it is running over HDMI, TzaTziffy, or oon the PocketCHIP.

The defunct processes were caused by the spawning of i2cget by Pocket-Home. I tracked the error to BatteryMonitor.cpp and have submitted a pull request to replace the guts of that portion of the class with a version written in plain C++

Constantly eating CPU

strace gets spammed with endlessly repeated reads:

select(7, [5 6], NULL, NULL, {0, 2000000}) = 1 (in [5], left {1, 993426})
read(5, "\377", 1)                      = 1
clock_gettime(CLOCK_MONOTONIC, {125502, 262125516}) = 0
clock_gettime(CLOCK_MONOTONIC, {125502, 263519917}) = 0
futex(0x27633c, FUTEX_CMP_REQUEUE_PI_PRIVATE, 1, 2147483647, 0x276368, 16235768) = 1
futex(0x276368, FUTEX_UNLOCK_PI_PRIVATE, 32) = 0
futex(0x1f8680, FUTEX_UNLOCK_PI_PRIVATE, 33) = 0
recvmsg(6, 0xbed908fc, 0)               = -1 EAGAIN (Resource temporarily unavailable)
read(5, "\377", 1)                      = 1
clock_gettime(CLOCK_MONOTONIC, {125502, 270397336}) = 0
clock_gettime(CLOCK_MONOTONIC, {125502, 270601792}) = 0
futex(0x27633c, FUTEX_CMP_REQUEUE_PI_PRIVATE, 1, 2147483647, 0x276368, 16235772) = 1
futex(0x276368, FUTEX_UNLOCK_PI_PRIVATE, 32) = 0
futex(0x1f8680, FUTEX_UNLOCK_PI_PRIVATE, 33) = 0
recvmsg(6, 0xbed908fc, 0)               = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0xbed9084c, 0)               = -1 EAGAIN (Resource temporarily unavailable)

/proc/PID/fd shows that fds 5 and 6 are both some unix sockets

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.