From 9931c6a4ce20282ff6bb4060a89d11a4af06123e Mon Sep 17 00:00:00 2001 From: ExperimentalCyborg Date: Sun, 30 Jul 2023 01:08:21 +0200 Subject: [PATCH 1/2] Update Debian dependencies in README.md libxdo-dev was missing for me on mint 21 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 44cc2ea..2025317 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ pacman -S gtk3 libappindicator-gtk3 #or libayatana-appindicator #### Debian / Ubuntu: ```sh -sudo apt install libgtk-3-dev libappindicator3-dev #or libayatana-appindicator3-dev +sudo apt install libgtk-3-dev libxdo-dev libappindicator3-dev #or libayatana-appindicator3-dev ``` if you use `tray_icon::muda` module, make sure to checkout https://github.com/tauri-apps/muda#dependencies From b50bb3dc0eafea45698ae44462df62118a3a7cd3 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Sun, 30 Jul 2023 15:52:21 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2025317..c596804 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,12 @@ tray-icon lets you create tray icons for desktop applications. ## Dependencies (Linux Only) -On Linux, `gtk` and `libappindicator` or `libayatnat-appindicator` are used to create the tray icon, so make sure to install them on your system. +On Linux, `gtk`, `libxdo` is used to make the predfined `Copy`, `Cut`, `Paste` and `SelectAll` menu items work and `libappindicator` or `libayatnat-appindicator` are used to create the tray icon, so make sure to install them on your system. #### Arch Linux / Manjaro: ```sh -pacman -S gtk3 libappindicator-gtk3 #or libayatana-appindicator +pacman -S gtk3 xdotool libappindicator-gtk3 #or libayatana-appindicator ``` #### Debian / Ubuntu: @@ -33,8 +33,6 @@ pacman -S gtk3 libappindicator-gtk3 #or libayatana-appindicator sudo apt install libgtk-3-dev libxdo-dev libappindicator3-dev #or libayatana-appindicator3-dev ``` -if you use `tray_icon::muda` module, make sure to checkout https://github.com/tauri-apps/muda#dependencies - ## Examples #### Create a tray icon without a menu.