In this post I want to share how to add items on right click in Nautilus, in this case I want to make it open with vscode. First go to the nautilus directory
cd ~/.local/share/nautilus/scripts/
Next, create script file
nano "Open With VSCode"
Insert this script to file, and save
#!/bin/bash
code .
Make your script executable
chmod 775 Open\ With\ VSCode
Restart nautilus
nautilus -q; nautilus;
Now, i can open vscode with right click nautilus
Top comments (0)