flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.67k stars 1.58k forks source link

flameshot autostart problem #132

Open holazt opened 6 years ago

holazt commented 6 years ago

After flameshot setting Launch at startup, restart machine and then flameshot no longer shows the system tray icon, but the program has been running in the background.

Linux Mint 18.3 Cinnamon image

P.S. But on the Fedora 28, 'Launch at startup' is OK.

EmViKay commented 6 years ago

The same issue on arch

AlexWayfer commented 6 years ago

The same.

Is it duplicate of #18?

Anyway, I think if Flameshot has Launch at startup option — it should works well, especially in popular GNOME 3.

holazt commented 6 years ago

@AlexWayfer On Fedora 28 GNOME 3, it works OK.

AlexWayfer commented 6 years ago
gnome-shell 3.28.3+7+g721ce5403

Flameshot v0.6.0
Compiled with Qt 5.11.1

Arch Linux. Doesn't work OK. :disappointed:

anfabio commented 6 years ago

I solved the problem adding a 10 sec delay at the startup. screenshot

EmViKay commented 6 years ago

I solved the problem adding a 10 sec delay at the startup. screenshot

Arch haven't startup delay =(

anfabio commented 6 years ago

You could try to insert a delay manually using something like: /bin/bash -c "sleep 10; /usr/bin/flameshot &"

christianmtr commented 5 years ago

I just comment my case in other similar issue. https://github.com/lupoDharkael/flameshot/issues/403#issuecomment-441126951

ivan-pinatti commented 5 years ago

Same problem on Ubuntu 18.10.

@anfabio comment did the trick though, thanks man!

erenseymen commented 5 years ago

I had this issue on Manjaro Xfce. Recently Xfce has been updated on Manjaro and now the problem solved on my end but I'm not sure if xfce update fixed it or not. Xfce version 4.14-pre1 28

hparlak commented 3 years ago

I have this problem in Wayland/Gnome/Fedora 33 When "Launch at startup" configuration option is checked, after Fedora boots, I do not see flameshot in the status bar. I try to launch it, it still does not appear. I check the running processes, flameshot is there running. I kill it, relaunch it manually, it appears finally.

atorrescogollo commented 3 years ago

Another workaround when using GDM as Display Manager (e.g. Ubuntu 20.04.1 LTS):

  1. Create ~/bin/start_flameshot.sh:
    
    #!/bin/bash

Wait until gdm starts the X session (login)

until pgrep gdm-x-session; do sleep 5; done sleep 5

flameshot

2. Allow script execution:
```bash
$ chmod +x ~/bin/start_flameshot.sh
  1. Create the Startup Application
mirao commented 3 years ago

I can see the same issue in Ubuntu 20.10, GNOME Shell 3.38.2. I'm able to reproduce it with flameshot installed any way: From snap (Ubuntu Software) or over apt install flameshot. The issue is that when I login, flameshot process is running on background, but no tray icon appears.

Workaround: Kill the process and run manually

Used SW:

$ flameshot --version
Flameshot v0.8.3-2(Debian)
Compiled with Qt 5.14.2