<?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>FreeBSD きがえぼお</title>
	<atom:link href="http://www.andetc.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andetc.net</link>
	<description>個人趣味ページ。後日の自分の為にやったこと都度記録。FreeBSD+Xmingの2台構成。</description>
	<lastBuildDate>Sun, 15 Apr 2012 05:18:13 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Xvnc 接続の際に vnc パスワードを設定する</title>
		<link>http://www.andetc.net/2012/04/xvnc-%e6%8e%a5%e7%b6%9a%e3%81%ae%e9%9a%9b%e3%81%ab-vnc-%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b/</link>
		<comments>http://www.andetc.net/2012/04/xvnc-%e6%8e%a5%e7%b6%9a%e3%81%ae%e9%9a%9b%e3%81%ab-vnc-%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 04:11:19 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Etc...]]></category>
		<category><![CDATA[vnc 接続パスワード]]></category>
		<category><![CDATA[Xvnc]]></category>
		<category><![CDATA[セキュリティ]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=2159</guid>
		<description><![CDATA[Xvnc をインストールして、/etc/inetd で動かす際に vnc パスワード設定したい場合。 vnc 接続の際のパスワード無しの場合は、/etc/inetd.conf に下記のように記述するとして、 vnc590 &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/04/xvnc-%e6%8e%a5%e7%b6%9a%e3%81%ae%e9%9a%9b%e3%81%ab-vnc-%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Xvnc をインストールして、/etc/inetd で動かす際に vnc パスワード設定したい場合。</p>
<p>vnc 接続の際のパスワード無しの場合は、/etc/inetd.conf に下記のように記述するとして、</p>
<blockquote><p>vnc5901    stream    tcp    nowait    nobody    /usr/local/bin/Xvnc    Xvnc -inetd -query localhost -once -geometry 1024×640 &#45;&#45;securitytypes=none</p></blockquote>
<p>vnc 接続の時にパスワードを設定したい場合は、まず適当なディレクトリに vnc パスワードを作成する。今回は、/home/regza/.vnc の中に作ることとしたら、</p>
<blockquote><p>&gt; cd /home/regza/.vnc<br />
&gt; vncpasswd</p></blockquote>
<p>のように、パスワードを作成しておき、/home/regza/.vnc/passwd のパーミッションを変える（参考：644）。</p>
<p>/etc/inetd.conf は、下記のようにする。</p>
<blockquote><p>vnc5901    stream    tcp    nowait    nobody    /usr/local/bin/Xvnc    Xvnc -inetd -query localhost -once -geometry 1024×640 &#45;&#45;securitytypes=VncAuth &#45;&#45;PasswordFile=/home/regza/.vnc/passwd</p></blockquote>
<p>これで、vnc 接続時にパスワードを聞いてくる。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/04/xvnc-%e6%8e%a5%e7%b6%9a%e3%81%ae%e9%9a%9b%e3%81%ab-vnc-%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xrandr マルチディスプレイ</title>
		<link>http://www.andetc.net/2012/03/xrandr-%e3%83%9e%e3%83%ab%e3%83%81%e3%83%87%e3%82%a3%e3%82%b9%e3%83%97%e3%83%ac%e3%82%a4/</link>
		<comments>http://www.andetc.net/2012/03/xrandr-%e3%83%9e%e3%83%ab%e3%83%81%e3%83%87%e3%82%a3%e3%82%b9%e3%83%97%e3%83%ac%e3%82%a4/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 10:04:17 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Etc...]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=2139</guid>
		<description><![CDATA[&#62; xrandr Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1680 VGA connected 1680&#215;1050 &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/03/xrandr-%e3%83%9e%e3%83%ab%e3%83%81%e3%83%87%e3%82%a3%e3%82%b9%e3%83%97%e3%83%ac%e3%82%a4/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<blockquote><p>&gt; xrandr<br />
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1680<br />
VGA connected 1680&#215;1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm<br />
1680&#215;1050      60.0*+<br />
1280&#215;1024      75.0     60.0<br />
1440&#215;900       75.0     59.9<br />
1280&#215;960       60.0<br />
1280&#215;800       59.8<br />
1152&#215;864       75.0<br />
1024&#215;768       75.0     70.1     60.0<br />
832&#215;624        74.6<br />
800&#215;600        72.2     75.0     60.3     56.2<br />
640&#215;480        75.0     72.8     66.7     59.9<br />
720&#215;400        70.1<br />
LVDS connected 1366&#215;768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm<br />
1366&#215;768       59.6*+<br />
1024&#215;768       85.0     75.0     70.1     60.0<br />
832&#215;624        74.6<br />
800&#215;600        85.1     72.2     75.0     60.3     56.2<br />
640&#215;480        85.0     72.8     75.0     59.9<br />
720&#215;400        85.0<br />
640&#215;400        85.1<br />
640&#215;350        85.1</p></blockquote>
<p>と確認しておいてから、</p>
<ul>
<li>VGA 1680&#215;1050</li>
<li>LVDS 1366&#215;768</li>
</ul>
<p>で構成する場合、</p>
<p>単純に次のコマンドを打つとエラーが表示される場合がある。</p>
<blockquote><p>&gt; xrandr &#45;&#45;output VGA &#45; -mode 1680&#215;1050 &#45;&#45;left-of LVDS &#45;&#45;output LVDS &#45;&#45;mode 1366&#215;768<br />
xrandr: screen cannot be larger than 1680&#215;1680 (desired size 3046&#215;1050)</p></blockquote>
<p>２つのディスプレイを左右に並べる合は、仮想的な最大スクリーンサイズが (1680+1366)x1050 になると想定する。</p>
<p style="padding-left: 30px;">(1680+1366)x1050 = <strong>3046</strong>x1050</p>
<p>２つのディスプレイを上下に並べる場合は、仮想的な最大スクリーンサイズが 1680x(1050+768) になる。</p>
<p style="padding-left: 30px;">1680x(1050+768) = 1680x<strong>1818</strong></p>
<p>で、どっちでもいけるようにするならば、それぞれの最大値をとって、<strong>3046</strong>x<strong>1818</strong> 仮想的なスクリーンに、２つのディスプレイを配置することになる。</p>
<p>参照：<a href="http://www.thinkwiki.org/wiki/Xorg_RandR_1.2" target="_blank">Xorg RandR 1.2 &#45; ThinkWiki</a></p>
<p>この値を、/etc/X11/xorg.conf に記述する。</p>
<blockquote><p>Section &#8220;Screen&#8221;<br />
    Identifier &#8220;Screen0&#8243;<br />
    Device     &#8220;Card0&#8243;<br />
    Monitor    &#8220;Monitor0&#8243;<br />
    DefaultDepth    24<br />
    SubSection &#8220;Display&#8221;<br />
        Viewport   0 0<br />
<strong>        Virtual 3046 1818</strong><br />
    EndSubSection<br />
EndSection</p></blockquote>
<p>↑実は、ここで Virtual 3046&#215;1818 と書いてしまうとハマル。 x は不要。</p>
<p>一度、再起動しておいてから、</p>
<blockquote><p>&gt; xrandr &#45;&#45;output VGA &#45;&#45;mode 1680&#215;1050 &#45;&#45;left-of LVDS &#45;&#45;output LVDS &#45;&#45;mode 1366&#215;768</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/03/xrandr-%e3%83%9e%e3%83%ab%e3%83%81%e3%83%87%e3%82%a3%e3%82%b9%e3%83%97%e3%83%ac%e3%82%a4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DELL Inspiron 15R に FreeBSD 9.0 を入れて X11</title>
		<link>http://www.andetc.net/2012/03/dell-inspiron-15r-%e3%81%ab-freebsd-9-0-%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6-x11/</link>
		<comments>http://www.andetc.net/2012/03/dell-inspiron-15r-%e3%81%ab-freebsd-9-0-%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6-x11/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 11:20:45 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[OS Install]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=2135</guid>
		<description><![CDATA[X11 にもずいぶん慣れてきたので、常用しているノートパソコンでデスクトップ環境を作ってみたいと思いながらも、なかなかチャンスが来なかった。なぜなら、Windows 環境を捨ててまで乗り換える気は無いからだ。 ノー トパ &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/03/dell-inspiron-15r-%e3%81%ab-freebsd-9-0-%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6-x11/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>X11 にもずいぶん慣れてきたので、常用しているノートパソコンでデスクトップ環境を作ってみたいと思いながらも、なかなかチャンスが来なかった。なぜなら、Windows 環境を捨ててまで乗り換える気は無いからだ。</p>
<p>ノー トパソコンをもう一台買おうかとも思ったが、うまく FreeBSD が動かせなくて失敗するのもいやだし・・・。さんざん悩んだ末に、SATA の 2.5インチ・ハードディスクを入手して、お試しすることにした。Windows 7 が入っているハードディスクと差し替えて、FreeBSDをインストールしてみようということだ。</p>
<p>さてさて、ハードディスクを交換して、結果、下記の環境で X11 をインストールする。実機は、DELL Inspiron 15R だ。</p>
<ul>
<li>CPU : Intel Core2 Duo 2.53GHz 2.53GHz</li>
<li>RAM : 4GB</li>
<li>HDD : 120GB</li>
<li>OS : FreeBSD 9.0R</li>
</ul>
<p>以下は、インストール手順のメモなヤツ。</p>
<p><strong>1. FreeBSD 9.0R を CD-ROM からサクッとインストール。</strong></p>
<p><a title="FreeBSD 9.0R をインストール" href="http://www.andetc.net/2012/01/freebsd-9-0r-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/" target="_blank">FreeBSD 9.0R をインストール</a></p>
<p><strong>2. xorg をインストール。</strong></p>
<blockquote><p># pkg_add -r xorg</p></blockquote>
<p>/etc/rc.conf に下記を追加。</p>
<blockquote><p>hald_enable=&#8221;YES&#8221;<br />
dbus_enable=&#8221;YES&#8221;</p></blockquote>
<p>xorg.conf 作成。</p>
<blockquote><p># Xorg -configure<br />
# cp xorg.conf.new /etc/X11/xorg.conf</p></blockquote>
<p><strong>3</strong><strong>. xdm をインストール。</strong></p>
<blockquote><p># cd /usr/ports/x11/xdm<br />
# make config-recursive<br />
# make install clean</p></blockquote>
<p>/etc/ttys を変更。</p>
<blockquote><p>#ttyv8  &#8220;/usr/local/bin/xdm -nodaemon&#8221;  xterm   off secure<br />
ttyv8   &#8220;/usr/local/bin/xdm -nodaemon&#8221;  xterm   on secure</p></blockquote>
<p>/usr/local/lib/X11/xdm/Xaccess を変更。</p>
<blockquote><p>#*                                     #any host can get a login window<br />
*                                       #any host can get a login window</p></blockquote>
<p>/usr/local/lib/X11/xdm/xdm-config を変更（後に他PCからXDMCP接続する時のために）。</p>
<blockquote><p>!DisplayManager.requestPort:    0<br />
DisplayManager.requestPort:     177</p></blockquote>
<p><strong>4. Fluxbox インストール。</strong></p>
<blockquote><p># cd /usr/ports/x11-wm/fluxbox<br />
# make config-recursive<br />
# make install clean</p></blockquote>
<p><strong>5. .xsession の編集。</strong></p>
<p>~/.xsession を作成。</p>
<blockquote><p>#!/bin/sh</p>
<p>xterm -geometry 80&#215;25+50+50 &amp;<br />
fluxbox</p></blockquote>
<p><strong>6. キーボード jp106 を設定する。</strong>（参考：<a href="http://www.freebsd.org/doc/ja_JP.eucJP/books/handbook/x-config.html" target="_blank">6.4.2 X11 の設定</a>）</p>
<p>/usr/local/etc/hal/fdi/policy/x11-input.fdi</p>
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;ISO-8859-1&#8243;?&gt;<br />
&lt;deviceinfo version=&#8221;0.2&#8243;&gt;<br />
&lt;device&gt;<br />
&lt;match key=&#8221;info.capabilities&#8221; contains=&#8221;input.keyboard&#8221;&gt;<br />
&lt;merge key=&#8221;input.x11_options.XkbModel&#8221; type=&#8221;string&#8221;&gt;jp106&lt;/merge&gt;<br />
&lt;merge key=&#8221;input.x11_options.XkbLayout&#8221; type=&#8221;string&#8221;&gt;jp&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;<br />
&lt;/deviceinfo&gt;</p></blockquote>
<p><strong>7. firefox36 インストール。</strong></p>
<ul>
<li>Firefox 3.6 は、2012年4月23日にサポートが終了するそうです。</li>
</ul>
<blockquote><p># cd /usr/ports/www/firefox36-i18n<br />
# make config-recursive<br />
# make install clean</p></blockquote>
<p>からの、メニューを日本語化するために、</p>
<p>Firefox を起動して、アドレスバーに about:config をタイプして、表示されるページの general.useragent.locale の値を ja-JP に変更して、Firefox を起動しなおす。</p>
<p>さらに、flush を使う場合は、<a title="Firefox3 と Flash Plugin" href="http://www.andetc.net/2011/12/firefox3-%e3%81%a8-flash-plugin/" target="_blank">Firefox3 と Flash Plugin</a> を参照のこと。</p>
<p><strong>8. scim-anthy をインストール。</strong></p>
<p><a title="scim anthy – 日本語変換" href="http://www.andetc.net/2011/12/scim-anthy-%e6%97%a5%e6%9c%ac%e8%aa%9e%e5%a4%89%e6%8f%9b/" target="_blank">scim anthy &#45; 日本語変換</a></p>
<p><strong>9. 日本語フォントがしっくりこない場合</strong></p>
<p><a title="FONT : msgothic.ttc msmincho.ttc" href="http://www.andetc.net/2012/03/font-msgothic-ttc-msmincho-ttc/" target="_blank">FONT: msgothic.ttc msmincho.ttc</a></p>
<p><strong>10. Sylpheed をインストール。</strong></p>
<p><a title="Sylpheed – メーラー" href="http://www.andetc.net/2012/01/sylpheed-%e3%83%a1%e3%83%bc%e3%83%a9%e3%83%bc/" target="_blank">Sylpheed &#45; メーラー</a></p>
<p>取り急ぎ、ここまで！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/03/dell-inspiron-15r-%e3%81%ab-freebsd-9-0-%e3%82%92%e5%85%a5%e3%82%8c%e3%81%a6-x11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openbox – ウィンドウマネージャ</title>
		<link>http://www.andetc.net/2012/03/openbox-%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3/</link>
		<comments>http://www.andetc.net/2012/03/openbox-%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3/#comments</comments>
		<pubDate>Sat, 17 Mar 2012 11:57:03 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Openbox]]></category>
		<category><![CDATA[.xsession]]></category>
		<category><![CDATA[x11]]></category>
		<category><![CDATA[ウィンドウマネージャ]]></category>
		<category><![CDATA[環境設定]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=2084</guid>
		<description><![CDATA[openbox-3.5.0_1 x11-wm/openbox # cd /usr/ports/x11-wm/openbox # make config-recursive # make install clean で、. &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/03/openbox-%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>openbox-3.5.0_1</p>
<p>x11-wm/openbox</p>
<blockquote><p># cd /usr/ports/x11-wm/openbox<br />
# make config-recursive<br />
# make install clean</p></blockquote>
<p>で、.xsession を作る。ついでに背景色も付けておくか。</p>
<blockquote><p>#!/bin/sh</p>
<p>xterm -geometry 80&#215;25+50+50 &amp;<br />
xsetroot -solid steelblue &amp;<br />
openbox</p></blockquote>
<p>ログインしてみた。</p>
<p><a href="http://www.andetc.net/2012/03/openbox-%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3/20120317_195243_687/" rel="attachment wp-att-2092"><img class="alignnone size-medium wp-image-2092" title="20120317_195243_687" src="http://www.andetc.net/wp-content/uploads/2012/03/20120317_195243_687-300x187.png" alt="" width="300" height="187" /></a> </p>
<p>なんか、サワヤカ～な感じ♪</p>
<p>マウス右クリックのメニューに、Openbox Configuration Manager というのがあるがクリックしても</p>
<blockquote><p>Failed to execute child process &#8220;obconf&#8221; (No such file directroy)</p></blockquote>
<p>とかいう親切なメッセージが表示された。</p>
<p>obconf 試しにインストールしてみる。</p>
<p>&nbsp;</p>
<p>obconf-2.0.3_7</p>
<p>x11-wm/obconf</p>
<blockquote><p># cd /usr/ports/x11-wm/obconf<br />
# make config-recursive<br />
# make install clean</p></blockquote>
<p>で、先ほどと同様に、マウスを右クリックして出てくるメニューから Openbox Configuration Manager を選ぶ。</p>
<p><a href="http://www.andetc.net/2012/03/openbox-%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3/20120317_200014_250/" rel="attachment wp-att-2095"><img class="alignnone size-medium wp-image-2095" title="20120317_200014_250" src="http://www.andetc.net/wp-content/uploads/2012/03/20120317_200014_250-300x187.png" alt="" width="300" height="187" /></a></p>
<p>設定画面が出てきたぞ。ちょっといじってみたら、ウィンドウの色やフォント、それから、仮想デスクトップの設定などなどなどなど、ができるようだ。ウィンドウの色とフォントだけ変更してみた。</p>
<p><a href="http://www.andetc.net/2012/03/openbox-%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3/20120317_202615_828/" rel="attachment wp-att-2098"><img class="alignnone size-medium wp-image-2098" title="20120317_202615_828" src="http://www.andetc.net/wp-content/uploads/2012/03/20120317_202615_828-300x187.png" alt="" width="300" height="187" /></a></p>
<p>背景色は、下記のように別途設定した。</p>
<blockquote><p>&gt; xsetroot -solid khaki</p></blockquote>
<p>&nbsp;</p>
<p>Xming で接続する場合は Alt + Tab が効かないようなので、タスクバーがあると都合がよさそうだ。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/03/openbox-%e3%82%a6%e3%82%a3%e3%83%b3%e3%83%89%e3%82%a6%e3%83%9e%e3%83%8d%e3%83%bc%e3%82%b8%e3%83%a3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox の kldload vboxdrv でエラーが表示されます</title>
		<link>http://www.andetc.net/2012/03/virtualbox-%e3%81%ae-kldload-vboxdrv-%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%81%be%e3%81%99/</link>
		<comments>http://www.andetc.net/2012/03/virtualbox-%e3%81%ae-kldload-vboxdrv-%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%81%be%e3%81%99/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 11:43:09 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Etc...]]></category>
		<category><![CDATA[vboxdrv]]></category>
		<category><![CDATA[vboxnet]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=2074</guid>
		<description><![CDATA[oracle VM VirtualBox Manager 4.1.8_OSE &#160; FreeBSD 9.0 で VirtualBox をインストールして起動したら、アレが表示された。 Kernel driver  &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/03/virtualbox-%e3%81%ae-kldload-vboxdrv-%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%81%be%e3%81%99/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>oracle VM VirtualBox Manager 4.1.8_OSE</p>
<p>&nbsp;</p>
<p>FreeBSD 9.0 で VirtualBox をインストールして起動したら、アレが表示された。</p>
<blockquote><p>Kernel driver not installed (rc=-1908)<br />
Make sure the kernel module has been loaded successfully.</p></blockquote>
<p>あ、そうだ、そうだ、そうだった　⇒　<a title="VirtualBox" href="http://www.andetc.net/2011/12/virtualbox/" target="_blank">VirtualBox インストール編</a></p>
<p>で、</p>
<blockquote><p># kldload vboxdrv.ko</p></blockquote>
<p>としたら、</p>
<blockquote><p>kldload: can&#8217;t load vboxdrv: File exists</p></blockquote>
<p>・・って、あれ？何か間違えたかな？</p>
<blockquote><p># kldconfig -r<br />
/boot/kernel;/boot/modules</p></blockquote>
<p>からの、</p>
<blockquote><p># ls -al /boot/modules/vbox*<br />
-r-xr-xr-x  1 root  wheel  213319  3月 15 13:54 vboxdrv.ko<br />
-r-xr-xr-x  1 root  wheel    8340  3月 15 13:54 vboxnetadp.ko<br />
-r-xr-xr-x  1 root  wheel   22339  3月 15 13:54 vboxnetflt.ko</p></blockquote>
<p>うんむ～。</p>
<p>ログを見てみよう。</p>
<p>/var/log/messages</p>
<blockquote><p>Mar 15 22:21:27 xorg kernel: KLD vboxdrv.ko: depends on kernel &#45; not available or version mismatch</p></blockquote>
<p>解決しないので、ぐぐった。英語のページでは質疑応答があるような・・・と日本語のページにヒントが書かれておりました。</p>
<p>こちら様です　⇒　<a href="http://bompopo.wordpress.com/2010/01/14/virtualbox%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%81%8c%e3%83%ad%e3%83%bc%e3%83%89%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/" target="_blank">VirtualBoxモジュールがロードできない « サーバいじくり雑記</a></p>
<blockquote><p>＞システムとカーネルを最新にしてインストールしたらうまくいきました。</p></blockquote>
<p>ではやってみましょう。</p>
<p><a href="http://www.vdobv.com/freebsd7.1r/os_update_freebsd7.0r_to_7.1r" target="_blank">buildworld &amp; buildkernel &amp; installkernel &amp; installworld</a> を行ってから、再び、どんっ！</p>
<blockquote><p># kldload vboxdrv.ko</p></blockquote>
<p>通った！</p>
<p>※その他参考サイト ⇒ <a href="http://wiki.freebsd.org/VirtualBox" target="_blank">VirtualBox FreeBSD Wiki</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/03/virtualbox-%e3%81%ae-kldload-vboxdrv-%e3%81%a7%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%95%e3%82%8c%e3%81%be%e3%81%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>idesk を使ってデスクトップにアイコンを置く</title>
		<link>http://www.andetc.net/2012/03/idesk-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%ab%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3%e3%82%92%e7%bd%ae%e3%81%8f/</link>
		<comments>http://www.andetc.net/2012/03/idesk-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%ab%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3%e3%82%92%e7%bd%ae%e3%81%8f/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 08:21:03 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Application]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=2024</guid>
		<description><![CDATA[x11/idesk idesk 0.7.5_9 # cd /usr/ports/x11/idesk # make config-recursive # make install clean で、 &#62; idesk と &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/03/idesk-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%ab%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3%e3%82%92%e7%bd%ae%e3%81%8f/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>x11/idesk</p>
<p>idesk 0.7.5_9</p>
<blockquote><p># cd /usr/ports/x11/idesk<br />
# make config-recursive<br />
# make install clean</p></blockquote>
<p>で、</p>
<blockquote><p>&gt; idesk</p></blockquote>
<p>としてみるが、~/.ideskrc が無いよ的なエラーが表示される。しかたがないので、README ファイルを読むことにした。なお、いろいろ試したが、ちょいと面倒な感じだったので結果のみ記載する。</p>
<p>/usr/local/share/doc/idesk/README の中に、何気なくサンプルっぽいのがあるので、これを ~/.ideskrc に転記する。</p>
<blockquote><p>&gt; vi ~/.ideskrc</p></blockquote>
<p>内容は下記のような感じ（一部変更してある）。</p>
<blockquote><p>table Config<br />
  FontName: helvetica<br />
  FontSize: 12<br />
  FontColor: #FFFFFA<br />
  FontNameTip: helvetica<br />
  FontSizeTip: 9<br />
  ForeColorTip: #0000FF<br />
  BackColorTip: #FFFFFF<br />
  PaddingX: 10<br />
  PaddingY: 10<br />
  Transparency: 75<br />
  HighContrast: true<br />
  Locked: false<br />
  Shadow: false<br />
  ShadowColor: #0006FA<br />
  ShadowX: 2<br />
  ShadowY: 2<br />
  SnapShadow: true<br />
  IconSnap: true<br />
  SnapWidth: 10<br />
  SnapHeight: 10<br />
  SnapOrigin: BottomLeft<br />
  SnapShadowTrans: 300<br />
  CaptionOnHover: false<br />
  Bold: true<br />
  ToolTip.FontSize: 11<br />
  ToolTip.FontName: gothic<br />
  ToolTip.ForeColor: #0000FF<br />
  ToolTip.BackColor: #FFFFFF<br />
  ToolTip.CaptionOnHover: false<br />
  ToolTip.CaptionPlacement: Right<br />
  Background.Delay: 0<br />
  Background.File: ~/images/freebsd.png<br />
  Background.Mode: Mirror<br />
  Background.Color: #C2CCFF<br />
end</p>
<p>table Actions<br />
  Lock: control right doubleClk<br />
  Reload: middle doubleClk<br />
  Drag: left hold<br />
  EndDrag: left singleClk<br />
  Execute[0]: left doubleClk<br />
  Execute[1]: right doubleClk<br />
end</p></blockquote>
<p>ここまでで基本的な設定は、終わり。</p>
<p>さらに、</p>
<blockquote><p>&gt; mkdir ~/.idesktop<br />
&gt; mkdir ~/.idesktop/icons</p></blockquote>
<p>としておいて、</p>
<p>デスクトップにアプリケーション起動用のアイコンを追加してみる。</p>
<p>まず、適当なアイコン（ここではファイル名を home.png）を ~/.idesktop/icons に入れる。</p>
<p>なお、今回は、<a href="http://icones.pro/" target="_blank">Icones.pro</a> からアイコン画像を使用させて頂くことにした。</p>
<p>さらに、</p>
<blockquote><p>&gt; vi ~/.idesktop/home.lnk</p></blockquote>
<p>下記のような内容を記述する。じっくり見れば理解できる内容だ。</p>
<blockquote><p>table Icon<br />
  Caption: Home<br />
  CaptionTip: This is my home<br />
  Command: rox ~/<br />
  Icon: /home/regza/.idesktop/icons/home.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 20<br />
end</p></blockquote>
<p>注意点として、Icon: の項目は、~/.idesktop/icons/home.png などのような指定ではエラーが表示されるので、フルパスで記述する必要があるようだ（たぶん）。</p>
<p>一度、動かしてみる。</p>
<p>idesk 起動前の画面。</p>
<p><a href="http://www.andetc.net/2012/03/idesk-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%ab%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3%e3%82%92%e7%bd%ae%e3%81%8f/20120310_155711_609/" rel="attachment wp-att-2034"><img class="alignnone size-medium wp-image-2034" title="20120310_155711_609" src="http://www.andetc.net/wp-content/uploads/2012/03/20120310_155711_609-300x187.png" alt="" width="300" height="187" /></a> </p>
<blockquote><p>&gt; idesk &amp;</p></blockquote>
<p>idesk 起動後の画面。 </p>
<p><a href="http://www.andetc.net/2012/03/idesk-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%ab%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3%e3%82%92%e7%bd%ae%e3%81%8f/20120310_155911_593/" rel="attachment wp-att-2035"><img class="alignnone size-medium wp-image-2035" title="20120310_155911_593" src="http://www.andetc.net/wp-content/uploads/2012/03/20120310_155911_593-300x187.png" alt="" width="300" height="187" /></a></p>
<p>背景画像が変わり、画面の左上にアイコンが表示された。</p>
<p>背景画像を変更したくない場合は、~/.ideskrc の Background.File: を消してしまえばよい。</p>
<p>HOMEアイコンをダブルクリックすると rox が起動する。これは、home.lnk に設定したCommand: によって動作を変更することができる。さらに、画面に表示されているアイコンは自由に移動することができる。動きがヌルヌルするので少し重いようだ。</p>
<p>恒常的に利用するのであれば、.xsession に追記すればよい。</p>
<p>よく使うブラウザやメーラーのアイコンを設置して完了。以下、画面イメージとアイコン設定ファイルを以下に列挙する。だんだんと、画面もそれらしい感じになってきた。</p>
<p><a href="http://www.andetc.net/2012/03/idesk-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%ab%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3%e3%82%92%e7%bd%ae%e3%81%8f/20120310_171621_437/" rel="attachment wp-att-2044"><img class="alignnone size-medium wp-image-2044" title="20120310_171621_437" src="http://www.andetc.net/wp-content/uploads/2012/03/20120310_171621_437-300x187.png" alt="" width="300" height="187" /></a></p>
<p>~/.idesktop/firefox.lnk</p>
<blockquote><p>table Icon<br />
  Caption: FireFox<br />
  CaptionTip: Browser<br />
  Command: firefox3<br />
  Icon: /home/regza/.idesktop/icons/firefox.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 80<br />
end</p></blockquote>
<p>~/.idesktop/chrome.lnk</p>
<blockquote><p>table Icon<br />
  Caption: Chrome<br />
  CaptionTip: Browser<br />
  Command: chrome<br />
  Icon: /home/regza/.idesktop/icons/chrome.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 140<br />
end</p></blockquote>
<p>~/.idesktop/mail.lnk</p>
<blockquote><p>table Icon<br />
  Caption: Mail<br />
  CaptionTip: Sylpheed<br />
  Command: sylpheed<br />
  Icon: /home/regza/.idesktop/icons/mail.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 200<br />
end</p></blockquote>
<p>~/.idesktop/edit.lnk</p>
<blockquote><p>table Icon<br />
  Caption: EDITOR<br />
  CaptionTip: gedit<br />
  Command: gedit<br />
  Icon: /home/regza/.idesktop/icons/edit.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 260<br />
end</p></blockquote>
<p>以降は wine で動かす windows アプリケーションの場合の例</p>
<p>~/.idesktop/teraterm.lnk</p>
<blockquote><p>table Icon<br />
  Caption: TeraTerm<br />
  CaptionTip: TeraTerm<br />
  Command: wine /home/regza/.wine/drive_c/Program\ Files/teraterm/ttermpro.exe<br />
  Icon: /home/regza/.idesktop/icons/teraterm.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 320<br />
end</p></blockquote>
<p>~/.idesktop/pictbear.lnk</p>
<blockquote><p>table Icon<br />
  Caption: PictBear<br />
  CaptionTip: PictBear<br />
  Command: wine /usr/home/regza/.wine/drive_c/Program\ Files/Fenrir\ Inc/PictBear\ Second\ Edition/PictBear.exe<br />
  Icon: /home/regza/.idesktop/icons/pict.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 380<br />
end</p></blockquote>
<p>~/.idesktop/word.lnk</p>
<blockquote><p>table Icon<br />
  Caption: Word<br />
  CaptionTip: MS-Word<br />
  Command: wine /home/regza/.wine/drive_c/Program\ Files/Microsoft\ Office/Office/WINWORD.EXE<br />
  Icon: /home/regza/.idesktop/icons/word.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 440<br />
end</p></blockquote>
<p>~/.idesktop/excel.lnk</p>
<blockquote><p>table Icon<br />
  Caption: Excel<br />
  CaptionTip: MS-Excel<br />
  Command: wine /home/regza/.wine/drive_c/Program\ Files/Microsoft\ Office/Office/EXCEL.EXE<br />
  Icon: /home/regza/.idesktop/icons/excel.png<br />
  Width: 32<br />
  Height: 32<br />
  X: 20<br />
  Y: 500<br />
end</p></blockquote>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/03/idesk-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%83%87%e3%82%b9%e3%82%af%e3%83%88%e3%83%83%e3%83%97%e3%81%ab%e3%82%a2%e3%82%a4%e3%82%b3%e3%83%b3%e3%82%92%e7%bd%ae%e3%81%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FONT : msgothic.ttc msmincho.ttc</title>
		<link>http://www.andetc.net/2012/03/font-msgothic-ttc-msmincho-ttc/</link>
		<comments>http://www.andetc.net/2012/03/font-msgothic-ttc-msmincho-ttc/#comments</comments>
		<pubDate>Sun, 04 Mar 2012 05:50:04 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Etc...]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=2017</guid>
		<description><![CDATA[# mkdir /usr/local/share/font-ms # cd /usr/local/share/font-ms # cp ~/ms*.ttc ./ # mkfontdir # mkfontscale # c &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/03/font-msgothic-ttc-msmincho-ttc/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<blockquote><p># mkdir /usr/local/share/font-ms<br />
# cd /usr/local/share/font-ms<br />
# cp ~/ms*.ttc ./<br />
# mkfontdir<br />
# mkfontscale<br />
# cd /usr/local/share/fonts/TTF<br />
# ln -s /usr/local/share/font-ms/msgothic.ttc msgothic.ttc<br />
# ln -s /usr/local/share/font-ms/msmincho.ttc msmincho.ttc</p></blockquote>
<p> あとは、firefox 等で確認する。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/03/font-msgothic-ttc-msmincho-ttc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ROX-Filer を使ってみる</title>
		<link>http://www.andetc.net/2012/02/rox-filer-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b/</link>
		<comments>http://www.andetc.net/2012/02/rox-filer-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 06:19:47 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[ROX]]></category>
		<category><![CDATA[rox-filer]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=1961</guid>
		<description><![CDATA[今後継続して使っていこうと思っているウィンドウマネージャは、自分の中で使いやすいかなと思っている Fluxbox で落ち着きつつある。ただ、Blackbox 派生のウィンドウマネージャに Openbox などもあるとのこ &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/02/rox-filer-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>今後継続して使っていこうと思っているウィンドウマネージャは、自分の中で使いやすいかなと思っている Fluxbox で落ち着きつつある。ただ、Blackbox 派生のウィンドウマネージャに Openbox などもあるとのことで興味はある。また時間ができたら Openbox も使ってみたいと思う。</p>
<p>さて、今回は、ROX-Filer。</p>
<p>ROX-Filer は、（Gnome や KDE のような）デスクトップ環境である ROX のベースになるファイラーだそうだ。デスクトップ環境としての ROX を試したことは無いが、ROX-Filer はちょいちょい使わせてもらっている。とても使い勝手のよいアプリケーションだと思う。</p>
<p>x11-fm/rox-filer</p>
<p>rox-filer-2.10_2</p>
<blockquote><p># cd /usr/ports/x11-fm/rox-filer<br />
# make config-recursive<br />
# make install clean</p></blockquote>
<p>いままでは、ウィンドウマネージャに FluxBox を使用して、ROX-Filer をファイラーとして使っていた。次のような画面になる。</p>
<blockquote><p>&gt; rox</p></blockquote>
<p><a href="http://www.andetc.net/2012/02/rox-filer-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b/20120205_172344_187/" rel="attachment wp-att-1970"><img class="alignnone size-medium wp-image-1970" title="20120205_172344_187" src="http://www.andetc.net/wp-content/uploads/2012/02/20120205_172344_187-300x187.png" alt="" width="300" height="187" /></a></p>
<p>続いて、画面下部にパネルを表示する。PANE_1 は好きな文字。</p>
<blockquote><p>&gt; rox <span style="font-size: small;">-</span> -bottom=PANEL_1</p></blockquote>
<p><a href="http://www.andetc.net/2012/02/rox-filer-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b/20120205_172606_125/" rel="attachment wp-att-1971"><img class="alignnone size-medium wp-image-1971" title="20120205_172606_125" src="http://www.andetc.net/wp-content/uploads/2012/02/20120205_172606_125-300x187.png" alt="" width="300" height="187" /></a></p>
<p>さらに、ピンボードを表示する。DESK_ICON は好きな文字。</p>
<blockquote><p>&gt; rox <span style="font-size: small;">-</span> -pinboard=DESK_ICON</p></blockquote>
<p><a href="http://www.andetc.net/2012/02/rox-filer-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b/20120205_172719_703/" rel="attachment wp-att-1972"><img class="alignnone size-medium wp-image-1972" title="20120205_172719_703" src="http://www.andetc.net/wp-content/uploads/2012/02/20120205_172719_703-300x187.png" alt="" width="300" height="187" /></a> </p>
<p>なお、この瞬間に背景画像が消えたが、 デスクトップ上を右クリックしてBackdrop を選択し、画像をドラッグ＆ドロップすれば背景画像に設定できる。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/02/rox-filer-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>squid-3.1.16</title>
		<link>http://www.andetc.net/2012/02/squid-3-1-16/</link>
		<comments>http://www.andetc.net/2012/02/squid-3-1-16/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 07:09:55 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Etc...]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=1948</guid>
		<description><![CDATA[ちょっと脱線。squid をインストールするのでメモりながらやる。 www/squid31 # cd /usr/ports/www/squid31 # make config-recursive # make insta &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/02/squid-3-1-16/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>ちょっと脱線。squid をインストールするのでメモりながらやる。</p>
<p>www/squid31</p>
<blockquote><p># cd /usr/ports/www/squid31<br />
# make config-recursive<br />
# make install clean</p></blockquote>
<p>オプションはデフォルトでインストールした。</p>
<blockquote><p>===&gt; post-installation information for squid-3.1.16:</p>
<p>     o You can find the configuration files for this package in the<br />
       directory /usr/local/etc/squid.</p>
<p>     o The default cache directory is /var/squid/.<br />
       The default log directory is /var/log/squid/.</p>
<p>       Note:<br />
       You must initialize new cache directories before you can start<br />
       squid.  Do this by running &#8220;squid -z&#8221; as &#8216;root&#8217; or &#8216;squid&#8217;.<br />
       If your cache directories are already initialized (e.g. after an<br />
       upgrade of squid) you do not need to initialize them again.</p>
<p>     o The default configuration will deny everyone but the local host and<br />
       local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and<br />
       4291 for IPv6 access to the proxy service.  Edit the &#8220;http_access<br />
       allow/deny&#8221; directives in /usr/local/etc/squid/squid.conf<br />
       to suit your needs.</p>
<p>     To enable Squid, set squid_enable=yes in either<br />
     /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid<br />
     Please see /usr/local/etc/rc.d/squid for further details.</p>
<p>     Note:<br />
     If you just updated your Squid installation from an earlier version,<br />
     make sure to check your Squid configuration against the 3.1 default<br />
     configuration file /usr/local/etc/squid/squid.conf.default.<br />
    <br />
     /usr/local/etc/squid/squid.conf.documented is a fully annotated<br />
     configuration file you can consult for further reference.</p>
<p>     Additionally, you should check your configuration by calling<br />
     &#8216;squid -f /path/to/squid.conf -k parse&#8217; before starting Squid.</p>
<p>===&gt;   Compressing manual pages for squid-3.1.16<br />
===&gt;   Registering installation for squid-3.1.16<br />
===&gt; SECURITY REPORT:<br />
      This port has installed the following files which may act as network<br />
      servers and may therefore pose a remote security risk to the system.<br />
/usr/local/libexec/squid/squid_radius_auth<br />
/usr/local/sbin/squid</p>
<p>      This port has installed the following startup scripts which may cause<br />
      these network services to be started at boot time.<br />
/usr/local/etc/rc.d/squid</p>
<p>      If there are vulnerabilities in these programs there may be a security<br />
      risk to the system. FreeBSD makes no guarantee about the security of<br />
      ports included in the Ports Collection. Please type &#8216;make deinstall&#8217;<br />
      to deinstall the port if this is a concern.</p>
<p>      For more information, and contact details about the security<br />
      status of this software, see the following webpage:</p>
<p>http://www.squid-cache.org/</p></blockquote>
<p>とりあえず読みながらやってみる。</p>
<p>ローカル以外からのアクセすは DENY になっているとのこと。</p>
<p>設定ファイルは /usr/local/etc/squid/squid.conf  なので必要に応じて変更。</p>
<blockquote><p>cache_dir ufs /var/squid/cache 1000 16 256</p></blockquote>
<p>で、</p>
<blockquote><p># squid -z</p></blockquote>
<p>これで、/var/squid/cache が作られた。</p>
<p>覚えておく部分のメモ</p>
<blockquote><p>http_port 3128</p></blockquote>
<p>このまま、/etc/rc.conf に追記する。</p>
<blockquote><p>suqid_enable=&#8221;YES&#8221;</p></blockquote>
<p>ここまでは、上記の説明に記載されているとおり。</p>
<p>で、squid を起動してみる。</p>
<blockquote><p>/usr/local/etc/rc.d/squid start</p></blockquote>
<p>OK。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/02/squid-3-1-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fluxbox のスタイルを変更する</title>
		<link>http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/</link>
		<comments>http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 16:12:17 +0000</pubDate>
		<dc:creator>andetc</dc:creator>
				<category><![CDATA[Fluxbox]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[スタイル]]></category>
		<category><![CDATA[壁紙]]></category>
		<category><![CDATA[環境設定]]></category>

		<guid isPermaLink="false">http://www.andetc.net/?p=1877</guid>
		<description><![CDATA[Fluxbox インストール後にはいくつかのスタイルが選べる。 ここでは、zimek_green というスタイルを選んでみた。 右クリックメニューから、Fluxbox menu ⇒ System Styles ⇒ zim &#8230;<p class="read-more"><a href="http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Fluxbox インストール後にはいくつかのスタイルが選べる。</p>
<p><a href="http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/20120201_191742_542/" rel="attachment wp-att-1879"><img class="alignnone size-medium wp-image-1879" title="20120201_191742_542" src="http://www.andetc.net/wp-content/uploads/2012/02/20120201_191742_542-300x187.png" alt="" width="300" height="187" /></a></p>
<p>ここでは、zimek_green というスタイルを選んでみた。</p>
<p>右クリックメニューから、Fluxbox menu ⇒ System Styles ⇒ zimek_green</p>
<p>&nbsp;</p>
<p>そして、再ログインすると次のようなイメージになる。緑茶が飲みたくなったぜ。</p>
<p><a href="http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/20120201_192050_057/" rel="attachment wp-att-1880"><img class="alignnone size-medium wp-image-1880" title="20120201_192050_057" src="http://www.andetc.net/wp-content/uploads/2012/02/20120201_192050_057-300x187.png" alt="" width="300" height="187" /></a></p>
<p>ウィンドウのタイトルバーやツールバーの文字が小さいので、スタイルの定義を変更をしたくなった。こういった場合は、共有のコンフィグファイルを、ユーザディレクトリにコピーしてから変更する。</p>
<blockquote><p># cd ~/.fluxbox<br />
# mkdir styles<br />
# cp -R /usr/local/share/fluxbox/styles/zimek_green styles<br />
# cd styles/zimek_green<br />
# chmod 644 theme.cfg<br />
# vi theme.cfg</p></blockquote>
<p>これで、ユーザスタイルが選択できるようになった。</p>
<p>右クリックメニューから、Fluxbox menu ⇒ User Styles ⇒ zimek_green</p>
<p>&nbsp;</p>
<p>~/.fluxbox/styles/zimek_green/theme.cfg</p>
<p>フォントの種類やフォントのサイズを変更する場合は、次の箇所を編集する。</p>
<blockquote><p>######### FONTS ##########</p>
<p>menu.frame.font:                    sans-9:bold<br />
menu.title.font:                        sans-10:bold<br />
toolbar.clock.font:                    sans-9:bold<br />
toolbar.workspace.font:            sans-10:bold<br />
toolbar.iconbar.focused.font:     sans-8:bold<br />
toolbar.iconbar.unfocused.font:  sans-8<br />
window.font:                            sans-8</p></blockquote>
<p>↓ 例えば、次のように変更。</p>
<blockquote><p>menu.frame.font:                      <span style="color: #ff0000;">Kochi Gothic:style=regular:size=12</span><br />
menu.title.font:                         <span style="color: #ff0000;">Kochi Gothic:style=regular:size=12</span><br />
toolbar.clock.font:                      <span style="color: #ff0000;">Kochi Gothic:style=regular:size=12</span><br />
toolbar.workspace.font:              <span style="color: #ff0000;">Kochi Gothic:style=regular:size=12</span><br />
toolbar.iconbar.focused.font:      <span style="color: #ff0000;">Kochi Gothic:style=regular:size=12</span><br />
toolbar.iconbar.unfocused.font:   <span style="color: #ff0000;">Kochi Gothic:style=regular:size=12</span><br />
window.font:                             <span style="color: #ff0000;">Kochi Gothic:style=regular:size=12</span></p></blockquote>
<p>ちなみに、ここで使用したフォントは japanese/font-kochi 。</p>
<p>設定ファイルを変更したら、画面上でリロードできる。</p>
<p>右クリックメニューから、Fluxbox menu ⇒ Reload config</p>
<p>ここまでの結果は、次のようになった。</p>
<p><a href="http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/20120201_195058_917/" rel="attachment wp-att-1888"><img class="alignnone size-medium wp-image-1888" title="20120201_195058_917" src="http://www.andetc.net/wp-content/uploads/2012/02/20120201_195058_917-300x187.png" alt="" width="300" height="187" /></a></p>
<p>&nbsp;</p>
<p>次に、マウス右クリックによるメニューの行間隔が狭い感じなので、増やしてみた。</p>
<p>~/.fluxbox/styles/zimek_green/theme.cfg</p>
<blockquote><p>########## MENU ###########</p>
<p>menu.bevelWidth:                                                1</p>
<p>menu.itemHeight:                                                <span style="color: #ff0000;">19</span><br />
#menu.titleHeight:                                              21</p></blockquote>
<p>こっちの変更については Reload Config では反映されなかったので、再ログインして、結果次のようなイメージになった。</p>
<p><a href="http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/20120201_195407_464/" rel="attachment wp-att-1891"><img class="alignnone size-medium wp-image-1891" title="20120201_195407_464" src="http://www.andetc.net/wp-content/uploads/2012/02/20120201_195407_464-300x187.png" alt="" width="300" height="187" /></a></p>
<p> 最後に、綺麗な壁紙を貼り付けて、もちろん conky も表示して出来上がり。</p>
<p><a href="http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/20120202_005407_698/" rel="attachment wp-att-1928"><img class="alignnone size-medium wp-image-1928" title="20120202_005407_698" src="http://www.andetc.net/wp-content/uploads/2012/02/20120202_005407_698-300x187.png" alt="" width="300" height="187" /></a></p>
<p>Wallpaper : <a href="http://leon-99.deviantart.com/art/Floral-Wallpaper-Pack-146305186" target="_blank">Floral Wallpaper by leon-99</a></p>
<p>&nbsp;</p>
<p>x11-themes/fluxbox-tenr-styles-pack は、スタイルシートがたくさん入ったパッケージだが、試しにインストールしてみたら大量のスタイルが出てきた。ちょっとびっくり。こわいわっ！笑</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andetc.net/2012/02/fluxbox-%e3%81%ae%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

