Git Product home page Git Product logo

flameshot-org / flameshot Goto Github PK

View Code? Open in Web Editor NEW
23.2K 207.0 1.5K 22.76 MB

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:

Home Page: https://flameshot.org

License: GNU General Public License v3.0

C++ 87.74% C 0.16% CMake 5.82% Makefile 0.08% Shell 3.28% Python 1.74% Roff 1.15% Nix 0.02%
screenshot qt image-editing gnu-linux free-software capture gui hacktoberfest cross-platform

flameshot's Introduction

Flameshot
Flameshot

Powerful yet simple to use screenshot software.

GNU/Linux Build Status Windows Build Status MacOS Build Status Nightly Build Latest Stable Release Total Downloads License Translation status Docs
Get it from the Snap Store Download on Flathub

Preview

image

Index

Features

  • Customizable appearance.
  • Easy to use.
  • In-app screenshot editing.
  • DBus interface.
  • Upload to Imgur.

Usage

Executing the command flameshot without parameters will launch a running instance of the program in the background without taking actions. If your desktop environment provides tray area, a tray icon will also appear in the tray for users to perform configuration and management.

Example commands:

  • Capture with GUI:

    flameshot gui
  • Capture with GUI with custom save path:

    flameshot gui -p ~/myStuff/captures
  • Capture with GUI after 2 seconds delay (can be useful to take screenshots of mouse hover tooltips, etc.):

    flameshot gui -d 2000
  • Fullscreen capture with custom save path (no GUI) and delayed:

    flameshot full -p ~/myStuff/captures -d 5000
  • Fullscreen capture with custom save path copying to clipboard:

    flameshot full -c -p ~/myStuff/captures
  • Capture the screen containing the mouse and print the image (bytes) in PNG format:

    flameshot screen -r
  • Capture the screen number 1 and copy it to the clipboard:

    flameshot screen -n 1 -c

In case of doubt choose the first or the second command as shortcut in your favorite desktop environment.

A systray icon will be in your system's panel while Flameshot is running. Do a right click on the tray icon and you'll see some menu items to open the configuration window and the information window. Check out the About window to see all available shortcuts in the graphical capture mode.

CLI configuration

You can use the graphical menu to configure Flameshot, but alternatively you can use your terminal or scripts to do so.

  • Open the configuration menu:

    flameshot config
  • Show the initial help message in the capture mode:

    flameshot config --showhelp true
  • For more information about the available options use the help flag:

    flameshot config -h

Config file

You can also edit some of the settings (like overriding the default colors) in the configuration file.
Linux path: ~/.config/flameshot/flameshot.ini.
Windows path: C:\Users\{YOURNAME}\AppData\Roaming\flameshot\flameshot.ini.

When copying over the config file from Linux to Windows or vice versa, make sure to correct the savePath variable,
so that the screenshots save in the right directory on your desired file system.

Keyboard shortcuts

Local

These shortcuts are available in GUI mode:

Keys Description
P Set the Pencil as paint tool
D Set the Line as paint tool
A Set the Arrow as paint tool
S Set Selection as paint tool
R Set the Rectangle as paint tool
C Set the Circle as paint tool
M Set the Marker as paint tool
T Add text to your capture
B Set Pixelate as the paint tool
, , , Move selection 1px
Shift + , , , Resize selection 1px
Ctrl + Shift + , , , Symmetrically resize selection 2px
Esc Quit capture
Ctrl + M Move the selection area
Ctrl + C Copy to clipboard
Ctrl + S Save selection as a file
Ctrl + Z Undo the last modification
Ctrl + Shift + Z Redo the next modification
Ctrl + Q Leave the capture screen
Ctrl + O Choose an app to open the capture
Ctrl + Return Commit text in text area
Return Upload the selection to Imgur
Spacebar Toggle visibility of sidebar with options of the selected tool, color picker for the drawing color and history menu
Right Click Show the color wheel
Mouse Wheel Change the tool's thickness
Print screen Capture Screen
Shift + Print Screenshot History
Ctrl + drawing line, arrow or marker Drawing only horizontally, vertically or diagonally
Ctrl + drawing rectangle or circle Keeping aspect ratio

