Flameshot: Capturing screenshots and opening config

Created on 8 Jan 2018  路  7Comments  路  Source: flameshot-org/flameshot

Using Antegros with KDE, no Wayland, installed from the AUR. When I try to open configure, either by right clicking the tray icon or through CLI, the app just closes.
Also, the screenshots aren't saved anywhere, even when capture with GUI with custom save path is used, when GUI used, they aren't uploaded to Imgur and can't be copied to clipboard.
I can provide additional information if needed.

Most helpful comment

I doesn't have it.
I'll implement logs in /var/log/ so you can read it.

All 7 comments

Does it log something if you start flameshot from the terminal and do something causing a crash?

Icon theme "ubuntu-mono-dark" not found.
Icon theme "gnome" not found.
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid

Is what I get when trying to configure right clicking on tray icon.
When using flameshot in config it does nothing, and doesn't print any errors.
edit: I see the issue now (Locale not properly set), don't know if it has anything to do with not saving screenshots though.
edit2: After fixing the locale issue, everyhing works as intended. Thanks for this great program @lupoDharkael

After a bit more digging, I found out that capturing screenshots still doesn't work in some cases, and I can't find why.

If I run flameshot from the terminal, everything works as it should. But if I run it from application list, it crashes upon trying to save/upload/copy to clipboard and trying to open configure. I also tried making a simple shell script to run it. When I run that script from the terminal it works, but when I run it normally (from KDE), it crashes upon trying to save/upload/copy to clipboard and trying to open configure.
#!/usr/bin/zsh
#Trying to run flameshot


flameshot
I also tried making a keyboard shortcut (flameshot gui -p /home/mkrajinovic/Pictures/) from the KDE system settings. When flameshot is running in my terminal, everything works as intended. But when Flameshot is running without the terminal capturing and config crashes. Same thing happens without passing the save location argument using just "flameshot gui". If the script is like this
#!/usr/bin/zsh
#Trying to run flameshot

flameshot gui -p /home/mkrajinovic/Pictures/

Running it from the system and keyboard shortcut crashes Flameshot, even running it from the terminal crashes. Same thing happens without passing the save location argument using just flameshot gui

Could be something with the locale issue, but when using both bash and zsh and running "locale" everything seems in order.
I'm still not an expert in Linux, so maybe some part of the system has the locale issue, and I can't detect it, so it causes these crashes.

edit:

So I went into KDE System settings, reset the locale to default.
Now if I first run flameshot from application list, and then use keyboard shortcut "flameshot gui", or click the tray icon, it works as intended. If the flameshot isn't previously running, and i use the same shortcut, the GUI for taking the screenshot appears, but crashes upon trying to save the image.

no log for this new problem?

Does the program write any logs when not running from terminal? If so, I can provide it.

I doesn't have it.
I'll implement logs in /var/log/ so you can read it.

Thanks. I hope there will be something useful in them.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrinvisible0 picture mrinvisible0  路  4Comments

mmesnjak picture mmesnjak  路  4Comments

szszoke picture szszoke  路  4Comments

xahon picture xahon  路  3Comments

orschiro picture orschiro  路  3Comments