
Noticed an MR that fixes building outside of UBPorts: https://gitlab.com/muhammad23012009/rockwork/-/merge_requests/4#58cb4f58166586c1ed7f076c568d41682df3661c
How to build:
cmake .
make
Wrote a simple systemd unit to start rockworkd:
# /home/mobian/.config/systemd/user/rockworkd.service
[Unit]
Description=rockworkd
[Service]
ExecStart=/home/mobian/bin/rockworkd
[Install]
WantedBy=default.target
With this, you only need to:
- put the binaries
rockwork and rockworkd into a folder, ~/bin in my example
- create the unit,
systemctl --user daemon-reload, systemctl --user enable --now rockworkd.service
- create ~/.local/share/applications/rockwork.desktop
[Desktop Entry]
Name=RockWork
Exec=/home/mobian/bin/rockwork
#Icon=/home/mobian/some/path/to/image.png
Terminal=false
Type=Application
Now it works.
Hints:
- pairing is done via whatever tools your "desktop environment" uses, not using Rockwork
- at least in my case notifications were empty (but everything else works fine it seems)
- if you can, package it for your distro, once the MR is merged :D
EDIT: The build instructions assume an ARM machine to build on or just building on the phone
Just noticed another thing that does not work, at least on Phosh:
changing the volume of music, but I can skip and pause
Other than that it is great, just two small bugs I noticed. Finally a working Pebble app for Linux phones. \o/
Seriously, I feel like every single day one tiny thing that annoys me gets fixed.
Until now the Pebble app and better camera have been the reason to carry an old Android phone around. Now it's just the camera and patches for that are also in the works and I guess after two years I will soon be back to a single phone and no longer carry around two. :D
Also, according to the MR, the app store doesn't work, but it seems to work now. Perhaps the author didn't update that yet. :)
Also, not sure why the app shows the Pebble screenshot with incorrect time. A bit later it showed the correct time.