diff --git a/read/config.md b/read/config.md new file mode 100644 index 0000000..131d282 --- /dev/null +++ b/read/config.md @@ -0,0 +1,30 @@ +--- +title: 設定 +nav_order: 2000 +has_children: true +--- + + +# 設定 + +* [微調腳本](#微調腳本) +* [按鍵綁定](#按鍵綁定) + + + + +## 微調腳本 + +| 微調腳本 | +| -------- | +| [Ultramarine River Config](https://github.com/samwhelp/ultramarine-river-adjustment/tree/main/prototype/main/river-config/Main) | + + + + +## 按鍵綁定 + +| 按鍵綁定 | +| --- | +| [鍵盤按鍵綁定](https://samwhelp.github.io/note-about-ultramarine-river/read/config/keybind.html) | +| [滑鼠按鍵綁定](https://samwhelp.github.io/note-about-ultramarine-river/read/config/mousebind.html) | diff --git a/read/config/keybind.md b/read/config/keybind.md new file mode 100644 index 0000000..50055f6 --- /dev/null +++ b/read/config/keybind.md @@ -0,0 +1,52 @@ +--- +title: 按鍵綁定 +nav_order: 2000 +has_children: true +parent: 設定 +--- + + +# 按鍵綁定 + + + + +## 主題 + +* [設定檔](#設定檔) +* [系統操作](#系統操作) +* [開啟應用程式](#開啟應用程式) +* [視窗操作](#視窗操作) + + + + +## 設定檔 + + + + +## 系統操作 + +| 主題 | +| --- | +| [系統選單](keybind/system-menu) | + + + + +## 開啟應用程式 + +| 主題 | +| --- | +| [開啟 Terminal](keybind/application-launch-terminal) | +| [開啟常用的應用程式](keybind/application-launch-favorite) | + + + + +## 視窗操作 + +| 主題 | +| --- | +| [視窗基本操作](keybind/window-control) | diff --git a/read/config/keybind/application-launch-favorite.md b/read/config/keybind/application-launch-favorite.md new file mode 100644 index 0000000..893e06f --- /dev/null +++ b/read/config/keybind/application-launch-favorite.md @@ -0,0 +1,110 @@ +--- +title: 開啟應用程式 (常用的) +nav_order: 5013 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 開啟應用程式 (常用的) + +* [常用的應用程式](#常用的應用程式) +* [常用的應用程式 (預設)](#常用的應用程式-預設) + + + + +## 常用的應用程式 + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | -------------- | ------------------------------- | +| `Alt + Shift + f` | 開啟檔案管理器 | `thunar` | +| `Alt + Shift + g` | 開啟檔案管理器 | `pcmanfm-qt` | +| `Alt + Shift + e` | 開啟文字編輯器 | `mousepad` | +| `Alt + Shift + b` | 開啟網頁瀏覽器 | `firefox --new-tab about:blank` | +| `Alt + Shift + s` | 開啟系統設定 | `cosmic-settings` | + + + + +* 設定片段:[~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/prototype/main/cosmic-config/Main/asset/overlay/etc/skel/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom#L153-L192) + +``` + ( + modifiers: [ + Alt, + Shift, + ], + key: "f", + description: Some("File_Manager_1"), + ): Spawn("thunar"), + ( + modifiers: [ + Alt, + Shift, + ], + key: "g", + description: Some("File_Manager_2"), + ): Spawn("pcmanfm-qt"), + ( + modifiers: [ + Alt, + Shift, + ], + key: "e", + description: Some("Text_Editor_1"), + ): Spawn("mousepad"), + ( + modifiers: [ + Alt, + Shift, + ], + key: "b", + description: Some("Web_Browser_1"), + ): Spawn("firefox --new-tab about:blank"), + ( + modifiers: [ + Alt, + Shift, + ], + key: "s", + description: Some("System_Settings_1"), + ): Spawn("cosmic-settings"), +``` + + + + +## 常用的應用程式 (預設) + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | -------------- | ------------------------------- | +| `Super + f` | 開啟檔案管理器 | `xdg-open ~` | +| `Super + b` | 開啟網頁瀏覽器 | `xdg-open http://` | + + +* 設定片段:[/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/sample/default-schema/Main/asset/overlay/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions#L9) + +``` + HomeFolder: "xdg-open ~", +``` + + + + +* 設定片段:[/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/sample/default-schema/Main/asset/overlay/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions#L37) + +``` + WebBrowser: "xdg-open http://", +``` + + + + +* 設定片段:[/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/defaults](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/sample/default-schema/Main/asset/overlay/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/defaults#L72-L73) + +``` + (modifiers: [Super], key: "b"): System(WebBrowser), + (modifiers: [Super], key: "f"): System(HomeFolder), +``` diff --git a/read/config/keybind/application-launch-terminal.md b/read/config/keybind/application-launch-terminal.md new file mode 100644 index 0000000..8b07830 --- /dev/null +++ b/read/config/keybind/application-launch-terminal.md @@ -0,0 +1,100 @@ +--- +title: 開啟應用程式 (Terminal) +nav_order: 5010 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 開啟應用程式 (Terminal) + +* [開啟 Terminal](#開啟-terminal) +* [開啟 Terminal (預設)](#開啟-terminal-預設) + + + + +## 開啟 Terminal + + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------- | --------------------------- | +| `Alt + Enter` | 開啟 Terminal | `cosmic-term` | +| `Alt + Shift + a` | 開啟 Terminal | `sakura` | +| `Alt + Ctrl + a` | 開啟 Terminal | `xfce4-terminal` | +| `Alt + Shift + t` | 開啟 Terminal | `qterminal` | +| `Alt + Ctrl + t` | 開啟 Terminal | `lxterminal` | + + + + +* 設定片段:[/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/sample/default-schema/Main/asset/overlay/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions#L31) + +``` + Terminal: "cosmic-term", +``` + + + + +* 設定片段:[~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/prototype/main/cosmic-config/Main/asset/overlay/etc/skel/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom#L115-L152) + +``` + ( + modifiers: [ + Alt, + ], + key: "Return", + ): System(Terminal), + ( + modifiers: [ + Alt, + Shift, + ], + key: "a", + description: Some("Terminal_1"), + ): Spawn("sakura"), + ( + modifiers: [ + Alt, + Ctrl, + ], + key: "a", + description: Some("Terminal_2"), + ): Spawn("xfce4-termianl"), + ( + modifiers: [ + Alt, + Shift, + ], + key: "t", + description: Some("Terminal_3"), + ): Spawn("qterminal"), + ( + modifiers: [ + Alt, + Ctrl, + ], + key: "t", + description: Some("Terminal_4"), + ): Spawn("lxterminal"), +``` + + + + +## 開啟 Terminal (預設) + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------- | --------------------------- | +| `Super + t` | 開啟 Terminal | `cosmic-term` | + + + + +* 設定片段:[/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/defaults](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/sample/default-schema/Main/asset/overlay/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/defaults#L74) + +``` + (modifiers: [Super], key: "t"): System(Terminal), +``` diff --git a/read/config/keybind/system-menu.md b/read/config/keybind/system-menu.md new file mode 100644 index 0000000..ec6532d --- /dev/null +++ b/read/config/keybind/system-menu.md @@ -0,0 +1,120 @@ +--- +title: 系統選單 +nav_order: 5002 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 系統選單 + +* [開啟「應用程式主選單」](#開啟應用程式主選單) +* [開啟「應用程式啟動選單」](#開啟應用程式啟動選單) +* [開啟「工作空間切換選單」](#開啟工作空間切換選單) + + + + +## 開啟「應用程式主選單」 + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Alt + F1` | 開啟「應用程式主選單」 | `System(AppLibrary)` (cosmic 內建) | + + + + +* 設定片段:[/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/sample/default-schema/Main/asset/overlay/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions#L3) + +``` + AppLibrary: "cosmic-app-library", +``` + + + + +* 設定片段:[~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/prototype/main/cosmic-config/Main/asset/overlay/etc/skel/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom#L79-L84) + +``` + ( + modifiers: [ + Alt, + ], + key: "F1", + ): System(AppLibrary), +``` + + + + +## 開啟「應用程式啟動選單」 + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Alt + F2` | 開啟「應用程式啟動選單」 | `System(Launcher)` (cosmic 內建) | +| `Win + grave` | 開啟「應用程式啟動選單」 | `System(Launcher)` (cosmic 內建) | + + +> `grave` 指的是「`」,在「~」底下。 + + + + +* 設定片段:[/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/sample/default-schema/Main/asset/overlay/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions#L15) + +``` + Launcher: "cosmic-launcher", +``` + + + + +* 設定片段:[~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/prototype/main/cosmic-config/Main/asset/overlay/etc/skel/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom#L31-L42) + +``` + ( + modifiers: [ + Alt, + ], + key: "F2", + ): System(Launcher), + ( + modifiers: [ + Super, + ], + key: "grave", + ): System(Launcher), +``` + + + + +## 開啟「工作空間切換選單」 + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + Tab` | 開啟「工作空間切換選單」 | `System(WorkspaceOverview)` (cosmic 內建) | + + + + +* 設定片段:[/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/sample/default-schema/Main/asset/overlay/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/system_actions#L41) + +``` + WorkspaceOverview: "cosmic-workspaces", +``` + + + + +* 設定片段:[~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/prototype/main/cosmic-config/Main/asset/overlay/etc/skel/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom#L43-L48) + +``` + ( + modifiers: [ + Super, + ], + key: "Tab", + ): System(WorkspaceOverview), +``` diff --git a/read/config/keybind/window-control.md b/read/config/keybind/window-control.md new file mode 100644 index 0000000..a2af5e0 --- /dev/null +++ b/read/config/keybind/window-control.md @@ -0,0 +1,98 @@ +--- +title: 視窗基本操作 +nav_order: 5020 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 視窗基本操作 + +* [關閉視窗](#關閉視窗) +* [最大化](#最大化) +* [最小化](#最小化) + + + + +## 關閉視窗 + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | -------- | ---------------- | +| `Win + q` | 關閉視窗 | `Close` (cosmic 內建) | + + +> 一般「關閉視窗」的按鍵綁定是在「`Alt + F4`」。 + + + + +* 設定片段:[~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/prototype/main/cosmic-config/Main/asset/overlay/etc/skel/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom#L67-L78) + +``` + ( + modifiers: [ + Alt, + ], + key: "F4", + ): Close, + ( + modifiers: [ + Super, + ], + key: "q", + ): Close, +``` + + + + +## 最大化 + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + w` | 最大化 | `Maximize` (cosmic 內建) | + + +> 也可以在「視窗標題列」,使用「滑鼠左鍵」,點選兩下,切換視窗最大化。 + + + + +* 設定片段:[~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/prototype/main/cosmic-config/Main/asset/overlay/etc/skel/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom#L79-L84) + +``` + ( + modifiers: [ + Super, + ], + key: "w", + ): Maximize, +``` + + + + +## 最小化 + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + x` | 最大化 | `Minimize` (cosmic 內建) | + + +> 也可以在「視窗標題列」,找到「最小化」按鈕。 + + + + +* 設定片段:[~/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom](https://github.com/samwhelp/popos-cosmic-adjustment/blob/main/prototype/main/cosmic-config/Main/asset/overlay/etc/skel/.config/cosmic/com.system76.CosmicSettings.Shortcuts/v1/custom#L85-L90) + +``` + ( + modifiers: [ + Super, + ], + key: "x", + ): Minimize, +``` diff --git a/read/config/mousebind.md b/read/config/mousebind.md new file mode 100644 index 0000000..a3d9072 --- /dev/null +++ b/read/config/mousebind.md @@ -0,0 +1,79 @@ +--- +title: 滑鼠按鍵綁定 +nav_order: 3000 +has_children: false +parent: 設定 +--- + + +# 滑鼠按鍵綁定 + + + + +## 主題 + +* [設定檔路徑](#設定檔路徑) +* [視窗內容區塊](#視窗內容區塊) +* [視窗標題區塊](#視窗標題區塊) +* [視窗邊界區塊](#視窗邊界區塊) +* [桌面](#桌面) +* [相關連結](#相關連結) + + + + +## 設定檔路徑 + +| 設定檔路徑 | +| ----------- | +| | + + + + +## 視窗內容區塊 + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | ----------------------- | +| `Win + [滑鼠左鍵按住拖曳]` | 視窗移動 | +| `Win + [滑鼠右鍵按住拖曳]` | 視窗更改大小 | + + + + +## 視窗標題區塊 + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | ----------------------- | +| `[滑鼠左鍵按住拖曳]` | 視窗移動 | +| `[滑鼠左鍵單擊]` | 視窗向上且聚焦 | +| `[滑鼠左鍵雙擊]` | 視窗最大化 | +| `[滑鼠右鍵單擊]` | 顯示視窗選單 | + + + + +## 視窗邊界區塊 + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | ----------------------- | +| `[滑鼠左鍵按住拖曳]` | 視窗更改大小 | + + + + +## 相關連結 + +| 相關連結 | +| ------- | +| System Modeling / [滑鼠按鍵組合](https://samwhelp.github.io/system-modeling/read/zh_tw/spec-mousebind-common) | + + + + +## 相關議題 + +| 相關議題 | +| ------- | +| |