On 30/11/2020 01:40, Beartooth wrote:
On Sun, 29 Nov 2020 07:37:13 +0800, Ed Greshko wrote:
On 29/11/2020 05:10, I Beartooth wrote:
I'm running F33 Mate, but I think I was also seeing the problem
I'm
asking about under at least F32, and maybe also earlier.
Dragora has two icons that I can put on a panel. One of them is
supposed to be an updater. It works, afaict.
[...]
The desktop files
/usr/share/applications/org.mageia.dnfdragora-updater.desktop
/usr/share/applications/org.mageia.dnfdragora.desktop
both define the same Icon
Icon=dnfdragora
Sounds like you have 2 copies of
/usr/share/applications/org.mageia.dnfdragora-updater.desktop
on your panel.
---
The key to getting good answers is to ask good questions.
Well, I try hard ...
I did cd /usr/share/applications, and got
# ls|grep dnf
org.mageia.dnfdragora.desktop
org.mageia.dnfdragora-localinstall.desktop
org.mageia.dnfdragora-updater.desktop
Is there some repo somewhere from which I can grep the standard
icons for those three?
A few things. First, I may have inadvertently added some confusion. I'm not a frequent MATE user.
You had said: "Dragora has two icons that I can put on a panel" I took that to mean that you went to
"System-->Administration" and then right-clicked on either dnfdragora and/or dnfdragora-updater
and selected either "Add this launcher to panel" or "Add this launcher to desktop".
Doing both will result in the same icon appearing twice on the panel or desktop.
This is because the "launcher" or "desktop file" for both is define as the same.
It is important to note that the *destop files are *not* shell scripts. And they have no
execute permissions.
[egreshko@meimei ~]$ ll /usr/share/applications/org.mageia.dnfdragora-localinstall.desktop
-rw-r--r--. 1 root root 5376 Sep 6 23:04 /usr/share/applications/org.mageia.dnfdragora-localinstall.desktop
Meanwhile, I got a surprise. I tried to construct the command,
not surprisingly getting several failures -- my CLI-foo is miniscule. But
then came this:
[root@localhost btth]# /usr/share/applications/org.mageia.dnfdragora-
localinstall.desktop
-bash: /usr/share/applications/org.mageia.dnfdragora-localinstall.desktop:
Permission denied
[root@localhost btth]#
I suppose I should be glad it failed; but WHO has power to give
or refuse permission to root??
That is explained above.
I also went back (as user, not root) to the GUI of /usr/share/
applications, opened the file for the installer, and found a box saying
its command is dnfdragora-localinstall.desktop; I copied that, added a &,
and got a screenful of messages I don't understand.
Again, dnfdragora-localinstall.desktop is not a command. It is a file with information as to what
to execute when the Icon on the panel or desktop is clicked (or double-clicked").
The more important question as this point is the one I asked in a later post.
When it comes to dnfdragora, doesn't the drop-down with the selection of "To Update", "All",
"installed", "Not Installed" provide the needed functionality? That is, you can list what packages
aren't installed and you can select from there which one to install.
---
The key to getting good answers is to ask good questions.
_______________________________________________
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