Comments (9)
My guess would be that there are some conflicting keys (that is some other action which is bound to "Print"). That or that "Print" is the wrong value for the print key. If you set it manually, what is shown in kglobalshortcutsrc
, and does this differ from what plasma-manager
sets?
from plasma-manager.
Oddly, when I set the value manually the file is regenerated but remains exactly the same. In fact, if I manually change it, then change a Spectacle setting, it returns to that initial state regardless of what the change was.
As for the value, when I set a value like "Meta+Control+O" that shows up. When I set the value to "Print" nothing appears - a blank entry. When I don't set a value, "none" appears. For example:
[services][org.kde.spectacle.desktop]
ActiveWindowScreenShot=none
FullScreenScreenShot=Meta+Control+O
RecordRegion=none
RecordScreen=none
RecordWindow=none
RectangularRegionScreenShot=
WindowUnderCursorScreenShot=none
_launch=none
from plasma-manager.
Then this sounds like the Print key is used for some other action (it seems like launching spectacle). You will need to unbind this key manually in plasma-manager
(for example using the shortcuts
module) for other keys to be able to be bound to this key. Sadly there is no way for plasma-manager to unbind keys automatically due to how keybindings are handled in kde.
from plasma-manager.
Alrighty, that sounds reasonable, thank for the help so far! I've tried this, but I'm still running into issues:
shortcuts = {
"services/org.kde.spectacle.desktop"."_launch" = "Meta+Shift+P";
};
spectacle.shortcuts = {
captureRectangularRegion = "Print";
};
Is this the correct way to unbind, or does rebinding not also unbind? Notably, this changes the value of _launch
in kglobalshortcutsrc
, but Print still opens Spectacle rather than the rectangular region selector, and the Spectacle keybinds menu looks to show default values:
from plasma-manager.
You have done it correct. There is definitely something weird going on here. I don't really know where the problem is though, if it's a plasma-manager
or kde issue with it not liking that some files are changed outside the settings app. There doesn't seem to be a good way of unbinding this key without it being reset for some reason. There are other keys which has had similar problems, namely Ctrl+Alt+T
.
from plasma-manager.
Hrm, that is unfortunate. Thank you for the help!
Do you know where might be best to look if I try to troubleshoot further?
from plasma-manager.
I don't really have that many good places to look sadly :(. One thing to note though is that plasma-manager
only really manages config-files, which means that for this to work you would need to find what modifications to the config-files you would need to make to unbind "Print". This could potentially be multiple places. I would suggest tracking differences in config-files when you change the key via the settings app (I have done this via git a couple of times for example).
from plasma-manager.
I can confirm I have a similar issue with Print (it resets every time even if I disable spectacle module) and Meta+R shortcuts (same here, but I set it to one outside of Spectacle module).
I will try troubleshooting it myself too, and write back if I found something new
from plasma-manager.
could it be related to https://bugs.kde.org/show_bug.cgi?id=484682?
from plasma-manager.
Related Issues (20)
- powerdevil: also allow setting options for BAT HOT 1
- Community have discord server? HOT 2
- "[]" escaped to "\x5b\x5d" for no apparent reason HOT 3
- Specifying plasmusicToolbar without any conf installs Plasma 5 version HOT 3
- How i can use widgets HOT 11
- Generated shortcuts are invalid HOT 2
- Error " 'fromHexString' missing" when configuring touchpad HOT 17
- Panel setup generates on wrong screen and wrong sizes HOT 4
- Support for wallpaper plugin HOT 6
- Support for touchpadrc HOT 1
- Idea: Moving the config to snowfall HOT 2
- adding kxmlgui5 support? HOT 2
- Energy settings reset after reboot HOT 7
- Set default places for e.g. dolphin (write the `user-places.xbel`) HOT 2
- Enabling plasma-manager gives error: attribute 'xor' missing HOT 3
- Enabling plasma-manager conflicts with home.file kglobalshortcutrc backup HOT 5
- Options "workspace" & "panels" aren't working. HOT 16
- Configure Dolphin HOT 3
- Unable to make a panel opaque HOT 1
- Add option for InhibitLidActionWhenExternalMonitorPresent in powerdevil
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plasma-manager.