[go: up one dir, main page]

Skip to content

Commit

Permalink
KDE Plasma khotkeys (flameshot-org#2383)
Browse files Browse the repository at this point in the history
* Adds links to sponsors in README

* Adds AnonAddy to the sponsor list

* fix the kde shortcuts to match the current CLI
  • Loading branch information
mmahmoudian authored Feb 6, 2022
1 parent 6cd9d9e commit f7315ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,13 @@ Steps for using the configuration:
cd ~/Desktop
wget https://raw.githubusercontent.com/flameshot-org/flameshot/master/docs/shortcuts-config/flameshot-shortcuts-kde.khotkeys
```
3. Go to _System Settings_ → _Shortcuts_ → _Custom Shortcuts_.
4. If there's one, you'll need to disable an entry for Spectacle, the default KDE screenshot utility, first because its shortcuts might collide with Flameshot's ones; so, just uncheck the _Spectacle_ entry.
5. Click _Edit_ → _Import..._, navigate to the Desktop folder (or wherever you saved the configuration file) and open the configuration file.
6. Now the Flameshot entry should appear in the list. Click _Apply_ to apply the changes.
7. If you want to change the defaults, you can expand the entry, select the appropriate action and modify it as you wish; the process is pretty self-explanatory.
8. If you installed Flameshot as a Flatpak, you will need to create a symlink to the command:
3. Make sure you have the `khotkeys` installed using your package manager to enable custom shortcuts in KDE Plasma.
4. Go to _System Settings_ → _Shortcuts_ → _Custom Shortcuts_.
5. If there's one, you'll need to disable an entry for Spectacle, the default KDE screenshot utility, first because its shortcuts might collide with Flameshot's ones; so, just uncheck the _Spectacle_ entry.
6. Click _Edit_ → _Import..._, navigate to the Desktop folder (or wherever you saved the configuration file) and open the configuration file.
7. Now the Flameshot entry should appear in the list. Click _Apply_ to apply the changes.
8. If you want to change the defaults, you can expand the entry, select the appropriate action and modify it as you wish; the process is pretty self-explanatory.
9. If you installed Flameshot as a Flatpak, you will need to create a symlink to the command:

```shell
ln -s /var/lib/flatpak/exports/bin/org.flameshot.Flameshot ~/.local/bin/flameshot
Expand Down
2 changes: 1 addition & 1 deletion docs/shortcuts-config/flameshot-shortcuts-kde.khotkeys
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Type=SIMPLE_ACTION_DATA
ActionsCount=1

[Data_1_4Actions0]
CommandURL=flameshot full --clipboard --path ''
CommandURL=flameshot full --clipboard
Type=COMMAND_URL

[Data_1_4Conditions]
Expand Down

0 comments on commit f7315ec

Please sign in to comment.