flameshot-org / flameshot

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

D-Bus interface to bring up the GUI #3305

Open markozajc opened 1 year ago

markozajc commented 1 year ago

Feature Description

Hello! flameshot gui takes relatively long (~1 second) to show the GUI, but I noticed that flameshot runs in the system tray, and clicking its icon shows the GUI instantly. I would like to use this in my hotkey script, but it doesn't seem like it's possible to automate systray interaction. I looked through flameshot's D-Bus methods, and none of them seem to achieve this, but I faintly recall flameshot having that option in the past. Could you add a D-Bus method that would have the same effect as clicking the system tray icon?