Ubuntu 14.04 系统设置无效

Ubuntu各种衍生版本
懒蜗牛
帖子: 13
注册时间: 2017-06-08 13:30
系统: ubuntu 14.04

Re: Ubuntu 14.04 系统设置无效

#16

帖子 懒蜗牛 » 2017-06-14 17:17

vickycq 写了:执行以下指令将结果全部复制贴上来看看

代码: 全选

df /home
find ~/.config -type f ! -writable -ls
find ~/.config -type d ! -writable -ls
你好!
bob@Bob:~$ df /home/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 251712252 235338992 3563892 99% /home
bob@Bob:~$ find ~/.config -type f ! -writable -ls
13238809 8 -rw-r--r-- 1 root root 4231 6月 14 16:21 /home/bob/.config/gedit/accels
bob@Bob:~$ find ~/.config -type d ! -writable -ls
13238808 4 drwxr-xr-x 2 root root 4096 12月 31 2015 /home/bob/.config/gedit
bob@Bob:~$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 14.04 系统设置无效

#17

帖子 poloshiao » 2017-06-14 17:23

我的输入法是可以的。
所謂 可以的 是什麼意思 ?

上面的測試 不是針對你的輸入法 是否能夠正常使用

而是針對
使用管理员权限更改系统桌面背景或者输入法等系统设置都无发更改,每次更改后关闭系统设置再打开都会原因默认配置
關機再啟動 Ubuntu 是否會保存改變 還是 恢復默認

你是否已經確認 關機再啟動 Ubuntu 是否會保存改變 還是 恢復默認 ?
懒蜗牛
帖子: 13
注册时间: 2017-06-08 13:30
系统: ubuntu 14.04

Re: Ubuntu 14.04 系统设置无效

#18

帖子 懒蜗牛 » 2017-06-15 13:44

poloshiao 写了:
我的输入法是可以的。
所謂 可以的 是什麼意思 ?

上面的測試 不是針對你的輸入法 是否能夠正常使用

而是針對
使用管理员权限更改系统桌面背景或者输入法等系统设置都无发更改,每次更改后关闭系统设置再打开都会原因默认配置
關機再啟動 Ubuntu 是否會保存改變 還是 恢復默認

你是否已經確認 關機再啟動 Ubuntu 是否會保存改變 還是 恢復默認 ?
你好,按照你说的我测试了一下,
发现可以切换到ibus,重启之后还是ibus
Current configuration for the input method:
* Active configuration: ibus


每次重启之后左边的lanucher上恢复到默认的情况,但是我的桌面上的东西还存在
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 14.04 系统设置无效

#19

帖子 poloshiao » 2017-06-15 16:46

我的电脑只有一个账号,就是安装的那个时候创建的账号,有最高权限的。
bob@Bob:~$
1. 所以你 安装的时候创建的账号 是 bob (預設 就可加 sudo 或 gksudo)
find ~/.config -type f ! -writable -ls
13238809 8 -rw-r--r-- 1 root root 4231 6月 14 16:21 /home/bob/.config/gedit/accels
find ~/.config -type d ! -writable -ls
13238808 4 drwxr-xr-x 2 root root 4096 12月 31 2015 /home/bob/.config/gedit
2. 一般 這個 家目錄 /home/bob (或 ~/) 的 子目錄及檔案 權限 所有者 預設 應該是 bob:bob
2-1. 目前 權限 所有者 是 root:root ? (可能是你不小心更改的)
2-2. 當你使用 gedit (使用 bob 打開時)只能唯讀 不能修改/保存 (因為沒有寫入權限 w)
2-3. 除非 使用 root 權限 即加上 sudo (或 gksudo)
2-3-1. gedit 需要使用 gksudo gedit (因為 gedit 是 圖形界面程式)
2-3-2. 第一次 使用 gksudo 需要先安裝 gksu 套件
http://manpages.ubuntu.com/manpages/xen ... ksu.1.html
gksu - GTK+ frontend for su and sudo

3. 如果 覺得每次加上 sudo 或 gksudo 要輸入密碼 很麻煩
徹底解決辦法是 把上面的 權限 所有者 root:root 改回 bob:bob
sudo chown -hR bob:bob /home/bob/.config/gedit
以後 就不必再加 sudo (或 gksudo)

4. 有關改變權限 參閱
http://linux.vbird.org/linux_basic/0210 ... mission_ch
如何改變檔案屬性與權限
每次重启之后左边的lanucher上恢复到默认的情况,但是我的桌面上的东西还存在
5. 當你在 lanucher 上加上圖示時 有沒有使用 滑鼠指向該圖示 按下右鍵 選 鎖住 ?
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: Ubuntu 14.04 系统设置无效

#20

帖子 vickycq » 2017-06-15 16:58

懒蜗牛 写了: bob@Bob:~$ df /home/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 251712252 235338992 3563892 99% /home
bob@Bob:~$ find ~/.config -type f ! -writable -ls
13238809 8 -rw-r--r-- 1 root root 4231 6月 14 16:21 /home/bob/.config/gedit/accels
bob@Bob:~$ find ~/.config -type d ! -writable -ls
13238808 4 drwxr-xr-x 2 root root 4096 12月 31 2015 /home/bob/.config/gedit
本来是希望看到 /home 分区已满,或 dconf “注册表”权限错误,或 ~/.config 中大面积权限错误,结果竟然都没有。这下黔驴技穷了
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
懒蜗牛
帖子: 13
注册时间: 2017-06-08 13:30
系统: ubuntu 14.04

Re: Ubuntu 14.04 系统设置无效

#21

帖子 懒蜗牛 » 2017-06-15 18:00

poloshiao 写了:
我的电脑只有一个账号,就是安装的那个时候创建的账号,有最高权限的。
bob@Bob:~$
1. 所以你 安装的时候创建的账号 是 bob (預設 就可加 sudo 或 gksudo)
find ~/.config -type f ! -writable -ls
13238809 8 -rw-r--r-- 1 root root 4231 6月 14 16:21 /home/bob/.config/gedit/accels
find ~/.config -type d ! -writable -ls
13238808 4 drwxr-xr-x 2 root root 4096 12月 31 2015 /home/bob/.config/gedit
2. 一般 這個 家目錄 /home/bob (或 ~/) 的 子目錄及檔案 權限 所有者 預設 應該是 bob:bob
2-1. 目前 權限 所有者 是 root:root ? (可能是你不小心更改的)
2-2. 當你使用 gedit (使用 bob 打開時)只能唯讀 不能修改/保存 (因為沒有寫入權限 w)
2-3. 除非 使用 root 權限 即加上 sudo (或 gksudo)
2-3-1. gedit 需要使用 gksudo gedit (因為 gedit 是 圖形界面程式)
2-3-2. 第一次 使用 gksudo 需要先安裝 gksu 套件
http://manpages.ubuntu.com/manpages/xen ... ksu.1.html
gksu - GTK+ frontend for su and sudo

3. 如果 覺得每次加上 sudo 或 gksudo 要輸入密碼 很麻煩
徹底解決辦法是 把上面的 權限 所有者 root:root 改回 bob:bob
sudo chown -hR bob:bob /home/bob/.config/gedit
以後 就不必再加 sudo (或 gksudo)

4. 有關改變權限 參閱
http://linux.vbird.org/linux_basic/0210 ... mission_ch
如何改變檔案屬性與權限
每次重启之后左边的lanucher上恢复到默认的情况,但是我的桌面上的东西还存在
5. 當你在 lanucher 上加上圖示時 有沒有使用 滑鼠指向該圖示 按下右鍵 選 鎖住 ?

你好,我在执行:sudo chown -hR bob:bob /home/bob/.config/gedit 这个命令之后,然后用ls -l /home/bob/.config/gedit查看属性有看到bob bob,说明是有改成功的,但是再次打开gedit设置显示行号,关闭后再打开,行号又没有了。
打开应用程序,比如terminal后,有使用右键选定锁定到lanucher上这个选项,关闭terminal后有锁定成功,但是重启后又没有了
懒蜗牛
帖子: 13
注册时间: 2017-06-08 13:30
系统: ubuntu 14.04

Re: Ubuntu 14.04 系统设置无效

#22

帖子 懒蜗牛 » 2017-06-15 18:03

vickycq 写了:
懒蜗牛 写了: bob@Bob:~$ df /home/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 251712252 235338992 3563892 99% /home
bob@Bob:~$ find ~/.config -type f ! -writable -ls
13238809 8 -rw-r--r-- 1 root root 4231 6月 14 16:21 /home/bob/.config/gedit/accels
bob@Bob:~$ find ~/.config -type d ! -writable -ls
13238808 4 drwxr-xr-x 2 root root 4096 12月 31 2015 /home/bob/.config/gedit
本来是希望看到 /home 分区已满,或 dconf “注册表”权限错误,或 ~/.config 中大面积权限错误,结果竟然都没有。这下黔驴技穷了
还是要谢谢你的帮助!
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 14.04 系统设置无效

#23

帖子 poloshiao » 2017-06-15 19:55

df /home/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 251712252 235338992 3563892 99% /home
你的 /home 分割區 已經快滿了
是否單獨掛載 ?

目前你所發現的問題 也許 跟新的設定檔 無法存入 家目錄 有關
建議 儘快 擴充它 或 刪除 不必要的 目錄及檔案 以免瀕臨塞爆 引起許多問題
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 14.04 系统设置无效

#24

帖子 poloshiao » 2017-06-15 22:23

但是再次打开gedit设置显示行号,关闭后再打开,行号又没有了。
1. 把 gedit 關閉
2. sudo mv ~/.config/gedit ~/.config/gedit.backup
3. 再次打開 gedit (不要加 sudo 或 gksudo)
4. 然後 試試

5. 參見
https://help.ubuntu.com/community/gedit ... ling_gedit
If the user is experiencing problems with gedit, it may be preferable to first reset the user's preferences by removing the user's .config/gedit folder
打开应用程序,比如terminal后,有使用右键选定锁定到lanucher上这个选项,关闭terminal后有锁定成功,但是重启后又没有了
6. 等上面的測試結果 再決定如何處理
懒蜗牛
帖子: 13
注册时间: 2017-06-08 13:30
系统: ubuntu 14.04

Re: Ubuntu 14.04 系统设置无效

#25

帖子 懒蜗牛 » 2017-06-16 13:40

poloshiao 写了:
但是再次打开gedit设置显示行号,关闭后再打开,行号又没有了。
1. 把 gedit 關閉
2. sudo mv ~/.config/gedit ~/.config/gedit.backup
3. 再次打開 gedit (不要加 sudo 或 gksudo)
4. 然後 試試

5. 參見
https://help.ubuntu.com/community/gedit ... ling_gedit
If the user is experiencing problems with gedit, it may be preferable to first reset the user's preferences by removing the user's .config/gedit folder
打开应用程序,比如terminal后,有使用右键选定锁定到lanucher上这个选项,关闭terminal后有锁定成功,但是重启后又没有了
6. 等上面的測試結果 再決定如何處理

使用:sudo mv ~/.config/gedit ~/.config/gedit.backup 命令之后,还是不行。
直接在terminal里面使用gedit打开的时候提示: GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
有可能是Glib库的问题,不过目前需要build一些软件,机器需要使用Glib库,现在还不能改这个
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Ubuntu 14.04 系统设置无效

#26

帖子 poloshiao » 2017-06-17 8:52

直接在terminal里面使用gedit打开的时候提示: GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
有可能是Glib库的问题,
參閱
https://askubuntu.com/questions/558446/ ... untu-reins
My dconf/gsettings installation is broken. How can I fix it without Ubuntu reinstall?
回复