Shift + drag a handler of the selection area: mirror redimension in the opposite handler.

Global

Flameshot uses Print screen (Windows) and cmd-shift-x (macOS) as default global hotkeys.

On Linux, Flameshot doesn't yet support Prt Sc out of the box, but with a bit of configuration you can set this up:

On KDE Plasma desktop

To make configuration easier, there's a file in the repository that more or less automates this process. This file will assign the following hotkeys by default:

Keys Description
Prt Sc Start the Flameshot screenshot tool and take a screenshot
Ctrl + Prt Sc Wait for 3 seconds, then start the Flameshot screenshot tool and take a screenshot
Shift + Prt Sc Take a full-screen (all monitors) screenshot and save it
Ctrl + Shift + Prt Sc Take a full-screen (all monitors) screenshot and copy it to the clipboard

If you don't like the defaults, they can be changed later.

Steps for using the configuration:

  1. The configuration file makes Flameshot automatically save screenshots to ~/Pictures/Screenshots without opening the save dialog. Make sure that folder exists by running:

    mkdir -p ~/Pictures/Screenshots

    (If you don't like the default location, you can skip this step and configure your preferred directory later.)

  2. Download the configuration file:

    cd ~/Desktop
    wget https://raw.githubusercontent.com/flameshot-org/flameshot/master/docs/shortcuts-config/flameshot-shortcuts-kde.khotkeys
  3. Make sure you have the khotkeys installed using your package manager to enable custom shortcuts in KDE Plasma.

  4. Go to System SettingsShortcutsCustom Shortcuts.

  5. If an entry exists for Spectacle (the default KDE screenshot utility), you'll need to disable it because its shortcuts might conflict with Flameshot's. Do this by unchecking the Spectacle entry.

  6. Click EditImport..., navigate to the configuration file and open it.

  7. Now the Flameshot entry should appear in the list. Click Apply to apply the changes.

  8. If you want to change the default hotkeys, you can expand the entry, select the appropriate action and modify it as you wish; the process is pretty self-explanatory.

  9. If you installed Flameshot as a Flatpak, you will need to create a symlink to the command:

    ln -s /var/lib/flatpak/exports/bin/org.flameshot.Flameshot ~/.local/bin/flameshot

On Ubuntu (Tested on 18.04, 20.04, 22.04)

To use Flameshot instead of the default screenshot application in Ubuntu we need to remove the binding on Prt Sc key, and then create a new binding for /usr/bin/flameshot gui (adapted from Pavel's answer on AskUbuntu).

  1. Remove the binding on Prt Sc:

    Ubuntu 18.04/20.04 using the following command:

    gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'

    Ubuntu 22.04: Go to Settings > Keyboard > View and Customise Shortcuts > Screenshots > Take a screenshot interactively and press backspace

  2. Add custom binding on Prt Sc:

    Ubuntu 18.04: Go to Settings > Device > Keyboard and press the '+' button at the bottom.

    Ubuntu 20.04: Go to Settings > Keyboard Shortcuts and press the '+' button at the bottom.

    Ubuntu 22.04: Go to Settings > Keyboard > View and Customise Shortcuts > Custom shortcuts and press the '+' button at the bottom.

  3. Name the command as you like it, e.g. flameshot. And in the command insert /usr/bin/flameshot gui.

  4. Then click "Set Shortcut.." and press Prt Sc. This will show as "print".

Now every time you press Prt Sc, it will start the Flameshot GUI instead of the default application.

On XFCE 4

  1. Go to Keyboard settings

  2. Switch to the tab Application Shortcuts

  3. Find the entry

    Command                        Shortcut
    xfce4-screenshooter -fd 1      Print
    
  4. Replace xfce4-screenshooter -fd 1 with flameshot gui

Now every time you press Prt Sc it will start Flameshot GUI instead of the default application.

Considerations

  • Experimental Gnome Wayland and Plasma Wayland support.

  • If you are using Gnome you need to install the AppIndicator and KStatusNotifierItem Support extension in order to see the system tray icon.

  • Press Enter or Ctrl + C when you are in a capture mode and you don't have an active selection and the whole desktop will be copied to your clipboard. Pressing Ctrl + S will save your capture to a file. Check the Shortcuts for more information.

  • Flameshot works best with a desktop environment that includes D-Bus. See this article for tips on using Flameshot in a minimal window manager (dwm, i3, xmonad, etc).

  • In order to speed up the first launch of Flameshot (D-Bus init of the app can be slow), consider starting the application automatically on boot.

    • Quick tip: If you don't have Flameshot to autostart at boot and you want to set keyboard shortcut, use the following as the command for the keybinding:
    ( flameshot &; ) && ( sleep 0.5s && flameshot gui )

Installation

Flameshot can be installed on Linux, Microsoft Windows, and macOS.

Prebuilt packages

Some prebuilt packages are provided on the release page of the GitHub project repository.

Packages from Repository

There are packages available in the repository of some Linux distributions:

MacOS

  • MacPorts: sudo port selfupdate && sudo port install flameshot
  • Homebrew: brew install --cask flameshot

Note that because of macOS security features, you may not be able to open flameshot when installed using brew. If you see the message “flameshot” cannot be opened because the developer cannot be verified. you will need to follow the steps below:

  1. Go to the Applications folder (Finder > Go > Applications, or Shift+Command+A)
  2. Right-Click on "flameshot.app" and choose "Open" from the context menu
  3. In the dialog click "Open"

After following all those steps above, flameshot will open without problems in your Mac.

Windows

Expand this section to see what distros are using an up to date version of flameshot Packaging status

Tray icon

Note that for the Flameshot icon to appear in your tray area, you should have a systray software installed. This is especially true for users who use minimal window managers such as dwm. In some Desktop Environment installations (e.g Gnome), the systray might be missing and you can install an application or plugin (e.g Gnome shell extension) to add the systray to your setup. It has been reported) that icon of some software, including Flameshot, does not show in gnome-shell-extension-appindicator.

Alternatively, in case you don't want to have a systray, you can always call Flameshot from the terminal. See Usage section.

Compilation

To build the application in your system, you'll need to install the dependencies needed for it and package names might be different for each distribution, see Dependencies below for more information. You can also install most of the Qt dependencies via their installer. If you were developing Qt apps before, you probably already have them.

This project uses CMake build system, so you need to install it in order to build the project (on most Linux distributions it is available in the standard repositories as a package called cmake). If your distribution provides too old version of CMake (e.g. Ubuntu 18.04) you can download it on the official website.

Also you can open and build/debug the project in a C++ IDE. For example, in Qt Creator you should be able to simply open CMakeLists.txt via Open File or Project in the menu after installing CMake into your system. More information about CMake projects in Qt Creator.

Dependencies

Compile-time

  • Qt >= 5.9
    • Development tools
  • GCC >= 7.4
  • CMake >= 3.13

Run-time

  • Qt
    • SVG

Optional

  • Git
  • OpenSSL
  • CA Certificates

Debian

# Compile-time
apt install g++ cmake build-essential qtbase5-dev qttools5-dev-tools libqt5svg5-dev qttools5-dev

# Run-time
apt install libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 libqt5svg5

# Optional
apt install git openssl ca-certificates

Fedora

# Compile-time
dnf install gcc-c++ cmake qt5-qtbase-devel qt5-linguist

# Run-time
dnf install qt5-qtbase qt5-qtsvg-devel

# Optional
dnf install git openssl ca-certificates

Arch

# Compile-time
pacman -S cmake base-devel git qt5-base qt5-tools

# Run-time
pacman -S qt5-svg

# Optional
pacman -S openssl ca-certificates

NixOS

nix-shell

MacOS

First of all you need to install brew and than install dependencies

brew install qt5
brew install cmake

Build

After installing all the dependencies, finally run the following commands in the sources root directory:

cmake -S . -B build && cmake --build build

NOTE: for macOS you should replace command

cmake -S . -B build

to

cmake -S . -B build -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5

When cmake --build build command completed you can launch flameshot from project_folder/build/src folder

Install

Simply use cmake --install build with privileges. Note: If you install from source, there is no uninstaller, you will need to manually remove the files. Consider using CMAKE_INSTALL_PREFIX to install to a custom location for easy removal.

FAQ

https://flameshot.org/docs/guide/faq/

License

Info: If I take code from your project and that implies a relicense to GPLv3, you can reuse my changes with the original previous license of your project applied.

Privacy Policy

This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.

Code Signing Policy

For Windows binaries, this program uses free code signing provided by SignPath.io, and a certificate by the SignPath Foundation.

Code signing is currently a manual process so not every patch release will be signed.

Contribute

If you want to contribute check the CONTRIBUTING.md

Acknowledgment

Thanks to those who have shown interest in the early development process:

Thanks to sponsors:

flameshot's People

Contributors

adem4ik avatar alaskra avatar albanobattistella avatar alexp11223 avatar alfredoramos avatar andreamarangoni avatar borgmanjeremy avatar chux0519 avatar greno4ka avatar holazt avatar hosiet avatar jfly avatar juanma1980 avatar lupodharkael avatar luzpaz avatar mantas-2155x avatar martin-eckleben avatar mmahmoudian avatar napcok avatar nathannogueira avatar nullobsi avatar oltulu avatar panpuchkov avatar plasmus777 avatar rielcho avatar stoyandimitrov avatar theschitz avatar veracioux avatar weblate avatar xvitaly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flameshot's Issues

dual monitor

hello atm this only works on the main monitor and secondary monitor is ignored
1 flameshot gui

2 the main monitor gets the notification

3 outside main monitor the cross cursor become normal mouse pointer

Error building, missing lrelease dependency

When I build flameshot, It show the next error:

/usr/lib/x86_64-linux-gnu/qt5/bin/lrelease: not found
Project ERROR: Failed to run: /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease -removeidentical translation/Internationalization_es.ts -qm /usr/src/flameshot/translation/Internationalization_es.qm

Capturing screenshots and opening config

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.

Configuration is lost when the process terminates

Hello, thanks for creating this neat tool.
There is one issue that I'm experiencing and I'm not sure how to fix it.
Whenever I restart the flameshot process, the configuration resets and I have to configure it again.

Steps:

  1. Start flameshot.
  2. Change configuration using flameshot config or edit the ~/.config/Dharkael/flameshot.conf file.
  3. Terminate the flameshot process or exit the application.
  4. Start a new instance of flameshot.
  5. Configuration is reset back to default values.

Version:

flameshot -v output:

Flameshot 
Compiled with QT 5.9.1

AUR version:

0.4.1

System:

  • Arch Linux
  • i3 window manager

nextcloud/owncloud support

Hi,
flameshot looks promising! It would be nice to support upload to nextcloud/owncloud and get a sharable link to clipboard via one push of button.
Thanks!

Compilation on gentoo

So I attempted to compile on Gentoo Linux and the compilation fails at make:
2017-07-02-16 54 08
Any idea/hint what package/dependency could be missing?

Upload to different locations

Hi !

Flameshot looks quite promising, i'd love to have the possibility to upload right into a FTP or SFTP and directly get the url copied in my clipboard.

Like puush or the dead project Screencloud.

Do you think you could implement this feature ?

Thanks :)

