Description of problem: I have been trying to make a new panel launcher for the Nightly version of Firefox and I have tried to use the cinnamon-menu-editor (which for the record looks a lot like alacarte), but clicking the button to add a new object to the panel fails to give me a new window to start adding the properties of the new launcher. Instead I get this in the terminal window: Traceback (most recent call last): File "/usr/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py", line 423, in <module> Main() File "/usr/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py", line 351, in __init__ editor = LauncherEditor(self.orig_file, self.launcher_cb) File "/usr/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py", line 61, in __init__ self.builder.add_from_file(self.ui_file) gi.repository.GLib.Error: gtk-builder-error-quark: /usr/share/cinnamon/cinnamon-desktop-editor/launcher-editor.ui:70:1 Invalid object type 'XAppIconChooserButton' (6) Version-Release number of selected component (if applicable): 4.0.10-2 How reproducible: All the time. Steps to Reproduce: 1. Open a terminal. 2. Type cinnamon-menu-editor and hit Enter/Return button. 3. Click on the Internet category and then click the Add new object button on the right. Nothing happens.
The problem is described here as well: https://askubuntu.com/questions/232053/how-to-add-a-shortcut-to-a-command-to-the-cinnamon-menu
https://askubuntu.com/questions/232053/how-to-add-a-shortcut-to-a-command-to-the-cinnamon-menu#comment1308386_348855 tells you that cinnamon-add-panel-launcher.py is missing in /usr/share/cinnamon/applets/panel-launchers@cinnamon.org/
I see that we have 4.6.7 in Cauldron. Can we push it?
Hi, thanks for reporting this bug. A missing file in a package, this should be resolved in M7. Cinnamon 4.6 has prerequisite that are beyond the scope of updating M7. It can be a candidate to a backport but this will be to far from our resources. Also, note that upstream has pushed 4.8 version to his git repository, this can be landed to Cauldron for M8. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it)
CC: (none) => ouaurelienSource RPM: cinnamon => cinnamon-4.0.10-2.mga7.src.rpmAssignee: bugsquad => joequantComponent: Backports => RPM Packages
Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021.
This is also now seen in a fresh installation of Mageia 8. Any chance that it's fixed in Cauldron already?
Version: 7 => 8
https://github.com/linuxmint/cinnamon/issues/9207 mentions a similar issue regarding adding an applet and I see a comment claiming that xapp needs to be installed. Which of these hits am I supposed to install then? [kristoffer@localhost applications]$ urpmq -y xapp lib64xapp-devel lib64xapp-gir1.0 lib64xapp1 lib64xapp1-debuginfo libxapp-devel libxapp-gir1.0 libxapp1 lxappearance lxappearance-debuginfo lxappearance-debugsource lxappearance-devel lxappearance-obconf lxappearance-obconf-debuginfo lxappearance-obconf-debugsource python3-xapp python3-xapps-overrides task-xapps xapps xapps-debuginfo xapps-debugsource xapps-mate xapps-mate-debuginfo
This problem still exists even thou I've performed a fresh installation of Mageia 8 again.
This is still valid in Mageia 8.
I reported the issue upstream here: https://github.com/linuxmint/cinnamon/issues/10556
Ping! I still see it and I can't add an object in the editor. Nothing happens when I press the button.
CC: (none) => lewyssmith
Sorry for leaving you. First, can you clarify what package you are talking about. I find nothing like cinnamon-menu-editor, nor 'applets' for Cinnamon. To add a taskbar shortcut for any menu entry, all that is neccessary is to right-click it and from the pop-up menu, choose 'add to panel'. I have just tried this on an installed application; it worked. If this is not what you want to do, please explain again.
(In reply to Lewis Smith from comment #12) > Sorry for leaving you. > First, can you clarify what package you are talking about. I find nothing > like cinnamon-menu-editor, nor 'applets' for Cinnamon. > > To add a taskbar shortcut for any menu entry, all that is neccessary is to > right-click it and from the pop-up menu, choose 'add to panel'. I have just > tried this on an installed application; it worked. > > If this is not what you want to do, please explain again. Yes, I absolutely know that you can do that with INSTALLED applications/programs, but if you as me like to try upcoming releases of Firefox through its Nightly tar archive I find it impossible to add the Firefox binary to the panel as a new starter. According to my research using urpmf cinnamon-menu-editor it's either in /usr/bin/cinnamon-menu-editor or in cinnamon:/usr/share/cinnamon/cinnamon-menu-editor Right.... If I go to /usr/share/cinnamon/ and run cinnamon-menu-editor and then click the button to add a new object......no popup window appears and as console output I get this: Traceback (most recent call last): File "/usr/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py", line 424, in <module> Main() File "/usr/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py", line 351, in __init__ editor = LauncherEditor(self.orig_file, self.launcher_cb) File "/usr/share/cinnamon/cinnamon-desktop-editor/cinnamon-desktop-editor.py", line 61, in __init__ self.builder.add_from_file(self.ui_file) gi.repository.GLib.Error: gtk-builder-error-quark: /usr/share/cinnamon/cinnamon-desktop-editor/launcher-editor.ui:70:1 Invalid object type 'XAppIconChooserButton' (6) Looking with ls in /usr/share/cinnamon/cinnamon-menu-editor I see that the mentioned file launcher-editor.ui isn't there, in fact there's a py file missing as well I think: [kristoffer@localhost cinnamon-menu-editor]$ ls cinnamon-menu-editor.ui cme/ I compared the directories for desktop-editor and menu-editor and they seem to be different...... [kristoffer@localhost cinnamon-desktop-editor]$ ls cinnamon-desktop-editor.py* directory-editor.ui launcher-editor.ui __pycache__/ Is it meant to be that way?
Thank you for this fuller explanation. I forgot to try urpmf. Certainly, the binary 'cinnamon-desktop-editor' is in package 'cinnamon'. As is 'cinnamon-menu-editor'. So you want to create a shortcut to a manually installed binary. Doing: $ /usr/bin/cinnamon-menu-editor like you describe above, it displays a 'main menu' window with all the entries; similarly for the 'internet' sub-menu. Clicking the 'new item' button does nothing but (from terminal) outputs the Traceback errors you note above. So this is reproduceable. Trying the other, I got: $ /usr/bin/cinnamon-desktop-editor Usage: cinnamon-desktop-editor.py [options] cinnamon-desktop-editor.py: error: You must select a mode to run in This has no man entry, but $ cinnamon-desktop-editor -h Usage: cinnamon-desktop-editor.py [options] Options: -h, --help show this help message and exit -o ORIG_FILE, --original=ORIG_FILE Path of original .desktop file -d DEST_DIR, --directory=DEST_DIR Destination directory of the new launcher -f DESKTOP_NAME, --file=DESKTOP_NAME Name of desktop file (i.e. gnome-terminal.desktop) -m MODE, --mode=MODE Mode to run in: launcher, directory, panel-launcher or nemo-launcher so usage is a mystery. Shortcuts can be: - in a menu - on the panel - on the desktop I can find no way of adding one anywhere for a given [binary] file. Much is due to my ignorance of Cinnamon, which I never use normally. If there is a Cinnamon user forum (there must be), please ask ther how to achieve what you want. I suggest you express it along the lines of the start of this paragraph. ---------- In the meantime, ping Joseph, who nurses Cinnamon. See especially comment 13.
Source RPM: cinnamon-4.0.10-2.mga7.src.rpm => cinnamon-4.8.3-1.mga8.src.rpmCC: lewyssmith => (none)
Update: As I try to run cinnamon-menu-editor in Cauldron I get this error now: Traceback (most recent call last): File "/usr/bin/cinnamon-menu-editor", line 12, in <module> from cme import MainWindow File "/usr/share/cinnamon/cinnamon-menu-editor/cme/MainWindow.py", line 34, in <module> from cme.MenuEditor import MenuEditor File "/usr/share/cinnamon/cinnamon-menu-editor/cme/MenuEditor.py", line 23, in <module> from cme import util File "/usr/share/cinnamon/cinnamon-menu-editor/cme/util.py", line 22, in <module> from collections import Sequence ImportError: cannot import name 'Sequence' from 'collections' (/usr/lib64/python3.10/collections/__init__.py) No window appears so it seems like the menu editor is even more broken now.
Problem still exists. Any fix coming before Mageia 9 is released as stable?
For some unknown reason this seems to be fixed in Cauldron now as I installed alacarte and ran it and clicked the button to add a new object and then I got an empty pop-up window so I'll therefore close this as RESOLVED FIXED. Should anyone here find that it isn't fixed in their system, please feel free to reopen with additional valuable info.
Status: NEW => RESOLVEDResolution: (none) => FIXED
Can someone please push an update for cinnamon-menu-editor to Mageia 8? That would be great.