Thanks for making this script public, it's very useful!
These are two changes to make it work on my system (Gnome on Wayland, Ubuntu 22.04 with minimal customization):
I think you may be using a custom notify-send binary, as mine does not have the -e and --print-id args. I found this notify-send.sh script here which has the latter argument, but not the former. not to mess with the systems' notify-send I left the notify-send.sh name when putting the script into /usr/local/bin. removing the -e argument did not seem to affect the functionality in any way
automatic pasting was not working from me; GPT-4 suggested that Wayland might have some security restrictions on pasting programmatically from a different process. I tried wl-paste, which works in a terminal or called directly from a script in the same terminal, but not through loq when called through the keyboard shortcut (it works if I run loq toggle in a separate terminal, the transcript gets pasted there)
I don't have a solution for the second problem, but thought it would have been good for you to know in case someone else runs into the same problem
Thanks for making this script public, it's very useful!
These are two changes to make it work on my system (Gnome on Wayland, Ubuntu 22.04 with minimal customization):
notify-send
binary, as mine does not have the-e
and--print-id
args. I found thisnotify-send.sh
script here which has the latter argument, but not the former. not to mess with the systems'notify-send
I left thenotify-send.sh
name when putting the script into/usr/local/bin
. removing the-e
argument did not seem to affect the functionality in any waywl-paste
, which works in a terminal or called directly from a script in the same terminal, but not throughloq
when called through the keyboard shortcut (it works if I runloq toggle
in a separate terminal, the transcript gets pasted there)I don't have a solution for the second problem, but thought it would have been good for you to know in case someone else runs into the same problem