Add Right Click Script Nautilus

bukanspot

Indra Wahyu

Posted on May 29, 2022

Add Right Click Script Nautilus

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/
Enter fullscreen mode Exit fullscreen mode

Next, create script file

nano "Open With VSCode"
Enter fullscreen mode Exit fullscreen mode

Insert this script to file, and save

#!/bin/bash
code .
Enter fullscreen mode Exit fullscreen mode

Make your script executable

chmod 775 Open\ With\ VSCode
Enter fullscreen mode Exit fullscreen mode

Restart nautilus

nautilus -q; nautilus;
Enter fullscreen mode Exit fullscreen mode

Now, i can open vscode with right click nautilus
open vscode with right click nautilus


Reference

๐Ÿ’– ๐Ÿ’ช ๐Ÿ™… ๐Ÿšฉ
bukanspot
Indra Wahyu

Posted on May 29, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ยฉ TheLazy.dev

About