~fofeu


#576 Proximity lock doesn’t work with screen protector 9 months ago

Comment by ~fofeu on ~mil/sxmo-tickets

My current solution for this is setting export SXMO_PROX_RAW_BUS=/dev/null in the SXMO profile file which seems to basically disable the proximity lock

#61 Docker container crashes on startup 10 months ago

Comment by ~fofeu on ~tsileo/microblog.pub

Hello,

I think my issue is similar to what was experienced here. I wanted to launch my own instance on a nearly fresh server (dedicated server not a VPS, Arch Linux, just some basic packages installed). Because of that, the machine only has a root user and "system" (i.e. http, ftp, etc.) users. My initial process was as follows

useradd -r microblogpub
cd /srv
git clone https://git.sr.ht/~tsileo/microblog.pub your-domain.tld
make build
make config
echo 'trusted_hosts = ["*"]' >> data/profile.toml
docker compose up -d

This, obviously didn't work and did it silently moreover (if you attach to the container afterwards, something is actually running but nothing productive). I've pinned down the issue to access rights. For some reason, the container runs using the uid 1000 (even if no such uid exists on the system). Chowning everything to 1000:1000 seems to work, but data/ and app/static/ (and their subdirectories) seem to be enough ? At least, this seems to work on my setup.

useradd -r microblogpub
cd /srv
mkdir your-domain.tld
chown microblogpub:microblogpub your-domain.tld
sudo -u microblogpub -- git clone https://git.sr.ht/~tsileo/microblog.pub your-domain.tld
cd your-domain.tld
sudo -u microblogpub -- make build
find data/ app/static/ -type d | xargs chgrp 1000
find data/ app/static/ -type d | xargs chmod g+w
sudo -u microblogpub -- make config
echo 'trusted_hosts = ["*"]' >> data/profile.toml
sudo -u microblogpub -- docker compose up

I didn't test everything, but python doesn't raise any exceptions and I can navigate on the website.

PS: I hope microblog.pub doesn't send wildly messages to other servers because I've installed and launched a couple dozen instances ^^'

#576 Proximity lock doesn’t work with screen protector 10 months ago

Ticket created by ~fofeu on ~mil/sxmo-tickets

Whenever I enter a call, the proximity lock just automatically locks the phone and the only thing that seems to work is randomly pressing the power button. I think this is due to the fact that I’m using a screen protector. The configuration menu doesn’t allow to disable/configure the proximity lock. How can I do it ?

#565 sxmo-svkbd: layout.mobile-intl.h missing 1 year, 2 months ago

Comment by ~fofeu on ~mil/sxmo-tickets

Thank you. I found the link on the "main page" of the documentation:

I suppose that, if I want to add a keyboard layout, I should contact the suckless mailing list ?

#565 sxmo-svkbd: layout.mobile-intl.h missing 1 year, 2 months ago

Ticket created by ~fofeu on ~mil/sxmo-tickets

The source code linked in the documentation only features the file layout.sxmo.h. Where can I find the "actual" source code (i.e. the one with layout.mobile-intl.h) ?