From 184a70c6bf216b7c272acfcde083015a2ac9a101 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 1 Dec 2023 11:22:33 +0100 Subject: Update appdata --- TODO | 4 ---- com.dec05eba.gpu_screen_recorder.appdata.xml | 3 ++- src/main.cpp | 6 +++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/TODO b/TODO index b945462..1fa7315 100644 --- a/TODO +++ b/TODO @@ -15,7 +15,3 @@ Add translation support (using gettext, which uses .mo files and _ macro). It sh Add option to start replay on system startup (use the gpu screen recorder systemd file?) and use the settings from the replay page. This is not possible unless gsr-kms-server has cap (on amd/intel and nvidia wayland), so no flatpak. Dont add this option if not running systemd, or disable the button then. The program should minimize to taskbar on minimize. -Bypass password prompt in flatpak with polkit policy: https://gitlab.com/corectrl/corectrl/-/wikis/Setup#dont-ask-for-user-password - autostart can also be done by adding the application to ~/.config/autostart/com.dec05eba.gpu_screen_recorder, but that may not work on minimal window manager setups. So maybe use systemd instead. - The frontpage should have a toggle button saying "dont ask for password when recording", which should add those polkit changes to the system (requires root). Shouldn't this be done by the polkitd user? - Check if this is possible (if /etc/polkit-1/localauthority or /etc/polkit-1/rules.d exists). \ No newline at end of file diff --git a/com.dec05eba.gpu_screen_recorder.appdata.xml b/com.dec05eba.gpu_screen_recorder.appdata.xml index a482c66..adb5396 100644 --- a/com.dec05eba.gpu_screen_recorder.appdata.xml +++ b/com.dec05eba.gpu_screen_recorder.appdata.xml @@ -52,10 +52,11 @@ - +
  • Add option to remove password prompts (if possible on the system)
  • +
  • Add experimental av1 support (if supported by the hardware)
  • Configure quality settings to reduce file size on amd/intel
  • Workaround amd/intel driver issue when using h264 (or fps > 60) and mkv (forcefully set video codec to hevc)
diff --git a/src/main.cpp b/src/main.cpp index 233b4f6..80a8f72 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1304,7 +1304,7 @@ static gboolean on_start_replay_button_click(GtkButton *button, gpointer userdat "You need to have pkexec installed and a polkit agent running to record your monitor", G_NOTIFICATION_PRIORITY_URGENT); } else if(!exit_success) { show_notification(app, "GPU Screen Recorder", - "Failed to start replay. Either your graphics card doesn't support GPU Screen Recorder or you don't have enough disk space to record a video", G_NOTIFICATION_PRIORITY_URGENT); + "Failed to start replay. Either your graphics card doesn't support GPU Screen Recorder with the settings you used or you don't have enough disk space to record a video", G_NOTIFICATION_PRIORITY_URGENT); } return true; @@ -1423,7 +1423,7 @@ static gboolean on_start_recording_button_click(GtkButton *button, gpointer user std::string notification_body = std::string("The recording was saved to ") + record_file_current_filename; show_notification(app, "GPU Screen Recorder", notification_body.c_str(), G_NOTIFICATION_PRIORITY_NORMAL); } else { - show_notification(app, "GPU Screen Recorder", "Failed to save video. Either your graphics card doesn't support GPU Screen Recorder or you don't have enough disk space to record a video", G_NOTIFICATION_PRIORITY_URGENT); + show_notification(app, "GPU Screen Recorder", "Failed to save video. Either your graphics card doesn't support GPU Screen Recorder with the settings you used or you don't have enough disk space to record a video", G_NOTIFICATION_PRIORITY_URGENT); } return true; } @@ -1532,7 +1532,7 @@ static gboolean on_start_streaming_button_click(GtkButton *button, gpointer user } else if(exit_success) { show_notification(app, "GPU Screen Recorder", "Stopped streaming", G_NOTIFICATION_PRIORITY_NORMAL); } else { - show_notification(app, "GPU Screen Recorder", "Failed to stream video. There is either an error in your streaming config or your graphics card doesn't support GPU Screen Recorder", G_NOTIFICATION_PRIORITY_URGENT); + show_notification(app, "GPU Screen Recorder", "Failed to stream video. There is either an error in your streaming config or your graphics card doesn't support GPU Screen Recorder with the settings you used", G_NOTIFICATION_PRIORITY_URGENT); } return true; -- cgit v1.2.3