如何让 gedit 成为 crontab 的默认编辑器?
到目前为止,我已经尝试过:
sudo update-alternatives --install /usr/bin/gnome-text-editor gnome-text-editor /usr/bin/gedit 100
Run Code Online (Sandbox Code Playgroud)
和
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/gedit 100
Run Code Online (Sandbox Code Playgroud)
到目前为止没有运气。(也许我只需要重新启动?)