Bug#785231: game-data-packager: update KDE icon cache after dpkg -i

2015-06-25 Thread Alexandre Detiste
2015-06-25 10:54 GMT+02:00 Simon McVittie s...@debian.org: I'm not particularly keen on introducing more hook points for run some scripts if we don't really need to. Well, I'm now tempted to close this or tag it wontfix and instead write my own wrapper script in /home/$user/bin and left GDP

Bug#785231: game-data-packager: update KDE icon cache after dpkg -i

2015-06-25 Thread Simon McVittie
On Thu, 14 May 2015 at 11:09:17 +0200, Alexandre Detiste wrote: I guess the dpkg hook running as root send some dbus message to kde running as $user to tell it to refresh it's cache. No, that is not how D-Bus works. As a general design principle, things running as the system do not send method

Bug#785231: game-data-packager: update KDE icon cache after dpkg -i

2015-05-14 Thread Alexandre Detiste
control: retitle -1 implement custom hooks in /etc/game-data-packager/hooks/ I guess the dpkg hook running as root send some dbus message to kde running as $user to tell it to refresh it's cache. Please reassign this to whatever part of KDE maintains the menu cache. Maybe this is spooled and

Bug#785231: game-data-packager: update KDE icon cache after dpkg -i

2015-05-13 Thread Simon McVittie
On 13/05/15 18:27, Alexandre Detiste wrote: After installing a package, it doesn't immediatly comes up in the KDE menu. Running kbuildsycoca4 / kbuildsycoca5 force an upgrade. This should not be the menu-entry-providing package's responsibility: that's how it used to work (things like

Bug#785231: game-data-packager: update KDE icon cache after dpkg -i

2015-05-13 Thread Alexandre Detiste
Package: game-data-packager Version: 42 Severity: minor After installing a package, it doesn't immediatly comes up in the KDE menu. Running kbuildsycoca4 / kbuildsycoca5 force an upgrade. /usr/bin/xdg-desktop-menu seems to have a user and system mode and have many DE-specific heuristics, but