Black and white colors in the color picker

Hey, great app!

Would you consider adding white and black colors to the color-picker-wheel-thingy?

Sometimes I want to remove text or graphics from my screenshots, and the available colors make this a bit awkward.

Internationalization and keyboard shotcuts SHIFT

Good Day.
I assembled the program and ran into the fact that the path /usr/share/flameshot/translations/ is constant. When compile with default prefix /usr/local. ,

QTranslator translator;
    translator.load(QLocale::system().language(),
      "Internationalization", "_", "/usr/share/flameshot/translations/");

Because of this, when compile with default prefix /usr/local the localization does not work and you have to manually create a link or copy translations into / usr / share /.
See file src/main.cpp

Shotcuts SHIFT to the righ. and SHIFT bottom does not work.

Best Regards.
Vadim K.
Russia.

Make transparency configurable

I'd like to be able to choose how dark the non-screenshotted part of the screen is prior to taking a screenshot. On my screen it happens to be barely visible, making it hard to take a screenshot.

A slider from 0% to 80% on the configuration editor would be ideal for this.

Defining naming schemes for output files

Since the application currently defaults to screenshot.png it would be nice to add a configuration file or cmdline switch in order to provide a naming scheme for the files e.g. based on date and time variables.

Alternatively or additionally an option to define the output file in addition to the directory would also be handy.

