-
I can easily remove the menus added by Windows in the right-click menu of the Recycle Bin, but no matter what method I try, I can't remove the menus added by the Nilesoft Shell application to the Recycle Bin's right-click menu. The closest solution was the following code: modify(type="recyclebin" where=window.is_desktop and !regex.match(this.name,'(^ouvrir$|^vider.*)') vis=0) However, in a very strange way, this code does not remove the menus it should, such as Terminal or File Manager. Instead, it removes the "Open" and "Empty Recycle Bin" menus, which I actually want to keep. I've never encountered such an issue before, and unfortunately, I haven't been able to solve it. Is there a solution for this? It has been briefly discussed under this topic, and I also wrote about it: #489 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 15 replies
-
There is a way - just what you want PS: I was going to make a new, better description of the method, but I haven't had any time lately. If you have any difficulties, I won't be able to help you soon - sorry. Good luck. |
Beta Was this translation helpful? Give feedback.
-
Hello, I tried to read the discussion on the nilesoft forum but it is too complicated for an amateur like me. When I click on the right button of the trash can I have all these entries I think that the entries, Open, empty the trash and maybe put the icon on open that in my case is not displayed, could be enough. I understood that you have to act directly in the Shell.nss file, but not how to do it. I saw that there are also other open discussions, I read them but I still can't understand the procedure. |
Beta Was this translation helpful? Give feedback.
-
Found the error, I should not have inserted the taskbar.nss file in the code. The problem remains with the "More Options" item which would be more_options and why there is no icon for the Open item This is my Shell.nss file
|
Beta Was this translation helpful? Give feedback.
-
Right-click on a folder or file on the desktop and check if there is an icon at the beginning of the "Open" menu. The Recycle Bin's "Open" menu takes its icon from there, and if there is no icon in the desktop right-click menu, there will be no icon in the Recycle Bin menu either. Therefore, this is not a Windows issue; such an icon does not exist in the Shell application. Write the following code into modify.nss and restart Explorer. If the same icon appears in both menus, there is no issue—this is the normal behavior. modify(find='Apri' image=\uE0A4) That icon is not present in the original version of the application anyway. Open=Apri Is this language Italian? :) |
Beta Was this translation helpful? Give feedback.
There is a way - just what you want
But this is not a snippet that I can share and you can just use it - you need to rebuild the
shell.nss
with new logic.I wrote something about the method on the NIlesoft forum (the forum no longer exists)
https://web.archive.org/web/20240613020655/https://nilesoft.org/forum/viewtopic.php?t=23&sid=991564ba72bf76c8ef095e9d80b84f5f
PS: I was going to make a new, better description of the method, but I haven't had any time lately. If you have any difficulties, I won't be able to help you soon - sorry. Good luck.