Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

Ubuntu 自訂登入畫面背景:用 dconf-editor 修改 lightdm 使用者設定

編輯:關於 Linux

想換掉 Ubuntu 預設登入背景?本文教你透過 dconf-editor 以 lightdm 使用者身分修改 com.canonical.unity-greeter 的 background 鍵值指向自訂圖片路徑,並取消 draw-grid。操作需先給予 lightdm 存取 X Server 權限 (xhost +SI:localuser:lightdm),再切換至 lightdm 執行 dconf-editor 修改,重開機即生效。

操作步驟

  1. sudo apt-get install dconf-editor(未安裝時)
  2. 記下自訂圖片完整路徑
  3. sudo -i 切換 root
  4. xhost +SI:localuser:lightdm
  5. su lightdm -s /bin/bash
  6. dconf-editor → 瀏覽 com → canonical → unity-greeter
  7. 修改 background 為圖片路徑,取消 draw-grid
  8. 重開機驗證

此法適用於使用 LightDM + Unity Greeter 的 Ubuntu 版本,讓每次開機都能見到專屬背景。

Copyright © Windows教程網 All Rights Reserved