Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,120
» Latest member: benstoke
» Forum threads: 16,364
» Forum posts: 117,537

Full Statistics

Latest Threads
Real women, real desire, ...
Forum: General
Last Post: Spaker
1 hour ago
» Replies: 0
» Views: 3
Weatherproof case build
Forum: Enclosures
Last Post: ltorsini
07-07-2026, 07:01 PM
» Replies: 12
» Views: 38,518
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: PinePhoneProUser
07-07-2026, 04:47 PM
» Replies: 16
» Views: 11,070
pinecil v2 dosent negotia...
Forum: General Discussion on Pinecil
Last Post: moses
07-07-2026, 07:28 AM
» Replies: 0
» Views: 90
Pinephone software
Forum: General Discussion on PinePhone
Last Post: Csanderson0313
07-06-2026, 05:22 PM
» Replies: 2
» Views: 242
Rock64 v2.0 u-boot SPI is...
Forum: General Discussion on ROCK64
Last Post: ju0n
07-05-2026, 11:02 AM
» Replies: 0
» Views: 128
Libby - ebook reader that...
Forum: PineNote Software
Last Post: kiwigoldfish
07-04-2026, 04:41 PM
» Replies: 6
» Views: 4,092
PineNote v1.2 - Charges N...
Forum: General Discussion on Pinebook Pro
Last Post: ttsp
07-02-2026, 02:52 AM
» Replies: 0
» Views: 326
How to change the PineNot...
Forum: General Discussion on PineNote
Last Post: cameronharring
07-01-2026, 12:22 PM
» Replies: 0
» Views: 182
PinePhone Pro disable Vol...
Forum: PinePhone Pro Hardware
Last Post: FR_IV
07-01-2026, 10:53 AM
» Replies: 1
» Views: 1,636

 
  i3blocks Manjaro battery status script
Posted by: Gerhard - 01-05-2020, 02:35 PM - Forum: Pinebook Pro Tutorials - No Replies

I did this to have battery-status on the i3bar:


Code:
#!/bin/bash
#simple Shellscript for i3blocks on Pinebook pro
#05012020 geri123@gmx.net Gerhard S.
#battery-symbols: on Manjaro you need the awesome-terminal-fonts package installed!
PERCENT=$(cat /sys/class/power_supply/cw2015-battery/capacity)
STATUS=$(cat /sys/class/power_supply/cw2015-battery/status)
case $((
 $PERCENT >= 0 && $PERCENT <= 20 ? 1 :
 $PERCENT > 20 && $PERCENT <= 40 ? 2 :
 $PERCENT > 40 && $PERCENT <= 60 ? 3 :
 $PERCENT > 60 && $PERCENT <= 80 ? 4 : 5)) in
#
       (1) echo $STATUS::"" ::$PERCENT%;;
       (2) echo $STATUS::"" ::$PERCENT%;;
       (3) echo $STATUS::"" ::$PERCENT%;;
       (4) echo $STATUS::"" ::$PERCENT%;;
       (5) echo $STATUS::"" ::$PERCENT%;;
esac

and in the i3blocks-config:


Code:
[batterystat]
command=sh ~/.config/i3blocks/scripts/batterystat
interval=5


  Unable to read files on samba shares (but browsing OK)
Posted by: regivanx - 01-05-2020, 08:34 AM - Forum: Linux on Pinebook Pro - No Replies

Hello!

On default OS: I can browse samba shares, but not open files.

After installing vlc-plugin-samba, I can read files with vlc :

smb://share/music/sweet_sms.mp3

but no:

smb://[2a01:e0a:185:7630:9eb7:dff:fe6c:1e86]/music/sweet_sms.mp3

No other program can read any file. After installing the samba plugin, vlc is the only exception.

In Windows, open shared files works normally.


  TTY Keyboard on PinePhone
Posted by: Danct12 - 01-05-2020, 06:39 AM - Forum: General Discussion on PinePhone - Replies (3)

Have you ever thought that you would get away with mobile UI and live with TTY? Well, it looks like the dream came true.  Big Grin


  Still trying to upgrade
Posted by: georgetina1 - 01-05-2020, 05:16 AM - Forum: Rock64 Tutorials - Replies (1)

Manage to get the system to carry out upgrade to LXDE version 0.8.3 but on reboot the boot sequence runs and then the screen goes blank with the cursor flashing. Reboot gives the same result. Any help please.


  Java 64bit
