PINE64
Phosh - Tweaks and Customizing - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: Phosh - Tweaks and Customizing (/showthread.php?tid=17788)



Phosh - Tweaks and Customizing - mikehenson - 01-07-2023

I have been daily driving a PinePhone with Arch Linux and Phosh for over a year now. I wanted to make a post with my tweaks.

Device: PinePhone 32Gig
OS: Arch Linux Arm with Phosh
Phosh version 0.22 (EDIT: 0.22-0.23)


phosh - scaling
Code:
sudo mkdir /etc/phosh/
sudo cp /usr/share/phosh/phoc.ini /etc/phosh/
sudo nano /etc/phosh/phoc.ini
# Un comment the DSI-1 output section:
[output:DSI-1]
scale = 2
# Change scale to desired value (ex: scale = 1.5 means 150%)
# Save and reboot

phosh - Mount SD
This should automatically done with portfolio-file-manager
Code:
sudo pacman -S portfolio-file-manager

Code:
#OLD WAY
sudo mkdir /home/SD
sudo chmod 777 /home/SD
sudo mount /dev/mmcblk0p1 /home/SD/

phosh - squeekboard - Custom Layout
Code:
# see https://github.com/mikeshenson/Phosh-Squeekboard-Keyboard

phosh - App filter
Code:
OFF
gsettings set sm.puri.phosh app-filter-mode '[]'
ON
gsettings set sm.puri.phosh app-filter-mode '["adaptive"]'

Code:
# This can also be done with
sudo pacman -S danctnix-tweaks-app-phosh

phosh - Remove the vibrate on button press
#remove all unwanted sections
Code:
sudo nano /usr/share/feedbackd/themes/pine64,pinephone.json

phosh - Desktop Icons (edit/add)
Code:
# To add desktop icons (synchting)
cd /home/alarm/.local/share/applications
nano syncthing.desktop
#add these lines to syncthing.desktop
[Desktop Entry]
Name=Synchthing
Type=Application
Icon=/home/alarm/.local/share/applications/syncthing.svg
Exec=firefox --new-window http://localhost:8384/
Categories=Utility;
Code:
# To edit desktop icons
cd /usr/share/applications
sudo nano org.postmarketos.Megapixels.desktop
Name=Camera
Icon=/home/alarm/.local/share/applications/camera.svg
sudo nano pcmanfm.desktop
Name=File PCManFM
Icon=/home/alarm/.local/share/applications/filecabinet.svg
sudo nano axolotl.desktop
Icon=/home/alarm/.local/share/applications/axolotl.svg