diff options
author | intrigeri <intrigeri@boum.org> | 2015-11-30 11:34:32 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2015-11-30 11:34:32 +0000 |
commit | 24f2ccd7d6d5f38fc6a552646f636854c843255d (patch) | |
tree | 8a8d8beb811991f5a6fb7cd21460ea398e68b4af /config/chroot_local-hooks/09-torsocks-apps | |
parent | e58c1da0b13d74b6bfc15713fd34de9cf4c4dc4c (diff) |
Wrap Totem with torsocks when it's run via its D-Bus service too.
Will-Fix: #10603
Diffstat (limited to 'config/chroot_local-hooks/09-torsocks-apps')
-rwxr-xr-x | config/chroot_local-hooks/09-torsocks-apps | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/09-torsocks-apps b/config/chroot_local-hooks/09-torsocks-apps index fa36b4c..f119ebb 100755 --- a/config/chroot_local-hooks/09-torsocks-apps +++ b/config/chroot_local-hooks/09-torsocks-apps @@ -16,3 +16,7 @@ for dbus_service in $DBUS_SERVICES; do sed -i'' --regexp-extended 's,Exec=(.*),Exec=torsocks \1,' \ "/usr/share/dbus-1/services/${dbus_service}.service" done + +# Redirect to existing wrapper +sed -i'' --regexp-extended 's,^Exec=/usr/bin/totem$,Exec=/usr/local/bin/totem,' \ + "/usr/share/dbus-1/services/org.gnome.Totem.service" |