On Wed, Aug 23, 2017 at 01:29:21PM -0000, Jean-Baptiste Lallement wrote:
> Public bug reported:
> 
> artful desktop 20170823
> 
> When the user clicks on the oem-config-prepare-icon on the desktop, it
> cannot be executed directly and there is a dialog saying that the
> application is not trusted (cf screenshot - in french)

I'm not working on this (at least not right now), but in case somebody
wants to pick it up, see scripts/casper-bottom/25adduser in casper.
Specifically, to mark the .desktop file as trusted, run something like:

    if [ -x "/root/usr/bin/dbus-run-session" ] && [ -x "/root/usr/bin/gio" ]; 
then
        chroot /root sudo -i -u $USERNAME dbus-run-session -- gio set 
/home/$USERNAME/Desktop/$(basename "$file") metadata::trusted true
    fi

Obviously the chroot bit may or may not be appropriate - I don't know
how this desktop file is installed.

-- 
Iain Lane                                  [ [email protected] ]
Debian Developer                                   [ [email protected] ]
Ubuntu Developer                                   [ [email protected] ]

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

Title:
  Cannot execute oem-config-prepare - application is not trusted

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

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

Reply via email to