Issue configuring the 'move to' function
Copied from thread in Powertoys
May be user error in setting up the config - suggestion was to use 2.0, but found that didn't function at all - essentially I'm struggling to get the move to function to work - I think that the jump-to can be set up to have specific shortcuts per desktop, but that the move-to works with a general modifier then you specify the desktop number - that doesn't work for me as I'm keying the desktops to keys in my home row.
If in the config, the 'move-to' function left as default, ie "move-window-to-desktop": { "Shortcut": "alt+ctrl" },
I was finding that when I held down alt+ctrl and pressed anything else, nothing was happening or even registering as a key press - I confirmed this in qmk configurator test, and even raised a ticket with my keyboard manufacturer until I realised that WinJump might be capturing that and waiting for something. Ie - shortcuts in apps that used alt+ctrl+1 for setting style one in OneNote for example - just didn't work ... When I changed the 'move-to' function to "move-window-to-desktop": { "Shortcut": "alt+shift" },
all my other shortcuts were working again. I recognise that this may be down to a fundamental misunderstanding of the config on my part. Even without Move-to, WinJump is a Godsend, and I totally appreciate any effort to help...
Would it be possible to structure the config so that you have a specific shortcut for each desktop with the move-to function as well as the Jump-to ?
For me, I have 4 desktops - I will always have 4 because I structure it based on the 4 home row keys - (equivalent to J,K,L,;) so I want to press alt-shift-ctrl + home row key to jump (because I have a key mapped to 'meh' or 'alt-shift-ctrl') and alt-ctrl plus home row key to move (which seems counter productive but works for me) but no other key involving ctrl-alt.
Below is my config - this works perfectly for Jump to but with no functioning move to... Config is,
{ "move-window-to-desktop": { "Shortcut": "alt+shift" }, "toggle-groups": [], "jump-to": [ { "shortcut": "alt+shift+ctrl+n", "desktop": 1 }, { "shortcut": "alt+shift+ctrl+e", "desktop": 2 }, { "shortcut": "alt+shift+ctrl+o", "desktop": 3 }, { "shortcut": "alt+shift+ctrl+i", "desktop": 4 }, ], "jump-current-goes-to-last": false, "change-desktops-with-scroll": false }
@Chris24main I just released I sent you the totally wrong configuration file - my bad!
I changed the keyword to move-window-to. It is a list of settings that look like this:
{
"shortcut": "alt+shift+d1",
"desktop": 1
},
This configures alt+shift+1 to take the currently focused window and send it to desktop 1.
Try this configuration file:
{
"toggle-groups": [
{
"shortcut": "alt+w",
"desktops": [ 1, 5, 6 ]
}
],
"jump-current-goes-to-last": false,
"move-window-to": [
{
"shortcut": "alt+shift+d1",
"desktop": 1
},
{
"shortcut": "alt+shift+d2",
"desktop": 2
},
{
"shortcut": "alt+shift+d3",
"desktop": 3
},
{
"shortcut": "alt+shift+d4",
"desktop": 4
}
],
"change-desktops-with-scroll": false,
"jump-to": [
{
"shortcut": "alt+d1",
"desktop": 1
},
{
"shortcut": "alt+d2",
"desktop": 2
},
{
"shortcut": "alt+d3",
"desktop": 3
},
{
"shortcut": "alt+d4",
"desktop": 4
},
{
"shortcut": "alt+d5",
"desktop": 5
},
{
"shortcut": "alt+d6",
"desktop": 6
},
{
"shortcut": "alt+d7",
"desktop": 7
},
{
"shortcut": "alt+d8",
"desktop": 8
},
{
"shortcut": "alt+d9",
"desktop": 9
},
{
"shortcut": "alt+d0",
"desktop": 10
}
]
}
Many thanks - so the new version is loading and shows in the system tray - but I cannot get anything to actually work.
I'm only looking for move-to and jump-to - so from your example, (given my right home row is n,e,o,i and that I have a 'meh' key to trigger alt-shift-ctrl - this is what I think my config should be- I'm not sure I understand the 'd1' in the example - I get the list of settings, I just don't get why 'alt-shift-d1' maps to a shortcut of Alt-Shft-1 -
{ "toggle-groups": [], "jump-current-goes-to-last": false, "change-desktops-with-scroll": false,
"jump-to": [ { "shortcut": "alt+shift+ctrl+n", "desktop": 1 }, { "shortcut": "alt+shift+ctrl+e", "desktop": 2 }, { "shortcut": "alt+shift+ctrl+o", "desktop": 3 }, { "shortcut": "alt+shift+ctrl+i", "desktop": 4 } ],
"move-window-to": [ { "shortcut": "win+ctrl+alt+shift+n", "desktop": 1 }, { "shortcut": "win+ctrl+alt+shift+e", "desktop": 2 }, { "shortcut": "win+ctrl+alt+shift+o", "desktop": 3 }, { "shortcut": "win+ctrl+alt+shift+i", "desktop": 4 } ] }
@Chris24main If you actually type alt+shift+ctrl+n (not using the 'meh' key) does it work?
Nope - just cannot get any thing to work - I've redone the config,
{ "toggle-groups": [ { "shortcut": "alt+w", "desktops": [ 1, 5, 6 ] }
], "jump-current-goes-to-last": false, "move-window-to": [ { "shortcut": "alt+ctrl+n", "desktop": 1 "follow": true }, { "shortcut": "alt+ctrl+e", "desktop": 2 "follow": true }, { "shortcut": "alt+ctrl+o", "desktop": 3 "follow": true }, { "shortcut": "alt+ctrl+i", "desktop": 4 "follow": true }, ],
"change-desktops-with-scroll": false "jump-to": [ { "shortcut": "alt+shift+ctrl+n", "desktop": 1 }, { "shortcut": "alt+shift+ctrl+e", "desktop": 2 }, { "shortcut": "alt+shift+ctrl+o", "desktop": 3 }, { "shortcut": "alt+shift+ctrl+i", "desktop": 4 } ] }
Neither the jump to nor move to functions - though I can run the file, open the config and reload the config. Typing all the keys (which I do for move - hold ctrl and alt and 'n' - for example) but nothing, and if I'm using any window with a text entry, I will enter É for meh-e - which is the same effect if Winjump is not running. Would love this to be something idiotic I am doing wrong...
@Chris24main I am going to add a UI for configuring settings to do away with the config file, hold tight for an update