Is it possible to add an "Add to desktop" entry to the Arc menu context menu? This feature is available in the Zorin menu, but not in the Arc menu.
Which file determines the context menu?
All files from arc menu are saved at
/.local/share/gnome-shell/extensions/arcmenu@arcmenu.com
I'd like to compare the gnome extensions Zorin menu and Arc menu to find out if I can do the same in Arc menu but I don't know which file is used for the context menu function "Add to desktop".
The gnome extension "Add to desktop" is installed but I can't add apps from Arc menu to desktop.
It would be nice to have this function because it is more comfortable than making shortcuts to the .desktop files of the apps or to make Zorin menu visible just for this action.
Doing a quick search found this snippet in the results:
" For Arc Menu (the GNOME Shell extension), there is no direct method to pin the application entry to the desktop in the traditional sense, as it is a desktop environment extension rather than a standalone application."
Yes, it is not possible with the normal settings of Arc Menu, but maybe the files can be edited? Zorin team made it possible with their gnome extension and Arc menu is based on/a fork of Zorin menu.
Oh, that is interesting. No, I'm on Zorin 17.3. I only have the option to add an app to dash. Do you think it depends on the chosen layout in Arc menu?
No, I don't think so. On Zorin 17, I hadn't that Option, too. I think it is a Version Thing. On Gnome 43 ArcMenu ends with Version 48 and on Gnome 46 (Zorin 18) it is up-to-date. Maybe it was added in a later Version.
The option can be constructed in the .js files. I would need to look into the literature as to exactly how, but the answer is 'yes, it can be done'.
But if using the later version already has it...
Yes, that's a good point, I didn't know that this function already exists in higher gnome versions. It depends on how complex it is. I'll take a look. At the moment, I don't want to install Zorin 18 on my VM because I'll lose Zorin Lite and sometimes I need the lite desktop for testing something. I don't have enough storage space for Zorin Core 18 and Zorin Lite 17.
I found a solution. After reading that the function for creating a shortcut to the desktop has already been added in Arc Menu version 41 (and I use v.48), but that it requires the installation and enabling of the gnome extension desktop icons, I tried to see what would happen if I used the "Desktop Icons NG (DING)" extension instead of the "Zorins Desktop Icons" extension. And lo and behold: it works! Now I have the option to add apps to the desktop via the right-click menu also in Arc-Menu.
After adding the desktop shortcut, right-click on the icon on the desktop and select "allow launching."
I'm trying to figure out what I could change in the code in the json file so that the apps added to the desktop can be launched automatically, as with the Zorin menu, without having to set "allow launching" manually for each app.
It seems to me that this feature has been added in newer versions of ArcMenu:
Can I add this to v.48 of ArcMenu for use in gnome 43?
I found a solution so that it also works with gnome extension "Zorin Desktop Icons" and you don`t need to add another extension.
I edited the file
~/.local/share/gnome-shell/extensions/arcmenu@arcmenu.com/appMenu.js:
I changed line 16 and added 'zorin-desktop-icons@zorinos.com' to the const DESKTOP_ICONS_UUIDS. Here are all gnome extensions listed that work with ArcMenu to create desktop shortcuts:
For allow launching automatically I haven´t found a solution yet. Replacing the complete appMenu.js with the file of newer ArcMenu versions (link of my last post) didn´t work.
I took a look at gnome extension Zorin menu what the code is there for adding desktop shortcuts. It seems to be at
/usr/share/gnome-shell/extensions/zorin-menu@zorinos.com/secondaryMenu.js,
line 42-124. But it differs much from ArcMenu so I'm not sure if the code can be copied and used in Arc Menu.
It works when I do it manually. But when I add a shortcut via Zorin menu for the app is automatically set allow launching, which isn't with ArcMenu in v.48. I'd like to find out if I can change that. To me it looks as if the automatic functionality of "alllow launching" was added in newer versions of ArcMenu.