rabbit-slide-kenhys-mini-debian-conference-japan-2016 2016.12.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rabbit +1 -0
- data/README.md +24 -0
- data/Rakefile +17 -0
- data/config.yaml +23 -0
- data/images/addons-mozilla.png +0 -0
- data/images/browser-share-2016.png +0 -0
- data/images/chromium-aw-snap.png +0 -0
- data/images/computer_trackpoint_classicdome.png +0 -0
- data/images/computer_trackpoint_softdome.png +0 -0
- data/images/computer_trackpoint_softrim.png +0 -0
- data/images/debsearch.png +0 -0
- data/images/firefox-support-common.png +0 -0
- data/images/iceweasel-branding.png +0 -0
- data/images/irasutoya.png +0 -0
- data/images/popcorn-chromium.png +0 -0
- data/images/popcorn-firefox-esr.png +0 -0
- data/images/popcorn-firefox.png +0 -0
- data/images/popcorn-iceweasel.png +0 -0
- data/images/track-points.png +0 -0
- data/minidebconfjp2016.rab +573 -0
- data/pdf/mini-debian-conference-japan-2016-minidebconfjp2016.pdf +0 -0
- data/theme.rb +1 -0
- metadata +80 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f3dda8aaf93f843b669eb5251fd5aa27887b98c6
|
4
|
+
data.tar.gz: 9ede0d3063d028a83041ffb107ff9064c57df93e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2b777180e3c3016b477af2b48196f9ee3fd9dcdfabc72049d2225b5a3dc19d32ff7e7e08c46aeecc1415c307c1cf24c933a4fde571dc9d8a90c9f2c6e43e69c4
|
7
|
+
data.tar.gz: f77f5a9631c1ecd52a101a00b97603ad0b0d43440ba3455f8855d9213c0c13faaeb81d205b52e9a70f7faecb80d4a80f534f1e2efb6bc0c988458804fcc8d418
|
data/.rabbit
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
minidebconfjp2016.rab
|
data/README.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# DebianでFirefoxをカスタマイズするには
|
2
|
+
|
3
|
+
2016/12/10にサイボウズ株式会社にて開催された[Mini Debian Conference Japan 2016](http://miniconf.debian.or.jp/)の発表資料です。
|
4
|
+
|
5
|
+
## 作者向け
|
6
|
+
|
7
|
+
### 表示
|
8
|
+
|
9
|
+
rake
|
10
|
+
|
11
|
+
### 公開
|
12
|
+
|
13
|
+
rake publish
|
14
|
+
|
15
|
+
## 閲覧者向け
|
16
|
+
|
17
|
+
### インストール
|
18
|
+
|
19
|
+
gem install rabbit-slide-kenhys-mini-debian-conference-japan-2016
|
20
|
+
|
21
|
+
### 表示
|
22
|
+
|
23
|
+
rabbit rabbit-slide-kenhys-mini-debian-conference-japan-2016.gem
|
24
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require "rabbit/task/slide"
|
2
|
+
|
3
|
+
# Edit ./config.yaml to customize meta data
|
4
|
+
|
5
|
+
spec = nil
|
6
|
+
Rabbit::Task::Slide.new do |task|
|
7
|
+
spec = task.spec
|
8
|
+
# spec.files += Dir.glob("doc/**/*.*")
|
9
|
+
# spec.files -= Dir.glob("private/**/*.*")
|
10
|
+
# spec.add_runtime_dependency("YOUR THEME")
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "Tag #{spec.version}"
|
14
|
+
task :tag do
|
15
|
+
sh("git", "tag", "-a", spec.version.to_s, "-m", "Publish #{spec.version}")
|
16
|
+
sh("git", "push", "--tags")
|
17
|
+
end
|
data/config.yaml
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
id: mini-debian-conference-japan-2016
|
3
|
+
base_name: minidebconfjp2016
|
4
|
+
tags:
|
5
|
+
- debian
|
6
|
+
- rabbit
|
7
|
+
- firefox
|
8
|
+
presentation_date: 2016-12-10
|
9
|
+
version: 2016.12.10.1
|
10
|
+
licenses:
|
11
|
+
- CC-BY-SA-4.0
|
12
|
+
slideshare_id: mini-debian-conference-japan-2016
|
13
|
+
speaker_deck_id:
|
14
|
+
ustream_id:
|
15
|
+
vimeo_id:
|
16
|
+
youtube_id:
|
17
|
+
author:
|
18
|
+
markup_language: :rd
|
19
|
+
name: Kentaro Hayashi
|
20
|
+
email: kenhys@gmail.com
|
21
|
+
rubygems_user: kenhys
|
22
|
+
slideshare_user: kenhys
|
23
|
+
speaker_deck_user:
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,573 @@
|
|
1
|
+
= DebianでFirefoxを\nカスタマイズするには
|
2
|
+
|
3
|
+
: subtitle
|
4
|
+
How to customize Firefox on Debian
|
5
|
+
: author
|
6
|
+
Kentaro Hayashi
|
7
|
+
: institution
|
8
|
+
ClearCode Inc.
|
9
|
+
: content-source
|
10
|
+
Mini Debian Conference Japan 2016
|
11
|
+
: date
|
12
|
+
2016-12-10
|
13
|
+
: allotted-time
|
14
|
+
30m
|
15
|
+
: theme
|
16
|
+
.
|
17
|
+
|
18
|
+
= 自己紹介(1)\n(('note:Profile'))
|
19
|
+
|
20
|
+
# image
|
21
|
+
# relative-height = 40
|
22
|
+
# src = https://pbs.twimg.com/profile_images/2290018079/cvcy12slbeva80jboxzf_400x400.png
|
23
|
+
|
24
|
+
* Twitter/GitHub: @kenhys
|
25
|
+
* 所属: ((*トラックポイント・ソフトドーム派*))
|
26
|
+
|
27
|
+
= 自己紹介(2)\n(('note:Profile'))
|
28
|
+
|
29
|
+
# image
|
30
|
+
# relative-height = 60
|
31
|
+
# src = images/track-points.png
|
32
|
+
|
33
|
+
* トラックポイント・ソフトドーム派
|
34
|
+
|
35
|
+
= 参考画像の出典
|
36
|
+
|
37
|
+
# image
|
38
|
+
# relative-height = 80
|
39
|
+
# src = images/irasutoya.png
|
40
|
+
|
41
|
+
* http://www.irasutoya.com/
|
42
|
+
|
43
|
+
= パッケージ関連の活動\n(('note:As a contributor'))
|
44
|
+
|
45
|
+
* groonga (全文検索エンジン)
|
46
|
+
* groonga-normalizer-mysql
|
47
|
+
* libhinawa
|
48
|
+
* fcitx-imlist
|
49
|
+
* hal-flash (Flashを延命させるアレ)
|
50
|
+
* growl-for-linux
|
51
|
+
|
52
|
+
= 閑話休題
|
53
|
+
|
54
|
+
(('tag:center'))
|
55
|
+
そろそろ本題に\n(('note:Back on topic'))
|
56
|
+
|
57
|
+
= 本日の話題\n(('note:Today's topics'))
|
58
|
+
|
59
|
+
* Firefoxのカスタマイズのこと\n(('note:About how to customize Firefox'))
|
60
|
+
|
61
|
+
= 話さないこと\n(('note:I don't talk about...'))
|
62
|
+
|
63
|
+
* アドオンの作り方\n(('note:How to create addon'))
|
64
|
+
* WebExtensions
|
65
|
+
|
66
|
+
= 会場のみなさんに質問\n(('note:Question 1'))
|
67
|
+
|
68
|
+
(('tag:center'))ブラウザは何を使っていますか?\n(('note:What browsers do you love?'))
|
69
|
+
|
70
|
+
= ブラウザシェア\n(('note:Browser stats'))
|
71
|
+
|
72
|
+
# image
|
73
|
+
# relative-height = 80
|
74
|
+
# src = images/browser-share-2016.png
|
75
|
+
|
76
|
+
* デスクトップにおけるシェアの推移(by StatCounter)
|
77
|
+
|
78
|
+
= chromium on debian
|
79
|
+
|
80
|
+
# image
|
81
|
+
# relative-height = 100
|
82
|
+
# src = images/popcorn-chromium.png
|
83
|
+
|
84
|
+
= firefox on debian
|
85
|
+
|
86
|
+
# image
|
87
|
+
# relative-height = 100
|
88
|
+
# src = images/popcorn-firefox.png
|
89
|
+
|
90
|
+
= iceweasel on debian
|
91
|
+
|
92
|
+
# image
|
93
|
+
# relative-height = 100
|
94
|
+
# src = images/popcorn-iceweasel.png
|
95
|
+
|
96
|
+
= firefox-esr on debian
|
97
|
+
|
98
|
+
# image
|
99
|
+
# relative-height = 100
|
100
|
+
# src = images/popcorn-firefox-esr.png
|
101
|
+
|
102
|
+
= 会場のみなさんに質問\n(('note:Question 2'))
|
103
|
+
|
104
|
+
(('tag:center'))Firefoxカスタマイズしていますか?\n
|
105
|
+
(('note:Do you customize Firefox?'))
|
106
|
+
|
107
|
+
|
108
|
+
= カスタマイズいろいろ\n(('note:Customizing ...'))
|
109
|
+
|
110
|
+
* 設定メニューからオプションを変更\n(('note:Tweak via options'))
|
111
|
+
* アドオンをインストール\n(('note:Install addons'))
|
112
|
+
* user.jsを修正する\n(('note:Modify user.js'))
|
113
|
+
* システム全体の設定\n(('note:System-wide configuration'))
|
114
|
+
|
115
|
+
= カスタマイズいろいろ\n(('note:Customizing ...'))
|
116
|
+
|
117
|
+
* 設定メニューからオプションを変更\n(('note:Tweak via options'))
|
118
|
+
* ((*アドオンをインストール\n(('note:Install addons'))*))
|
119
|
+
* user.jsを修正する\n(('note:Modify user.js'))
|
120
|
+
* システム全体の設定\n(('note:System-wide configuration'))
|
121
|
+
|
122
|
+
= アドオンをインストール\n(('note:Install addons'))
|
123
|
+
|
124
|
+
# image
|
125
|
+
# relative-height = 80
|
126
|
+
# src = images/addons-mozilla.png
|
127
|
+
|
128
|
+
* https://addons.mozilla.org/en-US/firefox/
|
129
|
+
|
130
|
+
= 必須のアドオン\n(('note:Must install these addons'))
|
131
|
+
|
132
|
+
* Tab Groups
|
133
|
+
* ツリー型タブ\n(('note:Tree Style Tab'))
|
134
|
+
* Vimperator
|
135
|
+
|
136
|
+
注:個人の感想です。\n(('note:Personally, I recomends these addons'))
|
137
|
+
|
138
|
+
= アドオン on debian\n(('note: Addons on debian'))
|
139
|
+
|
140
|
+
$ apt search xul | grep xul-ext | wc -l
|
141
|
+
79
|
142
|
+
|
143
|
+
* aptでインストール可能なパッケージがこれだけある
|
144
|
+
|
145
|
+
= aptでインストール\n(('note:Easy to install by apt'))
|
146
|
+
|
147
|
+
$ sudo apt install xul-ext-iceweasel-branding
|
148
|
+
|
149
|
+
= Iceweasel風Firefox\n(('note:Mimic iceweasel'))
|
150
|
+
|
151
|
+
# image
|
152
|
+
# relative-height = 80
|
153
|
+
# src = images/iceweasel-branding.png
|
154
|
+
|
155
|
+
* Firefoxを使っていたと思ったらIceweaselだった
|
156
|
+
|
157
|
+
= インストールのされかた\n(('note:How xpi is installed?'))
|
158
|
+
|
159
|
+
* xpiそのままインストール\n(('note:Install xpi as is'))
|
160
|
+
* 展開済みのaddonとしてインストール\n(('note:Install as unpacked addon'))
|
161
|
+
|
162
|
+
= 拡張はどこに?\n(('note:Where is extension installed?'))
|
163
|
+
|
164
|
+
$ dpkg -S /usr/lib/firefox/browser/extensions/\{972ce4c6-7e08-4474-a285-3208198ce6fd\}.xpi
|
165
|
+
firefox: /usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
|
166
|
+
|
167
|
+
* デフォルトのテーマは\nxpiとしてインストールされている
|
168
|
+
|
169
|
+
= 拡張はどこに?\n(('note:Where is extension installed?'))
|
170
|
+
|
171
|
+
* /usr/share/xul-ext/iceweasel-brandingに展開
|
172
|
+
|
173
|
+
/usr/share/xul-ext/iceweasel-branding
|
174
|
+
├── chrome
|
175
|
+
│ ├── content
|
176
|
+
│ │ ├── about-logo.png
|
177
|
+
│ │ ├── about-logo@2x.png
|
178
|
+
│ │ ├── about-wordmark.png
|
179
|
+
│ │ ├── about-wordmark.svg
|
180
|
+
│ │ ├── about.png
|
181
|
+
│ │ ├── aboutDialog.css
|
182
|
+
│ │ ├── aboutIceweasel
|
183
|
+
│ │ │ ├── aboutIce.js
|
184
|
+
│ │ │ ├── aboutIce.manifest
|
185
|
+
│ │ │ └── ice.xhtml
|
186
|
+
│ │ ├── browser-overlay.css
|
187
|
+
│ │ ├── icon128.png
|
188
|
+
│ │ ├── icon16.png
|
189
|
+
│ │ ├── icon32.png
|
190
|
+
│ │ ├── icon48.png
|
191
|
+
│ │ ├── icon64.png
|
192
|
+
│ │ └── unofficial
|
193
|
+
│ │ ├── identity-icons-brand.svg
|
194
|
+
│ │ └── silhouette-40.svg
|
195
|
+
│ └── locale
|
196
|
+
│ ├── brand.dtd
|
197
|
+
│ ├── brand.properties
|
198
|
+
│ └── ice.dtd
|
199
|
+
├── chrome.manifest
|
200
|
+
├── icon.png
|
201
|
+
├── icon64.png
|
202
|
+
└── install.rdf
|
203
|
+
|
204
|
+
= カスタマイズいろいろ\n(('note:Customizing ...'))
|
205
|
+
|
206
|
+
* 設定メニューからオプションを変更\n(('note:Tweak via options'))
|
207
|
+
* アドオンをインストール\n(('note:Install addons'))
|
208
|
+
* ((*user.jsを修正する\n(('note:Modify user.js'))*))
|
209
|
+
* システム全体の設定\n(('note:System-wide configuration'))
|
210
|
+
|
211
|
+
= user.jsを修正する\n(('note:Modify user.js'))
|
212
|
+
|
213
|
+
* 伝統的なカスタマイズ方法\n(('note: Traditional way to customize'))
|
214
|
+
* ~/.mozilla/firefox/(プロファイル)/user.jsに置く\n(('note:Put user.js as ~/mozilla/firefox/(profile)/user.js'))
|
215
|
+
|
216
|
+
= user.jsの例\n(('note:Example how to customize user.js'))
|
217
|
+
|
218
|
+
# enscript javascript
|
219
|
+
user_pref("browser.tabs.closeWindowWithLastTab", false);
|
220
|
+
|
221
|
+
最後のタブを閉じたときにウィンドウを閉じない\n(('note:Do not close window even though last tab is closed'))
|
222
|
+
|
223
|
+
= user.jsは万能ではない\n(('note:user.js is suitable for specific purpose'))
|
224
|
+
|
225
|
+
* プロファイルごとに設定\n(('note:Need to configure each profile'))
|
226
|
+
* プロファイルで管理されていない項目は不可\n(('note:It should be managed by profile'))
|
227
|
+
* 集中管理するのには不向き\n(('note:Not suitable for centralized management'))
|
228
|
+
* FirefoxSyncでよいのでは?\n(('note:FirefoxSync may be better solution?'))
|
229
|
+
|
230
|
+
= カスタマイズいろいろ\n(('note:Customizing ...'))
|
231
|
+
|
232
|
+
* 設定メニューからオプションを変更\n(('note:Tweak via options'))
|
233
|
+
* アドオンをインストール\n(('note:Install addons'))
|
234
|
+
* user.jsを修正する\n(('note:Modify user.js'))
|
235
|
+
* ((*システム全体の設定\n(('note:System-wide configuration'))*))
|
236
|
+
|
237
|
+
= システム全体の設定は\n(('note:How to do system-wide configuration?'))
|
238
|
+
|
239
|
+
* /etc/firefox/*.js
|
240
|
+
* /etc/firefox/以下に置いた任意の.jsで設定できる\n(('note:Any *.js is ok under /etc/firefox/'))
|
241
|
+
|
242
|
+
= Debian固有の設定\n(('note:Debian specific configuration'))
|
243
|
+
|
244
|
+
* 設定ファイルの場所\n(('note:The configuration file is:'))
|
245
|
+
|
246
|
+
/usr/lib/firefox/browser/defaults/syspref/firefox.js
|
247
|
+
-> /etc/firefox/firefox.js
|
248
|
+
|
249
|
+
= Debian固有の設定(1)\n(('note:Debian specific configuration'))
|
250
|
+
|
251
|
+
* 拡張の更新を有効\n(('note:Enable to update extensions'))
|
252
|
+
|
253
|
+
# enscript javascript
|
254
|
+
pref("extensions.update.enabled", true);
|
255
|
+
|
256
|
+
= Debian固有の設定(2)\n(('note:Debian specific configuration'))
|
257
|
+
|
258
|
+
* LANGに応じてロケールを設定\n(('note:Use LANG environment variable to choose locale'))
|
259
|
+
|
260
|
+
# enscript javascript
|
261
|
+
pref("intl.locale.matchOS", true);
|
262
|
+
|
263
|
+
= Debian固有の設定(3)\n(('note:Debian specific configuration'))
|
264
|
+
|
265
|
+
* 既定のブラウザチェック無効\n
|
266
|
+
(('note:Disable default browser checking'))
|
267
|
+
|
268
|
+
# enscript javascript
|
269
|
+
pref("browser.shell.checkDefaultBrowser", false);
|
270
|
+
|
271
|
+
= Debian固有の設定(4)\n(('note:Debian specific configuration'))
|
272
|
+
|
273
|
+
* OpenH264は無効\n(('note:Disable OpenH264'))
|
274
|
+
|
275
|
+
# enscript javascript
|
276
|
+
pref("media.gmp-gmpopenh264.enabled", false);
|
277
|
+
|
278
|
+
= Debian固有の設定(5)\n(('note:Debian specific configuration'))
|
279
|
+
|
280
|
+
* 新規タブはクラシックスタイルに\n
|
281
|
+
(('note:Default to classic view for about:newtab'))
|
282
|
+
|
283
|
+
# enscript javascript
|
284
|
+
sticky_pref("browser.newtabpage.enhanced", false);
|
285
|
+
|
286
|
+
= Debian固有の設定(6)\n(('note:Debian specific configuration'))
|
287
|
+
|
288
|
+
* ヘルスレポートは無効\n
|
289
|
+
(('note:Disable health report upload'))
|
290
|
+
|
291
|
+
# enscript javascript
|
292
|
+
pref("datareporting.healthreport.uploadEnabled", false);
|
293
|
+
|
294
|
+
= 設定方法いろいろ\n(('note:pref(...) family'))
|
295
|
+
|
296
|
+
* defaultPref('...')
|
297
|
+
* lockPref('...')
|
298
|
+
* pref('...')
|
299
|
+
* sticky_pref('...')
|
300
|
+
|
301
|
+
= defaultPref('...')
|
302
|
+
|
303
|
+
* 初期設定値を指定
|
304
|
+
* prefs.jsには原則保存されない
|
305
|
+
|
306
|
+
= lockPref('...')
|
307
|
+
|
308
|
+
* 設定を変更させない
|
309
|
+
|
310
|
+
= pref('...')
|
311
|
+
|
312
|
+
* ユーザーが変更可能
|
313
|
+
|
314
|
+
= sticky_pref('...')
|
315
|
+
|
316
|
+
* prefs.jsにデフォルト値に関わらず保存
|
317
|
+
* 通常は設定を変更したらprefs.jsに保存
|
318
|
+
|
319
|
+
= 組織向けにFirefoxを(('note:Firefox for organizations'))
|
320
|
+
|
321
|
+
* 個人なら好きにカスタマイズでいい
|
322
|
+
* 組織利用はまた別の観点が必要
|
323
|
+
|
324
|
+
= 組織利用の観点だと\n(('note:Point of view from organizations'))
|
325
|
+
|
326
|
+
* プロキシの設定をしたい
|
327
|
+
* 統計情報は送りたくない
|
328
|
+
* 勝手にアップデートしない
|
329
|
+
|
330
|
+
= 組織内向けカスタマイズ(('note:How to customize for organization'))
|
331
|
+
|
332
|
+
* Mozilla Japan 法人向け情報
|
333
|
+
* https://www.mozilla.jp/business/
|
334
|
+
|
335
|
+
= 参考記事の紹介(1)\n(('note:Blog entry how to customize'))
|
336
|
+
|
337
|
+
「Firefox・Thunderbirdの組織内向けカスタマイズの方法の簡単な紹介と比較」
|
338
|
+
* http://www.clear-code.com/blog/2014/3/27.html
|
339
|
+
|
340
|
+
= 参考記事の紹介(2)\n(('note:Blog entry how to customize'))
|
341
|
+
|
342
|
+
* user.js
|
343
|
+
* MCD
|
344
|
+
* ActiveDirectoryのポリシー
|
345
|
+
* CCK2 Wizard
|
346
|
+
* その他
|
347
|
+
|
348
|
+
= MCD?
|
349
|
+
|
350
|
+
* McDonald?
|
351
|
+
|
352
|
+
= MCDとは?\n(('note: What is MCD?'))
|
353
|
+
|
354
|
+
* ((*M*))ission ((*C*))ontrol ((*D*))esktop
|
355
|
+
* Netscape由来の集中管理機構
|
356
|
+
* autoconfig.jsとautoconfig.cfg
|
357
|
+
|
358
|
+
= autoconfig.js
|
359
|
+
|
360
|
+
* /usr/lib/firefox/pref/autoconfig.js
|
361
|
+
|
362
|
+
# enscript javascript
|
363
|
+
pref("general.config.filename", "autoconfig.cfg");
|
364
|
+
pref("general.config.vendor", "autoconfig");
|
365
|
+
pref("general.config.obscure_value", 0);
|
366
|
+
|
367
|
+
= autoconfig.cfg
|
368
|
+
|
369
|
+
* /usr/lib/firefox/autoconfig.cfg
|
370
|
+
|
371
|
+
# enscript javascript
|
372
|
+
// 1行目は必ずコメントとしてください。
|
373
|
+
lockPref("autoadmin.global_config_url", "http://xxx/autoconfig.jsc");
|
374
|
+
|
375
|
+
= autoconfig.jsc
|
376
|
+
|
377
|
+
* ネットワーク経由で参照可能な場所に配置
|
378
|
+
* 中身は単なるprefやlockPref
|
379
|
+
|
380
|
+
= こんなときどうする?
|
381
|
+
|
382
|
+
* 設定例がわからなくて困った
|
383
|
+
|
384
|
+
* 「技術的なよくある質問」
|
385
|
+
* https://www.mozilla.jp/business/faq/tech/
|
386
|
+
|
387
|
+
= こんなときどうする?
|
388
|
+
|
389
|
+
* 「技術的なよくある質問」をみても解決しない
|
390
|
+
|
391
|
+
= firefox-support-common
|
392
|
+
|
393
|
+
# image
|
394
|
+
# relative-height = 70
|
395
|
+
# src = images/firefox-support-common.png
|
396
|
+
|
397
|
+
* https://github.com/clear-code/firefox-support-common
|
398
|
+
|
399
|
+
= firefox-support-common
|
400
|
+
|
401
|
+
* カスタマイズ事例集のリポジトリ\n(('note:There are use cases in this repository'))
|
402
|
+
|
403
|
+
= firefox-support-common
|
404
|
+
|
405
|
+
* configurations/customization-items.ods
|
406
|
+
* 具体的なカスタマイズ方法が記載\n(('note:Practical use cases are there'))
|
407
|
+
|
408
|
+
= customization-items.ods
|
409
|
+
|
410
|
+
カスタマイズ事例をシートで分類
|
411
|
+
|
412
|
+
* customization-items
|
413
|
+
* menuitem-shortcut-disable-items
|
414
|
+
* misc-ui-disable-items
|
415
|
+
|
416
|
+
= customization-items.ods
|
417
|
+
|
418
|
+
カスタマイズ事例をシートで分類
|
419
|
+
|
420
|
+
* ((*customization-items*))
|
421
|
+
* menuitem-shortcut-disable-items
|
422
|
+
* misc-ui-disable-items
|
423
|
+
|
424
|
+
= customization-items
|
425
|
+
|
426
|
+
* ポリシーを満たすための設定例
|
427
|
+
* セキュリティ
|
428
|
+
* プライバシー
|
429
|
+
* 自動更新
|
430
|
+
* Firefox38/45ESRでの設定方法/設定内容
|
431
|
+
|
432
|
+
= customization-items.ods
|
433
|
+
|
434
|
+
カスタマイズ事例をシートで分類
|
435
|
+
|
436
|
+
* customization-items
|
437
|
+
* ((*menuitem-shortcut-disable-items*))
|
438
|
+
* misc-ui-disable-items
|
439
|
+
|
440
|
+
= menuitem-shortcut-disable-items
|
441
|
+
|
442
|
+
* メニューのショートカットを無効にするための設定
|
443
|
+
* ショートカットから実行できてはまずい
|
444
|
+
* Firefox38/45ESRでの設定方法/設定内容
|
445
|
+
|
446
|
+
= customization-items.ods
|
447
|
+
|
448
|
+
カスタマイズ事例をシートで分類
|
449
|
+
|
450
|
+
* customization-items
|
451
|
+
* menuitem-shortcut-disable-items
|
452
|
+
* ((*misc-ui-disable-items*))
|
453
|
+
|
454
|
+
= misc-ui-disable-items
|
455
|
+
|
456
|
+
* 非表示にしたい項目の設定例
|
457
|
+
* 例:セキュリティパネル非表示化
|
458
|
+
* Firefox38/45ESRでの設定方法/設定内容
|
459
|
+
|
460
|
+
= どうやって?\n(('note:How?'))
|
461
|
+
|
462
|
+
* カスタマイズ用のアドオンを活用\n(('note:Use specific addons to customize'))
|
463
|
+
|
464
|
+
= カスタマイズのアドオン\n(('note:Addon to customize'))
|
465
|
+
|
466
|
+
* GlobalChrome.css
|
467
|
+
* UI Text Overrider
|
468
|
+
* Force Addon Status
|
469
|
+
|
470
|
+
= カスタマイズのアドオン\n(('note:Addon to customize'))
|
471
|
+
|
472
|
+
* ((*GlobalChrome.css*))
|
473
|
+
* UI Text Overrider
|
474
|
+
* Force Addon Status
|
475
|
+
|
476
|
+
= GlobalChrome.css
|
477
|
+
|
478
|
+
* ユーザースタイルシート機能\n(('note:Provides user stylesheet'))
|
479
|
+
* globalChrome.cssを所定の場所に配置\n(('note:Put globalChrome.css in specific path'))
|
480
|
+
* https://addons.mozilla.org/ja/firefox/addon/globalchromecss/
|
481
|
+
|
482
|
+
= カスタマイズのアドオン\n(('note:Addon to customize'))
|
483
|
+
|
484
|
+
* GlobalChrome.css
|
485
|
+
* ((*UI Text Overrider*))
|
486
|
+
* Force Addon Status
|
487
|
+
|
488
|
+
= UI Text Overrider
|
489
|
+
|
490
|
+
* UI要素のラベルやツールチップテキストなどを変更\n(('note:Enable to customize UI labels, tooltips and so on'))
|
491
|
+
* https://addons.mozilla.org/ja/firefox/addon/ui-text-overrider/
|
492
|
+
|
493
|
+
|
494
|
+
= カスタマイズのアドオン\n(('note:Addon to customize'))
|
495
|
+
|
496
|
+
* GlobalChrome.css
|
497
|
+
* UI Text Overrider
|
498
|
+
* ((*Force Addon Status*))
|
499
|
+
|
500
|
+
= Force Addon Status
|
501
|
+
|
502
|
+
* アドオンの有効・無効の状態を強制的に変える機能
|
503
|
+
|
504
|
+
https://addons.mozilla.org/ja/firefox/addon/force-addon-status/
|
505
|
+
|
506
|
+
= できることの一例
|
507
|
+
|
508
|
+
* 単機能アドオンの組み合わせでkiosk端末っぽく
|
509
|
+
|
510
|
+
* 参考:全部入りのkioskモード
|
511
|
+
* https://addons.mozilla.org/ja/firefox/addon/mkiosk/
|
512
|
+
|
513
|
+
= 使い方
|
514
|
+
|
515
|
+
* odsに記載のサンプルコードをコピペ
|
516
|
+
* 目的に応じて個別の設定例をコピペ
|
517
|
+
|
518
|
+
= GlobalChrome.css
|
519
|
+
|
520
|
+
# enscript css
|
521
|
+
@-moz-document url-prefix("chrome://browser/content/browser.xul") {
|
522
|
+
(セレクタ),
|
523
|
+
*[always-hidden="true"] {
|
524
|
+
display: none !important;
|
525
|
+
-moz-user-focus: ignore !important;
|
526
|
+
}
|
527
|
+
}
|
528
|
+
|
529
|
+
= UI Text Overrider(1)
|
530
|
+
|
531
|
+
# enscript javascript
|
532
|
+
// disable shortcuts and UI
|
533
|
+
var killedItems = [];
|
534
|
+
var killedItemsWithDelay = [];
|
535
|
+
var hiddenItemsWithDelay = [];
|
536
|
+
|
537
|
+
= UI Text Overrider(2)
|
538
|
+
|
539
|
+
# enscript javascript
|
540
|
+
killedItems.push("(ここにセレクタを記載)");
|
541
|
+
|
542
|
+
= UI Text Overrider(3)
|
543
|
+
|
544
|
+
# enscript javascript
|
545
|
+
function setKillItemRule(aIdentifier, aSelector, aDelayed, aDisableCommand) {
|
546
|
+
lockPref("extensions.uitextoverrider@clear-code.com." + aIdentifier, aSelector);
|
547
|
+
lockPref("extensions.uitextoverrider@clear-code.com." + aIdentifier + ".disabled", "true");
|
548
|
+
lockPref("extensions.uitextoverrider@clear-code.com." + aIdentifier + ".hidden", "true");
|
549
|
+
lockPref("extensions.uitextoverrider@clear-code.com." + aIdentifier + ".readonly", "true");
|
550
|
+
if (aDisableCommand) {
|
551
|
+
lockPref("extensions.uitextoverrider@clear-code.com." + aIdentifier + ".command", "");
|
552
|
+
lockPref("extensions.uitextoverrider@clear-code.com." + aIdentifier + ".oncommand", "");
|
553
|
+
}
|
554
|
+
lockPref("extensions.uitextoverrider@clear-code.com." + aIdentifier + ".always-hidden", "true");
|
555
|
+
lockPref("extensions.uitextoverrider@clear-code.com." + aIdentifier + ".delayed", aDelayed == true);
|
556
|
+
}
|
557
|
+
setKillItemRule("killedItems", killedItems.join(","), false, true);
|
558
|
+
setKillItemRule("killedItemsWithDelay", killedItemsWithDelay.join(","), true, true);
|
559
|
+
setKillItemRule("hiddenItemsWithDelay", hiddenItemsWithDelay.join(","), true, false);
|
560
|
+
|
561
|
+
|
562
|
+
= Force Addon Status
|
563
|
+
|
564
|
+
# enscript javascript
|
565
|
+
lockPref("extensions.force-addon-status@clear-code.com.plugins.0.pattern", "^Java(\\(TM\\)| )");
|
566
|
+
lockPref("extensions.force-addon-status@clear-code.com.plugins.0.enabledState", 0);"
|
567
|
+
|
568
|
+
= まとめ
|
569
|
+
|
570
|
+
* 集中管理ならまずはMCDがよい
|
571
|
+
* カスタマイズ専用アドオンが役立つ
|
572
|
+
* 過去のノウハウは\n
|
573
|
+
firefox-support-commonをチェック
|
Binary file
|
data/theme.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
include_theme("debian")
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rabbit-slide-kenhys-mini-debian-conference-japan-2016
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2016.12.10.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kentaro Hayashi
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-01-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rabbit
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.2
|
27
|
+
description: 2016/12/10にサイボウズ株式会社にて開催された[Mini Debian Conference Japan 2016](http://miniconf.debian.or.jp/)の発表資料です。
|
28
|
+
email:
|
29
|
+
- kenhys@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".rabbit"
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- config.yaml
|
38
|
+
- images/addons-mozilla.png
|
39
|
+
- images/browser-share-2016.png
|
40
|
+
- images/chromium-aw-snap.png
|
41
|
+
- images/computer_trackpoint_classicdome.png
|
42
|
+
- images/computer_trackpoint_softdome.png
|
43
|
+
- images/computer_trackpoint_softrim.png
|
44
|
+
- images/debsearch.png
|
45
|
+
- images/firefox-support-common.png
|
46
|
+
- images/iceweasel-branding.png
|
47
|
+
- images/irasutoya.png
|
48
|
+
- images/popcorn-chromium.png
|
49
|
+
- images/popcorn-firefox-esr.png
|
50
|
+
- images/popcorn-firefox.png
|
51
|
+
- images/popcorn-iceweasel.png
|
52
|
+
- images/track-points.png
|
53
|
+
- minidebconfjp2016.rab
|
54
|
+
- pdf/mini-debian-conference-japan-2016-minidebconfjp2016.pdf
|
55
|
+
- theme.rb
|
56
|
+
homepage: http://slide.rabbit-shocker.org/authors/kenhys/mini-debian-conference-japan-2016/
|
57
|
+
licenses:
|
58
|
+
- CC-BY-SA-4.0
|
59
|
+
metadata: {}
|
60
|
+
post_install_message:
|
61
|
+
rdoc_options: []
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
requirements: []
|
75
|
+
rubyforge_project:
|
76
|
+
rubygems_version: 2.6.8
|
77
|
+
signing_key:
|
78
|
+
specification_version: 4
|
79
|
+
summary: DebianでFirefoxをカスタマイズするには
|
80
|
+
test_files: []
|