You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### On Ubuntu (Tested on 18.04, 20.04, 22.04, 24.04)
274
274
275
275
To use Flameshot instead of the default screenshot application in Ubuntu we need to remove the binding on <kbd>Prt Sc</kbd> key, and then create a new binding for `/usr/bin/flameshot gui` ([adapted](https://askubuntu.com/posts/1039949/revisions) from [Pavel's answer on AskUbuntu](https://askubuntu.com/revisions/1036473/1)).
276
276
@@ -281,19 +281,22 @@ To use Flameshot instead of the default screenshot application in Ubuntu we need
281
281
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'
282
282
```
283
283
284
-
Ubuntu 22.04: Go to _Settings_ > _Keyboard_ > _View and Customise Shortcuts_ > _Screenshots_ > _Take a screenshot interactively_ and press `backspace`
284
+
Ubuntu 22.04& 24.04: Go to _Settings_ > _Keyboard_ > _View and Customise Shortcuts_ > _Screenshots_ > _Take a screenshot interactively_ and press `backspace`
285
285
286
286
2. Add custom binding on <kbd>Prt Sc</kbd>:
287
287
288
288
Ubuntu 18.04: Go to _Settings_ > _Device_ > _Keyboard_ and press the '+' button at the bottom.
289
289
290
290
Ubuntu 20.04: Go to _Settings_ > _Keyboard Shortcuts_ and press the '+' button at the bottom.
291
291
292
-
Ubuntu 22.04: Go to _Settings_ > _Keyboard_ > _View and Customise Shortcuts_ > _Custom shortcuts_ and press the '+' button at the bottom.
292
+
Ubuntu 22.04& 24.04: Go to _Settings_ > _Keyboard_ > _View and Customise Shortcuts_ > _Custom shortcuts_ and press the '+' button at the bottom.
293
293
294
-
3. Name the command as you like it, e.g. `flameshot`. And in the command insert `/usr/bin/flameshot gui`.
294
+
3. Name the command as you like it, e.g. `flameshot`. And in the command insert.
295
+
296
+
* On Ubuntu up to 22.04: `/usr/bin/flameshot gui`.
297
+
* If that doesn't work, or on Ubuntu 24.04: `/bin/sh -c '/usr/bin/flameshot gui'`
295
298
296
-
4. Then click "_Set Shortcut.._" and press <kbd>Prt Sc</kbd>. This will show as "_print_".
299
+
5. Then click "_Set Shortcut.._" and press <kbd>Prt Sc</kbd>. This will show as "_print_".
297
300
298
301
Now every time you press <kbd>Prt Sc</kbd>, it will start the Flameshot GUI instead of the default application.
0 commit comments