<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hexe19 &#187; Ubuntu Linux</title>
	<atom:link href="http://hexe19.net/tag/ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://hexe19.net</link>
	<description>*scratch*</description>
	<lastBuildDate>Sat, 16 May 2009 03:54:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu 8.04 &#8211; Advanced Desktop Effects Settings &#8211; 移動のキー割り当てがうまくいかない</title>
		<link>http://hexe19.net/2008/10/30/56/ubuntu-804-advanced-desktop-effects-settings-keybinds-doesnt-work/</link>
		<comments>http://hexe19.net/2008/10/30/56/ubuntu-804-advanced-desktop-effects-settings-keybinds-doesnt-work/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 08:28:16 +0000</pubDate>
		<dc:creator>you</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://hexe19.net/?p=56</guid>
		<description><![CDATA[Ubuntu 8.04 上の Compiz 0.7.4 で、あれこれと設定をしていたけど、
ウィンドウ・マネジメント &#8211; 移動 のキー割り当てがうまくいかない。
どういう風にうまくいかないかというと、「割り当て」で、キーボードからのキーバインドを設定しても、
他の設定のように即座に反映されないし、　CompizConfig 設定マネージャを閉じると、設定がクリアされてしまう。
ちなみに、マウスでの操作を割り当てると即座に反映されるし、CompizConfig 設定マネージャを閉じても設定も保持される。
あれこれ調べた結果、設定したキーバインドを保存するところがダメらしいことが分かった。
回避策として、 gconf-editor でなんとかすることに。
gconf-editor を起動する。
% gconf-editor &#038;
/apps/compiz/plugins/put/allscreens/options に移動する。
そこにある、 put_*_key を自分好みに修正する。
今回はしばらく実験するということで、以下のように設定。
put_bottom_key を &#60;Shift&#62;&#60;Control&#62;Down
put_left_key を &#60;Shift&#62;&#60;Control&#62;Left
put_right_key を &#60;Shift&#62;&#60;Control&#62;Right
put_top_key を &#60;Shift&#62;&#60;Control&#62;Up
これで、gconf-editor を閉じれば設定が反映される。
「移動」だから、「move」のところをずっと見てたけど、put だったとは・・・・
追記：
再起動すると設定が消えていたので以下のスクリプトを作成して、
システム&#62;設定&#62;セッション で毎回ログイン後に起動するようにする。

#!/bin/sh
gconftool --type string --set /apps/compiz/plugins/put/allscreens/options/put_top_key         "Up"
gconftool --type string --set /apps/compiz/plugins/put/allscreens/options/put_bottom_key      "Down"
gconftool --type string [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 8.04 上の Compiz 0.7.4 で、あれこれと設定をしていたけど、<br />
ウィンドウ・マネジメント &#8211; 移動 のキー割り当てがうまくいかない。<br />
どういう風にうまくいかないかというと、「割り当て」で、キーボードからのキーバインドを設定しても、<br />
他の設定のように即座に反映されないし、　CompizConfig 設定マネージャを閉じると、設定がクリアされてしまう。</p>
<p>ちなみに、マウスでの操作を割り当てると即座に反映されるし、CompizConfig 設定マネージャを閉じても設定も保持される。</p>
<p>あれこれ調べた結果、設定したキーバインドを保存するところがダメらしいことが分かった。</p>
<p>回避策として、 gconf-editor でなんとかすることに。</p>
<p>gconf-editor を起動する。<br />
<code>% gconf-editor &#038;</code></p>
<p>/apps/compiz/plugins/put/allscreens/options に移動する。<br />
そこにある、 put_*_key を自分好みに修正する。</p>
<p>今回はしばらく実験するということで、以下のように設定。<br />
<strong>put_bottom_key を &lt;Shift&gt;&lt;Control&gt;Down</strong><br />
<strong>put_left_key を &lt;Shift&gt;&lt;Control&gt;Left</strong><br />
<strong>put_right_key を &lt;Shift&gt;&lt;Control&gt;Right</strong><br />
<strong>put_top_key を &lt;Shift&gt;&lt;Control&gt;Up</strong></p>
<p>これで、gconf-editor を閉じれば設定が反映される。</p>
<p>「移動」だから、「move」のところをずっと見てたけど、put だったとは・・・・</p>
<p><strong>追記：</strong><br />
再起動すると設定が消えていたので以下のスクリプトを作成して、<br />
システム&gt;設定&gt;セッション で毎回ログイン後に起動するようにする。</p>
<pre class="code">
#!/bin/sh
gconftool --type string --set /apps/compiz/plugins/put/allscreens/options/put_top_key         "<Shift><Control>Up"
gconftool --type string --set /apps/compiz/plugins/put/allscreens/options/put_bottom_key      "<Shift><Control>Down"
gconftool --type string --set /apps/compiz/plugins/put/allscreens/options/put_left_key        "<Shift><Control>Left"
gconftool --type string --set /apps/compiz/plugins/put/allscreens/options/put_right_key       "<Shift><Control>Right"
</pre>
]]></content:encoded>
			<wfw:commentRss>http://hexe19.net/2008/10/30/56/ubuntu-804-advanced-desktop-effects-settings-keybinds-doesnt-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 8.04 LTS Hardy Heron 豆腐事件</title>
		<link>http://hexe19.net/2008/10/28/55/ubuntu-804-lts-hardy-heron-%e8%b1%86%e8%85%90%e4%ba%8b%e4%bb%b6/</link>
		<comments>http://hexe19.net/2008/10/28/55/ubuntu-804-lts-hardy-heron-%e8%b1%86%e8%85%90%e4%ba%8b%e4%bb%b6/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 16:28:57 +0000</pubDate>
		<dc:creator>you</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://hexe19.net/?p=55</guid>
		<description><![CDATA[Ubuntu 8.04 LTS Hardy Heron をインストールしていろいろカスタマイズして、
使いやすいフォントを模索しつつ、IPA フォントなどをインストールしていた時のこと。
豆腐が現れました・・・・。文字化け・・・。あ・・・・・。
以前 Windows 用に拾ってきた M+ と IPA をミックスしたフォントをインストールした直後くらいに、
Ubuntu を再起動しようとしたら、Ubuntu 終了のダイアログに豆腐が出現。
構わず再起動をしたら、ログイン画面前で、豆腐のみで読めないダイアログが出現。
そのままログインしようとすると X が終了してしまってログインできない・・・・。
ここから数時間、修復するために格闘しました。
一応、直ったのでその手順をメモ。
まず、 Ubuntu を GRUB から (recovery mode) で起動。
Recovery Menu から root   Drop to root shell prompt  を選んで、root でログインする。
startx で、GNOME を起動（言語が English になっているのでエラーメッセージが出ずログインできる）。
起動後に GNOME のメニューから System → Administration → Language Support で、言語サポートを開く。
言語サポートのデフォルトの言語を英語にする。 Default Language → English (United [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 8.04 LTS Hardy Heron をインストールしていろいろカスタマイズして、<br />
使いやすいフォントを模索しつつ、IPA フォントなどをインストールしていた時のこと。<br />
豆腐が現れました・・・・。文字化け・・・。あ・・・・・。</p>
<p>以前 Windows 用に拾ってきた M+ と IPA をミックスしたフォントをインストールした直後くらいに、<br />
Ubuntu を再起動しようとしたら、Ubuntu 終了のダイアログに豆腐が出現。<br />
構わず再起動をしたら、ログイン画面前で、豆腐のみで読めないダイアログが出現。<br />
そのままログインしようとすると X が終了してしまってログインできない・・・・。<br />
ここから数時間、修復するために格闘しました。</p>
<p>一応、直ったのでその手順をメモ。</p>
<p>まず、 Ubuntu を GRUB から (recovery mode) で起動。<br />
Recovery Menu から root   Drop to root shell prompt  を選んで、root でログインする。<br />
startx で、GNOME を起動（言語が English になっているのでエラーメッセージが出ずログインできる）。<br />
起動後に GNOME のメニューから System → Administration → Language Support で、言語サポートを開く。<br />
言語サポートのデフォルトの言語を英語にする。 Default Language → English (United States)<br />
再起動していつもの通り GNOME にログインする（英語モードなので豆腐が発生せずログインできる）。<br />
Ubuntu を日本語化していたので、そのあたりが怪しいと睨んで、日本語環境を再インストールする事に。<br />
<code>% sudo aptitude reinstall language-support-ja</code><br />
インストールしてたつもりが、インストールされていないことになっているので失敗。<br />
（自分でインストールし忘れていたのか、今回の事故で消えていたのかは不明）<br />
しかたがないので、日本語環境をインストール。<br />
<code>% sudo apt-get install ubuntu-desktop-ja</code><br />
System → Administration → Language Support で日本語に戻す。<br />
再起動。（Ubuntu を再起動する時のダイアログが豆腐になっていたけどそのまま再起動してみた）<br />
無事、日本語環境でログインできました！！！</p>
<p>こんな感じ。</p>
<p>英語環境でも、日本語入力できるし、別によかったけど、若干日本語のフォントが崩れていたので直しました。</p>
<p>他の環境で、同じようにして直るかどうかは不明。</p>
<p><del datetime="2008-10-28T04:12:34+00:00">っていうか、8.04 と格闘してる間に、8.10 出てるし・・・・。まあいいや・・・。</del>早とちった。</p>
<p>豆腐は好きだけど、Linux がらみでみる豆腐はもう遠慮願いたいです。</p>
]]></content:encoded>
			<wfw:commentRss>http://hexe19.net/2008/10/28/55/ubuntu-804-lts-hardy-heron-%e8%b1%86%e8%85%90%e4%ba%8b%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