For the output file it would also be nice if we could use - instead of an actual file to utilize the bash pipes to pass the image directly on to another process (e.g. imagemagick) without storing it first:

./flameshot gui | magick png:- +negate screenshot.png

(negates the image colors in theory syntax might be off a bit)

Selecting a window in GUI mode

When running in GUI selection mode it would be nice if the initial selection could be set to the window outlines by just left clicking a window without dragging.

Adding text?

Great app.
Is there a way to add "text" to my shots?

Permission denied?

Sorry if this is a captain obvious issue; I'm not super great at compiling from source.

I followed the readme's directions, and then near the end:

kymus@Sanxing:~/flameshot$ sudo qmake && make
Updating '/home/kymus/flameshot/translation/Internationalization_es.qm'...
Removing translations equal to source text in '/home/kymus/flameshot/translation/Internationalization_es.qm'...
   Generated 133 translation(s) (133 finished and 0 unfinished)
Updating '/home/kymus/flameshot/translation/Internationalization_ca.qm'...
Removing translations equal to source text in '/home/kymus/flameshot/translation/Internationalization_ca.qm'...
   Generated 132 translation(s) (132 finished and 0 unfinished)
Updating '/home/kymus/flameshot/translation/Internationalization_ru.qm'...
Removing translations equal to source text in '/home/kymus/flameshot/translation/Internationalization_ru.qm'...
   Generated 134 translation(s) (0 finished and 134 unfinished)
   Ignored 3 untranslated source text(s)
