| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
BT PAN - we need iptables...
Forum: Mobian on PinePhone
Last Post: biketool
3 hours ago
» Replies: 1
» Views: 427
|
How can I record video on...
Forum: General Discussion on PinePhone
Last Post: baptx
3 hours ago
» Replies: 23
» Views: 18,303
|
u-boot rk356х (rockchip r...
Forum: Quartz64 Tutorials
Last Post: hamsterbacke
6 hours ago
» Replies: 18
» Views: 33,957
|
A/V output enable
Forum: Linux on Rock64
Last Post: 8lall0
Yesterday, 04:45 PM
» Replies: 0
» Views: 38
|
If your USB-C port is fla...
Forum: PinePhone Pro Hardware
Last Post: Zebulon Walton
Yesterday, 02:25 PM
» Replies: 0
» Views: 52
|
Pinebook problem
Forum: General Discussion on Pinebook Pro
Last Post: RicTor
03-18-2026, 08:58 AM
» Replies: 2
» Views: 4,631
|
Pine a64+ power supply
Forum: General Discussion on PINE A64(+)
Last Post: davidspencer
03-18-2026, 01:02 AM
» Replies: 0
» Views: 144
|
Private / self-hosted "Cl...
Forum: General Discussion on PinePhone
Last Post: cyberb123
03-17-2026, 11:57 AM
» Replies: 8
» Views: 7,181
|
Automatic screen rotation
Forum: PineTab Software
Last Post: Raik
03-17-2026, 01:49 AM
» Replies: 32
» Views: 29,910
|
Prohibit Pinecil from goi...
Forum: Pinecil Software
Last Post: snorkel
03-13-2026, 01:56 AM
» Replies: 2
» Views: 224
|
|
|
| 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
|
|
|
|
| PINEPHONE CE |
|
Posted by: poly60 - 01-27-2021, 08:57 AM - Forum: General Discussion on PinePhone
- Replies (4)
|
 |
Hi
Is this phone in stock now? Will it work in Norway?
PINEPHONE Community Edition Mobian With Convergence Package Limited Edition Linux SmartPhone Community price: $199.99
|
|
|
|
| Disabling screen timeout for plasma mobile |
|
Posted by: rp3 - 01-27-2021, 05:40 AM - Forum: Manjaro on PinePhone
- Replies (7)
|
 |
Hi everyone, I just thought I would share something I stumbled across the other day, which seems very difficult to find on the web?
How to disable the very short screen timeout for plasma on the pinephone.
-This can be an incredibly distracting issue, -maybe it needs dealing with?
I happened to long-press the desktop, and "Add Widgets" appeared
I pressed this, and tried adding the "Display Configuration" widget.
It had something called "Enable Presentation Mode", which I tried.
This seemed to work, and the screen then stayed on indefinately -Yay!
Perhaps this is helpful to someone else?
Regards.
|
|
|
|
|