Group :: Graphics
RPM: flameshot
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: flameshot-0.6.0-fix-autostart-icon.patch
Download
Download
--- a/src/utils/confighandler.cpp
+++ b/src/utils/confighandler.cpp
@@ -282,7 +282,8 @@ void ConfigHandler::setStartupLaunch(const bool start) {
if (start) {
if (file.open(QIODevice::WriteOnly)) {
QByteArray data("[Desktop Entry]\nName=flameshot\nIcon=flameshot"
- "\nExec=flameshot\nTerminal=false\nType=Application"
+ "\nExec=/bin/bash -c 'sleep 10; /usr/bin/flameshot &'"
+ "\nTerminal=false\nType=Application"
"\nX-GNOME-Autostart-enabled=true\n");
file.write(data);
}