From 5deac012c27267e35438acad981421f3a6f12f17 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 29 Dec 2024 20:56:44 +0100 Subject: Better error message --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 41f732c..4715cd4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -193,7 +193,7 @@ int main(int argc, char **argv) { // TODO: This is a shitty method to detect if multiple instances of gsr-ui is running but this will work properly even in flatpak // that uses pid sandboxing. Replace this with a better method once we no longer rely on linux global hotkeys on some platform. if(is_gsr_ui_virtual_keyboard_running()) { - const char *args[] = { "gsr-notify", "--text", "Another instance of GPU Screen Recorder UI is already running", "--timeout", "5.0", "--icon-color", "ff0000", "--bg-color", "ff0000", nullptr }; + const char *args[] = { "gsr-notify", "--text", "Another instance of GPU Screen Recorder UI is already running.\nPress Alt+Z to open the UI.", "--timeout", "5.0", "--icon-color", "ff0000", "--bg-color", "ff0000", nullptr }; gsr::exec_program_daemonized(args); return 1; } -- cgit v1.2.3