Skip to content
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

Global shortcuts triggering dbus commands are defunct in Plasma #38219

Open
plumps opened this issue Mar 31, 2018 · 5 comments
Open

Global shortcuts triggering dbus commands are defunct in Plasma #38219

plumps opened this issue Mar 31, 2018 · 5 comments
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde

Comments

@plumps
Copy link
Contributor

plumps commented Mar 31, 2018

Issue

Global shortcuts can trigger Plasma Api via dbus. Like it's done for taking a screenshot with Spectactle. Unfortunately this doesn't work for any dbus related Shortcuts. Mapping Plasma internal commands (e.g. switch between applications) works though.

Screenshot

Steps to reproduce

Install spectacle and press the <PrintSc> button.

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.29, NixOS, 18.09pre133621.56fb68dcef4 (Jellyfish)
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.0
  • channels(root): "nixos"
  • channels(plumps): "nixpkgs-18.09pre133875.182dd989461"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
@madhukar93
Copy link

madhukar93 commented Jul 20, 2019

Any workaround here? Having to open the application every time to take screenshots at the moment.

On pressing print

dbus-monitor

signal time=1563646220.996644 sender=:1.8 -> destination=(null destination) serial=2684 path=/component/khotkeys; interface=org.kde.kglobalaccel.Component; member=globalShortcutPressed
   string "khotkeys"
   string "{0e9b02f6-499a-4339-aa10-474aeb4f10dc}"
   int64 14753311

xsession:

 D-Bus call: "org.kde.Spectacle" : "/" : "StartAgent" : ()

system details:

spectacle 19.04.1
nixos-unstable
Linux 4.19.58 #1-NixOS SMP Wed Jul 10 07:53:48 UTC 2019 x86_64 GNU/Linux

@johnalotoski
Copy link

Try installing the nixos package with attribute name qt5.full. Prior to installing that package I had the same issue. Afterwards, it worked.

@madhukar93
Copy link

madhukar93 commented Jul 22, 2019

Try installing the nixos package with attribute name qt5.full. Prior to installing that package I had the same issue. Afterwards, it worked.

Will try and write an update here

PS: @johnalotoski's solution worked. What's the solution here? To add the missing qt5 inputs to the spectacle package?

@toyo-chi
Copy link
Contributor

Works for me with adding qt5.qttools to system packages.

@stale
Copy link

stale bot commented Jul 15, 2020

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: qt/kde
Projects
None yet
Development

No branches or pull requests

5 participants