This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Version | |
version=1 | |
# Component Font Mappings | |
allfonts.droid=-droid-sans-serif-medium-r-normal--*-%d-*-*-p-*-iso10646-1 | |
#allfonts.chinese-cn-iso10646=-arphic-ar-pl-uming-cn-light-r-normal--*-%d-*-*-c-*-iso10646-1 | |
#allfonts.chinese-tw-iso10646=-arphic-ar-pl-uming-tw-light-r-normal--*-%d-*-*-c-*-iso10646-1 | |
#allfonts.chinese-hk-iso10646=-arphic-ar-pl-uming-hk-light-r-normal--*-%d-*-*-c-*-iso10646-1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Filters | |
# | |
filter disks { | |
optical = false | |
partition_table = false | |
usage = filesystem | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These settings were set by the metro build script that automatically built this stage. | |
# Please consult /etc/make.conf.example for a more detailed example. | |
ACCEPT_KEYWORDS="~amd64" | |
#ACCEPT_KEYWORDS="" | |
CHOST="x86_64-pc-linux-gnu" | |
CFLAGS="-march=core2 -O2 -pipe" | |
CXXFLAGS="${CFLAGS}" | |
FEATURES="fixlafiles mini-manifest parallel-fetch -test -stricter" | |
#metadata-transfer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
KVER=$(readlink /usr/src/linux | sed "s/^linux-//g") | |
echo "Creating initrd for kernel version ${KVER}..." | |
FIRMWARE="" | |
for i in $(find /lib/firmware -type f) | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
emerge -pvuND $(cd /var/db/pkg/ && ls -d */* | sed -e 's/\(.*\)-\([0-9\.]\+\).*/\1/') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gentooだと/usr/share/X11/xorg.conf.d/50-synaptics.confに該当箇所があるので、 | |
# そこを以下のように変更。 | |
# | |
# クリックボタンが独立していない最近のThinkpadでも、 | |
# 快適に操作できるように設定してみた。以下の設定以外にも、 | |
# キーボード入力中はタッチパッドが無効になるように、 | |
# syndaemon -i 0.5 -t -K -R | |
# を実行している。私はgnomeの設定画面でチェックを入れているが、 | |
# 他の場所で自分で実行しても問題ない。0.5秒のところを、 | |
# 調整してみるといい。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mozcのキー設定についての備忘録 | |
設定ツールの起動 | |
# /usr/lib64/mozc/mozc_tool --mode=config_dialog | |
私は英語キーボードを使うことが多く、 | |
on/offのトグルは、「Ctrl + \」「Alt + `」に設定している。 | |
キー設定の選択をデフォルト「MS-IME」から「ことえり」に変換。 | |
その後に、編集ボタンを押して、以下の設定を追加。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Lightweight DHCP client daemon on %I | |
Wants=network.target | |
Before=network.target | |
After=systemd-networkd.service | |
[Service] | |
PIDFile=/run/dhcpcd-%I.pid | |
ExecStart=/sbin/dhcpcd -A -q -t 0 %I | |
ExecStop=/sbin/dhcpcd -k %I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Set %i interface in promiscuous mode | |
After=network.target | |
Before=systemd-networkd.service | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/ip link set dev %i promisc on | |
RemainAfterExit=yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[NetDev] | |
Name=br0 | |
Kind=bridge |
OlderNewer