Updating '/home/kymus/flameshot/translation/Internationalization_zh-cn.qm'...
Removing translations equal to source text in '/home/kymus/flameshot/translation/Internationalization_zh-cn.qm'...
   Generated 131 translation(s) (129 finished and 2 unfinished)
   Ignored 4 untranslated source text(s)
g++ -c -m64 -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DAPP_VERSION=\"v0.5.0-44-g4a11806\" -DQT_DEPRECATED_WARNINGS -DQAPPLICATION_CLASS=QApplication -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc/third-party/singleapplication -Isrc/third-party/Qt-Color-Widgets/src -Isrc/third-party/Qt-Color-Widgets/include -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o singleapplication.o src/third-party/singleapplication/singleapplication.cpp
Assembler messages:
Fatal error: can't create singleapplication.o: Permission denied
Makefile:1072: recipe for target 'singleapplication.o' failed
make: *** [singleapplication.o] Error 2
kymus@Sanxing:~/flameshot$ 

I used the sudo command but I'm getting a "permission denied" error and then the installation fails?

I'm using Ubuntu 17.10 FWIW

Adding more settings to the configuration GUI

Hi lupo! May I suggest adding a few more simple options to the GUI, such as specifying a delay (yes I know you can do this through terminal), or having an option to map different functions to hotkeys. Even better if you can somehow make it behave like ShareX where you can specify a workflow and map it to a hotkey.

Thanks very much for this wonderful and creative piece of software

overlay displaced on multiple displays with different resolutions

