“sudo gedit filename” prints a warning

| 0 Comments| | 14:42
Categories:

在 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

 
 
source: Saving a file in gedit prints a warning in terminal

Leave a Reply

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *