お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2014-05-04 23:02:48

tshiihara
メンバ
登録日: 2008-07-29

再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

いつも色々教えていただきありがとうございます。
Ubuntu 13.10から14.04にアップデートしました。

https://www.dropbox.com/s/s41ahxjrezwu0v1/Screenshot%20from%202014-05-04%2022%3A48%3A54.png
インスツール後上記のような見た目で、黒を基調にしたのは好きじゃないので、

gnome-tweak-tool で下記のように 設定
外観
グローバルダークテーマ On
テーマ
ウィンドウ Radiance
GTK+ Radiance
アイコン Gnome-human
カーソル DMZ-White

その後 logout->loginで設定反映される
https://www.dropbox.com/s/p6lph0bqxlvno9j/Screenshot%20from%202014-05-04%2022%3A23%3A42.png
しかし再起動すると元に戻ってしまう

再起動後もgnome-tweak-toolの設定が反映されるようにするにはどうしたらよいでしょう。
suggestion, adviseいただけるとありがたいです。

オフライン

 

#2 2014-05-05 16:51:04

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

http://askubuntu.com/questions/451156/themes-and-icons-change-to-default-automatically-in-ubuntu-14-04lts
ここに書いてあるのがる同じような報告みたいです

オフライン

 

#3 2014-05-05 16:55:44

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

http://ubuntuforums.org/showthread.php?t=2218426

Re: My themes and icons change automatically to default

    I have a related issue myself. The theme looks old school like your screen shot. However if I reboot, and wait a few minutes before logging in, everything looks great. Interested to hear your results.
再起動してから、数分待ってログインするといい なんて書いてあります。

オフライン

 

#4 2014-05-05 17:20:56

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

tshiihara による投稿:

http://ubuntuforums.org/showthread.php?t=2218426

Re: My themes and icons change automatically to default

    I have a related issue myself. The theme looks old school like your screen shot. However if I reboot, and wait a few minutes before logging in, everything looks great. Interested to hear your results.
再起動してから、数分待ってログインするといい なんて書いてあります。

試しに起動してから10分ぐらい放置して、ログインしたら設定してる通りのテーマ・アイコンで起動しました。
でも毎回そんなに待つほど忍耐力がない。

オフライン

 

#5 2014-05-05 22:29:18

Templer
メンバ
登録日: 2009-07-08

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

「ログイン時に設定が反映されなくても再設定すればその場で即反映される」という状況でしょうか?

であれば、下記内容の適当なファイルを作る。

コード:

#!/bin/sh
sleep 20

# ウィンドウ
dconf write /org/gnome/desktop/wm/preferences/theme "'Radiance'"
# GTK+ 
dconf write /org/gnome/desktop/interface/gtk-theme "'Radiance'"
# アイコン
dconf write /org/gnome/desktop/interface/icon-theme "'Gnome-human'"
# カーソル
dconf write /org/gnome/desktop/interface/cursor-theme "'DMZ-White'"

そして、「自動起動するアプリケーション」に、コマンドを「 sh 作成したファイルのフルパス 」としたプログラムを追加して再起動する。
と、回避的措置になったりしませんでしょうか。

上記は20秒待ってからdconfコマンドで該当するものを設定するといったことをしています。
時間を長めにしているのは、アップデートで改善されたときに把握しやすいからです。

「グローバルダークテーマ」はdconfではなく別のファイル「~/.config/gtk-3.0/settings.ini」に書き込まれますので、これが絡んでいるとどうにもならないかもです(私が知らないだけかもですが)。


launchpadのバグ報告は、私ではうまく探せそうにないので、探していません(汗)

オフライン

 

#6 2014-05-05 23:11:35

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

Templer による投稿:

「ログイン時に設定が反映されなくても再設定すればその場で即反映される」という状況でしょうか?

であれば、下記内容の適当なファイルを作る。

コード:

#!/bin/sh
sleep 20

# ウィンドウ
dconf write /org/gnome/desktop/wm/preferences/theme "'Radiance'"
# GTK+ 
dconf write /org/gnome/desktop/interface/gtk-theme "'Radiance'"
# アイコン
dconf write /org/gnome/desktop/interface/icon-theme "'Gnome-human'"
# カーソル
dconf write /org/gnome/desktop/interface/cursor-theme "'DMZ-White'"

そして、「自動起動するアプリケーション」に、コマンドを「 sh 作成したファイルのフルパス 」としたプログラムを追加して再起動する。
と、回避的措置になったりしませんでしょうか。

上記は20秒待ってからdconfコマンドで該当するものを設定するといったことをしています。
時間を長めにしているのは、アップデートで改善されたときに把握しやすいからです。

「グローバルダークテーマ」はdconfではなく別のファイル「~/.config/gtk-3.0/settings.ini」に書き込まれますので、これが絡んでいるとどうにもならないかもです(私が知らないだけかもですが)。


launchpadのバグ報告は、私ではうまく探せそうにないので、探していません(汗)

お忙しいなかありがとうございます。
ログイン後 デフォルトの設定のまま
tweak-toolで設定してもすぐ設定は反映されず、ログアウト->再度ログインすると反映される状況です。
上記教えていただいたシェルスクリプトも設定してみましたが初回ログイン時は反映せず->再度ログインすると反映される
という状況でした。

オフライン

 

#7 2014-05-06 08:48:46

Templer
メンバ
登録日: 2009-07-08

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

失礼しました。#1に「設定してもログインし直さないと反映されない」と書いてありましたね。

仕切りなおします。
といっても、私のところではその現象は発生しないんですよね。ですが、起動時にはならないのですが、同じと思われる状態を再現することはできました。

もしかしたらなんですが、起動時にunity-settings-daemonが落ちていませんでしょうか。
(「~/.xsession-errors」にunity-settings-daemonが吐いたであろう記録があったりしませんでしょうか。ありましたら、そのメッセージでネット検索してみてください)

このunity-settings-daemonがテーマなどの設定を担っているので、「killall unity-settings-daemon」を実行してプロセスを落としてみたところ、初期値の設定と思われる別のテーマで再描画されるのを確認できました。このプログラムは落ちても自動的に再起動するように仕組まれているのですが、再起動後では設定が反映されないようです。

それで、その状態から回復させるにはどうすれば良いのかと試したところ、Compizを再起動させれば正しく表示されるようです。「Alt + F2」キーでコマンドランチャーを開いて以下を実行してみてください。そちらではどうでしょうか。

コード:

compiz --replace

ただ、これで凌げたとしても根本的なところが原因不明のままなんですよね。
OSの起動後、初回ログイン時にダメというのは私にはちょっと原因を想像することもできません。

オフライン

 

#8 2014-05-06 09:13:10

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

Templer による投稿:

失礼しました。#1に「設定してもログインし直さないと反映されない」と書いてありましたね。

仕切りなおします。
といっても、私のところではその現象は発生しないんですよね。ですが、起動時にはならないのですが、同じと思われる状態を再現することはできました。

もしかしたらなんですが、起動時にunity-settings-daemonが落ちていませんでしょうか。
(「~/.xsession-errors」にunity-settings-daemonが吐いたであろう記録があったりしませんでしょうか。ありましたら、そのメッセージでネット検索してみてください)

このunity-settings-daemonがテーマなどの設定を担っているので、「killall unity-settings-daemon」を実行してプロセスを落としてみたところ、初期値の設定と思われる別のテーマで再描画されるのを確認できました。このプログラムは落ちても自動的に再起動するように仕組まれているのですが、再起動後では設定が反映されないようです。

それで、その状態から回復させるにはどうすれば良いのかと試したところ、Compizを再起動させれば正しく表示されるようです。「Alt + F2」キーでコマンドランチャーを開いて以下を実行してみてください。そちらではどうでしょうか。

コード:

compiz --replace

ただ、これで凌げたとしても根本的なところが原因不明のままなんですよね。
OSの起動後、初回ログイン時にダメというのは私にはちょっと原因を想像することもできません。

ありがとうございます。
~/.xsession-errors をみたら
run_im で起動される fcitx 用のスクリプト。
と書いてありました。

関係無いですかね?

オフライン

 

#9 2014-05-06 09:41:00

Templer
メンバ
登録日: 2009-07-08

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

はい。
それは、im-config(インプットメソッドの起動処理を担っているプログラム)によるメッセージで、正常な環境でも吐かれているものですので関係ないはずです。

オフライン

 

#10 2014-05-06 16:31:47

Templer
メンバ
登録日: 2009-07-08

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

すみません。ログの確認は「~/.cache/upstart/」配下にある「unity-settings-daemon.log」や「gnome-session-Unity.log」辺りも見たほうが良さそうです。(この問題に関係しそうなgnome-sessionやunity-settings-daemonは、ユーザーセッションモードなupstartで起動されているので、ログが独立しているようです)。
これらを不具合時、正常時で比較してみるのが良さそうです。

オフライン

 

#11 2014-05-06 18:22:30

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

Templer による投稿:

すみません。ログの確認は「~/.cache/upstart/」配下にある「unity-settings-daemon.log」や「gnome-session-Unity.log」辺りも見たほうが良さそうです。(この問題に関係しそうなgnome-sessionやunity-settings-daemonは、ユーザーセッションモードなupstartで起動されているので、ログが独立しているようです)。
これらを不具合時、正常時で比較してみるのが良さそうです。

お忙しい中お付き合いいただきありがとうございます。
上記見てみました。

上手く行ってる時(起動からログインまで数分待った)
$ gedit gnome-session-Unity.log
WARN  2014-05-06 18:02:53 unity.iconloader IconLoader.cpp:755 Unable to load icon file:/// at size -1x22: ディレクトリをオープンできません
WARN  2014-05-06 18:03:03 unity.iconloader IconLoader.cpp:755 Unable to load icon file:///usr/share/unity/6/album_missing.png at size 96x96: ファイルをオープンする際にエラー: そのようなファイルやディレクトリはありません

(process:2682): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(gnome-terminal:2870): GLib-GIO-CRITICAL **: g_settings_get: the format string may not contain '&' (key 'monospace-font-name' from schema 'org.gnome.desktop.interface'). This call will probably stop working with a future version of glib.
ERROR 2014-05-06 18:06:27 unity_is_valid (res, icon) <unknown>:0 gdk_pixbuf_composite: assertion 'dest_y >= 0 && dest_y + dest_height <= dest->height' failed

unity-settings-daemon.log という名前のものはなし。
unity-settings-daemon.log.1.gz
unity-settings-daemon.log.2.gz
unity-settings-daemon.log.3.gz
unity-settings-daemon.log.4.gz
unity-settings-daemon.log.5.gz
unity-settings-daemon.log.6.gz
unity-settings-daemon.log.7.gz
というのがあり

上手く行ってない時(起動してからあまり間を置かないでログイン)
$ gedit gnome-session-Unity.log
WARN  2014-05-06 18:02:53 unity.iconloader IconLoader.cpp:755 Unable to load icon file:/// at size -1x22: ディレクトリをオープンできません
WARN  2014-05-06 18:03:03 unity.iconloader IconLoader.cpp:755 Unable to load icon file:///usr/share/unity/6/album_missing.png at size 96x96: ファイルをオープンする際にエラー: そのようなファイルやディレクトリはありません

(process:2682): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(gnome-terminal:2870): GLib-GIO-CRITICAL **: g_settings_get: the format string may not contain '&' (key 'monospace-font-name' from schema 'org.gnome.desktop.interface'). This call will probably stop working with a future version of glib.
ERROR 2014-05-06 18:06:27 unity_is_valid (res, icon) <unknown>:0 gdk_pixbuf_composite: assertion 'dest_y >= 0 && dest_y + dest_height <= dest->height' failed
PluralForm.jsm: Index #1 of '複数 (#1) のタブを閉じようとしています。すべてのタブを閉じてよろしいですか?' for value 2 is invalid -- plural rule #1; called by warnAboutClosingTabs
NOTE: child process received `Goodbye', closing down
WARN  2014-05-06 18:11:31 unity.iconloader IconLoader.cpp:262 Unable to load icon . GThemedIcon application-octet-stream application-x-generic at size 64

(process:3069): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
gnome-session[1943]: WARNING: Client '/org/gnome/SessionManager/Client3' failed to reply before timeout

(nautilus:2169): GLib-CRITICAL **: Source ID 278 was not found when attempting to remove it

(nautilus:2169): GLib-CRITICAL **: Source ID 279 was not found when attempting to remove it

(nautilus:2169): GLib-CRITICAL **: Source ID 280 was not found when attempting to remove it
gnome-session[1943]: Gdk-WARNING: gnome-session: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.

WARN  2014-05-06 18:12:03 unityname: "%s" <unknown>:0 compiz: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.

GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Rmjd9U
GPG_AGENT_INFO=/run/user/1000/keyring-Rmjd9U/gpg:0:1
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Rmjd9U
GPG_AGENT_INFO=/run/user/1000/keyring-Rmjd9U/gpg:0:1
SSH_AUTH_SOCK=/run/user/1000/keyring-Rmjd9U/ssh
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Rmjd9U
GPG_AGENT_INFO=/run/user/1000/keyring-Rmjd9U/gpg:0:1
SSH_AUTH_SOCK=/run/user/1000/keyring-Rmjd9U/ssh
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Rmjd9U
GPG_AGENT_INFO=/run/user/1000/keyring-Rmjd9U/gpg:0:1
SSH_AUTH_SOCK=/run/user/1000/keyring-Rmjd9U/ssh
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : unity

(process:2012): indicator-application-service-WARNING **: Unable to get watcher name 'org.kde.StatusNotifierWatcher'

(process:2012): indicator-application-service-WARNING **: Name Lost
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite

** (process:2038): CRITICAL **: bluez.vala:104: GDBus.Error:org.bluez.Error.NoSuchAdapter: No such adapter
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Unity is not supported by your hardware. Enabling software rendering instead (slow).
compiz (core) - Info: Unity is not supported by your hardware. Enabling software rendering instead (slow).
compiz (core) - Info: Starting plugin: opengl
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: grid
compiz (core) - Info: Starting plugin: grid
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
I/O warning : failed to load external entity "/home/takashi/.compiz/session/10a13f43fe033ff2a139936759534212700000017640001"
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: wall
compiz (core) - Info: Starting plugin: wall
compiz (core) - Info: Loading plugin: unitymtgrabhandles
Initializing nautilus-dropbox 1.6.1
compiz (core) - Info: Starting plugin: unitymtgrabhandles
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: unityshell
Starting Dropbox...compiz (core) - Info: Starting plugin: unityshell
WARN  2014-05-06 18:13:25 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
ERROR 2014-05-06 18:13:27 unity.debug.interface DebugDBusInterface.cpp:196 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: 共有オブジェクトファイルを開けません: そのようなファイルやディレクトリはありません
WARN  2014-05-06 18:13:29 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'com.canonical.Unity.Launcher' yet as we don't have a connection, waiting for it...
WARN  2014-05-06 18:13:30 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'com.canonical.Unity.Dash' yet as we don't have a connection, waiting for it...
WARN  2014-05-06 18:13:30 nux.inputmethod.ibus InputMethodIBus.cpp:63 Impossible to connect to connect to ibus
WARN  2014-05-06 18:13:30 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.SessionManager.EndSessionDialog' yet as we don't have a connection, waiting for it...
WARN  2014-05-06 18:13:30 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'com.canonical.Unity.Session' yet as we don't have a connection, waiting for it...
WARN  2014-05-06 18:13:30 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.ScreenSaver' yet as we don't have a connection, waiting for it...
ERROR 2014-05-06 18:13:33 unity.glib.dbus.server GLibDBusServer.cpp:524 DBus name lost 'org.gnome.Shell'
ERROR 2014-05-06 18:13:33 unity.glib.dbus.server GLibDBusServer.cpp:524 DBus name lost 'com.canonical.Unity'
Done!

(zeitgeist-datahub:2268): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(zeitgeist-datahub:2268): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(nm-applet:2039): nm-applet-WARNING **: Could not find ShellVersion property on org.gnome.Shell after 5 tries
/bin/sh: 1: ubuntuone-launch: not found
WARN  2014-05-06 18:13:48 nux.inputmethod.ibus InputMethodIBus.cpp:63 Impossible to connect to connect to ibus
WARN  2014-05-06 18:13:48 unity{?*} <unknown>:0 protocol-scope-discovery.vala:542: Number of elements of OptionIDs doesn't match OptionNames (14 vs 28)
WARN  2014-05-06 18:13:51 unity.dash.view DashView.cpp:1263 Search failed  ''=> Timed out waiting for scope proxy connection
WARN  2014-05-06 18:13:51 unity.dash.scopeproxy ScopeProxy.cpp:516 Could not search '' on home.scope => Timed out waiting for scope proxy connection
WARN  2014-05-06 18:13:52 unity.iconloader IconLoader.cpp:755 Unable to load icon file:/// at size -1x22: ディレクトリをオープンできません
WARN  2014-05-06 18:14:05 unity.iconloader IconLoader.cpp:755 Unable to load icon file:///usr/share/unity/6/album_missing.png at size 96x96: ファイルをオープンする際にエラー: そのようなファイルやディレクトリはありません
WARN  2014-05-06 18:14:46 unity.iconloader IconLoader.cpp:755 Unable to load icon file:///usr/share/unity/6/album_missing.png at size 96x96: ファイルをオープンする際にエラー: そのようなファイルやディレクトリはありません
WARN  2014-05-06 18:14:47 unity.iconloader IconLoader.cpp:755 Unable to load icon file:///home/takashi/.cache/media-art/album-83ede33e536f30a51b9bca8fd871e7ae.jpg at size 96x96: JPEG 画像ファイル (Application transferred too few scanlines) の解釈でエラー

(gnome-terminal:2571): GLib-GIO-CRITICAL **: g_settings_get: the format string may not contain '&' (key 'monospace-font-name' from schema 'org.gnome.desktop.interface'). This call will probably stop working with a future version of glib.

$ gedit unity-settings-daemon.log

(unity-settings-daemon:1935): Gdk-WARNING **: unity-settings-daemon: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.


(unity-settings-daemon:1756): libupower-glib-WARNING **: Couldn't enumerate devices: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(unity-settings-daemon:1756): power-plugin-WARNING **: failed to get device list: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

オフライン

 

#12 2014-05-06 19:11:29

Templer
メンバ
登録日: 2009-07-08

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

情報ありがとうございます。そして、ごめんなさい。
「上手く行ってる時」に何でunity-settings-daemon.logがないんだろうと思っていたら、ログイン後わりと速いタイミングでログがローテートされるようです。
ですので、ログの収集はローテートが済んでから「*.1.gz」なものを開いて覗いたほうが良さそうです。

オフライン

 

#13 2014-05-06 19:45:24

Templer
メンバ
登録日: 2009-07-08

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

度々申し訳ありません。
できましたら、最初のログのローテートが済んだら即再起動もしくはログアウトをしていただけますでしょうか。
というのは、暫くログインしていた環境ですとその時のログが残った状態になってしまい、読みにくくなってしまいそうなのです。つまり、古いログに新しいログが追記されるという形になってしまうのです。

オフライン

 

#14 2014-05-06 22:39:24

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

了解です、ご指導ありがとうございます。
今日は眠くなったので明日以降時間見つけてやってみます。

オフライン

 

#15 2014-05-07 19:48:13

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

Templer による投稿:

度々申し訳ありません。
できましたら、最初のログのローテートが済んだら即再起動もしくはログアウトをしていただけますでしょうか。
というのは、暫くログインしていた環境ですとその時のログが残った状態になってしまい、読みにくくなってしまいそうなのです。つまり、古いログに新しいログが追記されるという形になってしまうのです。

再度ログを取ってみました。

上手く行ってる時
$ gedit .cache/upstart/gnome-session-Unity.log
(process:2679): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
WARN  2014-05-07 05:57:06 unity.iconloader IconLoader.cpp:262 Unable to load icon jockey at size 64
WARN  2014-05-07 05:57:08 unity.iconloader IconLoader.cpp:755 Unable to load icon file:///usr/share/icons/unity-icon-theme/places/svg/result-reference.svg at size 96x96: ファイルをオープンする際にエラー: そのようなファイルやディレクトリはありません

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0070780.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0100783.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0140787.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0010774.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0020775.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0030776.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0040777.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0050778.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0060779.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0080781.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0090782.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0130786.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0110784.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0120785.JPG" was not found, exec: plugin-container, mime_type: image/jpeg
WARN  2014-05-07 05:58:09 unity.iconloader IconLoader.cpp:755 Unable to load icon file:///usr/share/unity/6/album_missing.png at size 96x96: ファイルをオープンする際にエラー: そのようなファイルやディレクトリはありません
WARN  2014-05-07 05:58:09 unity.iconloader IconLoader.cpp:755 Unable to load icon file:///home/takashi/.cache/media-art/album-83ede33e536f30a51b9bca8fd871e7ae.jpg at size 96x96: JPEG 画像ファイル (Application transferred too few scanlines) の解釈でエラー

(gnome-terminal:2948): GLib-GIO-CRITICAL **: g_settings_get: the format string may not contain '&' (key 'monospace-font-name' from schema 'org.gnome.desktop.interface'). This call will probably stop working with a future version of glib.

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0070780.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0100783.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0140787.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0010774.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0020775.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0030776.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0040777.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0050778.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0060779.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0080781.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0090782.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0130786.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0110784.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2433): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0120785.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

$ gedit .cache/upstart/unity-settings-daemon.log 
ファイルなし

上手く行ってない時
$ gedit .cache/upstart/gnome-session-Unity.log
WARN  2014-05-07 19:28:36 unity.iconloader IconLoader.cpp:262 Unable to load icon . GThemedIcon application-octet-stream application-x-generic at size 64

(process:2668): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: 許可がありません
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: 許可がありません
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: 許可がありません

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0070780.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0100783.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0140787.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0010774.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0020775.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0030776.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0040777.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0050778.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0060779.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0080781.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0090782.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0130786.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0110784.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0120785.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0070780.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0100783.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0140787.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0010774.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0020775.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0030776.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0040777.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0050778.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0060779.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0080781.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0090782.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0130786.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0110784.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0120785.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0070780.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0100783.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

** (zeitgeist-datahub:2415): WARNING **: recent-manager-provider.vala:132: Desktop file for "file:///media/takashi/green_hornet/Pictures/2014/05/05/S0140787.JPG" was not found, exec: plugin-container, mime_type: image/jpeg

$ gedit .cache/upstart/unity-settings-daemon.log
(unity-settings-daemon:1969): Gdk-WARNING **: unity-settings-daemon: Fatal IO error 11 (リソースが一時的に利用できません) on X server :0.


(unity-settings-daemon:1810): libupower-glib-WARNING **: Couldn't enumerate devices: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(unity-settings-daemon:1810): power-plugin-WARNING **: failed to get device list: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

以上です。
長くてすみません。

オフライン

 

#16 2014-05-09 18:22:13

Templer
メンバ
登録日: 2009-07-08

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

情報ありがとうございます。が、またやってしまいました。
私の#12と#13の説明がまったくもってなっていないために、投稿いただいたログの情報が(gnome-session-Unity.logの内容とgeditで開いているところからも)私の期待した情報ではなさそうです。大変申し訳ありませんでした。

このログのとり方ですが、そのままではきちんと綺麗に取るのがなかなか難しいので、以下の下準備をしてから収集作業をしてください。

「/usr/share/upstart/sessions」ディレクトリーにある「gnome-session.conf」と「unity-settings-daemon.conf」ファイルを「~/.config/upstart」ディレクトリーにコピーして、それぞれを以下のように編集してください。

gnome-session.confファイルのほうは、

コード:

script
unset UPSTART_EVENTS UPSTART_INSTANCE UPSTART_JOB
exec gnome-session --session=$DESKTOP_SESSION
end script

となっているのを、以下のように「echo」コマンドの行を追加してください。

コード:

script
unset UPSTART_EVENTS UPSTART_INSTANCE UPSTART_JOB
echo "--- start log ---\n" > ~/.cache/upstart/gnome-session${XDG_CURRENT_DESKTOP:+-$XDG_CURRENT_DESKTOP}.log
exec gnome-session --session=$DESKTOP_SESSION
end script

unity-settings-daemon.confファイルのほうは、

コード:

respawn
exec /usr/lib/unity-settings-daemon/unity-settings-daemon

となっているのを、こちらも同じ要領でechoコマンドの行を追加するのですが、追加しただけだとunity-settings-daemonが起動しなくなってしまいますので「script」「end script」で括ってください。

コード:

respawn
script
echo "--- start log ---\n" > ~/.cache/upstart/unity-settings-daemon.log
exec /usr/lib/unity-settings-daemon/unity-settings-daemon
end script

これで、ログイン時に必ず「--- start log ---」と書かれただけのログファイルが作成されますので、サービス起動時からの記録を収集しやすくなります。

ログの収集は、ログイン後2、3分ほど経ってから(つまりログのローテートが済んでから)収集してください。
収集時に、「ログファイルがない」とか「ファイルが『--- start log ---』で始まっていない」とかの場合はログがローテートされて移されてますので、「*.1.gz」のほうをログの先頭としてつなげてください。私のこの方法ではログの先頭は常に「--- start log ---」となっています。

ログの確認が不要になったら、このコピーしたupstartのファイルは不要ですので削除してください。このファイルがいつまでも残っているのはよろしくありません。

オフライン

 

#17 2014-05-09 18:32:24

Templer
メンバ
登録日: 2009-07-08

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

と、ログの取得方法を書きましたがそちらは後回しにして、ひとまず以下について教えていただけますでしょうか。

いずれも「上手く行かなかったとき」に確認するものなのですが、「ログイン後、上手く行くと目される時間が経過しないうちに」と「ログイン後、上手く行くと目される時間が経過した後」の2つのタイミングで確認していただけますでしょうか。

1. 設定値そのものはどうか
#1に書かれている「再起動すると元に戻ってしまう」という部分についてなのですが、画面上のテーマだけなのか、設定値そのものも戻っているのかを確認させてください。
「端末」で下記コマンドを実行した出力ではどうでしょうか。

コード:

dconf read /org/gnome/desktop/interface/gtk-theme

確認後、念の為に、gnome-tweak-toolでも確認してみてください。

2. アプリケーションのメニューバー
#1の最初の画像を見ると、メニューバーが昔のスタイルのようにウィンドウ内に入ってしまっているのが確認できますが(「ヘルプ」と出ています)、これは暫く放っておいても変化なしでしょうか?

3. UPower関連の状態
unity-settings-daemonのログに記録されているメッセージが気になるので、以下のコマンドを実行してみて、即出力が返りプロンプトに戻ってくるか確認してみてください。

コード:

upower -e
upower -d

ひとまず、以上の3点です。これを2つのタイミングで確認してください。


で、これが仮に、
 ・設定値は戻っていない
 ・メニューバーは時間が経つと消えて、通常のグローバルメニューになる
ということであれば、unity-settings-daemonの起動が遅れているためにCompizと連携が出来なくなっているということになると思いますので、追加で、#7に書いたCompizを再起動を試してみてください。

オフライン

 

#18 2014-05-09 18:37:18

tshiihara
メンバ
登録日: 2008-07-29

Re: 再起動後gnome-tweak-toolの設定が反映されない 13.10->14.04へアップデート後

細かくありがとうございます。
時間を見つけてチェックしてみます。
ひとまずお礼まで。

オフライン

 

Board footer

Powered by FluxBB