Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions to use global shortcut in ubuntu #112

Open
arredond opened this issue Apr 3, 2019 · 5 comments
Open

Add instructions to use global shortcut in ubuntu #112

arredond opened this issue Apr 3, 2019 · 5 comments

Comments

@arredond
Copy link

arredond commented Apr 3, 2019

I'm a huge fan of your tool and have recently installed it on Ubuntu. For future users, I think adding some instructions to use global shortcuts in Ubuntu (same as with KDE Plasma) would be great. This StackExchange answer is a pretty good start:

If you need to replace the PrtScr shortcut do the following:

  1. Release the PrtScr binding by this command

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

  1. Go to Settings -> Devices -> Keyboard and scroll to the end. Press + and you will create custom shortcut.

Enter name: "flameshot", command: /usr/bin/flameshot gui.

  1. Set shortcut to PrtScr (print).

That is it. Next time you push PrtScr flameshot will be launched.

It's trivial enough but I'm happy to provide a PR if useful.

@devnoname120
Copy link

devnoname120 commented May 27, 2019

Actually you can instead do the following:

  1. Go to Settings -> Devices -> Keyboard and search for screenshot.
  2. Click on the save picture shortcut and press Backspace to reset it.
  3. Go to the bottom, click on + and create a custom shortcut.
  4. Enter name: flameshot, command: /usr/bin/flameshot gui. Press the Prnt Scrn key to assign the shortcut.

@rillig
Copy link

rillig commented Feb 8, 2023

And if /usr/bin/flameshot doesn't work, try /snap/bin/flameshot. (Ubuntu 22.04)

@mmahmoudian
Copy link
Member

This link has explained it for some of the Desktop Environments (Gnome, KDE, Mate):

https://www.addictivetips.com/ubuntu-linux-tips/flameshot-default-linux-screenshot-app/

@mmahmoudian mmahmoudian transferred this issue from flameshot-org/flameshot Feb 10, 2023
@rillig
Copy link

rillig commented Feb 10, 2023

@mmahmoudian Thanks for the link. As an ordinary user, I don't want to follow this lengthy list of steps just to achieve what I expect to be built-in into a screenshot application: That it offers to install itself as the default screenshot app bound to the PrtScr key.

@mmahmoudian
Copy link
Member

mmahmoudian commented Feb 10, 2023

@rillig these steps are very straightforward, very easy, and very very quick (less than 5 clicks in total). If you are looking for a software that makes all decisions on your behalf without considering your preference, you are using the wrong operating system and wrong software. We will never offer such limiting obscure thing. It is against every belief of proper software design and Linux culture. Users are expected to know their software stack and operating system, or else they are just pure obedient consumers. What we provide in Flameshot is giving the user the options and freedom.

Update: on second thought, I personally would not do it, but this should be decided by the whole dev team. So I put my vote on "not blindly pushing a default keybinding for invoking Flameshot". The rest can be discussed by the rest of the dev team and the consensus decision will be taken as the general stand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants