Could this be a task for the handler that tries to modify the file, where it would observe the presence of a link and the lack of RW access, and then remove the link and copy in the right place in ~ ?
The one size fits all might be a good starting point, but doesn't scale ( down) to individual customizations.
On Wed, Nov 20, 2024, 2:02 PM Jeffrey Walton <noloader@xxxxxxxxx> wrote:
On Wed, Nov 20, 2024 at 1:23 PM Frank Bures <buresf@xxxxxxxxx> wrote:
>
> On 2024-11-20 13:06, Frank Bures wrote:
>
> > I was talking about right-clicking an icon on the desktop, clicking
> > Properties and then trying to save the change by clicking OK.
> > That's when the error message is generated.
> >
> > I believe this should work right-off-the-box, otherwise I do not understand
> > why the Properties item is even in the menu.
>
> This is interesting.
>
> The problem only occurs when the desktop icon is created as a link.
>
> How to reproduce - plasma desktop:
>
> 1. Click on Fedora symbol on the task bar.
> 2. Enter the search string into the search field, i.e. Thunderbird
> 3. Drug the result (Thundebird) to the desktop.
> 4. A drop list appears
> 5. Choose "Link here"
> 6. Properties of the icon created in such a way cannot be changed
>
> However, if one chooses "Copy here" in 5 above,
> the properties of the created icon can be changed.
>
> Is that the intentional behaviour?
Likely. You user does not have write access to /usr/share, where the
desktop icons reside on disk.
$ find /usr/share -name "*.desktop"
/usr/share/kinfocenter/categories/lostfoundcategory.desktop
/usr/share/kinfocenter/categories/networkinfocategory.desktop
/usr/share/kinfocenter/categories/graphicalinfocategory.desktop
/usr/share/kinfocenter/categories/deviceinfocategory.desktop
/usr/share/kinfocenter/categories/basicinformation.desktop
/usr/share/kinfocenter/categories/detailedinformation.desktop
...
I suppose you could modify the source of the link if you used
gksudo... but I do what you did -- I copy the icon to my desktop, and
modify it at its new home.
In the old days, you also had to chmod +x <package>.desktop. I don't
think you need to do it anymore. If you have trouble, then add +x.
> I do not remember seeing it in F40.
Jeff
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue