[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2021-10-22 Thread Coeur Noir
For Ubuntu users at least :

in the Exec line of the .desktop just replace the beginning

/snap/chromium//usr/lib/chromium-browser/chrome

by

chromium-browser

Maybe also look at Web App Manager offered by Mint team.

…and now Firefox will be packaged as a snap, what a sad joke.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2021-07-17 Thread Thomas Carlisle
Just  quite bit of input. I landed here because of the same issue on
Chrome -- not Chromium. Well, my searching first landed me correctly on
a bug filed under "Chrome Browser", and that bug was shut down because
it was determined a duplicate of this one. And early in this thread it
was put to the snap team -- yet what I am seeing is on Chrome and Chrome
wasn't uninstalled via snap package.

So no, this was not a duplicate of
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1863897

And this may not have anything to do with snap, and hence why they are
not really taking it and doing much.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2021-01-21 Thread iGadget
@Sebastian Bacher - genuine question: does not a single person in the
chromium-snap team use this feature? Because I can't think of any other
reason why this regression (when compared to regular chromium) is
treated like a 'wishlist' item. Please, enlighten me.

Currently, on any Ubuntu recent Ubuntu version you're forced to use
privacy-invading Chrome if you want to use WebApps. Firefox removed the
feature (curiously enough, it does work on mobile), chromium-snap
crippled it, chromium non-snap is pretty hard to install for most users
and leaves you with a(nother) third-party repo on your system. So what's
the rationale here?

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-11-25 Thread Sebastien Bacher
** Tags removed: chrome
** Tags added: desktop-lts-wishlist

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-11-24 Thread iGadget
Such a shame users are being pushed towards regular Chrome, since that's
the only feasible 'solution' to this bug for most users. Personally,
I've completely given up on Chromium for Ubuntu 20.04+.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-10-31 Thread Bart Janssens
The workaround is only part of the solution, the link still opens as a
tab in regular chromium window rendering it useless. PWA's are still
broken for now since they are supposed to launch as a separate
'application' they way it works in the non-snap version of chromium.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-08-12 Thread Alan Pope 🍺🐧🐱 🦄
I added a workaround to the askubuntu post.
https://askubuntu.com/a/1266706/612

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-05-25 Thread iGadget
As per the views on https://askubuntu.com/questions/1233058/chromium-
snap-on-ubuntu-20-04-some-webapp-shortcuts-not-working-
workaround/1233059#1233059, this bug affects many more people than
indicated here.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-05-21 Thread Sly Gryphon
Not working for me with Chromium 81, snap version, on Ubuntu 20.04.
(Testing with music.youtube.com and twitter.com)

Icon is created on the desktop, but:

* Not executable (need to mark it)
* Just opens empty browser page (app does not run); work around from 
@coeur-noir above, to replace the version-specific path in Exec with 
/snap/bin/chromium, gets it working
* Icon is not displayed (just red box with no entry circle)

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-04-23 Thread Michel-Ekimia
Confirmed on 81

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-04-04 Thread Coeur Noir via ubuntu-bugs
Replacing in Exec=

/snap/chromium/1071/usr/lib/chromium-browser/chrome

by

/snap/bin/chromium

allows .desktop to launch chromium on the expected page, but icon is
still not set accordingly.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-04-04 Thread Coeur Noir via ubuntu-bugs
** Attachment added: ".desktop file created on desktop, expected to open 
twitter"
   
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+attachment/5346653/+files/chrome-jgeocpdicgmkeemopbanhokmhcgcflmi-Default.desktop

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-04-04 Thread Coeur Noir via ubuntu-bugs
If the snap chromium is connected to removable-media, the shortcut is
correctly placed in ~/Desktop.

But this shortcut does not work, opens chromium on a blank page.

Tested today on UBudgie 19.10 and chromium-snap 80.0.3987.162 (Build
officiel) snap (64 bits).

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2020-02-19 Thread WBGSReject
I opened a bug 1863897 that is now closed as a duplicate of this one
which concerned the A2HS (add to home screen) functionality of PWAs
(progressive web apps). If you use the A2HS functionality it should
create a desktop icon and open the PWA in a Chromium standalone window
that looks similar to a desktop application. However as per this bug, it
does not work.

To reproduce, there is an MDN page https://developer.mozilla.org/en-
US/docs/Web/Progressive_web_apps/Add_to_home_screen that links to a PWA
that has a A2HS prompt:

https://mdn.github.io/pwa-examples/a2hs/

In the snap version of Chromium the resulting desktop icon is missing
and the link does not work. This did previously work in the deb package
of Chromium, so I suspect it is caused by the migration to Snap but have
not proved it.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-10-30 Thread Frank Xu
There's another problem I'm not sure if is related: even if the icon is
well handled, the opened window will not show as an individual one on
taskbar - it will still recognized as a window of Chromium itself with a
Chromium icon. On the deb version of Chromium is works correctly.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-10-27 Thread Meghdad
Actually, the shortcuts were leftovers from the correctly working
Chromium on Ubuntu 19.04. After I removed the shortcuts, I can't
recreate them using the standard procedure anymore.

So yeah, this is the bug.

** Tags added: app chrome

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-10-24 Thread Meghdad
Is this the issue because of which chromium apps' shortcuts launch
chromium and show its icon as indicator instead of the pinned app's
icon?

If so, this issue still is not fixed in Ubuntu 19.10.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-10-15 Thread Adolfo Jayme
** Changed in: chromium-browser (Ubuntu)
   Status: Confirmed => Triaged

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-10-15 Thread Olivier Tilloy
Another problem that was mentioned in duplicate bug #1848126 is that the
icons are created in
~/snap/chromium/current/.config/chromium/Default/Extensions/*/*/icons
(along with a manifest file), but they are not correctly linked in
~/.local/share/icons/hicolor/, so they cannot be seen by the desktop
environment.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-10-07 Thread Olivier Tilloy
It looks like the problem has evolved since it was originally reported.
Desktop files are now correctly created on $HOME/Desktop/, but there are (at 
least) two problems with their contents:

  - the Exec stanza runs /snap/chromium/861/usr/lib/chromium-
browser/chrome directly, i.e. unconfined

  - the exec path contains the revision number for the snap, and
consequently will stop working when the snap is updated

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-09-30 Thread Mark Stosberg
Right now ~/snap/chromium/current is a symlink to a specific version of
Chromium. So placing icons and desktop files there will break each time
Chromium is upgraded unless the files are copied from the previous
version-specific directory to the new one.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-08-20 Thread Mark Stosberg
I did get a ".desktop" file to work by manually copying it from
~/Desktop to ~/.local/share/applications, on Ubuntu 18.04.

I experimented with making the Exec= paths that didn't include a hard-
coded version. I tried "/snap/bin/chromium", "chrome", "chromium" and
"/snap/chromium/821/usr/lib/chromium-browser/chrome".

Well, "chrome" just doesn't work because it's not a binary in $PATH.
Both "chromium" and "/snap/bin/chromium" will cause new instances of the
web app to launch every time. Only if I use the
"/snap/chromium/821/usr/lib/chromium-browser/chrome" will the app work
as expected: The first click on the icon in the Gnome dock will launch
it and the second click will switch to it if it's running already.

I'm glad I got something to work today but it seems like a bug that this
feature only works when hard-coded version is included in the path of
.desktop files.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2019-08-20 Thread Mark Stosberg
I want to highlight that @jonny-boy's comment could be considered a
separate-but-related bug. The exec path being written out in these files
is not optimal. Here's one that was just used for me:

 /snap/chromium/821/usr/lib/chromium-browser/chrome

Surely it would be better to refer to the "current" version of the
package than a fixed version? Wouldn't "/snap/bin/chromium" be ideal
here?

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2018-05-21 Thread Olivier Tilloy
There's a discussion on the snapcraft forum at
https://forum.snapcraft.io/t/how-to-expose-desktop-files-created-by-
snaps-to-the-de/2853, but no recent input on it.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2018-05-20 Thread Jonas
Any news on this? I am using chromium 66.0.3359.139 (283 stable snap) under 
Fedora. 
The create shortcuts action created a .desktop file under ~/Desktop, which is 
not useful when using the Gnome shell. 
The Exec part in the .desktop file points to 
/snap/chromium/283/usr/lib/chromium-browser/chromium-browser ...
which is not the right path for my installation. I replaced the path with 
/var/lib/snapd/snap/bin/chromium and the chrome app is now working after moving 
it to .local/share/applications manually.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2017-11-15 Thread Olivier Tilloy
Appending $HOME/snap/chromium/current/.local/share to $XDG_DATA_DIRS
allows gnome shell (and likely other DEs) to see the desktop files and
to launch them using the chromium snap. Need to discuss how this can be
approached with the snapd team.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2017-11-15 Thread Olivier Tilloy
Desktop files in $HOME/snap/chromium/current/.local/share/applications/ are not 
very useful on a classic desktop, as gnome-shell (or others DEs) won't find 
them there.
We could probably modify the xdg-desktop-menu script to write to a different 
location. But $HOME/.local/share/applications/ won't work, because the home 
plug doesn't allow reading/writing to dot folders.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2017-11-15 Thread Olivier Tilloy
And now the shortcut for https://example.org started working,
mysteriously.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2017-11-15 Thread Olivier Tilloy
If I add usr/bin/xdg-desktop-menu and usr/bin/xdg-icon-resource to the
snap, the errors go away, and indeed a desktop file is created in
$HOME/snap/chromium/current/.local/share/applications/.

These desktop files are not marked executables, so double-clicking on them in 
nautilus won't work. After marking them executable, interestingly some of them 
work, and some don't (they just open an empty browser window with all its 
chrome).
An example of a shortcut that works is https://html5test.com. One that doesn't 
is https://example.org.

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1732482] Re: [snap] doesn't properly save desktop files for "create shortcuts" action