Okay, so it might be an issue regarding both ultrawide monitors (speaking of 2.35:1) and multiple displays.
When taking a screenshot on such setups it basically creates a misplaced overlay across the screen which contains the correct content but is offset by some value.
img-2017-07-03-213452
On the left used to be another chrome window (right edge still visible) but instead the overlay which is supposed to be centered is offset to the left. Again I don't know if it is a bug related to multiple monitors or to ultrawides since I don't have another monitor hooked up currently but it might still mess things up since my xorg config includes some variables regarding it.

Version number doesn't appear when "flameshot -v"

I'm currently using Flameshot under Archlinux with XFCE. I installed flameshot version 4.1 from the AUR repo.

The problem is when doing
flameshot -v or flameshot --version
doesn't appear the version number. (The QT version number actually appear)

Also, it doesn't appear in the graphic window "Information"

Updating

First of all, this is the most awesome tool ever! Excellent work!

Not necessarily an issue, but lack of experience on my part:

As you release new versions and updates, how do I update this?

Do I just re-download and install? Must I uninstall it first? Is there an update process?

How do I uninstall? Do I run "make uninstall" from the directory I made it from?

I'm running it on Fedora 27 Workstation in Gnome 3.26.

Thank you!

Compilation fails with openSUSE Leap 42.3

openSUSE Leap comes with QT 5.6, but it fails to compile at some point.

Excerpt of output:

g++ -c -pipe -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DAPP_VERSION -DQT_DEPRECATED_WARNINGS -DQAPPLICATION_CLASS=QApplication -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc/third-party/singleapplication -Isrc/third-party/Qt-Color-Widgets/src -Isrc/third-party/Qt-Color-Widgets/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o geneneralconf.o src/config/geneneralconf.cpp
g++ -c -pipe -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DAPP_VERSION -DQT_DEPRECATED_WARNINGS -DQAPPLICATION_CLASS=QApplication -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc/third-party/singleapplication -Isrc/third-party/Qt-Color-Widgets/src -Isrc/third-party/Qt-Color-Widgets/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o controller.o src/core/controller.cpp
src/core/controller.cpp: In member function ‘void Controller::createVisualCapture(uint, const QString&)’:
src/core/controller.cpp:81:49: error: no matching function for call to ‘Controller::connect(QPointer<CaptureWidget>&, void (CaptureWidget::*)(uint), Controller* const, void (Controller::*)(uint))’
                 this, &Controller::captureFailed);
                                                 ^
src/core/controller.cpp:81:49: note: candidates are:
In file included from /usr/include/qt5/QtCore/QObject:1:0,
                 from src/core/controller.h:21,
                 from src/core/controller.cpp:18:
/usr/include/qt5/QtCore/qobject.h:196:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const char *signal,
                                    ^
/usr/include/qt5/QtCore/qobject.h:196:36: note:   no known conversion for argument 2 from ‘void (CaptureWidget::*)(uint) {aka void (CaptureWidget::*)(unsigned int)}’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:199:36: note: static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)
     static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
                                    ^
/usr/include/qt5/QtCore/qobject.h:199:36: note:   no known conversion for argument 2 from ‘void (CaptureWidget::*)(uint) {aka void (CaptureWidget::*)(unsigned int)}’ to ‘const QMetaMethod&’
/usr/include/qt5/QtCore/qobject.h:474:32: note: QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
 inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal,
                                ^
/usr/include/qt5/QtCore/qobject.h:474:32: note:   no known conversion for argument 2 from ‘void (CaptureWidget::*)(uint) {aka void (CaptureWidget::*)(unsigned int)}’ to ‘const char*’
/usr/include/qt5/QtCore/qobject.h:213:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)
     static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,

Install in custom dir

The Makefile created doesn't allow install in a custom folder.
For example to install in /usr/ instead /usr/local/.
I'm trying to create an AUR package (for Arch Linux) but the actual install system doesn't allow this because I need install in a custom folder.

upload file to imgur

Thanks !, the application is just great.
I have compiled it in Fedora 23 and it works perfectly.
But when I try to make a capture and upload it to imgur, it says that it is uploading but does not show any notifications when it finishes uploading, or the url it generates from the image.

