| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
what is the point?
Forum: General Discussion on PinePhone
Last Post: biketool
Yesterday, 10:32 AM
» Replies: 6
» Views: 301
|
Irradium (based on crux l...
Forum: Linux on Pinebook
Last Post: mara
11-28-2025, 07:38 AM
» Replies: 3
» Views: 11,850
|
Danctnix USB GPS for Pine...
Forum: PineTab Software
Last Post: biketool
11-28-2025, 06:09 AM
» Replies: 0
» Views: 67
|
Pinetab2 camera drivers
Forum: PineTab Software
Last Post: biketool
11-28-2025, 03:39 AM
» Replies: 10
» Views: 6,783
|
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: realchunkyflea
11-27-2025, 05:01 PM
» Replies: 3
» Views: 333
|
PinePhone sensors - Gyros...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-27-2025, 04:23 PM
» Replies: 2
» Views: 111
|
irradium (based on crux l...
Forum: Linux on Rock64
Last Post: mara
11-27-2025, 10:30 AM
» Replies: 10
» Views: 15,933
|
irradium (based on crux l...
Forum: Linux on RockPro64
Last Post: mara
11-26-2025, 02:45 PM
» Replies: 10
» Views: 16,863
|
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: j_s
11-26-2025, 11:33 AM
» Replies: 4
» Views: 335
|
Quill OS for the PineNote
Forum: PineNote Software
Last Post: JhonSmith
11-26-2025, 01:42 AM
» Replies: 1
» Views: 206
|
|
|
| New pinephone user feedback |
|
Posted by: Muad - 01-28-2021, 07:17 PM - Forum: General Discussion on PinePhone
- Replies (1)
|
 |
Hola fellow pines.
New pinephone user here. Picked up the KDE Plasma, which arived on Monday. The pre-loaded manjora distro is super buggy. I ended up tossing UT on a microSD, and it's a huge improvement.
Looking forward to playing with and testing these distros, and supporting the devs anyway I can.
My goal with the pinephne is to have a DD'able, secure device free from Google and Apple's data harvesting. I only want to be able to make calls, send SMS, browse the web, etc. A usable 2FA app would be a plus.
I will say, I was stoked to see WiFi Scanner in the OpenStore. I can see that being a very useful tool at work. I believe there used to be a similar app for iOS, but it's not available anymore.
Anyhow, figured I'd say hello and I look forward to conversing with you all.
Cheers
|
|
|
|
| Good Cable? |
|
Posted by: foobarney - 01-28-2021, 12:04 PM - Forum: General Discussion on Pinecil
- Replies (17)
|
 |
Does anyone know a source for a reasonably-priced USB-C cable with a silicone jacket? It would be nice to have a power cable the iron can't melt.
The TS80 kit evidently includes a nice one, but it can't be ordered separately (AFAIK) and is an A-to-C cable, and I'd want C-to-C to use PD.
For that matter, does anyone make a silicone barrel-style power cable? That would be easy enough to adapt, I'd think .
EDIT: This looks promising--a 2m silicone USB C-to-C cable for under $5 shipped on Aliexpress. Granted, it could be absolute crap, and I'll probably be vaccinated before it shows up, but hey ... promising.
|
|
|
|
| Developing on Pinephone |
|
Posted by: mandavel - 01-28-2021, 07:09 AM - Forum: General Discussion on PinePhone
- Replies (11)
|
 |
(If I need to move this, please let me know where)
Hi everyone, brand new here, first post.
I've been diving headfirst into the linux world for about a year or two, and I'm not looking back after going the way of everyone else here and realizing how fun and deep the linux world goes. I would like to help develop on the pinephone, at least for expanding my own knowledge. I have an interest in programming, though I wouldn't say I'm well educated yet. I have basic scripting experience, understand a fair bit of the linux ecosystem and command line, and am smart enough to figure out a coding system once I have a project to apply it to. I am experienced in the Debian/ubuntu side of things, and would preferably like to stay in that realm because I just like it. I am extremely interested in helping the linux phone movement progress whether by developing, troubleshooting, cleaning up, or even just getting burritos for the team.
So my questions are: how does one get started in this domain? What are some basic things I need to wrap my head around before diving in? What IDEs and languages are best used to program in the Debian-like environment? When developing for mobile/phosh/pinephone specifically, should I be learning a certain discipline, or just learning the desktop environment since it's all just that anyway?
I'm doing research for myself and trying to be self-sufficient, but no reason not to ask the experts their advice on getting started. Any help would be great.
Thanks
|
|
|
|
| Shipment returned to shipper |
|
Posted by: weedcoder - 01-28-2021, 04:02 AM - Forum: Shipment Related Discussion
- Replies (2)
|
 |
First time i see this.
DHL tracking says the shipment returned to shipper
Do any of you guys has the same problem?
Here is dhl log
Wednesday, January 27, 2021
3 - Returned to shipper - HONG KONG - HONG KONG SAR, CHINA - 12:20
Tuesday, January 26, 2021
2 - Shipment on hold - HONG KONG - HONG KONG SAR, CHINA - 23:53
1 - Shipment picked up - HONG KONG - HONG KONG SAR, CHINA - 21:48
|
|
|
|
| Virtualizing Pinephone Operating Systems? |
|
Posted by: BaronAlbatross - 01-28-2021, 12:26 AM - Forum: General Discussion on PinePhone
- Replies (2)
|
 |
Hello all, first post after a long lurk!
I am planning to preorder a pinephone, and in preparation I would like to be able to explore the OS options so I can quickly settle on a daily driver. I am hoping to fully replace my android and this is basically the last step in my de-googling process. I do need some functionality for work however, so again, I would like to explore the available operating systems while I wait for shipping to begin.
Is anyone aware of a method of running any of the supported OSs in a virtual machine such as KVM? I tried to get iso files but could only get installer tools and .img files for the ones I was most interested in. If anyone has any insight I would very much appreciate it!
|
|
|
|
| Hooks and userscripts: POST 'EM! |
|
Posted by: MungFuSensei - 01-27-2021, 09:38 PM - Forum: Sxmo on PinePhone
- No Replies
|
 |
Hook-seller! I need your STRONGEST hooks and userscripts!
I'll start.
Surf gesture so that back and enter go back and forward in history.
Code: #!/bin/sh
# $HOME/.config/sxmo/hooks/gesture
case $1 in
"surf")
if [ $2 = "back" ]; then
xdotool key ctrl+h & exit 0
elif [ $2 = "enter" ]; then
xdotool key ctrl+l & exit 0
else
exit 1
fi
;;
*) exit 1
esac
Ring hook that checks if the number is a contact. If so, it will ring, if not, it won't! This cuts down on being annoyed by robo-callers. It also checks if the file $HOME/.config/sxmo/silent exists. If so, it won't ring. I stole the main bits of the ring/pickup scripts from someone here (if it's you, sound off and thanks!) but added the contact/silent checking.
Code: #!/usr/bin/env sh
# $HOME/.config/sxmo/hooks/ring
NUMBER="$1"
CONTACT=$(sxmo_contacts.sh --all |
grep "$NUMBER"
)
SILENT=$HOME/.config/sxmo/silent
incallmonitor() {
CALLRINGING=$(mmcli -m "$(modem_n)" --voice-list-calls)
echo $CALLRINGING
if [[ "$CALLRINGING" == "No calls were found" ]]; then
exit 1
fi
}
modem_n() {
MODEMS="$(mmcli -L)"
echo "$MODEMS" | grep -qoE 'Modem\/([0-9]+)' || finish "Couldn't find modem - is your modem enabled?"
echo "$MODEMS" | grep -oE 'Modem\/([0-9]+)' | cut -d'/' -f2
}
if [ -n "$CONTACT" ]; then
sxmo_audioout.sh Speaker
amixer sset 'Line Out' 100%
if [ ! -f $SILENT ]; then
mpv --no-resume-playback /home/mo/Music/char.opus
fi
while true; do
sxmo_vibratepine 1000
notify-send $1
incallmonitor "$1"
done
else
while true; do
notify-send $1
incallmonitor "$1"
done
fi
Code: #!/bin/sh
# $HOME/.config/sxmo/hooks/pickup
ID=$(ps -ef|grep ring|grep -v grep|perl -ne '$_=~ m/^ *(.*) mo.*/;print $1')
kill -9 $ID
pkill mpv
sxmo_audioout.sh
Code: #!/usr/bin/env sh
# $HOME/.config/sxmo/userscripts/silent
SILENT=$HOME/.config/sxmo/silent
if [ -e $SILENT ]; then
rm $SILENT && notify-send "Not Silent"
else
touch $SILENT && notify-send "Silent"
fi
I'm not the greatest shell scripter, but with just a little bit here and there, sxmo gets comfier and comfier. It is now "legs go numb on the toilet while looking at memes on the pinephone" worthy. I'm also looking for some apps hook examples if you got 'em! I can't seem to make mine work without breaking something.
|
|
|
|
| My solution: convenient and reliable alarms |
|
Posted by: derbaertigefrytz - 01-27-2021, 04:19 PM - Forum: Mobian on PinePhone
- Replies (4)
|
 |
Hello everybody.
Let me know, what you tink about this.
Alarms that are set in the Clocks App of (at least) Mobian are, as far as I can see, actually not reliable.
They do not go off, if the phone is in stand by mode for some time.
Sometimes they go off, when I wake up the phone, sometimes, when I unlock it, and sometimes they do not at all.
My first approach was to use a cronjob, that wakes the phone up, 1 minute before it is time for the alarm. Any (!) command executed by cron did the job. I used "ls".
This worked well and I used this solution for several days, until I decided, that the standard alarm tone is crap. And even worse, it will last precious seconds to find my glasses, unlock the phone, open the header and stop it.
No, I wake up with my favorit music, the phone is already unlocked and I am able to quit (if I wish) without using my glasses.
Here is, how it works.
You need to install cron and mplayer.
You create a cronjob that (1) unlocks your device and (2) starts mplayer in a kingscross session. mplayer will play every music you like.
cron will wake up your phone reliable, even after a long night. Your display remains dark.
To end this "alarm", you have to press the power button once, then either hit q, or p on the keyboard. This will quit, or pause mplayer.
As an alternative you can end kingscross. This is what I do, because I can do it without my glasses.
I hit the arrow icon to switch to task view, swipe to close and hit the fat red button on the right (indicating, mplayer is running in the terminal)
Yes, that are two to four key presses. More than in standard spy phones but less than necessary whith the standard alarm.
Here is, what has to be done before (you need basic knowlege of command line editors, cron, mplayer).
In Kingscross, or from a SSH session do:
sudo apt install cron
sudo apt install mplayer
crontab -e
## In the file, that opens, enter the following line
30 7 * * * loginctl unlock-session 1; DISPLAY=:0 /usr/bin/kgx -e "mplayer http://wdr-wdr5-live.icecast.wdr.de/wdr/...stream.mp3"
That's all.
At 7:30 on every weekday (30 7 * * * ), cron will now unlock the device in your name (loginctl unlock-session 1) and start kingscross (/usr/bin/kgx). Kingscross will execute mplayer and let it playback the german WDR5 info radio (-e "mplayer http://wdr-wdr5-live.icecast.wdr.de/wdr/...stream.mp3").
The mplayer manpages will tell you, how to set the initial volume and how to play your inividual playlist.
The cron manpages will tell you, how to configure "alarms" for working days, weekends etc.
|
|
|
|
Automate checking whether the Pinecil is still in stock |
|
Posted by: Julius_GU - 01-27-2021, 02:15 PM - Forum: General Discussion on Pinecil
- Replies (5)
|
 |
Here is a quick way to see whether the Pinecil gets back in stock.
I've been meaning to get one, but it is out of stock. To automate my stalking of pine's website, i've written this python script and thought that I could share it if someone thinks that it's neat:
Code: import requests as r
from tkinter import messagebox as m
import tkinter as tk
import os
url = "https://pine64.com/product/pinecil-smart-mini-portable-soldering-iron/?v=0446c16e2e66"
#don't show a main window
root = tk.Tk()
root.withdraw()
response = r.get(url)
source = response.text
startIndex = source.find("<title>")
endIndex = source.find("</title>")
if (startIndex == -1) or (endIndex == -1):
m.showerror(title="could not check pine64.com", message="please check your internet connection")
quit()
if("[Out of Stock]" in source[startIndex:endIndex]):
print(source[startIndex:endIndex])
m.showinfo(title="OUT OF STOCK", message="the Pinecil is stil out of stock, unfortunately")
else:
choice = m.askquestion(title="IN STOCK", message="THE PINECIL IS BACK\nGo to the store?")
if choice == 'yes':
os.system("firefox "+url)
This will show the following when executed
https://ibb.co/XzLBd1P
https://ibb.co/XCcJb9D
the only thing left then is to add a menu item with the command:
Code: python ~/checkPinecil.py
(replace "~/checkPinecil" with the path to your saved file)
Then you can easily check whether it is available 
P.s. I am aware of how useless this is, but I was bored and this is the result.
Best Regards, Julius
|
|
|
|
|