From 44f6e422ddd28640c51dd7da0a1898172f70d582 Mon Sep 17 00:00:00 2001 From: samwhelp Date: Wed, 5 Jun 2024 15:35:29 +0800 Subject: [PATCH] fix --- read/config.md | 23 ++++ read/config/keybind.md | 86 ++++++++++++ .../keybind/application-launch-favorite.md | 50 +++++++ .../config/keybind/application-launch-rofi.md | 29 +++++ .../keybind/application-launch-terminal.md | 34 +++++ read/config/keybind/screenshot.md | 18 +++ read/config/keybind/system-control.md | 61 +++++++++ read/config/keybind/system-menu.md | 116 +++++++++++++++++ read/config/keybind/volume-control.md | 28 ++++ read/config/keybind/wallpaper-control.md | 22 ++++ read/config/keybind/window-control.md | 122 ++++++++++++++++++ read/config/keybind/window-focus.md | 25 ++++ .../keybind/window-move-to-workspace.md | 28 ++++ read/config/keybind/window-tiling-move.md | 29 +++++ read/config/keybind/workspace-switch.md | 54 ++++++++ read/config/mousebind.md | 90 +++++++++++++ read/howto.md | 28 ++++ read/howto/config-mouse-button-modifier.md | 81 ++++++++++++ 18 files changed, 924 insertions(+) create mode 100644 read/config.md create mode 100644 read/config/keybind.md create mode 100644 read/config/keybind/application-launch-favorite.md create mode 100644 read/config/keybind/application-launch-rofi.md create mode 100644 read/config/keybind/application-launch-terminal.md create mode 100644 read/config/keybind/screenshot.md create mode 100644 read/config/keybind/system-control.md create mode 100644 read/config/keybind/system-menu.md create mode 100644 read/config/keybind/volume-control.md create mode 100644 read/config/keybind/wallpaper-control.md create mode 100644 read/config/keybind/window-control.md create mode 100644 read/config/keybind/window-focus.md create mode 100644 read/config/keybind/window-move-to-workspace.md create mode 100644 read/config/keybind/window-tiling-move.md create mode 100644 read/config/keybind/workspace-switch.md create mode 100644 read/config/mousebind.md create mode 100644 read/howto.md create mode 100644 read/howto/config-mouse-button-modifier.md diff --git a/read/config.md b/read/config.md new file mode 100644 index 0000000..5952be1 --- /dev/null +++ b/read/config.md @@ -0,0 +1,23 @@ +--- +title: 設定 +nav_order: 2000 +has_children: true +--- + +# 設定 + + +## 按鍵綁定 + +| 按鍵綁定 | +| -------- | +| [鍵盤按鍵綁定](https://samwhelp.github.io/note-about-fedora-xfce/read/config/keybind.html) | +| [滑鼠按鍵綁定](https://samwhelp.github.io/note-about-fedora-xfce/read/config/mousebind.html) | + + + + +## 設定檔官方文件說明 + +* Xfce / [Docs](https://docs.xfce.org/) +* Xfce / [Wiki](https://wiki.xfce.org/) diff --git a/read/config/keybind.md b/read/config/keybind.md new file mode 100644 index 0000000..5ba0c49 --- /dev/null +++ b/read/config/keybind.md @@ -0,0 +1,86 @@ +--- +title: 按鍵綁定 +nav_order: 2020 +has_children: true +parent: 設定 +--- + + +# 按鍵綁定 + + +## 主題 + +* [設定檔](#設定檔) +* [系統操作](#系統操作) +* [開啟應用程式](#開啟應用程式) +* [視窗操作](#視窗操作) +* [工作空間](#工作空間) +* [桌面圖片](#桌面圖片) +* [螢幕截圖](#螢幕截圖) +* [音量控制](#音量控制) + + +## 設定檔 + +這篇「按鍵綁定」的根據,是採用「我慣用的設定」, + +請參考「我的設定檔: [~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml)」。 + + +> [桌面環境按鍵操作快速上手指南](https://samwhelp.github.io/system-modeling/read/zh_tw/quick-start) + + +## 系統操作 + +| 主題 | +| --- | +| [系統操作](keybind/system-control) | +| [系統選單](keybind/system-menu) | + + +## 開啟應用程式 + +| 主題 | +| --- | +| [開啟 Terminal](keybind/application-launch-terminal) | +| [開啟 Rofi](keybind/application-launch-rofi) | +| [開啟常用的應用程式](keybind/application-launch-favorite) | + + +## 視窗操作 + +| 主題 | +| --- | +| [視窗基本操作](keybind/window-control) | +| [視窗聚焦切換](keybind/window-focus) | +| [視窗平鋪移動操作](keybind/window-tiling-move) | + + +## 工作空間 + +| 主題 | +| --- | +| [工作空間切換](keybind/workspace-switch) | +| [視窗移到指定工作空間](keybind/window-move-to-workspace) | + + +## 桌面圖片 + +| 主題 | +| --- | +| [桌面圖片](keybind/wallpaper-control) | + + +## 螢幕截圖 + +| 主題 | +| --- | +| [螢幕截圖](keybind/screenshot) | + + +## 音量控制 + +| 主題 | +| --- | +| [音量控制](keybind/volume-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..248cc55 --- /dev/null +++ b/read/config/keybind/application-launch-favorite.md @@ -0,0 +1,50 @@ +--- +title: 開啟應用程式 (常用的) +nav_order: 2013 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 開啟應用程式 (常用的) + + +## 常用的應用程式 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L75-L78) + +``` xml + + + + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | -------------- | ------------ | +| `Alt + Shift + f` | 開啟檔案管理器 | `pcmanfm-qt` | +| `Alt + Shift + g` | 開啟檔案管理器 | `thunar` | +| `Alt + Shift + e` | 開啟文字編輯器 | `mousepad` | +| `Alt + Shift + b` | 開啟網頁瀏覽器 | `firefox` | + + + +## 常用的系統設定程式 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L55-L59) + +``` xml + + + + + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | -------------- | ------------ | +| `Alt + Shift + s` | 開啟系統設定程式 | `xfce4-settings-manager` | +| `Alt + Ctrl + s` | 開啟系統設定程式 | `xfce4-settings-editor` | +| `Win + Shift + s` | 開啟系統設定程式 | `xfwm4-settings` | +| `Win + Ctrl + s` | 開啟系統設定程式 | `xfce4-appearance-settings` | diff --git a/read/config/keybind/application-launch-rofi.md b/read/config/keybind/application-launch-rofi.md new file mode 100644 index 0000000..f953282 --- /dev/null +++ b/read/config/keybind/application-launch-rofi.md @@ -0,0 +1,29 @@ +--- +title: 開啟應用程式 (Rofi) +nav_order: 2011 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 開啟應用程式 (Rofi) + + +## Rofi + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L66-L68) + + +```xml + + + +``` + + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------------------------ | ------------------------------- | +| `Alt + Shift + d` | 開啟 Rofi (可用應用程式列表) | `rofi -show drun -show-icons` | +| `Alt + Shift + w` | 開啟 Rofi (已經開啟的視窗列表) | `rofi -show window -show-icons` | +| `Alt + Shift + r` | 開啟 Rofi (可用指令列表) | `rofi -show run` | diff --git a/read/config/keybind/application-launch-terminal.md b/read/config/keybind/application-launch-terminal.md new file mode 100644 index 0000000..1afef92 --- /dev/null +++ b/read/config/keybind/application-launch-terminal.md @@ -0,0 +1,34 @@ +--- +title: 開啟應用程式 (Terminal) +nav_order: 2010 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 開啟應用程式 (Terminal) + + +## Terminal + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L69-L74) + +``` xml + + + + + + +``` + + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------- | ---------------- | +| `Alt + Enter` | 開啟 Terminal | `sakura -m` | +| `Alt + Shift + a` | 開啟 Terminal | `sakura -m` | +| `Alt + Ctrl + a` | 開啟 Terminal | `xfce4-terminal --maximize` | +| `Alt + Shift + y` | 開啟 Terminal | `xfce4-terminal --drop-down` | +| `Alt + Shift + t` | 開啟 Terminal | `xterm` | +| `Alt + Ctrl + t` | 開啟 Terminal | `urxvt` | diff --git a/read/config/keybind/screenshot.md b/read/config/keybind/screenshot.md new file mode 100644 index 0000000..52b4a2f --- /dev/null +++ b/read/config/keybind/screenshot.md @@ -0,0 +1,18 @@ +--- +title: 螢幕截圖 +nav_order: 2051 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 螢幕截圖 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L83) + +| 按鍵組合 | 功能 | 執行指令 | +| ------------- | -------------------- | ---------- | +| `Print` | 螢幕截圖 | `xfce4-screenshooter -fd 1` | +| `Shift + Print` | 目前聚焦的視窗截圖 | `xfce4-screenshooter -wd 1` | +| `Ctrl + Shift + Print` | 選取螢幕畫面區塊截圖 | `xfce4-screenshooter -r` | diff --git a/read/config/keybind/system-control.md b/read/config/keybind/system-control.md new file mode 100644 index 0000000..ae669a2 --- /dev/null +++ b/read/config/keybind/system-control.md @@ -0,0 +1,61 @@ +--- +title: 系統操作 +nav_order: 2001 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 系統操作 + + +## 切換「顯示桌面」 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L215) + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Win + d` | 顯示「桌面操作選單」 | `show_desktop_key` (xfwm4 內建) | + +> 也可以使用「滑鼠左鍵」,在「Panel」的「顯示桌面按鈕」,切換「顯示桌面」,可反覆按下做切換。 + + +## 登出 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L69) + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Alt + Shift + x` | 顯示「離開操作對話框」 | `xfce4-session-logout` | + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L61) + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Ctrl + Alt + Delete` | 顯示「離開操作對話框」 | `xfce4-session-logout` | + + +## 休眠 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L215) + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Alt + Shift + z` | 休眠 | `xflock4` | diff --git a/read/config/keybind/system-menu.md b/read/config/keybind/system-menu.md new file mode 100644 index 0000000..d2454eb --- /dev/null +++ b/read/config/keybind/system-menu.md @@ -0,0 +1,116 @@ +--- +title: 系統選單 +nav_order: 2002 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 系統選單 + + +## 顯示「視窗操作選單」 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L166) + + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Alt + Space` | 顯示「視窗操作選單」 | `popup_menu_key` (Xfce 內建) | + +> 也可以在「視窗標題列」按下「滑鼠右鍵」,就會顯示「視窗操作選單」。 + + +## 顯示「開始功能表」 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L63) + + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Win + Space` | 顯示「桌面操作選單」 | `xfdesktop --menu` | + +> 也可以在「桌面」按下「滑鼠右鍵」,就會顯示「桌面操作選單」。 + + +## 顯示「顯示所有開啟視窗」和「工作空間」 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L64) + + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Win + c` | Toggle Present Windows (All desktops) | `xfdesktop --windowlist` | + +> 也可以在「桌面」按下「滑鼠中鍵」,就會顯示「工作空間操作選單」。 + + + +## 顯示「開始功能表 (whiskermenu)」 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L43) + + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Alt + F1` | 顯示「whisker menu」 | `xfce4-popup-whiskermenu` | + + +## Runner + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L44-L46) + +``` xml + + + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Alt + F2` | 執行 Runner | `xfce4-appfinder` | + + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L47-L49) + +``` xml + + + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Alt + F3` | 執行 Runner | `xfce4-appfinder --collapsed` | + + +## Task Manager + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L59) + +``` xml + +``` + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ------------ | -------------------- | +| `Ctrl + Esc` | Show Task Manager | `xfce4-taskmanager` | + + diff --git a/read/config/keybind/volume-control.md b/read/config/keybind/volume-control.md new file mode 100644 index 0000000..ef1e6be --- /dev/null +++ b/read/config/keybind/volume-control.md @@ -0,0 +1,28 @@ +--- +title: 音量控制 +nav_order: 2052 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 音量控制 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L74) + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | ---------------- | ------------------------------------------- | +| `Alt + Shift + v` | 開啟音量控制面板 | `pavucontrol` | +| `Alt + m` | 音量切換成靜音 | `amixer -q -D pulse sset Master toggle` | +| `Alt + Shift + <` | 減少音量 | `amixer -q -D pulse sset Master 5%- unmute` | +| `Alt + Shift + >` | 增加音量 | `amixer -q -D pulse sset Master 5%+ unmute` | +| `Alt + Ctrl + ,` | 緩慢地減少音量 | `amixer -q -D pulse sset Master 1%- unmute` | +| `Alt + Ctrl + .` | 緩慢地增加音量 | `amixer -q -D pulse sset Master 1%+ unmute` | + + +| 按鍵組合 | 功能 | 執行指令 | +| ---------------------- | -------------- | ------------------------------------------- | +| `XF86AudioMute` | 音量切換成靜音 | `amixer -q -D pulse sset Master toggle` | +| `XF86AudioLowerVolume` | 減少音量 | `amixer -q -D pulse sset Master 5%- unmute` | +| `XF86AudioRaiseVolume` | 增加音量 | `amixer -q -D pulse sset Master 5%+ unmute` | diff --git a/read/config/keybind/wallpaper-control.md b/read/config/keybind/wallpaper-control.md new file mode 100644 index 0000000..fb3861c --- /dev/null +++ b/read/config/keybind/wallpaper-control.md @@ -0,0 +1,22 @@ +--- +title: 桌面圖片 +nav_order: 2050 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 桌面圖片 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L89) + +| 按鍵組合 | 功能 | 執行指令 | +| ---------------- | -------------------- | ------------------------------------------------ | +| `Alt + w` | 隨機更換新的桌面圖片 | `wallpaper-select-xfce shuf_favorite` | +| `Alt + Ctrl + w` | 更換成預設的桌面圖片 | `wallpaper-select-xfce default` | + + +## 相關工具 + +* [wallpaper-select-xfce](https://samwhelp.github.io/note-about-fzf/read/project/wallpaper-select/wallpaper-select-xfce.html) diff --git a/read/config/keybind/window-control.md b/read/config/keybind/window-control.md new file mode 100644 index 0000000..2905bbf --- /dev/null +++ b/read/config/keybind/window-control.md @@ -0,0 +1,122 @@ +--- +title: 視窗基本操作 +nav_order: 2020 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 視窗基本操作 + +* [關閉視窗](#關閉視窗) +* [全螢幕](#全螢幕) +* [最大化](#最大化) +* [最小化](#最小化) +* [開始視窗移動](#開始視窗移動) +* [開始視窗更改大小](#開始視窗更改大小) +* [取消開始相關操作](#取消開始相關操作) +* [永遠在最上方](#永遠在最上方) +* [內容區塊收合](#內容區塊收合) +* [將下方視窗移上來](#將下方視窗移上來) + + +## 關閉視窗 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L186) + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | -------- | ---------------- | +| `Win + q` | 關閉視窗 | `close_window_key` (xfwm4 內建) | + + +## 全螢幕 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L229) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + f` | 視窗全螢幕 | `fullscreen_key` (xfwm4 內建) | + + +## 最大化 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L187) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + w` | 最大化 | `maximize_window_key` (xfwm4 內建) | + +> 也可以在「標題列」,使用「滑鼠左鍵」,點選兩下,切換視窗最大化。 + +## 最小化 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L188) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + x` | 最小化 | `hide_window_key` (xfwm4 內建) | + + +## 開始視窗移動 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L189) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + e` | 開始視窗移動 | `move_window_key` (xfwm4 內建) | + +> 按「Escape」鍵,取消「開始視窗移動」。 + + +## 開始視窗更改大小 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L190) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + r` | 開始視窗更改大小 | `resize_window_key` (xfwm4 內建) | + +> 按「Escape」取消「開始視窗更改大小」。 + + +## 取消開始相關操作 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L167) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Escape` | 取消開始相關操作 | `cancel_key` (xfwm4 內建) | + + +> 可用在取消「開始視窗移動」,「開始視窗更改大小」。 + + +## 永遠在最上方 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L208) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + t` | 永遠在最上方 | `above_key` (xfwm4 內建) | + + +## 內容區塊收合 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L204) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + y` | 內容區塊收合 | `shade_window_key` (xfwm4 內建) | + + +> 也可以在「標題列」,使用「滑鼠中鍵」上下滾動,切換內容區塊收合。 + + +## 將下方視窗移上來 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L205) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ---------- | ----------------------------- | +| `Win + u` | 將下方視窗移上來 | `raiselower_window_key` (xfwm4 內建) | diff --git a/read/config/keybind/window-focus.md b/read/config/keybind/window-focus.md new file mode 100644 index 0000000..b2f096a --- /dev/null +++ b/read/config/keybind/window-focus.md @@ -0,0 +1,25 @@ +--- +title: 視窗聚焦切換 +nav_order: 2025 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 視窗聚焦切換 + + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L160) + + +## 前後聚焦切換 + + +| 按鍵組合 | 功能 | 執行指令 | +| ----------| ---------------------- | ---------------------- | +| `Win + a` | 聚焦切換到前面一個視窗 | `cycle_reverse_windows_key` (xfwm4 內建) | +| `Win + s` | 聚焦切換到後面一個視窗 | `cycle_windows_key` (xfwm4 內建) | + + +> 也可以在「Panel」的「視窗區」,使用「滑鼠中鍵」,上下滾動,循環切換「視窗」。 diff --git a/read/config/keybind/window-move-to-workspace.md b/read/config/keybind/window-move-to-workspace.md new file mode 100644 index 0000000..10cefe9 --- /dev/null +++ b/read/config/keybind/window-move-to-workspace.md @@ -0,0 +1,28 @@ +--- +title: 視窗移到指定工作空間 +nav_order: 2041 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 視窗移到指定工作空間 + + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L215) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | -------------------------------------------- | --------------------------------------------------- | +| `Win + 1` | 視窗(容器)移到工作空間 1 (Term) | `move_window_workspace_1_key` (xfwm4 builtin) | +| `Win + 2` | 視窗(容器)移到工作空間 2 (Edit) | `move_window_workspace_2_key` (xfwm4 builtin) | +| `Win + 3` | 視窗(容器)移到工作空間 3 (Web) | `move_window_workspace_3_key` (xfwm4 builtin) | +| `Win + 4` | 視窗(容器)移到工作空間 4 (File) | `move_window_workspace_4_key` (xfwm4 builtin) | +| `Win + 5` | 視窗(容器)移到工作空間 5 (Misc) | `move_window_workspace_5_key` (xfwm4 builtin) | +| `Win + 6` | 視窗(容器)移到工作空間 6 | `move_window_workspace_6_key` (xfwm4 builtin) | +| `Win + 7` | 視窗(容器)移到工作空間 7 | `move_window_workspace_7_key` (xfwm4 builtin) | +| `Win + 8` | 視窗(容器)移到工作空間 8 | `move_window_workspace_8_key` (xfwm4 builtin) | +| `Win + 9` | 視窗(容器)移到工作空間 9 | `move_window_workspace_9_key` (xfwm4 builtin) | +| `Win + 0` | 視窗(容器)移到工作空間 10 | `move_window_workspace_10_key` (xfwm4 builtin) | + + diff --git a/read/config/keybind/window-tiling-move.md b/read/config/keybind/window-tiling-move.md new file mode 100644 index 0000000..03c6550 --- /dev/null +++ b/read/config/keybind/window-tiling-move.md @@ -0,0 +1,29 @@ +--- +title: 視窗平鋪移動操作 +nav_order: 2022 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 視窗平鋪移動操作 + + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L191) + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | -------------- | ---------------------------- | +| `Alt + Ctrl + k` | 視窗更改大小,移動至北方(畫面上半部) | `tile_up_key` (xfwm4 內建) | +| `Alt + Ctrl + j` | 視窗更改大小,移動至南方(畫面下半部) | `tile_down_key` (xfwm4 內建) | +| `Alt + Ctrl + h` | 視窗更改大小,移動至西方(畫面左半部) | `tile_left_key` (xfwm4 內建) | +| `Alt + Ctrl + l` | 視窗更改大小,移動至東方(畫面右半部) | `tile_right_key` (xfwm4 內建) | + + + +| 按鍵組合 | 功能 | 執行指令 | +| ----------------- | -------------- | ---------------------------- | +| `Alt + Shift + k` | 視窗更改大小,移動至西北方(畫面左上半部) | `tile_up_left_key` (xfwm4 內建) | +| `Alt + Shift + j` | 視窗更改大小,移動至東北方(畫面右上半部) | `tile_up_right_key` (xfwm4 內建) | +| `Alt + Shift + h` | 視窗更改大小,移動至西南方(畫面左下半部) | `tile_down_left_key` (xfwm4 內建) | +| `Alt + Shift + l` | 視窗更改大小,移動至東南方(畫面右下半部) | `tile_down_right_key` (xfwm4 內建) | diff --git a/read/config/keybind/workspace-switch.md b/read/config/keybind/workspace-switch.md new file mode 100644 index 0000000..43d71b3 --- /dev/null +++ b/read/config/keybind/workspace-switch.md @@ -0,0 +1,54 @@ +--- +title: 工作空間切換 +nav_order: 2040 +has_children: false +parent: 按鍵綁定 +grand_parent: 設定 +--- + + +# 工作空間切換 + + +## 我個人定義的個工作空間 + +| 工作空間 | 名稱 | +| -------- | ----- | +| 1 | Term | +| 2 | Edit | +| 3 | Web | +| 4 | File | +| 5 | Misc | + + +## 指定切換 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L174) + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | ----------------------- | ------------------------------ | +| `Alt + 1` | 切換到工作空間 1 (Term) | `workspace_1_key` (xfwm4 內建) | +| `Alt + 2` | 切換到工作空間 2 (Edit) | `workspace_2_key` (xfwm4 內建) | +| `Alt + 3` | 切換到工作空間 3 (Web) | `workspace_3_key` (xfwm4 內建) | +| `Alt + 4` | 切換到工作空間 4 (File) | `workspace_4_key` (xfwm4 內建) | +| `Alt + 5` | 切換到工作空間 5 (Misc) | `workspace_5_key` (xfwm4 內建) | +| `Alt + 6` | 切換到工作空間 1 | `workspace_6_key` (xfwm4 內建) | +| `Alt + 7` | 切換到工作空間 2 | `workspace_7_key` (xfwm4 內建) | +| `Alt + 8` | 切換到工作空間 3 | `workspace_8_key` (xfwm4 內建) | +| `Alt + 9` | 切換到工作空間 4 | `workspace_9_key` (xfwm4 內建) | +| `Alt + 0` | 切換到工作空間 5 | `workspace_10_key` (xfwm4 內建) | + +## 循環切換 + +* [設定片段](https://github.com/samwhelp/fedora-xfce-adjustment/tree/main/prototype/main/xfce-config/Main/asset/overlay/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml#L184) + + +| 按鍵組合 | 功能 | 執行指令 | +| --------- | -------------------- | -------------------------- | +| `Alt + a` | 切換到上一個工作空間 | `workspace prev` (xfwm4 內建) | +| `Alt + s` | 切換到下一個工作空間 | `workspace next` (xfwm4 內建) | + + +> 也可以在「桌面」,使用「滑鼠中鍵」,上下滾動,切換「工作空間」。 + +> 也可以在「Panel」的「Workspace區」,使用「滑鼠中鍵」,上下滾動,切換「工作空間」。 diff --git a/read/config/mousebind.md b/read/config/mousebind.md new file mode 100644 index 0000000..057b1a1 --- /dev/null +++ b/read/config/mousebind.md @@ -0,0 +1,90 @@ +--- +title: 滑鼠按鍵綁定 +nav_order: 3000 +has_children: false +parent: 設定 +--- + + +# 滑鼠按鍵綁定 + + +## 主題 + +* [設定檔路徑](#設定檔路徑) +* [視窗內容區塊](#視窗內容區塊) +* [視窗標題區塊](#視窗標題區塊) +* [視窗邊界區塊](#視窗邊界區塊) +* [桌面](#桌面) +* [相關連結](#相關連結) + + + + +## 設定檔路徑 + +| 設定檔路徑 | +| ----------- | +| | + + +## 視窗內容區塊 + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | --------------------- | +| `Win + [滑鼠左鍵按住拖曳]` | 視窗移動 | +| `Win + [滑鼠右鍵按住拖曳]` | 視窗更改大小 | +| `Win + [滑鼠中鍵單擊]` | 視窗向下且失焦 | + + +## 視窗標題區塊 + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | --------------------- | +| `[滑鼠左鍵按住拖曳]` | 視窗移動 | +| `[滑鼠左鍵單擊]` | 視窗向上且聚焦 | +| `[滑鼠左鍵雙擊]` | 視窗最大化 | +| `[滑鼠右鍵單擊]` | 顯示視窗選單 | +| `[滑鼠滾輪向上捲動]` | 隱藏視窗內容區塊 | +| `[滑鼠滾輪向下捲動]` | 顯示視窗內容區塊 | +| `[滑鼠中鍵單擊]` | 視窗向下且失焦 | + + +## 視窗邊界區塊 + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | --------------------- | +| `[滑鼠左鍵按住拖曳]` | 視窗更改大小 | + + +## 桌面 + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | --------------------- | +| `[滑鼠右鍵單擊]` | 顯示主要功能選單 | +| `[滑鼠滾輪向上捲動]` | 切換到上一個工作空間 | +| `[滑鼠滾輪向下捲動]` | 切換到下一個工作空間 | +| `[滑鼠中鍵單擊]` | 顯示工作空間選單 | + + +## 螢幕 + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | --------------------- | +| `Win + [滑鼠滾輪向上捲動]` | 拉近桌面(放大) | +| `Win + [滑鼠滾輪向上捲動]` | 遠離桌面(縮小) | + + + +## 相關連結 + +| 相關連結 | +| ------- | +| System Modeling / [滑鼠按鍵組合](https://samwhelp.github.io/system-modeling/read/zh_tw/spec-mousebind-common) | + + +## 相關議題 + +| 相關議題 | +| ------- | +| [設定 Mouse Button Modifier](https://samwhelp.github.io/note-about-fedora-xfce/read/howto/config-mouse-button-modifier.html) | diff --git a/read/howto.md b/read/howto.md new file mode 100644 index 0000000..2e62b98 --- /dev/null +++ b/read/howto.md @@ -0,0 +1,28 @@ +--- +title: 如何 +nav_order: 7000 +has_children: true +--- + + +# 如何 + + +## 滑鼠按鍵綁定 + +| 滑鼠按鍵綁定 | +| ------- | +| [設定「Mouse Button Modifier」](https://samwhelp.github.io/note-about-fedora-xfce/read/howto/config-mouse-button-modifier.html) | + + + + +## 設定「Xfce」搭配其他的「視窗管理器」 + +| [設定「Xfce」搭配其他的「視窗管理器」](https://samwhelp.github.io/note-about-fedora-xfce/read/howto/xfce-with-wm.html) | +| --- | +| [設定「Xfce」搭配「Compiz」](https://samwhelp.github.io/note-about-fedora-xfce/read/howto/xfce-with-wm/xfce-with-compiz.html) | +| [設定「Xfce」搭配「Kwin」](https://samwhelp.github.io/note-about-fedora-xfce/read/howto/xfce-with-wm/xfce-with-kwin.html) | +| [設定「Xfce」搭配「Openbox」](https://samwhelp.github.io/note-about-fedora-xfce/read/howto/xfce-with-wm/xfce-with-openbox.html) | +| [設定「Xfce」搭配「I3wm」](https://samwhelp.github.io/note-about-fedora-xfce/read/howto/xfce-with-wm/xfce-with-i3wm.html) | +| [設定「Xfce」搭配「Bspwm」](https://samwhelp.github.io/note-about-fedora-xfce/read/howto/xfce-with-wm/xfce-with-bspwm.html) | diff --git a/read/howto/config-mouse-button-modifier.md b/read/howto/config-mouse-button-modifier.md new file mode 100644 index 0000000..16ec13c --- /dev/null +++ b/read/howto/config-mouse-button-modifier.md @@ -0,0 +1,81 @@ +--- +title: 設定 Mouse Button Modifier +nav_order: 7021 +has_children: false +parent: 如何 +--- + + +# 設定 Mouse Button Modifier + + +## 相關設定指令 + + +### Win + +執行下面指令,將「Mouse Button Modifier」設定成「Super鍵」,也就是「Win鍵」。 + +``` sh +xfconf-query --channel xfwm4 --property "/general/easy_click" --set "Super" --type "string" --create +``` + +執行上面的指令後,就可以[在視窗操作下面兩個動作](https://samwhelp.github.io/note-about-xfce/read/config/mousebind.html#視窗內容區塊), + +| 滑鼠按鍵組合 | 功能 | +| --------------------------- | ----------------------- | +| `Win + [滑鼠左鍵按住拖曳]` | 視窗移動 | +| `Win + [滑鼠右鍵按住拖曳]` | 視窗更改大小 | + + +上面的設定值,是保存在「`~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml`」這個檔案。 + +可以執行下面指令來檢查 + +``` sh +grep 'easy_click' ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml +``` + +顯示 + +``` xml + +``` + + + + +### Alt + +執行下面指令,則是將「Mouse Button Modifier」設定為「Alt鍵」。 + +``` sh +xfconf-query --channel xfwm4 --property "/general/easy_click" --set "Alt" --type "string" --create +``` + + + + +## 圖形介面程式操作 + +也可以透過「`xfwm4-tweaks-settings` (Window Manager Tweaks)」這個「圖形介面程式」來操作, + +在「Accessibility」這個「頁面」, + +有一個選項「Key used to grab and move windows:」, + +接著有一個「下拉選單」,可以選擇「Super」或「Alt」或是其他的按鍵。 + + + + +## 相關議題 + +| 相關議題 | +| ------- | +| [滑鼠按鍵綁定](https://samwhelp.github.io/note-about-xfce/read/config/mousebind.html#視窗內容區塊) | + + +## 相關應用 + +* Menu Applet 開發筆記 / [demo-mouse-button-modifier](https://samwhelp.github.io/note-about-menu-applet/read/demo/demo-mouse-button-modifier.html#xfce)