Sorry for the translation, I use Google Translate.

Please provide a Linux AppImage for download

https://github.com/lupoDharkael/flameshot/blob/569438aadd85fd84aeeea516ee916a4272cdf54d/.travis.yml#L159

Since you are already using linuxdeployqt it should be quite easy to also provide an AppImage for Linux on GitHub Releases.

Providing an AppImage would have, among others, these advantages:

  • Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
  • One app = one file = super simple for users: just download one AppImage file, make it executable, and run
  • No unpacking or installation necessary
  • No root needed
  • No system libraries changed
  • Works out of the box, no installation of runtimes needed
  • Optional desktop integration with appimaged
  • Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
  • Can optionally GPG2-sign your AppImages (inside the file)
  • Works on Live ISOs
  • Can use the same AppImages when dual-booting multiple distributions
  • Can be listed in the AppImageHub central directory of available AppImages
  • Can double as a self-extracting compressed archive with the --appimage-extract parameter

Here is an overview of projects that are already distributing upstream-provided, official AppImages.

If you have questions, AppImage developers are on #AppImage on irc.freenode.net.

Esc button not working for cancelling a screenshot.

I am on Ubuntu 17.10. I cant cancel taking a screenshot after I double click on Tray icon to take a screenshot.

Please add a configuration in GUI for adding a default delay between the double click and screenshot.

Thanks for this amazing app.

Screen capture shortcut

Is there a way to set up a keyboard shortcut for screen capture?
I mean, when I start flameshot I get screen capture options. Once it's over I still have a tray icon through which I can set up configuration but I don't see other way to trigger screeen capture than running flameshot gui command from the console again.
What am I missing?

support Windows system?

I change some code and use Mingw32 to build on windows10, It runs well, but there are still some problems, such as color widgets. I upload the compiled application here.

flameshot

[Feature] Support scroll screenshot

The scrolling screenshot interaction of this Mac application Xnip is worth learning, I think flameshot can also be achieved.

the gif(compressed) animation:

scroll screenshot-compressed

gui + Hidpi design improvements

Just tested flameshot as a possible replacement for shutter.
concerning the features they are very much enough for me, apart from delay before capture as already mentioned by another user.
I love the ability to open directly with inkscape.

But being on Gnome + having a hidpi screen, the usability is greatly hindered.
The buttons are really tiny and the info regarding the screenshot size is not readable.
The GUI (at least on a GTK DE) is very rough right now.
This app could really be superb.
capture d ecran de 2018-01-05 11-56-12

capture d ecran de 2018-01-05  #11-52-15

Name configs after application name

Having the config files/folders named after the application and not after the developers username would be a lot more meaningful I think.
As far as I can tell this includes
~/.config/Dharkael.conf
~/.config/Dharkael/flameshot.conf
/etc/xdg/Dharkael.conf
/etc/xdg/Dharkael/flameshot.conf

Suggested enhancements

My huge thanks for your development, its super application that works super awesome on my multi-monitor configuration (that was the reason to migrate from screencloud).

However, I'm missing some features:

  1. Authorized imgur, — sometimes you want to hide some private screenshots from the internet
  2. Would be nice to have configurable hotkeys for making:
  • Select area screenshot
  • Selected window screenshot
  • All the area screenshot (and, maybe, screenshot of monitor where is the active window now)
  1. Configurable default delay: sometimes you need it for making screenshot. Simple way here is just a setting in configuration window. But if we would be able to have also duplicated hotkeys to make all the screenshots with delay — that would be very nice. E.g.: selected area screenshot with PrntScreen button and selected area screenshot with configured delay = Ctrl+PrntScreen .
  2. Next thing is a bit more configurated hotkeys so with a single hotkey and no more clicks you would be able to make a screenshot; have it uploaded to imgur and have an already copied link in your buffer to share it with your friend by pasting it in chat.

Thanks in advance! English is not my native language, so I'm sorry for mistakes done in this text. Hoping everything is understandable 😺

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.