diff --git a/archetypes/default.md b/archetypes/default.md
index 78baaeae..f0677b57 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,9 +1,9 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
-draft: true
+draft: false
noSummary: false
-categories: []
+categories: ['筆記']
image: {{ shuffle (slice "https://h.cowbay.org/images/post-default-1.jpg" "https://h.cowbay.org/images/post-default-2.jpg" "https://h.cowbay.org/images/post-default-3.jpg" "https://h.cowbay.org/images/post-default-4.jpg" "https://h.cowbay.org/images/post-default-5.jpg" "https://h.cowbay.org/images/post-default-6.jpg" "https://h.cowbay.org/images/post-default-7.jpg" "https://h.cowbay.org/images/post-default-8.jpg" "https://h.cowbay.org/images/post-default-9.jpg" "https://h.cowbay.org/images/post-default-10.jpg" "https://h.cowbay.org/images/post-default-11.jpg" "https://h.cowbay.org/images/post-default-12.jpg" "https://h.cowbay.org/images/post-default-13.jpg" "https://h.cowbay.org/images/post-default-14.jpg" "https://h.cowbay.org/images/post-default-15.jpg" "https://h.cowbay.org/images/post-default-16.jpg" "https://h.cowbay.org/images/post-default-17.jpg" "https://h.cowbay.org/images/post-default-18.jpg")|first 1 }}
tags: []
author: "Eric Chang"
@@ -23,6 +23,5 @@ Contents continues...
=== delete below content when finish the post ===
youtbe: {{< youtube w7Ft2ymGmfc >}}
-REF: [Neat]({{< ref "blog/neat.md" >}})
IG photo: {{< instagram BWNjjyYFxVx >}}
diff --git a/content/post/add-system-wide-favorite-apps-in-dconf.md b/content/post/add-system-wide-favorite-apps-in-dconf.md
new file mode 100644
index 00000000..581dd330
--- /dev/null
+++ b/content/post/add-system-wide-favorite-apps-in-dconf.md
@@ -0,0 +1,74 @@
+---
+title: "在ubuntu 18.04中,透過 dconf 設定系統層級的「我的最愛」/ Add System Wide Favorite Apps in dock with Dconf in ubuntu 18.04"
+date: 2019-12-16T13:59:26+08:00
+draft: false
+noSummary: false
+categories: ['筆記']
+image: [https://h.cowbay.org/images/post-default-2.jpg]
+tags: ['ubuntu','dconf']
+author: "Eric Chang"
+keywords:
+ - ubuntu
+ - dconf
+ - favorite-app
+---
+
+這幾天在ansible 寫了一份新的playbook給developer 用
+
+然後user反映說,希望能在ubuntu 18.04 內建的dock 裏面新增一個gnome-terminal的icon
+
+我才發現原來之前的寫法不能用在 ubuntu 18.04 上
+
+只好又弄了一份出來
+
+
+
+有些task 我是直接從原本給14.04 client 用的直接套用過來
+
+也沒有去特別注意
+
+今天重新檢查才發現,舊的寫法是給 14.04 的unity用
+
+但是 18.04 已經不用 unity 了,所以在設定dock這個task 雖然有成功,但是沒做用
+(手術成功,但病人掛了?)
+
+原來的寫法是在 /usr/share/glib-2.0/schemas/ 底下新增一個設定檔
+
+然後用dconf 去產生設定
+
+原本的內容長這樣
+```
+[com.canonical.Unity.Launcher]
+favorites=['application://ubiquity.desktop', 'application://launchers.desktop', 'application://nautilus.desktop', 'application
+://gnome-terminal.desktop', 'application://google-chrome.desktop', 'application://goldendict.desktop', 'application://stardict
+.desktop', 'application://libreoffice-writer.desktop', 'application://libreoffice-calc.desktop', 'unity://running-apps', 'unit
+y://expo-icon', 'unity://devices']
+```
+
+就如同前面所說,因爲18.04捨棄了 unity,所以這個config 等於沒有用了
+
+新的步驟比較麻煩一點點
+
+大概是
+
+1. mkdir -p /etc/dconf/profile
+2. vim /etc/dconf/profile/user
+```
+#This line allows the user to change the default favorites later.
+user-db:user
+#This line defines a system database named msb
+system-db:msb
+```
+3. mkdir -p /etc/dconf/db/msb.d
+4. vim /etc/dconf/db/msb.d/00_msb_settings
+```
+# Define default favorite apps
+[org/gnome/shell]
+favorite-apps = ['chromium-browser.desktop', 'firefox.desktop', 'gnome-terminal.desktop', 'nautilus.desktop']
+```
+
+把這些步驟改成 ansible 語法,再派送到client ,重開機之後就可以正確顯示設定好的「我的最愛」了
+
+
+
+
diff --git a/content/post/ubuntu-dconf-proxy-settings.md b/content/post/ubuntu-dconf-proxy-settings.md
new file mode 100644
index 00000000..8b2bcd7e
--- /dev/null
+++ b/content/post/ubuntu-dconf-proxy-settings.md
@@ -0,0 +1,84 @@
+---
+title: "[筆記] ubuntu 18.04 透過 dconf 修改系統 proxy / modify system proxy with dconf in ubuntu 18.04"
+date: 2019-10-31T11:08:54+08:00
+draft: false
+noSummary: false
+categories: ['筆記']
+image: https://h.cowbay.org/images/post-default-7.jpg
+tags: ['dconf']
+author: "Eric Chang"
+keywords:
+ - docnf
+ - ubuntu
+ - proxy
+---
+
+最近在準備升級client 的作業系統,從 ubuntu 14.04 準備升級到 18.04 或明年的 20.04
+
+因為公司政策的關係,所以現在要連接internet ,需要申請
+
+然後 user 再去系統的proxy 設定新增一個 PAC 檔
+
+但是這個動作其實是去叫NetworkManager 這個服務
+
+可是在18.04 上,我會把這個服務關掉,因為他會干擾我的DNS設定
+
+所以想試試看有沒有辦法不使用 NetworkManager 服務
+
+又能夠在 user level 修改 proxy 參數
+
+就想到了用 dconf 來做
+
+
+
+dconf 是在 ubuntu 底下很好用的工具
+
+可以用來觀察、修改使用者層級(user level)的系統設定\
+
+不過有一些語法要注意
+
+簡單說一下用法
+
+觀察user level 系統變數的變化
+
+開啟terminal 輸入以下指令
+
+```
+dconf watch /
+```
+
+這個可以觀察user到底修改了些什麼
+
+只要是透過右上角的系統設定修改的值
+
+這個指令都可以觀察到,非常好用
+
+當找到了要修改的 KEY
+
+就可以用
+
+```
+dconf read/write KEY
+```
+
+比如說我要修改proxy
+
+我先用 dconf watch / 抓到了KEY是 /system/proxy/host
+
+那我就可以用
+```
+dconf write /system/proxy/http/host "'192.168.1.7'"
+dconf write /system/proxy/http/port '3128'
+```
+來把系統的http proxy 改成 192.168.1.7:3128
+
+要注意的是,上面的 host 是字串,要用``` "''" ```包起來
+
+下面的只是數字,就不用外面的``` "" ``` 了
+
+不過這修改好像還是必須要NetworkManager 生效才行
+
+還需要再測試看看
+
+
+
diff --git a/public/about/index.html b/public/about/index.html
index 76090c5d..1f8a0c85 100644
--- a/public/about/index.html
+++ b/public/about/index.html
@@ -45,9 +45,9 @@
-
+
-
+
@@ -599,7 +599,7 @@ title="pinterest icon">
-
+