With the new patch, the HUD is generating the correct value for its path, as 
seen in this dbus apparmor denial:
Aug 31 17:08:33 localhost dbus[17542]: apparmor="DENIED" 
operation="dbus_method_call"  bus="session" name=":1.89" 
path="/com/canonical/hud/applications/de_2edjfun_2eakari_5fAkari_5f0_2e1_2" 
interface="com.canonical.hud.Application" member="SetWindowContext" mask="send" 
pid=19084 profile="de.djfun.akari_Akari_0.1" peer_pid=17957 
peer_profile="unconfined"

such that the following rule allows the application to communicate with the HUD:
@{APP_ID_DBUS}="com_2eubuntu_2edropping_2dletters_5fdropping_2dletters_5f0_2e1_2e2_2e2"
  ...
  dbus (send)
      bus=session
      path=/com/canonical/hud/applications/@{APP_ID_DBUS}*,

This works well when starting the application with aa-exec-click and
upstart-app-launch (note, I had to modify dropping letters to use:
HUD.HUD { applicationIdentifier: "com.ubuntu.dropping-letters_dropping-
letters_0.1.2.2" ... } since it was not setting up its app id
correctly).

Unrelated to this bug, on unity 7 the appid is not properly set up and
the object path used by the application is
/com/canonical/hud/applications/unknown_1. This can be seen when
launching the application via the Dash.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1218107

Title:
  hud should use APP_ID and libnih to generate the DBus path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hud/+bug/1218107/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to