react-explorer icon indicating copy to clipboard operation
react-explorer copied to clipboard

No context menu on Linux!

Open jdev082 opened this issue 3 years ago • 2 comments

So, upon running the Linux Appimage. It appears no context menu shows up when right clicking an item. There isn't a context menu for Linux? I think its a bug.

jdev082 avatar Jun 10 '22 16:06 jdev082

Hi, Unfortunately this is the expected behavior (and it's the same on Mac/Windows as well): there is no context menu for file/folder items. Most actions can be triggered using the main app menu or keyboard shortcuts.

I see if I can add context menus in a future release.

warpdesign avatar Jun 13 '22 12:06 warpdesign

I myself have developed context menus for Electron based software. The electron-context-menu package provides a context menu (not without configuration though).

Once the package is installed import it.

const ContextMenu = require("electron-context-menu");

Here's an example directly from the project I used the package with: Click Here

You can pass the functions to Electron, then make the Context Menu run them. Should be easy I suppose.

jdev082 avatar Jun 13 '22 14:06 jdev082