[opensuse-xfce] "Install/Remove Software" in menus and in a "Settings" window

Hello. We are missing the "Install/Remove Software" item in menus (at least in Whisker). That was very useful. And I still have the "Install/Remove Software" item in the "Xfce Settings" window: http://susepaste.org/view/raw/39909157 But it doesn't work: http://susepaste.org/view/raw/83312538 I have found a file "/usr/share/applications/yast2-packager.desktop" that belongs to a "yast2-packager" package. The string "Exec=xdg-su -c "/sbin/yast2 sw_single %F"' doesn't work. -- WBR Kyrill

Hi, * Kyrill Detinov <lazy.kent@opensuse.org> [2015-03-27 20:48]:
We are missing the "Install/Remove Software" item in menus (at least in Whisker). That was very useful.
fallout from https://bugzilla.novell.com/show_bug.cgi?id=892936 the desktop file is included explicitly in the menu but changed its name so the menu file needs to be adjusted, should be fixed now in X11:xfce.
And I still have the "Install/Remove Software" item in the "Xfce Settings" window: http://susepaste.org/view/raw/39909157
But it doesn't work: http://susepaste.org/view/raw/83312538
I have found a file "/usr/share/applications/yast2-packager.desktop" that belongs to a "yast2-packager" package. The string "Exec=xdg-su -c "/sbin/yast2 sw_single %F"' doesn't work.
This only occurs in xfce4-settings-manager, not the main menu and by my reading of If the application should not open any file the %f, %u, %F and %U field codes must be removed from the command line and ignored. (http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-lates...) this is a bug in xfce4-settings-manager, the %F should be removed. Would you mind filing a bug against it upstream? -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-xfce+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xfce+owner@opensuse.org

* Kyrill Detinov <lazy.kent@opensuse.org> [2015-03-29 19:59]:
On Sat, 28 Mar 2015 11:27:54 +0100 Guido Berhoerster wrote:
this is a bug in xfce4-settings-manager, the %F should be removed. Would you mind filing a bug against it upstream?
What is a target for the bugreport?
This is a bug in xfce4-settings. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-xfce+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xfce+owner@opensuse.org

On Sun, 29 Mar 2015 20:09:40 +0200 Guido Berhoerster wrote:
this is a bug in xfce4-settings-manager, the %F should be removed. Would you mind filing a bug against it upstream?
What is a target for the bugreport?
This is a bug in xfce4-settings.
I'm sorry, Guido. I don't understand well. The command 'xdg-su -c "/sbin/yast2 sw_single %F"' runs from the file /usr/share/applications/yast2-packager.desktop, which is provided by the "yast2-packager" package. Why it is a bug in xfce4-settings? -- WBR Kyrill

* Kyrill Detinov <lazy.kent@opensuse.org> [2015-03-31 18:18]:
On Sun, 29 Mar 2015 20:09:40 +0200 Guido Berhoerster wrote:
this is a bug in xfce4-settings-manager, the %F should be removed. Would you mind filing a bug against it upstream?
What is a target for the bugreport?
This is a bug in xfce4-settings.
I'm sorry, Guido. I don't understand well.
The command 'xdg-su -c "/sbin/yast2 sw_single %F"' runs from the file /usr/share/applications/yast2-packager.desktop, which is provided by the "yast2-packager" package. Why it is a bug in xfce4-settings?
The desktop entry spec says: If the application should not open any file the %f, %u, %F and %U field codes must be removed from the command line and ignored. (http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-lates...) So when xfce4-settings-manager executes a command from an Exec= entry it should remove any %F first (so that the command becomes becomes 'xdg-su -c "/sbin/yast2 sw_single "') The xfce4-panel applications menu plugin obviously does that already. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-xfce+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xfce+owner@opensuse.org
participants (2)
-
Guido Berhoerster
-
Kyrill Detinov