You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 3.4 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # PinePhoneBoy Operating System
  2. Linux UI customized to resemble a Fallout Pip-Boy. To be used with the PINE64 PinePhone running Arch Linux ARM, enclosed in the PinePhoneBoy harness.
  3. ## Screenshots
  4. ![Main screen](screenshot.jpg)
  5. ### STAT tab
  6. (TODO)
  7. ![STAT](screenshots/stat.jpg)
  8. ### INV tab
  9. Inventory - Portfolio file manager
  10. ![INV](screenshots/inv.jpg)
  11. ### DATA tab
  12. Data - Firefox web browser
  13. ![DATA](screenshots/data.jpg)
  14. ### MAP tab
  15. Map - Gnome Maps
  16. ![MAP](screenshots/map.jpg)
  17. ### RADIO tab
  18. Radio - xfmpc MPD music client
  19. ![RADIO](screenshots/radio.jpg)
  20. ## Components
  21. - sway: Window Manager
  22. - waybar: Side panel
  23. - termite: Terminal emulator
  24. - mako: Notifications daemon
  25. - mpd: Music player daemon
  26. - xfmpc: Music player client
  27. - mplayer: Sound effects player
  28. ## Dependencies
  29. - [Sway on PinePhone](https://github.com/Dejvino/pinephone-sway-poc)
  30. - [feather icons](https://github.com/feathericons/feather)
  31. ## Install
  32. ### Base
  33. ```bash
  34. sudo pacman -S \
  35. sway swaylock swayidle swaybg waybar \
  36. termite termite-terminfo \
  37. htop dialog \
  38. mako \
  39. imv \
  40. ttf-font-awesome unicode-emoji \
  41. portfolio-fm \
  42. mplayer pavucontrol \
  43. xfmpc mpd mpc \
  44. git
  45. git clone --recurse-submodules https://git.dejvino.cz/dejvino/PinePhoneBoyOS
  46. cd PinePhoneBoyOS
  47. ./convert_icons.sh
  48. sudo cp -R usr/* /usr/
  49. sudo cp -R etc/* /etc/
  50. mkdir -p ~/.config
  51. cp config/* ~/.config/
  52. cp config/.dialogrc ~/.dialogrc
  53. cp config/.menuoptions ~/.menuoptions
  54. sudo systemctl disable phosh || echo "Needed only if you still have phosh installed."
  55. sudo systemctl enable --now sway
  56. ...
  57. ```
  58. ### Virtual Keyboard (Squeekboard)
  59. Terminal layout replaces (default) English layout:
  60. ```bash
  61. mkdir -p ~/.local/share/squeekboard/keyboards/
  62. wget https://source.puri.sm/Librem5/squeekboard/-/raw/master/data/keyboards/terminal_wide.yaml -O ~/.local/share/squeekboard/keyboards/us_wide.yaml
  63. ```
  64. Source: [puri.sm](https://developer.puri.sm/projects/squeekboard/tutorial.html)
  65. ### Theme
  66. ```bash
  67. git clone https://github.com/i-mint/midnight
  68. mkdir -p ~/.themes
  69. cp -R midnight/Midnight* ~/.themes/
  70. gsettings set org.gnome.desktop.interface gtk-theme "Midnight-GreenNight"
  71. gsettings set org.gnome.desktop.wm.preferences theme "Midnight-GreenNight"
  72. git clone -b Abyss-Desktop-Theme-Icons-and-Folders https://github.com/rtlewis88/rtl88-Themes
  73. cp -R rtl88-Themes/Abyss-ENVY-Suru ~/.icons/Abyss-ENVY
  74. gsettings set org.gnome.desktop.interface icon-theme "Abyss-ENVY"
  75. ```
  76. ### Bootsplash
  77. 1. Find an image you want shown during boot (see [example](https://techgage.com/wp-content/uploads/2015/11/Fallout-4-Pip-Boy-App-Android-Logo.jpg))
  78. 2. Clone the [bootsplash package](https://github.com/dreemurrs-embedded/Pine64-Arch/tree/master/PKGBUILDS/danctnix/bootsplash-danctnix), replace the image and profit!
  79. ```bash
  80. git clone https://github.com/dreemurrs-embedded/Pine64-Arch
  81. cd PKGBUILDS/danctnix/bootsplash-danctnix
  82. # change the sha256sum for danctnix.png to 'SKIP'
  83. vim PKGBUILD
  84. # download your image
  85. wget some-image-url -O bootsplash.jpg
  86. # rotate it to face the right way up
  87. convert bootspalsh.jpg -distort SRT -90 danctnix.png
  88. # install!
  89. makepkg -sif
  90. # reboot to see it during the next startup
  91. ```
  92. ### STAT - ?
  93. (nothing yet)
  94. ### DATA - Firefox
  95. ...
  96. ### MAP - Gnome Maps
  97. ...
  98. ### RADIO - MPD
  99. Packages: mpd xfmpc mpc
  100. ```bash
  101. mkdir -p ~/.config/mpd/playlists
  102. ```
  103. #### Note:
  104. Make sure mpd is running user-wide and not system-wide, otherwise it can't access alsa or pulseaudio (i.e. create ~/.config/mpd/mpd.conf).