New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newest KDE does not allow you to map 'Print' key to FlameShot #796
Comments
How did you map it previously? |
Did you import this file or added shortcut manually? |
Through global keymap settings
Import did not work for me nor manual adding |
What I did to work around this since flameshot hasn't worked properly with hotkeys since Plasma 5.19 is I created a custom shortcut in System Settings > Shortcuts > Custom Shortcuts. Create a new global shortcut based on command/URL, set the trigger to Print and the action as the command |
KDE Plasma 5.19.4. Importing didn't work, before or after unbinding Spectacle. But setting Print manually worked after unbinding Spectacle. |
I have the same KDE and it works fine for me (I initially imported it from the flameshot-shortcuts-kde file.) : @nyanpasu64 and @jeffangelion can you create a custom keyboard shortcut as you see in the screenshot and confirm if it works. |
Kubuntu 20.04, Plasma 5.18.5 In the KDE settings, Shortcuts section, the Remote application should be |
@marcozaccari is correct for the current version if Flameshot (version 0.6), but as it has been explained, in the upcoming version, the dbus name is changed to |
@mmahmoudian Can we close this issue or is there more work to do? |
@borgmanJeremy there is one thing left to do which closes multiple issues. I discussed the bug with @ZetaoYang on Slack to make sure my understanding of it is correct. At the moment many people are facing issues running Flameshot simply because What needs to be done is that Flameshot always checks if a Flameshot instance is running in the background and if not, run one instance in the background first and the execute the subcommand. |
Just as I said in #879 , I somehow disagree with the analysis above. The reason behind having to run a plain "flameshot" first before running subcommands is fundamentally because the activation of flameshot via D-Bus somehow failed. There could be multiple reasons:
As said in #879 , this marks an uncommon dependency on a working user D-Bus session. Things could go really wrong if that D-Bus environment is not properly working. For example:
I agree that the extensive use of D-Bus is problematic in some cases, but such design is agnostic to whether there are any flameshot instances running. If we fall back to manual detection, sending messages via D-Bus would be meaningless. My point is that we need careful consideration about redesign of this part (detection, subcommand and D-Bus activation). |
After the Update to 0.8 yesterday my shortcut also stopped working. I removed the shortcut file and readded it. But still nothing. |
@Nisc3d can you post a screenshot here from your keyboard shortcut window to demo how you have manually set it. |
@Nisc3d yours does not run D-Bus but the flameshot-shortcuts-kde correctly sets the D-Bus: |
Yes and this doesn't work for me. |
any news with this? |
No, I am unable to replicate it on arch / KDE. |
Using org.dharkael.Flameshot solved the issue for me. I'm using KDE Plasma 5 on Debian 10. |
Are you on a pre 0.8.x release? |
That stiil work for KDE Plasma 5.18.5 \ Flameshot 0.6.0 |
@dude1phoenix your Flameshot version is very old. Please consider updating to the latest version. You can use Snap, Flatpak or AppImage if your distribution doesn't have the latest Flameshot version in their repo. Alternatively you can build from source. For further information please visit https://flameshot.org/guide/installation/installation-linux/ |
For anyone in Arch/KDE new to this, please import the latest file (Feb 7, 2022). See instruction here. |
|
Official decision In Cyrillic localization it looks like this: Создать каталог для Скриншотов Загрузить конфигурационный файл Открыть Параметры системы → Комбинации клавиш → Специальные комбинации клавиш. ! Третий элемент требует модификации команды: Проверить что сочетания клавиш не конфликтуют с другими программами, сочетания могут не установиться при импорте если уже задействованы.
P.S.: KDE Plasma 5.20.5. Flameshot 0.9.0+ds1-2 (Debian) Compiled with Qt 5.15.2 |
+1 not working for me also |
Hi, I'm writing it more like caution for others: now you cannot map 'Print' key to taking a screenshot via FlameShot. Tried in
KDE Plasma 5.19.3
If anyone has a clue/hack to work it around ‒‒ please leave it in comments
I hope @33KK and @DrunkenPoney will notice this issue
The text was updated successfully, but these errors were encountered: