發表文章

目前顯示的是 11月, 2016的文章

Blog 放置程式碼之 html 語法測試

初學者試用方塊將程式碼框起來,不是很方便 語法: CODE {   display: block; /* fixes a strange ie margin bug */   font-family: Courier New;   font-size: 8pt;   overflow:auto;   background: #f0f0f0 url(http://klcintw.images.googlepages.com/Code_BG.gif) left top repeat-y;   border: 1px solid #ccc;   padding: 10px 10px 10px 21px;   max-height:200px;   line-height: 1.2em; } 結果: //程式碼放這裏 int main() {   printf("Hello, World!");   return 0; }

為 Cinnamon 設定字型

圖片
參考: http://www.makeuseof.com/tag/spice-up-your-cinnamon-themes-its-easy/ https://forums.linuxmint.com/viewtopic.php?t=223294 https://forums.linuxmint.com/viewtopic.php?t=106758 1. 從 /use/share/themes/ 中複製你要使用的佈景主題至 ~/.themes 2. 以修改 Mint-Y-Dark 為例子,重新命名為 Mint-Y-Dark-2,修改 ~/.themes/Mint-Y-Dark-2/cinnamon/cinnamon.css 3. 找 stage 並增修你想使用的名字,這邊我使用 Noto Sans CJK TC Regular 4. 至佈景主題選擇 Mint-Y-Dark-2 即可