Bug 7060 - install-server.desktop file no longer trusted by nautilus
Summary: install-server.desktop file no longer trusted by nautilus
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: 1.3.1
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.9.0
Assignee: Samuel Mannehed
URL:
Keywords: ossman_tester, prosaic
Depends on:
Blocks:
 
Reported: 2017-09-29 12:55 CEST by Pierre Ossman
Modified: 2017-10-16 13:25 CEST (History)
2 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2017-09-29 12:55:35 CEST
Nautilus has changed the way it considers a .desktop file to be "trusted" because of security concerns:

https://bugzilla.gnome.org/show_bug.cgi?id=777991

This means that we don't get a nice icon or name when users first open the server bundle. Double-clicking the file however give a nice dialog warning the user about possibly unsafe software and asks if the file should be marked as trusted an proceed.

There doesn't seem to be any mechanism to get the file trusted out-of-box (per design). But do we need to reconsider the naming of the file now that it is the only thing the user sees?
Comment 1 Pierre Ossman cendio 2017-10-03 13:39:53 CEST
We've decided to change the file name to something that's easier to notice.
Comment 2 Samuel Mannehed cendio 2017-10-11 15:58:34 CEST
A few suggestions:

CLICK TO INSTALL.desktop
Click to Install.desktop
ThinLinc Server Installer.desktop
Install from File Manager.desktop
Comment 5 Samuel Mannehed cendio 2017-10-12 11:02:09 CEST
Name has been changed now.
Comment 6 Pierre Ossman cendio 2017-10-13 10:10:35 CEST
Apparently you only get the "Trust" button if the file is owned by the current user. Should hopefully be the case in the vast majority of uses though.
Comment 7 Pierre Ossman cendio 2017-10-13 10:47:55 CEST
Works well. Tested:

 - GNOME on Fedora 26
 - Xfce on Fedora 26
 - GNOME on RHEL 7
 - KDE on RHEL 7
 - Unity on Ubuntu 16.04
 - GNOME on RHEL 6

However the text in the file (and possibly others) still refer to the old name.
Comment 8 Pierre Ossman cendio 2017-10-13 10:48:49 CEST
Places referring to the old name:

> ./doc/bundle/server/README.txt.in:the "ThinLinc Server Installer" icon or run the script named
> ./installer/Click to Install.desktop:#      * Double click on the "ThinLinc Server Installer" icon, or run
> ./installer/install-server:#      * Double click on the "ThinLinc Server Installer" icon, or run
Comment 10 Samuel Mannehed cendio 2017-10-16 09:10:10 CEST
Fixed now.
Comment 11 Pierre Ossman cendio 2017-10-16 13:25:11 CEST
Looks good.

Note You need to log in before you can comment on or make changes to this bug.