|
63 | 63 | - [Local](#local) |
64 | 64 | - [Global](#global) |
65 | 65 | - [On KDE Plasma desktop](#on-kde-plasma-desktop) |
66 | | - - [On Ubuntu](#on-ubuntu-tested-on-1804-2004-2204) |
| 66 | + - [On Ubuntu](#on-ubuntu-tested-on-2204) |
67 | 67 | - [On XFCE 4](#on-xfce-4) |
68 | 68 | - [On Fluxbox](#on-fluxbox) |
69 | 69 | - [Considerations](#considerations) |
@@ -272,25 +272,16 @@ Steps for using the configuration: |
272 | 272 | ln -s /var/lib/flatpak/exports/bin/org.flameshot.Flameshot ~/.local/bin/flameshot |
273 | 273 | ``` |
274 | 274 |
|
275 | | -#### On Ubuntu (Tested on 18.04, 20.04, 22.04) |
| 275 | +#### On Ubuntu (Tested 22.04) |
276 | 276 |
|
277 | 277 | 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)). |
278 | 278 |
|
279 | 279 | 1. Remove the binding on <kbd>Prt Sc</kbd>: |
280 | | - |
281 | | - Ubuntu 18.04/20.04 using the following command: |
282 | | - ```shell |
283 | | - gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]' |
284 | | - ``` |
285 | | - |
| 280 | + |
286 | 281 | Ubuntu 22.04: Go to _Settings_ > _Keyboard_ > _View and Customise Shortcuts_ > _Screenshots_ > _Take a screenshot interactively_ and press `backspace` |
287 | 282 |
|
288 | 283 | 2. Add custom binding on <kbd>Prt Sc</kbd>: |
289 | | - |
290 | | - Ubuntu 18.04: Go to _Settings_ > _Device_ > _Keyboard_ and press the '+' button at the bottom. |
291 | | - |
292 | | - Ubuntu 20.04: Go to _Settings_ > _Keyboard Shortcuts_ and press the '+' button at the bottom. |
293 | | - |
| 284 | + |
294 | 285 | Ubuntu 22.04: Go to _Settings_ > _Keyboard_ > _View and Customise Shortcuts_ > _Custom shortcuts_ and press the '+' button at the bottom. |
295 | 286 |
|
296 | 287 | 3. Name the command as you like it, e.g. `flameshot`. And in the command insert `/usr/bin/flameshot gui`. |
@@ -355,7 +346,7 @@ There are packages available in the repository of some Linux distributions: |
355 | 346 | + Snapshot also available via AUR: [flameshot-git](https://aur.archlinux.org/packages/flameshot-git). |
356 | 347 | - [Debian 10+](https://tracker.debian.org/pkg/flameshot): `apt install flameshot` |
357 | 348 | + Package for Debian 9 ("Stretch") also [available via stretch-backports](https://backports.debian.org/). |
358 | | -- [Ubuntu 18.04+](https://launchpad.net/ubuntu/+source/flameshot): `apt install flameshot` |
| 349 | +- [Ubuntu](https://launchpad.net/ubuntu/+source/flameshot): `apt install flameshot` |
359 | 350 | - [openSUSE](https://software.opensuse.org/package/flameshot): `zypper install flameshot` |
360 | 351 | - [Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/flameshot): `xbps-install flameshot` |
361 | 352 | - [Solus](https://dev.getsol.us/source/flameshot/): `eopkg it flameshot` |
@@ -402,7 +393,7 @@ Alternatively, in case you don't want to have a systray, you can always call Fla |
402 | 393 |
|
403 | 394 | 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](#dependencies) below for more information. You can also install most of the Qt dependencies via [their installer](https://www.qt.io/download-qt-installer). If you were developing Qt apps before, you probably already have them. |
404 | 395 |
|
405 | | -This project uses [CMake](https://cmake.org/) 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](https://cmake.org/download/). |
| 396 | +This project uses [CMake](https://cmake.org/) 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 or Debian) you can [download it on the official website](https://cmake.org/download/). |
406 | 397 |
|
407 | 398 | 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](https://doc.qt.io/qtcreator/creator-project-cmake.html). |
408 | 399 |
|
|
0 commit comments