PDA

View Full Version : [ubuntu] "Allow Launching" of desktop icons through CLI



apwhawkins
May 10th, 2019, 02:58 PM
Hi,

I'm pushing out a couple of desktop icons to ubuntu machines through ansible


#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_GB]=gnome-panel-launcher
Name[en_GB]=officecam
Exec=**payload**
Name=officecam
Icon=/usr/share/vlc/lua/http/favicon.ico



After a do-release-upgrade ( to 19.04, nautilus 3.32) I'm finding I have to manually right click and "Allow Launching" and was hoping this was a change I could scripts to save the manual interaction?

What setting is this changing?

mc4man
May 11th, 2019, 02:02 AM
There is no setting, this is the way nautilus works now..
You could set another file-manager to run the Desktop, most compatible is nemo.
While in a unity session this switch is automatically done it would require a little work to do so in a gnome session.

apwhawkins
May 28th, 2019, 11:50 AM
Sorry, I'd missed this reply.

A shame but thanks for coming back to me, much appreciated!