shutter-project / shutter

Screenshot tool for Linux
https://shutter-project.org/
GNU General Public License v3.0
503 stars 34 forks source link

Shutter has problems lauching at startup #681

Open conualfy opened 6 days ago

conualfy commented 6 days ago

Brief summary of issue

For some reasons, even if the checkbox is set to launch minimized (tray icon actually) at startup and on startup list I do have "shutter --min_at_startup", it has problems auto starting. Not sure what exactly is the problem, but I would expect something easy, like some path not being recognized or something like that, just don't know how to check exactly.

Steps to reproduce the issue

  1. Installed Shutter, set for autostart on startup
  2. Shutter does not start on startup

Error output

-

Extra information, such as Shutter version, display server in use (Xorg or Wayland), operating system and ideas for how to solve:

I use X11 on Ubuntu 24.04 but it worked the same on previous releases. I checked the startup apps and it should work as "shutter --min_at_startup" is there, but it does not.

Photon89 commented 6 days ago

Does it show the main window at launch or doesn't it start up at all?

conualfy commented 5 days ago

It does not start at all.

Does it show the main window at launch or doesn't it start up at all?

Photon89 commented 5 days ago

Does it only happen with the --min_at_startup option or is Shutter possibly not starting at all, regardless what options are set?

conualfy commented 5 days ago

I did not try without the parameter as that is the default when the option is activated. Editing now.

conualfy commented 5 days ago

Just tried it without the parameter. Both with autologin and with manual login it does not start.

Photon89 commented 5 days ago

Does it only crash when launched at startup, or does it crash if launched manually after DE session start as well? Which DE are you using btw., Gnome, right?

conualfy commented 1 day ago

Sorry for the late reply, I only now saw the reply. If I run it manually, it starts, so only on startup. Yes, Gnome Shell. log.txt

Photon89 commented 11 hours ago

Here is a possible workaround: https://github.com/shutter-project/shutter/issues/372#issuecomment-1229431940

Brief summary: Add a .desktop file shutter1.desktop into .config/autostart/ with the X-GNOME-Autostart-Delay=30 option. This will delay the startup process by 30 seconds (you can edit the value to suit your needs), such that Shutter isn't started too early for Gnome Shell.