Skip to content

First steps

V0rT3x edited this page Apr 22, 2024 · 12 revisions

Configuration


  • The first step is to configure the display you are using and fs.memory.mounts.data.size = "50M". Fancygotchi can be configured at this step, but if no initial configuration is set, the default theme will be loaded. The theme can be changed in the web UI later.
ui.fps = 1 #<-- need to have an higher value than 0.0

ui.display.enabled = true #<-- need to be true for Fancygotchi even in headless mode
ui.display.rotation = 0
ui.display.type = "displayhatmini" #<-- select your display (this will select the resolution type if in headless mode)

main.plugins.Fancygotchi.enabled = true #<-- Fancygotchi will generate a default config 
main.plugins.Fancygotchi.rotation = 0 # 0 or 180 is horizontal mode, 90 or 270 is vertival mode
main.plugins.Fancygotchi.theme = "" #<-- if empty the default theme will be loaded

fs.memory.mounts.data.enabled = true
fs.memory.mounts.data.mount = "/var/tmp/pwnagotchi"
fs.memory.mounts.data.size = "50M" #<-- need to be set at 50M, else this can cause a errno 30 and the tmp file become read only and the pwnagotchi can't save his data
fs.memory.mounts.data.sync = 3600
fs.memory.mounts.data.zram = true
fs.memory.mounts.data.rsync = true

Clone this wiki locally