Install Lubuntu 19.04 desktop icon fails to execute installer in Live ISO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libfm-qt (Ubuntu) |
Fix Released
|
High
|
Dan Simmons |
Bug Description
STEPS TO REPRODUCE
1. Double click Install Lubuntu 19.04 icon
EXPECTED RESULTS
Lubuntu Installer is executed.
ACTUAL RESULTS
Execute file dialog appears. "This file 'Install Lubuntu 19.04' seems to be a desktop entry. What do you want to do with it?" The options are "Open" "Execute" and "Cancel"
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: pcmanfm-qt 0.14.0-0ubuntu2
ProcVersionSign
Uname: Linux 4.18.0-11-generic x86_64
ApportVersion: 2.20.10-0ubuntu19
Architecture: amd64
CasperVersion: 1.401
CurrentDesktop: LXQt
Date: Tue Jan 29 01:02:37 2019
ExecutablePath: /usr/bin/pcmanfm-qt
LiveMediaBuild: Lubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190128.1)
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
TERM=qterminal
SourcePackage: pcmanfm-qt
UpgradeStatus: No upgrade log present (probably fresh install)
So we had a cherry picked patch that added support for trusted executables based on the gio "metadata::trust" setting: /phab.lubuntu. me/rLIBFMQTPACK AGINGc1952b6dda fe9bec2c8b65b31 dc052ad9c11c718
https:/
However, because the Ubuntu world uses "metadata: :trusted: " /git.launchpad. net/ubuntu/ +source/ casper/ tree/scripts/ casper- bottom/ 25adduser# n87 /github. com/lxqt/ libfm-qt/ pull/242# issuecomment- 430142138 /phab.lubuntu. me/rLIBFMQTPACK AGING9abec1c8dd dc2cdb5f362a7ec b9ce9bf1cd00831
https:/
and because upstream was unwilling to change it from trust to trusted:
https:/
we patched it ourselves:
https:/
Unfortunately, we didn't make a new patch, but edited that one: /phab.lubuntu. me/rLIBFMQTPACK AGING9abec1c8dd dc2cdb5f362a7ec b9ce9bf1cd00831 /phab.lubuntu. me/rLIBFMQTPACK AGING88d19f7ee1 325b28fa94f9507 dffe0298ed35f35
https:/
so when we uploaded 0.14.0, we dropped all the patches and didn't think to keep this:
https:/
So we simply need to restore it and we're set.
To see it in action, do `gio set ~/Desktop/ lubuntu- calamares. desktop metadata::trust true`, log out and back in again and you'll notice immediately that the little "!" badge is missing on the left hand side of the icon and that double clicking on it just works.