tag:blogger.com,1999:blog-29849187330030157462024-02-07T15:32:30.776+09:00Something Like A Blogor something like that...Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.comBlogger188125tag:blogger.com,1999:blog-2984918733003015746.post-19634561236207180832018-06-22T13:16:00.000+09:002018-06-22T13:16:17.667+09:00ThinkPad P50仕事用に新しいノートPCが届いたので、Fedora Atomic Workstation(<a href="https://teamsilverblue.org/" rel="nofollow" target="_blank">Fedora Silverblue</a>)をインストールした。<br />
いろいろ躓いたのでメモ。<br />
<br />
一番大きなプチフリ問題から。<br />
とにかく一瞬固まる。しかも頻繁に。<br />
問題はこれらしい<br />
<br />
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1509294" style="color: #6699cc; font-family: "DejaVu Sans", "Liberation Sans", sans-serif; font-size: 16.25px; font-weight: 700; text-decoration-line: none;">Bug 1509294</a><span style="background-color: #d0d0d0; font-family: "DejaVu Sans", "Liberation Sans", sans-serif; font-size: 16.25px; font-weight: 700;"> -</span><span id="summary_alias_container" style="font-family: "DejaVu Sans", "Liberation Sans", sans-serif; font-size: 16.25px; font-weight: 700;"> <span id="short_desc_nonedit_display">Random freezes with nouveau driver on Lenovo Thinkpad P50</span></span><br />
<br />
対策としてnouveauをblacklist送りにしてintel driverを使った。<br />
今の所平気ぽい。<br />
<br />
これ絡みでgrub.cfgを変更しようとしたら/etc/default/grubは見ないらしい。ここをいじっても反映されない。<br />
変えるにはrpm-ostree ex kargsコマンドを使うらしい。<br />
<br />
https://github.com/projectatomic/rpm-ostree/pull/1013<br />
<br />
最後にSELinux絡み。<br />
ホストになんでもぶっこんで使おうとするといちいちrebootしないといけなくてめんどくさいのでcontainer環境を用意しないといけない。でもhomeをマウントして使いまわそうとするとSELinuxで躓く。permissiveで使うのがよさそう。Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-50651481145618980182017-12-01T21:41:00.000+09:002017-12-01T21:41:44.839+09:00i18n FAD Pune 2017I've joined i18n FAD, Fedora Activity Day in Pune last week, 20th to 22nd November. let me share you all my experience during FAD.<br />
<br />
First day, In the morning, I had some <a href="https://tagoh.fedorapeople.org/FAD_Pune_2017/I18N%20FAD%202017_%20Fonts%20and%20rendering.pdf" target="_blank">presentation</a> for Fonts and Rendering in Fedora, particularly spoke about what we can propose for f28, what we are facing issues around them to share and then try to address in this event as much as possible.<br />
After me, listened on others' talks, Pango contribution experience from Peng Wu, IBus 1.6 plans and emoji demo from Takao Fujiwara-san, ibus-typing-booster and emoji-picker demo from Mike Fabian. also glibc locale stuff from Mike and Rafal Luzynski. nominative vs genitive talk was quite interesting.<br />
After some lunch break, Transtats update from Sundeep Anand and CLI tool demo from Parag Nemade, and Automated Testing and demo from Pravin Satpute and Pooja Yadav. the automated testing for fonts what Pravin proposed is to use hb-shape and compare the result of the analysis. I guess this testing method may works for some purpose but not for some. on the other hand, what Pooja proposed is to compare the result of the actual rendering with OpenCV which is quite opposed approach to that. well, that is to test the input method actually but could be used for rendering too.<br />
Also f27 i18n test day report from Satyabrata Maitra, Bhushan Barve and Sandeep Shedmake. and then Web testing from Vishal.<br />
<br />
Second day, I've taken a look at Font SIG stuff and picked up font packages missing the font information at wiki and posted it at the <a href="https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/ZYNUGILLGQLGRQY5XQJJRYFBVRJYFDUY/" target="_blank">list</a>. I got a lot of feedbacks on it. thanks all.<br />
Aside from that, I've joined discussions about automated testing for fonts and langpacks. even though those topics were discussed in third day too, we didn't have any conclusion yet or still ongoing. so we need to keep working on it.<br />
<br />
Third day, I have helped Parag who submitted a <a href="https://pagure.io/fontpackages/pull-request/1" target="_blank">PR</a> to improve the spec file template for font packages. reviewed and had a comment on it. thanks Parag for his effort. the templates has been up-to-date and improved a lot.<br />
Also proposed an update against it to <a href="https://pagure.io/packaging-committee/issue/728" target="_blank">FPC</a> and updated wiki too.<br />
<br />
For my impression, I think we had more detailed discussions than where we had last time and that was also the purpose of this event. in that sense, we could say the event got an success and should helped a lot for our next step.<br />
<br />
Thank you Parag and Sundeep esspecially for organizing this event! I had very nice experience during visiting Pune because of their helps.Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-76531259718571889472012-12-13T18:31:00.000+09:002012-12-13T18:32:22.903+09:00Goodbye, GitHubAccording to their decision that has been posted at <a href="https://github.com/blog/1302-goodbye-uploads" target="_blank">their blog</a>, I have also decided to move my projects to <a href="https://bitbucket.org/tagoh/" target="_blank">bitbucket.org</a>, which had been hosted at GitHub. bitbucket.org has sufficient features to replace it and provide the upload space too!<br />
<br />
They are encouraging the users to use <a href="http://share.kyleneath.com/captures/ColorSnapper-20121020-135135.png" target="_blank">downloadable source code archives</a> feature, but it doesn't help for the projects that requires autotools and any bootstrap process, because bootstrapped-files won't be usually checked into the repository and doing so is a bad idea. speaking of autotools, they are checking the generated version and runtime version. it's easy to make the downloaded archives unusable.<br />
<br />
Anyway, I'm now happy with bitbucket.org.<br />
<br />Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-44028857829992737732012-11-25T22:04:00.000+09:002012-11-25T22:04:42.714+09:00Bits for cygwin + mintty + MSVC configuration所用でわりとまともに動くcygwin + MSVC環境が必要になったので、将来のハマりどころ回避のためにメモ。<br />
<br />
<br />
<a name='more'></a><h2>
MinTTYの設定</h2>
<div>
いつの間にかデフォルトターミナルがMinTTYに変わってた。そのままcygtermでもよかったんだけど、せっかくなので、いろいろ設定してみた。</div>
<div>
<br /></div>
<div>
cl.exeを使うことを前提にすると変えなきゃいけない箇所は一箇所のみ。右クリック→Options...→Textにある、LocaleとCharacter set。もしくは.minttyrcに次の行を追加する。</div>
<div>
<br /></div>
<blockquote class="tr_bq">
Locale=ja_JP<br />
Charset=SJIS</blockquote>
<h2>
Shellの設定</h2>
<div>
大した話ではなく、.bashrcでも.zshrcでも適当なところに</div>
<div>
<br /></div>
<blockquote class="tr_bq">
export LANG=ja_JP.SJIS</blockquote>
<div>
を入れておく。わりとどうでもいい。</div>
<div>
<br /></div>
<h2>
screenの設定</h2>
<div>
一番最後まで悩んだ。というか、まさかscreenに設定が必要だというところに全く考えがいかなかった。次の設定を.screenrcに入れておけば文字化けしなくなる。</div>
<div>
<br /></div>
<blockquote class="tr_bq">
defkanji SJIS<br />
encoding SJIS SJIS</blockquote>
<h2>
MSVCをコマンドラインから使えるようにする</h2>
<div>
そのままの状態だとエラーが出てまともに使えないので、バッチファイルを書いておくことにした。</div>
<div>
<br /></div>
<blockquote class="tr_bq">
@echo off<br />
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"<br />
C:<br />
cd \cygwin\bin<br />
start mintty.exe -i /Cygwin-Terminal.ico -</blockquote>
<h2>
AutotoolsとMSVC</h2>
<div>
<a href="http://folti.blogs.balabit.com/2009/08/compiling-autoconfmake-projects-under-msvc-part-one/" rel="nofollow" target="_blank">ここ</a>を参考にccclをインストールして</div>
<div>
<br /></div>
<blockquote class="tr_bq">
CC=cccl CFLAGS="--cccl-die-unsupported" CXX=cccl CXXFLAGS="--cccl-die-unsupported" LD=cccl ./configure ....</blockquote>
<div>
<br /></div>
<div>
みたいなことをする。<br />
<br />
以上。<br />
<br /></div>
<div>
<br /></div>
Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-56530126086993594552012-11-24T14:33:00.000+09:002012-11-24T14:33:06.056+09:00How to build with MinGWいつも忘れるのでメモ<div>
<br /></div>
<blockquote class="tr_bq">
$ mingw64-env<br />$ ./configure --host=x86_64-mingw32</blockquote>
<div>
<br /></div>
Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-78185899621760928652012-07-23T19:33:00.002+09:002012-07-23T19:34:52.522+09:00libeasyfc 0.9Well, this article is just to advertise my efforts on <a href="http://tagoh.github.com/libeasyfc/" target="_blank">libeasyfc</a> again. libeasyfc is a library to allow you to add/modify/remove the fontconfig configuration for your preferred fonts.<br />
<div>
<br /></div>
<div>
Currently it has the following features:</div>
<div>
<ul>
<li>Set an alias for sans-serif, serif, monospace, cursive and fantasy per languages.</li>
<li>Enable/Disable hinting, auto-hinting, embedded bitmap and anti-aliasing.</li>
<li>Set/Unset the sub-pixel geometry and the hint style for auto-hinting.</li>
</ul>
<div>
No GUI in this project, but CLI is available as the example code. or you can use <a href="https://github.com/jamesni/fonts-tweak-tool/" target="_blank">fonts-tweak-tool</a> for GUI. modified version for new release of libeasyfc is also available in <a href="https://github.com/tagoh/fonts-tweak-tool/" target="_blank">my github</a>.</div>
</div>
<div>
<br /></div>
<div>
Enjoy!</div>Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-57979261591634700872012-06-25T13:39:00.002+09:002012-06-25T13:39:50.636+09:00Fontconfig in schemeThis is just experimental and wrote it for learning purpose or testing because it may be helpful to consider modifying the data structure for the better matching rules in the future.<div>
<br /></div>
<div>
The code just tries to build the pattern from the configuration as similar as possible, but not trying later process. I mean to match the best font in the system against it, like FcFontMatch() does. so strictly speaking this doesn't work as the language binding in scheme but if anyone wants to try, you could use it perhaps.</div>
<div>
<br /></div>
<div>
The code snippets are available <a href="https://gist.github.com/2986471" rel="nofollow" target="_blank">here</a>.</div>
<div>
<br /></div>
<div>
just to share this with you.</div>Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-90692693314299512772012-02-12T23:59:00.010+09:002012-02-13T15:43:45.277+09:00Birthday何度目かの誕生日にあった出来事。<br />
<br />
<br />
<ul><li>下の子の水疱瘡は進行中</li>
<li>上の子がインフルエンザを患う</li>
<li>上の子が熱性けいれんで救急車に運ばれる</li>
<li>初救急車乗車</li>
</ul><div>いろいろしんどい一日だった。</div>Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-66726275917956659452011-11-23T01:57:00.000+09:002011-11-23T01:57:02.755+09:00SPPUSH for CyanogenMod<i>application/vnd.wap.emn+wbxml</i>なContent TypeのWAP PUSHを受け取った際に、<i>jp.co.nttdocomo.carriermail/.SMSService</i>を呼ぶだけの簡単なアプリを<a href="https://market.android.com/details?id=org.tagoh.android.sms.sppush" target="_blank">マーケット</a>に上げてみた。CM7.2以降じゃないと動きません。理由は<a href="http://review.cyanogenmod.com/#change,10016" target="_blank">このへん</a>。<br />
<br />
FreeXperiaProject系のROMだとFXP046以降で動作します。Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-63113244822481984332011-11-16T19:26:00.000+09:002011-11-16T19:26:45.800+09:00Rendering on Emacs stopped working on GNOME3It happens after "suspending" from Emacs with <b>C-z</b> or evaluating <i>(suspend-frame)</i> or whatever. though it still accepts inputs from the keyboard. and still works fine on KDE say. so the problem may be in GNOME perhaps.<br />
<br />
If you are facing unfortunately, there are the way to be recovered from this situation; try <b>C-x 5 2</b> to make an frame. you will get back the well-rendered window there and <b>C-x 5 1</b> on new frame to get rid of the broken window. it saves you and your modified files.<br />
<br />
To avoid this situation forever, I have decided to have an advice for <i>suspend-frame</i> in my <i>.emacs</i> as a workaround like this:<br />
<br />
<blockquote class="tr_bq">(defadvice suspend-frame (around my-suspend-frame () activate)<br />
(if (y-or-n-p "frame is gonna iconify ")<br />
ad-do-it))</blockquote><div>Enjoy,</div>Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-33551840045077269802011-05-12T23:53:00.000+09:002011-05-14T05:38:24.385+09:00PES-6600<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxHhqkTnRL2GjwyxFirw5T0ByDtksOVI_tW5L5o4A8hd-hNuZ0lmOysmclNTLfxH40D7P3GCj3Gr1_DATGZF4Tv1O-RnicjSsmLjEQ0mr-x2kwYBmG0Rcr-LbOT6qsL5aZvTjUXVDrID-X/s1600/DSC_0023.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="112" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxHhqkTnRL2GjwyxFirw5T0ByDtksOVI_tW5L5o4A8hd-hNuZ0lmOysmclNTLfxH40D7P3GCj3Gr1_DATGZF4Tv1O-RnicjSsmLjEQ0mr-x2kwYBmG0Rcr-LbOT6qsL5aZvTjUXVDrID-X/s200/DSC_0023.jpg" width="200" /></a></div>6600mAhの携帯型バッテリがやっと届いた。ホントは帰省前に届いてほしかったところなんだけども。<br />
<br />
他にも候補はあったけど、決め手は高輝度白色LEDが付いていたこと。試しにつけてみたけど、結構明るい。LED側のスイッチのON/OFFで点灯と点滅を交互に切り替えられる。暗い夜道を歩くなど、有事の際には役に立つかもしれない。<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNMiyC__2W2LSVKTdTK3NjxZG7Dzio8-MfXKsz7Vy6cgUlRIqw1xPDwYxkw5ProFFRVyXaKcupQZ4QOt5rYXIcp5I-kNdoHDCICHtABaQLakekFblrLMTtL2BQ6uctVXnc-tMndSAWMxd6/s1600/DSC_0024.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="112" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNMiyC__2W2LSVKTdTK3NjxZG7Dzio8-MfXKsz7Vy6cgUlRIqw1xPDwYxkw5ProFFRVyXaKcupQZ4QOt5rYXIcp5I-kNdoHDCICHtABaQLakekFblrLMTtL2BQ6uctVXnc-tMndSAWMxd6/s200/DSC_0024.jpg" width="200" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"></div><div><br />
</div>Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-27084861464803919912011-04-20T22:29:00.000+09:002011-04-20T22:29:29.505+09:00mzoneconfドコモの公衆無線LANサービスへ自動ログインするための設定を追加する<a href="https://market.android.com/details?id=org.tagoh.android.wifi.mzoneconf">Androidアプリ</a>を作った。<br />
<br />
<br />
以上。Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-316188997919474712011-03-30T19:55:00.000+09:002011-03-30T19:55:59.967+09:00携帯のメールアドレス変えました何人かの人にはメールでお知らせさせていただきましたが、漏れた方で心当たりのある方はご一報ください。Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-38134988762652772852011-03-20T10:41:00.000+09:002011-03-20T10:41:09.437+09:00昨日の月<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYbolS8NDrN1_GJwPGsBwBPfOjDJemeo618lFkjH739Tds0uULBvxvwxAttSqsNFOBKgDIpDd84R25hsI7gYKIqKsxhEnYAFCuwl6Ti1u3YoSXbZ66LKwsgvu2jwNWha_3VmNw_8dn_8Sq/s1600/DSC_2794.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYbolS8NDrN1_GJwPGsBwBPfOjDJemeo618lFkjH739Tds0uULBvxvwxAttSqsNFOBKgDIpDd84R25hsI7gYKIqKsxhEnYAFCuwl6Ti1u3YoSXbZ66LKwsgvu2jwNWha_3VmNw_8dn_8Sq/s320/DSC_2794.jpg" width="320" /></a></div>Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com1tag:blogger.com,1999:blog-2984918733003015746.post-33295200041281836832011-01-06T17:14:00.000+09:002011-01-06T17:14:01.304+09:00im-chooser 1.4.1 releasedThere aren't so much changes at all. this release supports imsettings-1.0.0.<br />
<br />
For more information about im-chooser, visit <a href="https://fedorahosted.org/im-chooser/wiki/ImChooser">here</a>.Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-17337460392956010882011-01-05T21:23:00.000+09:002011-01-05T21:23:59.331+09:00imsettings 1.0.0 released3 years ago, this project has been branched from im-chooser, GUI frontend to select the input method for desktop use. there has been some dozens of bugs -- even in this release probably but anyway ;) -- being fixed in releases.<br />
Today I'm pleased to announce this release finally, with the support of the majority toolkits/desktops in the opensource world.<br />
<br />
<a name='more'></a>Let me introduce this project a bit for those who don't yet know what imsettings is and how it behaves to determine the input method for you.<br />
<br />
What the input method one want to use would be one of the personal preferences. that shouldn't be limited by the distributions, even though they should select the better one for their default input method. so this is a framework to provide facilities to give you some informations for input methods, switching among them for your preference without restarting your desktop and applications.<br />
<br />
So how imsettings notifies the input method preference to applications? the core technology imsettings relying on is <a href="http://standards.freedesktop.org/xsettings-spec/xsettings-spec-0.5.html">XSETTINGS</a>. as some configuration management daemons on desktops also uses this, imsettings is also sending the input method information through XSETTINGS (indirectly!) to applications. this would mean it doesn't work properly if your desktop doesn't have any XSETTINGS manager such as gnome-settings-daemon. and only one manager instance are permitted in a desktop session. therefore imsettings doesn't behave a manager instance not to interfere its working for other desktop configurations. Fortunately any configurations for desktops are stored in their own configuration system. and they have any way of updating it through APIs. this uses it and notifying the input method preference to applications. for example GConf for GNOME, xfconf for XFCE and so on. also any operations are done through D-Bus. this allows you to switch the input method anytime. you wouldn't mind how to bring up your input method. imsettings do for you according to the configuration file provided describing below.<br />
<br />
Next, how to let imesttings know what input methods are available on your system? this step would be easy. you just need to put a file containing some shell-environment-variable like configurations on the certain place. you can see <a href="http://code.google.com/p/imsettings/wiki/ForInputMethodDevelopersOrDistributors">here</a> for the available parameters or even good to read <a href="https://github.com/tagoh/imsettings/blob/master/README">README</a> file too.<br />
<br />
Any further informations, source code etc are available at http://code.google.com/p/imsettings/.Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-67981711116550515752010-12-21T00:58:00.001+09:002010-12-21T01:03:55.304+09:00Demo: rendering PostScript on HieroglyphIt's been a while to post something on this blog. and I'm demonstrating this second times, but with the different code-base.<br />
I don't have too much words to talk about this yet; This is too simple and too slow, plus may be too bored to have a look. but it should be a big step toward seeing what Hieroglyph is. anyway here is a demo video:<br />
<br />
<iframe class="youtube-player" frameborder="0" height="390" src="http://www.youtube.com/embed/gjjyzIPrWsE" title="YouTube video player" type="text/html" width="480"></iframe><br />
<br />
Note: just uploaded the original ogg video file <a href="https://sites.google.com/a/tagoh.org/portal/junks/out-2.ogv?attredirects=0&d=1">here</a>.Something Like A Bloghttp://www.blogger.com/profile/10401837022774877863noreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-44405483876326278492010-06-25T18:38:00.000+09:002010-06-25T18:38:13.071+09:00A hack to allow editing the charset and the lang in a font on fontconfig<b><span style="font-size: large;">Background</span></b><br />
<br />
fontconfig is scanning a font and gathering the information to see what kind of character sets it's possible to support. being used to pick up the certain font according to a request from a user. having said that all of the fonts doesn't necessarily have certain coverage of the glyphs for certain character sets. so given that missing glyphs are not a big deal or still looks good with a fallback font for them, there should be needs to use such fonts for the certain language anyway.<br />
<br />
<b><span style="font-size: large;">Syntax</span></b><br />
<br />
After this hack, two elements are available. <charset> to update the character sets information a.k.a. FcCharSet and <langset> to update the language coverage information a.k.a. FcLangSet. in either case, the element has to have the language name that is available as orth file in fontconfig but without .orth suffix, as CDATA. it looks like:<br />
<br />
<pre><blockquote><match target="scan">
<test name="family">
<string>HanaMin</string>
</test>
<edit name="charset" mode="assign" binding="strong">
<charset>ja</charset>
</edit>
<edit name="lang" mode="assign" binding="strong">
<langset>ja</langset>
</edit>
</match>
</blockquote></pre><br />
And you have to run fc-cache again to re-generate the fontconfig cache file because the above rule only affects the scan phase. then starting to match HanaMin for serif:lang=ja in this case. which originally has zh-hk, zh-mo and zh-tw coverage.<br />
<br />
<b><span style="font-size: large;">Code</span></b><br />
<br />
See <a href="http://cgit.freedesktop.org/%7Etagoh/fontconfig/commit/?h=lang-modification&id=5d7608ca31fbbfb527b52a6bffc2b6945e9f92d0">private git repo</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-61827001423553064052010-06-01T16:01:00.000+09:002010-06-01T16:01:59.444+09:00How to reset the background on GNOME desktop (with unusual way...)ニッチな需要かもだけど、どうなってんのという感じで。<br />
<br />
背景画像や背景色の変更はGNOME上ではgnome-appearance-propertiesで行う。ここを一度でも変えると個々人の設定として記録される。ディストリビューションによっては毎リリースごとテーマを変えてくるものもあり、新しいバージョン入れた!って気分を味わえなくてつまらないので、これを強制的にリセットする方法を探してみた。<br />
<br />
といってもそんな大した話ではないけど、まずひとつ。<i>/desktop/gnome/background/picture_filename</i>というキーがあって、こいつをクリアすると背景画像がデフォルトのものに戻る。が、しかし、再びgnome-appearance-propertiesを起動すると設定したものへまた戻ってしまう。<br />
で、もうひとつ。<i>$HOME/.gnome2/backgrounds.xml</i>というファイル。ここにも背景画像、背景色に関する情報が記録される。両方消すとデフォルトのものが正しく適用されるようになる。<br />
<br />
おしまい。Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-46013820342351694782010-05-20T21:16:00.002+09:002010-06-22T12:52:54.977+09:00Fedora yum repository for Mozc availableI've just created yum repository metadata for <a href="http://code.google.com/p/mozc/">Mozc</a> on my <a href="http://tagoh.fedorapeople.org/mozc/" tooltip="linkalert-tip">fedorapeople space</a>. you can install the latest package after installing <a href="http://tagoh.fedorapeople.org/mozc/mozc.repo" tooltip="linkalert-tip">mozc.repo</a> file under /etc/yum.repo.d on your system.<br />
<br />
<br />
Currently it contains the binary rpms for i686 and x86_64 only on Fedora 12 and 13. but not for ppc nor ppc64 because unfortunately the build failed.<br />
<br />
For another news, started to include <a href="http://github.com/hidegit/mozc-config" tooltip="linkalert-tip">mozc-config</a> in the package. though I pondered to make another package for that, it was difficult to do so because it requires the build environment of Mozc for header files and static libraries and objects.<br />
<br />
Enjoy,<br />
<br />
<b>[Update: 2010/05/28]:</b> fixed a fail on i386 box to fetch the metadata via yum; sorry for inconvenience.<br />
<b>[Update: 2010/06/22]:</b> fixed the repo file and URL because it has been changed due to the restructure of the package.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-74666308599082613372010-04-05T10:57:00.000+09:002010-04-05T10:57:37.056+09:00WalkmanをLinuxでSonicStage無しに転送する方法メモ。<br />
<br />
<a href="http://mattn.kaoriya.net/software/linux/20071121165107.htm">WalkmanをLinuxでSonicStage無しに転送する方法</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-47223488032601640882010-03-17T14:14:00.011+09:002010-03-17T20:39:43.521+09:00ドリンククーラーオフィスが暑すぎる。買ったドリンクも途端に温くなる。イケてない。ということで、昨日BUY NOWしたブツが早速届いた。昨日の夕方注文して、午前中には届いていたので、予想よりだいぶ早かった。<br /><br />とりあえず箱。<br /><a tooltip="linkalert-tip" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVUHNsM9IKXjhagDj3tsFJuOVyA9bNfK4ZLZCfpcOTG-Ni4x3rXf71QIk_UWH8sTSb6dwWBFIJ7-Qgm81s72PjNKKkjouitNejQ3tvi7bdv4ojdeto2TtAoXVZ6SM6hduNtLr23BN2I1I9/s1600-h/IMAG0008.jpg"><img tooltip="linkalert-tip" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 150px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVUHNsM9IKXjhagDj3tsFJuOVyA9bNfK4ZLZCfpcOTG-Ni4x3rXf71QIk_UWH8sTSb6dwWBFIJ7-Qgm81s72PjNKKkjouitNejQ3tvi7bdv4ojdeto2TtAoXVZ6SM6hduNtLr23BN2I1I9/s200/IMAG0008.jpg" alt="" id="BLOGGER_PHOTO_ID_5449471365131786642" border="0"></a><br />中身。<br /><a tooltip="linkalert-tip" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEnS-WCTfn_mdpqFAB9tq7zEQpnY4e7WZ1YNjkT5QzO1FrkXCPmy2eq4JkXg9KnBT-UKjQEmRq1Cfewgbc_cVgh6icZ2QGGF6qtF0iBPsm48KTMBBgp01aahQMi5qCYH3C12vklCBSW7fS/s1600-h/IMAG0009.jpg"><img tooltip="linkalert-tip" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 150px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEnS-WCTfn_mdpqFAB9tq7zEQpnY4e7WZ1YNjkT5QzO1FrkXCPmy2eq4JkXg9KnBT-UKjQEmRq1Cfewgbc_cVgh6icZ2QGGF6qtF0iBPsm48KTMBBgp01aahQMi5qCYH3C12vklCBSW7fS/s200/IMAG0009.jpg" alt="" id="BLOGGER_PHOTO_ID_5449471607357899490" border="0"></a>保冷の場合はファンが回る。音はほとんど気にならない。ノートPCでちょっと勢いよくファンが回転したぐらいの音か?<br />保温時にはファンは回らないらしい。<br /><a tooltip="linkalert-tip" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivQjtpiBy7DS8F1bBNJp1IwDzdC3TKkdbaSReXgWd_1Mvs-H9Uq5arqjGs7KS8q0lLmy2dFpSEMTb8UejtLpHaeHa6uWc-VwVO8o2eXyWRG8DZ6euqqFViNOVP6Dto19qFFhF6afk6z35K/s1600-h/IMAG0010.jpg"><img tooltip="linkalert-tip" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 150px; height: 200px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivQjtpiBy7DS8F1bBNJp1IwDzdC3TKkdbaSReXgWd_1Mvs-H9Uq5arqjGs7KS8q0lLmy2dFpSEMTb8UejtLpHaeHa6uWc-VwVO8o2eXyWRG8DZ6euqqFViNOVP6Dto19qFFhF6afk6z35K/s200/IMAG0010.jpg" alt="" id="BLOGGER_PHOTO_ID_5449472065639942706" border="0"></a><br /><div style="float: right;"><br /><iframe src="http://rcm-jp.amazon.co.jp/e/cm?lt1=_blank&bc1=000000&IS2=1&npa=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=tagohjp-22&o=9&p=8&l=as1&m=amazon&f=ifr&md=1X69VDGQCMF7Z30FM082&asins=B000FHON24" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe><br /></div><br />サイズは缶が密着するぐらいのサイズ。なので、ちょっと太めのペットボトルなんかはアウト。とりあえずポカリスエットぐらいのサイズは入った。取説には一応、「350ml缶のように、本体内側金属部に接していないと、保温・保冷効果が低い場合があります」と注意書きが書いてあるが、現状では入りさえすれば問題なさそう。<br />缶もペットボトルも冷たい状態を保持しつづけてる。<br />温いものを入れた場合の冷却具合は試していないが、時間をかければいけそうな気もする。まあ保温・保冷目的のガジェットなのであまり期待しない方がいいかもしれない。<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-45823160985947559452010-02-12T20:10:00.003+09:002010-02-12T20:26:39.865+09:00Google Sync for Contacts on WinMoフリガナが消失して全く使い物にならない問題が存在した(する)けど、いくらかよくなったようだ。同期されたりされなかったりすることはあるので、最終的には全コンタクトのフリガナ再入力が必要になるようだけど、何とかなりそう。<div><br /></div><div><ol><li>まず、ActiveSyncで同期するデータに連絡先を含める</li><li>詳細設定から「競合が発生した場合」のオプションを「デバイスのアイテムを保持する」に変更</li><li>同期開始</li><li>フリガナが消えたデータを片っ端から再入力</li><li>再度同期</li></ol><div>一応これで、Google Contactsの各データにカスタムフィールドとしてフリガナが追加される。ただGoogle Contacts側の挙動がちょっとおかしくてWebからカスタムフィールドの追加/編集/削除をしようとしてもうまくいかない(ことがある)。編集は諦めてWinMo側でやった方がよさそう。また、必ずしも全データのフリガナが消えるわけでもないらしく、該当するデータのフリガナはGoogle Contacts側にもない。原因不明。</div><div><br /></div><div>前者の問題はサポートに問い合わせてみたこともあったけど、カスタムフィールドは連絡先へのマッピングがされてません、とかいう意味不明な回答しかもらえなかった。</div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-91732561223555757992010-02-12T20:09:00.000+09:002010-02-12T20:10:24.819+09:00Happy Birthday to meSSIAUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-2984918733003015746.post-27373955761828460642010-01-19T19:41:00.002+09:002010-01-19T19:51:48.022+09:00What a kind of processes bring up at the start up time?メモ。<br /><br /><a tooltip="linkalert-tip" href="http://support.microsoft.com/kb/951820/ja">サスペンド中の Windows Mobile 6 Professional または Windows Mobile 6 Classic で意図せずにデバイスの電源が入ることがある - 自動的に起動するプログラムの一覧</a><br /><br /><blockquote style="border-style: dotted; border-color: gray; background-color: rgb(240, 240, 240);"><br /><span style="font-weight: bold;">プログラム名 :</span> calupd.exe<br /><span style="font-weight: bold;">目的 :</span> 予定の管理<br /><span style="font-weight: bold;">起動時間 :</span> 毎日 0:00。<br />当日の予定が登録されている場合には毎日 0:00 の他に予定の開始時刻の 15 分前、開始時刻、終了時刻の 15 分前、終了時刻の計 4 回にも起動します。<br /><span style="font-weight: bold;">動作 :</span><br />当日の予定の確認を行います。予定時刻が早い順に 2 件分のアラームを設定し、その後の予定の確認およびアラームの設定のため、再度確認プログラムを起動するように設定します。当日に予定があれば開始時刻に 再設定し、当日の予定がない場合には 0:00 に再設定します。<br /><br /><span style="font-weight: bold;">プログラム名 :</span> calnot.exe<br /><span style="font-weight: bold;">目的 :</span> 繰り返し設定がされている予定の管理<br /><span style="font-weight: bold;">起動時間 :</span> 時刻設定から一週間ごとに 0:00。<br /><span style="font-weight: bold;">動作 :</span><br />今後 1 週間以内に登録されている予定および仕事を確認し、指定された時間にアラームを起動するように登録します。<br /><br /><span style="font-weight: bold;">プログラム名 :</span> ceipui.exe<br /><span style="font-weight: bold;">目的 :</span> カスタマ フィードバック画面の表示<br /><span style="font-weight: bold;">起動時間 :</span> カスタマ フィードバックの設定を行っていない場合、初回 ActiveSync 接続時、および接続した 15 分後の計 2 回に起動します。<br /><span style="font-weight: bold;">動作 :</span><br />起動時にユーザーに通知アイコンを表示し、ユーザーが [次へ] を押した場合、 [スタート]、[設定]、[システム]、[カスタマ フィードバック] を順に選択した際に表示されるカスタマ フィードバック画面を表示します。<br /><br /><span style="font-weight: bold;">プログラム名 :</span> enrollnot.exe<br /><span style="font-weight: bold;">目的 :</span> 証明書更新の管理<br /><span style="font-weight: bold;">起動時間 :</span> 毎日 12:00。<br /><span style="font-weight: bold;">動作 :</span><br />更新が必要な証明書があるかを確認します。<br />更新が必要な証明書が確認された場合はユーザーに更新の是非を確認し、ユーザーが更新要求した場合、証明書発行先に接続し、証明書の更新を行います。<br /><br /><span style="font-weight: bold;">プログラム名 :</span> sqmevent.exe<br /><span style="font-weight: bold;">目的 :</span> カスタマ フィードバックの管理<br /><span style="font-weight: bold;">起動時間 :</span> 日付・時刻を設定した時刻に毎日起動<br /><span style="font-weight: bold;">動作 :</span><br />[設定] の [カスタマ フィードバック] を通じて、カスタマ エクスペリエンス向上プログラムに参加している場合、収集したデータを定期的に送信するために必要な処理を行います。<br /></blockquote>Unknownnoreply@blogger.com0