gedit 自動會話保存

gedit 自動會話保存

我在 Ubuntu 機器上使用 gedit。假設如果我打開 gedit 並打開一些檔案 - file1.txt & file2.txt ,那麼如果我關閉 gedit 並再次重新打開,那麼它會建立一個新會話,而不是打開先前的檔案 - file1.txt & file2 。

我嘗試使用此連結安裝 gmate -https://github.com/gmate/gmate#readme,但是當我轉到“編輯”-->“首選項”時,我收到一條錯誤訊息Error: Plugin loader "python" was not found.。所以我使用了這個連結 -https://github.com/gmate/gmate/issues/153並更新了我的插件檔案Loader = python3。然後我開始收到另一個錯誤

**(gedit:17302):警告**:無法載入Gedit儲存庫:找不到名稱空間「GtkSource」的Typelib文件,版本「3.0」錯誤:root:找不到任何Gedit Traceback的typelib(最近一次調用最後) :檔案“/usr/lib/gedit/plugins/restoretabs/restoretabs.py”,第 2 行,來自 gi.repository import GObject、GLib、Gtk、Gio、Gedit ImportError:無法匯入名稱 Gedit

(gedit:17302):libpeas-警告**:載入外掛程式「restoretabs」時出錯

我不斷收到很多錯誤,在網路上搜尋了很長時間後,我來到了這一點。請幫我如何解決這個問題。

相關內容