From f7315ec625bac65bc311cc36fa578388887d33fb Mon Sep 17 00:00:00 2001 From: Mehrad Mahmoudian Date: Mon, 7 Feb 2022 01:50:41 +0200 Subject: [PATCH] KDE Plasma khotkeys (#2383) * Adds links to sponsors in README * Adds AnonAddy to the sponsor list * fix the kde shortcuts to match the current CLI --- README.md | 13 +++++++------ .../flameshot-shortcuts-kde.khotkeys | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c244dd9c..fff22da0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/docs/shortcuts-config/flameshot-shortcuts-kde.khotkeys b/docs/shortcuts-config/flameshot-shortcuts-kde.khotkeys index e23ee3d4..5f4b2b52 100644 --- a/docs/shortcuts-config/flameshot-shortcuts-kde.khotkeys +++ b/docs/shortcuts-config/flameshot-shortcuts-kde.khotkeys @@ -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]