remotenotify
A small script which forwards dbus notifications from one bus to an other
why?
I needed a way to forward messages from a chat application running on an other machine to my main machine.
how?
Based on snippets from:
- https://stackoverflow.com/a/75122112
- https://pychao.com/2021/03/01/sending-desktop-notification-in-linux-with-python-with-d-bus-directly/
config
In order to work the local bus must be available on the remote machine. Only do this if you trust the remote machine! In my case it is only a second workstation used exclusively by me.
ssh -R /run/user/1000/bus-remote:/run/user/1000/bus $REMOTEMACHINE python app.py
licence
I don't think I am allowed to give this script a licence as it is basically snippets from the two pages copied together. If you want to use the code refer to the licences of the original posts.
Description
Languages
Python
100%