2017-11-15 Thread Olivier Tilloy
With logging enabled, when trying to create a shortcut I'm seeing this:

LaunchProcess: failed to execvp:
xdg-desktop-menu
LaunchProcess: failed to execvp:
xdg-desktop-menu
LaunchProcess: failed to execvp:
xdg-icon-resource
[21693:21829:1115/175326.882133:WARNING:shell_integration_linux.cc(319)] Could 
not install icon chrome-nbpndmhhdfecmpfahflnahbbdpihnadk-Default.png at size 32.
LaunchProcess: failed to execvp:
xdg-icon-resource
LaunchProcess: failed to execvp:
xdg-icon-resource
[21693:21831:1115/175326.885379:WARNING:shell_integration_linux.cc(319)] Could 
not install icon chrome-nbpndmhhdfecmpfahflnahbbdpihnadk-Default.png at size 32.
[21693:21829:1115/175326.887645:WARNING:shell_integration_linux.cc(319)] Could 
not install icon chrome-nbpndmhhdfecmpfahflnahbbdpihnadk-Default.png at size 48.
LaunchProcess: failed to execvp:
xdg-icon-resource
[21693:21831:1115/175326.891419:WARNING:shell_integration_linux.cc(319)] Could 
not install icon chrome-nbpndmhhdfecmpfahflnahbbdpihnadk-Default.png at size 48.
LaunchProcess: failed to execvp:
xdg-icon-resource
[21693:21829:1115/175326.894292:WARNING:shell_integration_linux.cc(319)] Could 
not install icon chrome-nbpndmhhdfecmpfahflnahbbdpihnadk-Default.png at size 
128.
LaunchProcess: failed to execvp:
xdg-icon-resource
[21693:21831:1115/175326.896715:WARNING:shell_integration_linux.cc(319)] Could 
not install icon chrome-nbpndmhhdfecmpfahflnahbbdpihnadk-Default.png at size 
128.
LaunchProcess: failed to execvp:
xdg-icon-resource
[21693:21829:1115/175326.906654:WARNING:shell_integration_linux.cc(319)] Could 
not install icon chrome-nbpndmhhdfecmpfahflnahbbdpihnadk-Default.png at size 
256.
LaunchProcess: failed to execvp:
xdg-icon-resource
[21693:21831:1115/175326.908762:WARNING:shell_integration_linux.cc(319)] Could 
not install icon chrome-nbpndmhhdfecmpfahflnahbbdpihnadk-Default.png at size 
256.
LaunchProcess: failed to execvp:
xdg-desktop-menu
LaunchProcess: failed to execvp:
xdg-desktop-menu


** Changed in: chromium-browser (Ubuntu)
   Status: New => Confirmed

** Changed in: chromium-browser (Ubuntu)
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: chromium-browser (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  [snap] doesn't properly save desktop files for "create shortcuts"
  action

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs