gnome-clocks with waked support (arch linux PKGBUILD)
This provides an Arch Linux (and derivatives) PKGBUILD for gnome-clocks
that has been patched to use waked
to wake up the device for alarms, as well as other small patches as needed.
This incorporates the following:
- base
gnome-clocks
pkgbuild (old) - waked (original by seath) (updated from postmarketOS)
- lockscreen actions support
- custom default sounds (alarm-clock-elapsed.oga, complete.oga)
- Code/patches should be mostly GPL - let me know if there are any overlooked conflicts from sources
- Included sound files sources and info can be found in "extra-sources" (Public domain and Unlicensed - provided by community)
AUR Helper:
pikaur -S gnome-clocks-waked
Manual:
- This depends on
waked
, which in turn depends onsdbus-ccp
(both in the AUR) git clone https://github.com/lectrode/gnome-clocks-waked; cd gnome-clocks-waked
- (Optional: replace sound files - see "Howto" below)
makepkg -si
sudo systemctl enable waked --now
#required for alarms to wake up device from suspend- reboot or run
/etc/xdg/autostart/gnome-clocks.desktop
- This does not change the interface of
gnome-clocks
. As such, using it is exactly the same. - To test waking from suspend:
- launch
gnome-clocks
- set an alarm (i.e. for a minute from now)
- suspend
- Your device should wake up in short order for the alarm you just set
- launch
As of this merge request, gnome-clocks
no longer respects the sounds included in the provided sound theme. This PKGBUILD replaces the bundled defaults for the following reasons:
- The replacement sound files are pretty sweet (credit to the original artists)
- This pkgbuild can be used as a semi-convenient way of bundling your own sound files (since they are now compiled into the main binary)
- While the ability to customize the alarm sound is in progress, it seems the main dev working on that has stated it "won't happen in the near future" - this is provided as a workaround
- Clone this repo
- Overwrite the included sound files with your own (make sure they are named the same)
- Replace the b2sum hashes with "SKIP" in the PKGBUILD
- Continue manual install steps