Posted by: Dreamwalker - 01-05-2020, 05:15 AM - Forum: Linux on Pinebook Pro - Replies (6)

This is probably obvious but I am not brilliant on linux but how do I enable the 64bit JVM for java?  I don't want to just follow some random instructions on the internet due this not been an intel device!


  Baldur's Gate on Pinebook Pro
Posted by: brzegorz - 01-05-2020, 04:51 AM - Forum: Linux on Pinebook Pro - No Replies

Hi, I've managed to get Baldur's Gate II running on Pinebook Pro with Manjaro. In order to achieve that you need to use the GemRB open-source engine. I've published a script which achieves that. Before running, you need to download the latest release from https://github.com/gemrb/gemrb/releases/tag/v0.8.6. Baldur's Gate is bundled with it's enhanced edition on GOG. You can extract it using innoextract, available in Manjaro repositories. I had issues with the git version, though it might have had to do with bad cmake flags. Please note that the script doesn't install the dependencies - check out the sources.
https://bitbucket.org/brzegorz/pinebookp...l_gemrb.sh

Sources:
http://gemrb.org/wiki/doku.php?id=installation

Things I had to correct in order to get it to work:
- Your installation should be in a folder without spaces, e.g. "BaldursGateII" instead of "Baldurs Gate II"
- cmake .. -DDISABLE_WERROR=1 -DSDL_BACKEND=SDL2 -DOPENGL_BACKEND=OPENGL -DSTATIC_LINK=enabled
    - I haven't checked if DISABLE_WERROR and SDL_BACKEND make a difference
   - OPENGL_BACKEND=GLES caused segfaults when starting the game for me
    - STATIC_LINK=enabled is needed for the game to compile. It might have to do with my Python installation, but, well, it works 
- My gemrb.cfg: https://pastebin.com/LvcwRhzw. The annoying thing is that the one which is copied from build dir has wrong paths
- to run: gemrb -c gemrb.cfg

I'm working on the widescreen mod and testing how it actually works right now.

EDIT1: I've freed my friends and won an epic battle with Mephits on 640x480. Stuff seems to be working just fine.

EDIT2: I've added a script to install the widescreen mod. Mephits die twice, everything works: )
https://bitbucket.org/brzegorz/pinebookp...escreen.sh


  Kamils resize_rootfs.sh
Posted by: Bullet64 - 01-05-2020, 03:04 AM - Forum: Linux on RockPro64 - Replies (2)

With new uboot you can boot from PCIe NVMe SSD Smile

https://forum.pine64.org/showthread.php?...2#pid55832

After installation you must resize the root partition. For this Kamil has an script under

Code:
/usr/local/sbin/resize_rootfs.sh

Add this

Code:
/dev/nvme0n1*)
               DISK=${dev:0:12}
               NAME="pcie/nvme"
               ;;

On my system it works, but do it on your own risk!!


  How do I get official support?
Posted by: dream - 01-04-2020, 11:22 PM - Forum: General Discussion on Pinebook Pro - Replies (4)

I just received the PBP ordered in early September, but I found that the default operating system cannot add languages, and I cannot browse Chinese websites. Emailed pinebook@pine64.org but did not reply. Posts in the forum, but did not get an official response.this my post https://forum.pine64.org/showthread.php?tid=8671

How can I get support services? Thank you!


  Kinda new around here
Posted by: MIchael - 01-04-2020, 10:39 PM - Forum: General - No Replies

Hello, I'm waiting very patiently for a Braveheart and a PBP (not asking for shipping date) and doing some reading on the mean time.

Kinda excited to update to the 128 and add a m.2.

Anywho, I'd previously signed up with a Gmail email but it won't send emails to it for some reason.

Going back to reading now.


  gcc-aarch64-linux-gnu on Debian armhf?
Posted by: chihiro - 01-04-2020, 06:55 PM - Forum: Linux on Pinebook Pro - Replies (1)

A little bit novice here and sry if it has already been discussed.

The preinstalled is is Debian for armhf and have therefor not full support for arm64?
I'm missing the 64 bit arm cross-compiler gcc-aarch64-linux-gnu 

"
Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 crossbuild-essential-arm64 : Depends: gcc-aarch64-linux-gnu (>= 5.3) but it is not installable
                              Depends: g++-aarch64-linux-gnu (>= 5.3) but it is not installable
E: Unable to correct problems, you have held broken packages.
"

Again, novice here and could have fucked up things. The dpkg --print-architecture says i have armhf.