Difference between revisions of "User:Mikehenson"
Jump to navigation
Jump to search
Mikehenson (talk | contribs) |
Mikehenson (talk | contribs) |
||
Line 50: | Line 50: | ||
=Arch Commands= | =Arch Commands= | ||
==Mount SD== | ==Phosh - Mount SD== | ||
This should automatically done with portfolio-file-manager | |||
sudo pacman -S portfolio-file-manager | |||
<pre> | <pre> | ||
#OLD WAY | |||
sudo mkdir /home/SD | sudo mkdir /home/SD | ||
sudo chmod 777 /home/SD | sudo chmod 777 /home/SD |
Revision as of 18:50, 7 January 2023
Installing Arch on a PinePhone
Think of this a guide, MOST of these commands will need to be changed depending on your setup
Jumpdrive OR new image
https://github.com/dreemurrs-embedded/Jumpdrive https://github.com/dreemurrs-embedded/Pine64-Arch/releases cd ~/Downloads/ unxz ./pine64-pinephone.img.xz lsblk (Plug in the SD card) sudo umount /run/media/user/1FAE-0542/ sudo dd if=~/Downloads/pine64-pinephone.img of=/dev/sdd status=progress sudo sync Start Phone
ssh
sudo systemctl enable --now sshd sudo systemctl disable --now sshd
Updating Arch
ssh alarm@192.168.12.101 https://archlinux org/mirrorlist/all/https sudo pacman -Sc sudo pacman -Sy sudo pacman -Rns $(pacman -Qtdq) sudo pacman -S archlinux-keyring sudo pacman -Syu
PinePhone Arch Packages
sudo pacman -S gedit sudo pacman -S pcmanfm-gtk sudo pacman -S danctnix-tweaks-app-pinephone danctnix-tweaks-app-phosh sudo pacman -S gnome-screenshot sudo pacman -S modem-manager-gui sudo pacman -S aspell aspell-en # go into gedit and select preferences >> spelling >> preferences >> highlight misspelled words NOT sudo pacman -S hunspell-en_us sudo pacman -S syncthing sudo systemctl start system-syncthing.slice sudo systemctl start syncthing@alarm.service sudo systemctl enable syncthing@alarm.service #local host: http://localhost:8384/
Arch Commands
Phosh - Mount SD
This should automatically done with portfolio-file-manager
sudo pacman -S portfolio-file-manager
#OLD WAY sudo mkdir /home/SD sudo chmod 777 /home/SD sudo mount /dev/mmcblk0p1 /home/SD/
phosh - squeekboard - Custom Layout
# see https://github.com/mikeshenson/Phosh-Squeekboard-Keyboard
phosh - App filter
OFF gsettings set sm.puri.phosh app-filter-mode '[]' ON gsettings set sm.puri.phosh app-filter-mode '["adaptive"]'
# This can also be done with sudo pacman -S danctnix-tweaks-app-phosh
Screen Scaling (Phosh)
# Works with phosh 0.22.0 sudo mkdir /etc/phosh/ sudo cp /usr/share/phosh/phoc.ini /etc/phosh/ sudo nano /etc/phosh/phoc.ini # Uncomment the DSI-1 output section: [output:DSI-1] scale = 2 # Change scale to desired value (ex: scale = 1.5 means 150%) # Save and reboot
Restart Modem
sudo systemctl restart eg25-manager.service
gsettings
gsettings list-recursively gsettings list-recursively > test.txt
Building Arch packages
sudo pacman -S cmake make pkg-config wget fakeroot gcc
cozy-audiobooks
sudo pacman -S meson python-pkgconfig python-dbus python-distro python-requests python-pytz python-mutagen python-peewee granite meson ninja granite cd /home/alarm/Downloads wget https://aur.archlinux.org/cgit/aur.git/snapshot/cozy-audiobooks.tar.gz tar -xvzf cozy-audiobooks.tar.gz cd cozy-audiobooks makepkg PKBUILD scp /home/alarm/Downloads/cozy-audiobooks/cozy-audiobooks-1.1.2-1-aarch64.pkg.tar.xz mhenson@192.168.12.80:/home/Network/Packages/aarch64 #on a local computer run repo-add /home/Network/Packages/aarch64/custom.db.tar.gz /home/Network/Packages/aarch64/cozy-audiobooks-1.1.2-1-aarch64.pkg.tar.xz
tangram
cd /home/alarm/Downloads sudo pacman -S git meson wget https://aur.archlinux.org/cgit/aur.git/snapshot/tangram.tar.gz tar -xvzf tangram.tar.gz cd tangram makepkg PKBUILD #mount network drive sudo pacman -U ./tangram-1.4.0-2-any.pkg.tar.xz cp ./tangram-1.4.0-2-any.pkg.tar.xz /home/Network/Packages/aarch64/ repo-add /home/Network/Packages/aarch64/custom.db.tar.gz /home/Network/Packages/aarch64/tangram-1.4.0-2-any.pkg.tar.xz