前言
在使用VSCode
的过程中,AlmaLinux
没能像Windows
一样在右键菜单上显示打开方式,所以找了一下解决方案,罗列出来
前提说明
虽然说无论是media
还是StackOverflow
都推荐使用这条命令:
wget -qO- https://raw.githubusercontent.com/harry-cpp/code-nautilus/master/install.sh | bash
当然,如果你找的是年代比较久远的帖子,你看到的应该是
wget -qO- https://raw.githubusercontent.com/cra0zy/code-nautilus/master/install.sh | bash
这只是作者改了个名而已,使用第一个就好了。但是呢,我也查看了源码,对Ubuntu
的支持较好,使用了apt-get
与dnf
安装nautius-python
,再将作者的Python
脚本放入这个插件中,然后就能够出现Open in VSCode
之类的字样。
实际上对于AlmaLinux
的 9.2 9.2 9.2与 9.3 9.3