[英]Ubuntu 22.04 Xinput settings partially changing when change with ~/.profile file
[英]Settings Menu missing Ubuntu 22.04
所以我試圖找回在 ubutu 升級到 22.04 版本后消失的菜單設置。
老實說,我是這一切的新手。 這是我得到的代碼:
我嘗試:
root@blast-ThinkPad-T430:/home/blast# apt-get 安裝 gnome-control-center
我得到:
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/usr/bin/python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/usr'
sys.base_exec_prefix = '/usr'
sys.platlibdir = 'lib'
sys.executable = '/usr/bin/python3'
sys.prefix = '/usr'
sys.exec_prefix = '/usr'
sys.path = [
'/usr/lib/python310.zip',
'/usr/lib/python3.10',
'/usr/lib/python3.10/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the file
system encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007f4376fc2740 (most recent call first):
<no Python frame>
E: 子進程 /usr/bin/dpkg 返回錯誤代碼 (1)
提前致謝。
嘗試取回我的設置菜單和徽標。
使用時你的 python-error 消失了嗎
sudo apt install gnome-control-center
而不是 su / 將用戶更改為 root 並離開 sudo? 更改為 root 不僅具有 root 權限。 您將使用例如您的用戶環境變量。
順便說一句,這個“缺少設置用戶界面”是一個奇怪的 thinkpad 錯誤嗎? 我只從 thinkpad 用戶那里知道這個:O
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.