You can use RequiresMountsFor=
(eg RequiresMountsFor=/media/storage-volume1
) instead of manually adding .mount
to After
/Requires
- you can then use .mount
files or fstab as you’re stipulating the path rather than a potentially changeable systemd unit name.
The systemd.mount manpage also strongly recommends using fstab for human added mount points over .mount
files.
The GNOME extension appears to get the currently focused window information (ie name, title, PID and executable name) and make this information available over DBUS for the client binary.
The client binary calls
gnome-screenshot -f
and I assume gives a path that the client binary then sends to Hubstaff servers.A janky suggestion would be to create a Kwin Script that pulls the active window information, sends it (somehow) to a DBUS service that can provide it to the client binary and create a wrapper script around
spectacle
to pretend to begnome-screenshot
(egspectacle -b -f $@
)I don’t know if this would work fully though as the client binary strings seem to hint it checks the running version of GNOME Shell, and without an account I can’t see if this is a hard requirement or a “Hey, this is broken, we’ll try our best!” type thing.