在 Ubuntu 20.04 的 Desktop (Gnome) 開一個 Terminal
輸入
sudo gedit filename
會得到一長串的警告
(gedit:10666): Tepl-WARNING **: 14:29:57.004: GVfs metadata is not supported. Fallback to TeplMetadataManager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata.
雖然這個小警告並無害,但是看了煩……
要避掉這個警告的話要加上 -w
sudo gedit -w filename
嗯……要放到後面也行
sudo gedit filename -w