Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37744393
en ru br
ALT Linux repos
S:12.1.0-alt2

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


--- 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);
         }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin