[Bug 1810688] Re: Snap-installed .desktop items cannot be overridden

2019-01-07 Thread Radoslaw Ejsmont
oops - wrong place - sorry :\ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810688 Title: Snap-installed .desktop items cannot be overridden To manage notifications about this bug go to: https://b

[Bug 1810688] Re: Snap-installed .desktop items cannot be overridden

2019-01-07 Thread Radoslaw Ejsmont
The .desktop files for snaps are located in /var/lib/snapd/desktop. And their names are in the following format: snap-package-name_original- name.desktop. This explains why overrides with original-name.desktop in ~/.local/share/applications/ did not work. When renamed to snap-package- name_original

[Bug 1810688] Re: Snap-installed .desktop items cannot be overridden

2019-01-07 Thread John Lenton
No, I don't think we should document this. It's unsupported, and can and will break things. Only for the brave. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1810688 Title: Snap-installed .desktop i

[Bug 1810688] Re: Snap-installed .desktop items cannot be overridden

2019-01-07 Thread Radoslaw Ejsmont
Hi John, thank you for the information. The .desktop files are indeed located in /var/lib/snapd/desktop. And their names are in the following format: snap-package-name_original-name.desktop. This explains why overrides with original-name.desktop in ~/.local/share/applications/ did not work. When re

[Bug 1810688] Re: Snap-installed .desktop items cannot be overridden

2019-01-07 Thread John Lenton
The problem is that you saw a .desktop file inside the snap and assumed that your desktop environment was using that directly. It's not; that would be dangerous. snapd takes those .desktop files, and sanitises and transforms them, and the resulting sanitised and transformed files are the ones pick

[Bug 1810688] Re: Snap-installed .desktop items cannot be overridden

2019-01-07 Thread Zygmunt Krynicki
The problem with such overrides is that anything that needs to adjust the executable line is a social engineering attack on the sandbox mechanism. Not having experienced this issue myself, is Skype the only application that is affected by the upside down camera? What about things like Firefox or GN

[Bug 1810688] Re: Snap-installed .desktop items cannot be overridden

2019-01-07 Thread Radoslaw Ejsmont
In such a case, there should be an option to hide .desktop items for a particular app from the launcher. There are cases when fixes in .desktop items are the only sane way of fixing stuff, and the camera issue is a great example of this. That camera model is mounted upside-down in some laptop mo

[Bug 1810688] Re: Snap-installed .desktop items cannot be overridden

2019-01-06 Thread Zygmunt Krynicki
This is by design, there are no user configurable elements there. If the Skype desktop file is malfunctioning the people packaging the application need to take measures to fix it. I understand that there is desire to fix an issue with a particular camera but you need to take it up with the Microso