Skip to content

Commit 160f2df

Browse files
authored
Merge pull request #1 from FaraSys/pr
Readme PR merge inro my fork
2 parents 042d690 + b464af3 commit 160f2df

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ Steps for using the configuration:
270270
ln -s /var/lib/flatpak/exports/bin/org.flameshot.Flameshot ~/.local/bin/flameshot
271271
```
272272
273-
#### On Ubuntu (Tested on 18.04, 20.04, 22.04)
273+
#### On Ubuntu (Tested on 18.04, 20.04, 22.04, 24.04)
274274
275275
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)).
276276

@@ -281,19 +281,22 @@ To use Flameshot instead of the default screenshot application in Ubuntu we need
281281
gsettings set org.gnome.settings-daemon.plugins.media-keys screenshot '[]'
282282
```
283283

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`
285285

286286
2. Add custom binding on <kbd>Prt Sc</kbd>:
287287

288288
Ubuntu 18.04: Go to _Settings_ > _Device_ > _Keyboard_ and press the '+' button at the bottom.
289289

290290
Ubuntu 20.04: Go to _Settings_ > _Keyboard Shortcuts_ and press the '+' button at the bottom.
291291

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.
293293

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'`
295298
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_".
297300
298301
Now every time you press <kbd>Prt Sc</kbd>, it will start the Flameshot GUI instead of the default application.
299302

0 commit comments

Comments
 (0)