Hi, After installing any Nautilus extension, Nautilus must be restarted for the extension to work (restarting the user session also works). That dialog asking to restart the file manager is there to do that, so that average users are not confused when the extension doesn't work after being installed.
The postinst scripts adds a config file to /var/lib/update-notifier/user.d, so that update-notifier then displays that dialog sometime after the package is installed. That file contains the line "DontShowAfterReboot: True", so the dialog shouldn't be displayed after a reboot. Plus, this approach is also used in other Nautilus extensions, like nautilus-compare. So, I'm not sure about removing that warning dialog. 2017-01-30 9:47 GMT+00:00 Mantas Baltix <bal...@gmail.com>: > Package: nautilus-admin > Version: 0.2.4-1 > > Dear Bruno, > > When I install nautilus-admin package on Ubuntu, then all users get > misleading warning at first login after installation: > > "The file manager must be restarted in order to start the Nautilus > Admin extension." > > This warning should be moved from nautilus-admin package > debian/postinst script to package's description or > /usr/share/doc/nautilus-admin/README.Debian, because of 2 reasons: > > 1. User's should not be disturbed about installed nautilus extensions, > this info is useful only for system administrator, so, it belongs to > package's description or /usr/share/doc/nautilus-admin/README.Debian > > 2. Prompting "every" user instead of system administrator violates > Debian policy, see > www.debian.org/doc/debian-policy/ch-binary.html#s-maintscriptprompt > > Prompting must be done by *communicating through a program, such as > debconf*, which conforms to the Debian Configuration Management > Specification, version 2 or higher. > > Thanks, > Mantas > -- > Prekyba kompiuteriais su Linux OS - http://tinklas.eu/prekyba > Naudokite laisvą Linux operacinę sistemą savo kompiuteryje - > http://baltix.akl.lt > Use Baltix GNU/Linux OS !