saleguas/context_menu

Issues with displaying menu on Ubuntu 20.04

Closed this issue · 0 comments

Hello I'm having an issue getting the context menu to be displayed in my environment.
my setup is as follows:
python3 -m pip install context_menu which successfully installs.
attempting to use the quick start given code:

fc = menus.FastCommand('Example Fast Command 1', type='FILES', command='echo Hello')
fc.compile()

Running my script python3 sample.py
running the nautilus command nautilus -q
and my file explorer closes and i reopen it and head over to a text file, I've tried other files but I'm attempting to mimic the video on the read-me to hopefully solve the issue. but I'm still having no luck, with the context menu being displayed.

ive tried to reinstall Python3, context_menu, nautilus, along with trying both of the given example scripts.

versions of stuff I'm using:

nautilus: GNOME nautilus 3.36.3
System: Ubuntu 20.04.4 LTS 64bit
GNOME: 3.36.8
Windowing system: X11
python 2.7.18 && 3.8

I'm 100% doing something incorrect on my end and not an expert when it comes to Ubuntu so apologies in advance and thank you for any clarity on my issue.