June 22, 2018
ThinkPad P50
いろいろ躓いたのでメモ。
一番大きなプチフリ問題から。
とにかく一瞬固まる。しかも頻繁に。
問題はこれらしい
Bug 1509294 - Random freezes with nouveau driver on Lenovo Thinkpad P50
対策としてnouveauをblacklist送りにしてintel driverを使った。
今の所平気ぽい。
これ絡みでgrub.cfgを変更しようとしたら/etc/default/grubは見ないらしい。ここをいじっても反映されない。
変えるにはrpm-ostree ex kargsコマンドを使うらしい。
https://github.com/projectatomic/rpm-ostree/pull/1013
最後にSELinux絡み。
ホストになんでもぶっこんで使おうとするといちいちrebootしないといけなくてめんどくさいのでcontainer環境を用意しないといけない。でもhomeをマウントして使いまわそうとするとSELinuxで躓く。permissiveで使うのがよさそう。
December 1, 2017
i18n FAD Pune 2017
First day, In the morning, I had some presentation 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.
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.
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.
Also f27 i18n test day report from Satyabrata Maitra, Bhushan Barve and Sandeep Shedmake. and then Web testing from Vishal.
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 list. I got a lot of feedbacks on it. thanks all.
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.
Third day, I have helped Parag who submitted a PR 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.
Also proposed an update against it to FPC and updated wiki too.
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.
Thank you Parag and Sundeep esspecially for organizing this event! I had very nice experience during visiting Pune because of their helps.
November 24, 2012
May 20, 2010
Fedora yum repository for Mozc available
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.
For another news, started to include mozc-config 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.
Enjoy,
[Update: 2010/05/28]: fixed a fail on i386 box to fetch the metadata via yum; sorry for inconvenience.
[Update: 2010/06/22]: fixed the repo file and URL because it has been changed due to the restructure of the package.
January 18, 2010
How to resolve the proprietary NVIDIA driver installation
自分の環境だとこれだけでは不十分で、/etc/modprobe.d/blacklist.confに
blacklist nouveau
を追加で動くようになった。
November 24, 2009
Keyboard layout is being messed up on Fedora 12
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "CoreKeyboard"
Option "XkbLayout" "jp"
Option "Device" "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "CorePointer"
Option "Protocol" "ExplorerPS/2"
Option "EmulateWheel" "true"
Option "EmulateWheelTimeOut" "200"
Option "EmulateWheelButton" "2"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
EndSection
October 9, 2009
paps on Git
June 30, 2009
How to enable fingerprint reader on Fedora 11

Although you could do use the fingerprint reader with thinkfinger package if it supports your device, this is a new feature available since Fedora 11, which is well integrated to the desktop and more convenient.
It's available without taking any actions if you install Fedora 11 freshly. otherwise you just need to install some packages like:
- fprintd
- fprintd-pam
- gdm-plugin-fingerprint


To register your fingerprint, run gnome-about-me or "About Me" from System->Settings at the panel. and click a "Enable Fingerprint Login..." button. follow the wizard to complete the fingerprint registration. you need to place your finger on the reader 3 times to ensure if it reads correctly.
Once the registration is successfully finished, authentications for, such as login, sudo, screensaver and so on will be done through your fingerprint reader device then. pretty easy :)
Enjoy!
June 23, 2009
How to get flyspell-mode back to work
May 7, 2009
How to install Fedora 11 with btrfs
January 7, 2009
Unable to locate the application's 'main' class...
Unable to locate the application's 'main' class. The class 'blahblahblah' must be public and have a 'public static void main(Stri
ng[])' method. (LAX)
with openjdk.
As a result, I have to install libXp.i386 package on my x86_64 box. it's not easy to imagine what's wrong... bah.
December 18, 2008
How to setup your Linux box to access HTC Touch Pro through USB
Basically I've followed steps explained at SynCE site. and have tried on Fedora 10. there are some attentions on the installation process:
- Inputs will be messed up after installing synce-usb-rndis-lite-dkms package until you reboot your machine.
- As mentioned on wiki, you have to add ipaq kernel module to the blacklist.
- may be better disabling SELinux until AVC messages goes away with any updates.
Enjoy,
July 18, 2008
Google bookmark feature on Google Toolbar doesn't work
Cc['@google.com/toolbar/bookmark-wrapper;1'] is undefinedI don't know what happened, What I can tell is this feature worked on Firefox 2. so trying to google it and amazingly there are so many people who is facing the same problem and there are a lot of false alarm about its solution, at least with Firefox 3 or on Fedora 9.
- installing libstdc++.so.5 would helps.
% readelf -d extensions/\{3112ca9c-de6d-4884-a869-9855de68056c\}/components/libgoogletoolbar.so | grep libstdc
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
So this wouldn't help at all.- that works fine after creating new profile.
So I have given up to investigate this issue and just installed GBookmarks add-on. I'm happy with it now.
[Update: 2008-07-22] Google toolbar 3.1.20080605L works fine on Debian sid, but Iceweasel 3.0.1. I'm missing something or something went wrong. I'd believe Firefox and Iceweasel doesn't make so much difference. anyway Google toolbar doesn't work yet on Fedora 9.
[Update: 2009-09-24] I have to update to not let people get confused... Once updating to Google toolbar 5.0.20090823L (I'm not sure which version exactly fix this since but anyway), this feature works fine again on even Firefox 3.5.
June 9, 2008
EmulateWheelが動かない
Section "InputDevice"
Driver "mouse"
Option "EmulateWheel" "true"
...
EndSection
という設定がある。ThinkPadとかでトラックポイントを使ってスクロールさせるための設定なんだけど、Fedora 9で動かなくなった。というのもFedora 9で本来予定されていたxorg.confに何もかかなくても動くように自動でデバイスを認識して〜という機能の副作用みたいなもので、evdevが有効にされてしまうため。他にもキーボードのレイアウトがとか問題も多く、Fedora 10まで延期にされたfeature。
ともあれ、この問題を解決するために以下の行を追加すると動くようになる(参考)。
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
May 2, 2008
chkconfig <service> resetpriorities
# ls /etc/rc0.d
K00httpd K10wine K73ypbind K88nasd
K00sendmail K15gpm K74acpid K88pcscd
K00smartd K20nfs K74kerneloops K88rsyslog
K00snmpd K24irda K74lm_sensors K89dund
K00snmptrapd K25sshd K74nscd K89netplugd
K00xendomains K50bluetooth K75fuse K89pand
K01blktapctrl K50netconsole K75netfs K89rdisc
K01dnsmasq K60crond K75ntpdate K90network
K01NetworkManager K65kadmin K75udev-post K91capi
K01smolt K65kprop K84btseed K91isdn
K01xenconsoled K65krb524 K84bttrack K92ip6tables
K01xend K69krb5kdc K84wpa_supplicant K92iptables
K01xenstored K72rpcsvcgssd K85mdmonitor K95firstboot
K02avahi-daemon K72autofs K85rpcgssd K98qemu
K02haldaemon K72iscsi K85rpcidmapd K99cpuspeed
K03libvirtd K72iscsid K86nfslock K99microcode_ctl
K05anacron K72ldap K87irqbalance S00killall
K05atd K72ntpd K87multipathd S01halt
K05saslauthd K73setroubleshoot K87restorecond
K10cups K73messagebus K87rpcbind
K10psacct K73winbind K88auditd
# ls /etc/rc0.d
K00xendomains K24irda K73ypbind K88auditd
K01blktapctrl K25sshd K74acpid K88nasd
K01dnsmasq K30sendmail K74kerneloops K88pcscd
K01smartd K50bluetooth K74lm_sensors K88rsyslog
K01smolt K50netconsole K74nscd K89dund
K01xenconsoled K50snmpd K75fuse K89netplugd
K01xend K50snmptrapd K75netfs K89pand
K01xenstored K60crond K75ntpdate K89rdisc
K02avahi-daemon K65kadmin K75udev-post K90network
K02haldaemon K65kprop K84btseed K91capi
K03libvirtd K65krb524 K84bttrack K91isdn
K05anacron K65krb5kdc K84wpa_supplicant K92ip6tables
K05atd K69rpcsvcgssd K85mdmonitor K92iptables
K05saslauthd K72autofs K85messagebus K95firstboot
K10cups K72iscsi K85rpcgssd K98qemu
K10psacct K72iscsid K85rpcidmapd K99cpuspeed
K10wine K72ldap K86nfslock K99microcode_ctl
K13hsqldb K72ntpd K87irqbalance S00killall
K15gpm K72setroubleshoot K87multipathd S01halt
K15httpd K73NetworkManager K87restorecond
K20nfs K73winbind K87rpcbind
scriptletではやってくれないらしくて定期的に実行した方がよさそう。
November 30, 2007
Delete key introduces a tilde
bindkey '^[[3~' delete-char
October 3, 2007
mount: could not find filesystem '/dev/root'
これでrootが見つからない問題は回避できたけど、/etc/fstabにはLABEL=/が/だと記述しているので、そのままだとまだ途中でこけるので、メンテナンスモードでログイン。e2labelで確認してみるも、何もラベルは設定されておらず、原因を特定。後はラベルを設定して解決。
# e2label /dev/VolGroup00/LogVol00 /
October 1, 2007
IPAフォント
とりあえずテスト用のrpmパッケージを作ってみたけど、ふと思い出してwikiをチェックしてみたら…
という記述が…。修正不可はFedoraではだめ、というかnon-freeをそもそも受け付けていないので、FedoraにIPAフォントが入ることはなさそう。一応英語のライセンスの返事待ちはするけど、たぶんここにリストアップされるためだけに使われそうな予感。Bad Licenses
This is a list of Font licenses which are NOT OKAY for Fedora. Nothing in Fedora should be using these licenses. They're either non-free, deprecated, or have usage/distribution restrictions.
Full Name
FSF Free?
...
Notes
Literat Font License
NO
...
Cannot modify