Bluefish 未以 root 身分執行

Bluefish 未以 root 身分執行

我正在處理一個以login.htmlroot 使用者身分開啟的名為 bluefish 的文件,我決定重命名它。所以我關閉了bluefish(但沒有關閉bluefish中的檔案)並重命名了該檔案。當我嘗試再次打開 bluefish 時,它給了我這個錯誤。

error reading list 1 Error opening file: No such file or directory

** (bluefish:24717): WARNING **: no configfile rcfile-2.0, try to convert config files from older versions

config file migration error 1:Error opening file: No such file or directoryerror reading list 1 Error opening file: No such file or directory

(bluefish:24717): GLib-ERROR **: /build/buildd/glib2.0-2.40.0/./glib/gmem.c:103: failed to allocate 18446744073666193602 bytes
Trace/breakpoint trap (core dumped)

我仍然可以正常打開bluefish(無需root)。

更新

即使重新安裝bluefish也沒有解決問題。

答案1

我在上發布了同樣的問題這裡。再次非常感謝 grahammechanical 解決了我的問題。解決方案:

從根目錄中刪除 .bluefish 資料夾(因為問題是在我擁有 root 權限時發生的):

sudo rm -r /root/.bluefish

或者,如果您想使用檔案總管來執行此操作,

  1. sudo nautilus在你的終端機中輸入
  2. 按 Ctrl + H(顯示所有隱藏檔案/資料夾)
  3. 刪除 .bluefish 資料夾

答案2

我的 blufish 編輯器在執行以下操作後會修復:

sudo nano /etc/apt/sources.list 
add below lines: 
deb http://ppa.launchpad.net/klaus-vormweg/bluefish/ubuntu trusty main 
deb-src http://ppa.launchpad.net/klaus-vormweg/bluefish/ubuntu trusty main 

注意:上面幾行中的 trusty 適用於 Ubuntu 14.04 版本,您的版本可能會有所不同

sudo apt-get install python-software-properties 
sudo apt-get install software-properties-common 

注意:8938CE95D36FE61D下面的行是我在錯誤中得到的內容

gpg --keyserver keyserver.ubuntu.com --recv 8938CE95D36FE61D 
gpg --export --armor 8938CE95D36FE61D  | sudo apt-key add - 
sudo apt-get update 
sudo apt-get upgrade 
sudo apt-get dist-upgrade

相關內容