This simple script creates a new element in context menu that opens current directory (background click) or a list of directory (selected elements) as project folder. It does not open single files (that should be done as MIME type, search on google!)
Script requires python-nautilus
to be installed:
sudo apt install python-nautilus
sudo pacman -S python-nautilus
Current user must have an extension directory, that probably must be created manually:
mkdir -p ~/.local/share/nautilus-python/extensions
cd ~/.local/share/nautilus-python/extensions
I think that it can be installed globally in /usr/share/python-nautilus/extensions
, but I never tested it.
Now that we are in the python-nautilus/extensions
directory (either of the cirrent user or the global one), we
can download the script:
wget "https://bit.ly/AtomContextMenu" -O atom-directory.py
It will work when we reload nautilus
killall nautilus
It should be available in Nautilus context on right-click.