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
| /* | |
| The MIT License (MIT) | |
| Copyright (c) 2014-2015 Russel Lindsay | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
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
| resolv-file=/etc/dnsmasq-resolv.conf | |
| server=8.8.8.8 | |
| server=8.8.4.4 | |
| conf-file=/etc/dnsmasq-conf.conf |
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
| # Configuration for resolvconf(8) | |
| # See resolvconf.conf(5) for details | |
| resolv_conf=/etc/resolv.conf | |
| # If you run a local name server, you should uncomment the below line and | |
| # configure your subscribers configuration files below. | |
| name_servers=127.0.0.1 | |
| dnsmasq_conf=/etc/dnsmasq-conf.conf | |
| dnsmasq_resolv=/etc/dnsmasq-resolv.conf |
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
| [Match] | |
| Name=br0 | |
| [Network] |
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
| [Match] | |
| Name=enp1s0 | |
| [Network] | |
| Bridge=br0 |
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 |
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
| [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
| 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
| # Gentooだと/usr/share/X11/xorg.conf.d/50-synaptics.confに該当箇所があるので、 | |
| # そこを以下のように変更。 | |
| # | |
| # クリックボタンが独立していない最近のThinkpadでも、 | |
| # 快適に操作できるように設定してみた。以下の設定以外にも、 | |
| # キーボード入力中はタッチパッドが無効になるように、 | |
| # syndaemon -i 0.5 -t -K -R | |
| # を実行している。私はgnomeの設定画面でチェックを入れているが、 | |
| # 他の場所で自分で実行しても問題ない。0.5秒のところを、 | |
| # 調整してみるといい。 |