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
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` ([adaptated](https://askubuntu.com/posts/1039949/revisions) from [Pavel's answer on AskUbuntu](https://askubuntu.com/revisions/1036473/1)).
274
274
275
-
1. Remove the binding on <kbd>Prt Sc</kbd> using the following command.
275
+
1. Remove the binding on <kbd>Prt Sc</kbd>:
276
276
277
-
```shell
278
-
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'
279
-
```
280
-
281
-
2. Ubuntu 18.04: Go to Settings > Device > Keyboard and press the '+' button at the bottom.
282
-
Ubuntu 20.04: Go to Settings > Keyboard and press the '+' button at the bottom.
277
+
Ubuntu 18.04/20.04 using the following command:
278
+
```shell
279
+
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'
280
+
```
281
+
282
+
Ubuntu 22.04: Go to _Settings_ > _Keyboard_ > _View and Customise Shortcuts_ > _Screenshots_ > _Take a screenshot interactively_ and press `backspace`
283
+
284
+
2. Add custom binding on <kbd>Prt Sc</kbd>:
285
+
286
+
Ubuntu 18.04: Go to _Settings_ > _Device_ > _Keyboard_ and press the '+' button at the bottom.
287
+
288
+
Ubuntu 20.04: Go to _Settings_ > _Keyboard_ and press the '+' button at the bottom.
289
+
290
+
Ubuntu 22.04: Go to _Settings_ > _Keyboard_ > _View and Customise Shortcuts_ > _Custom shortcuts_ and press the '+' button at the bottom.
283
291
284
292
3. Name the command as you like it, e.g. `flameshot`. And in the command insert `/usr/bin/flameshot gui`.
0 commit comments