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

[KBM] Exporting and loading Key remap file / presets #4452

Open
01271 opened this issue Jun 23, 2020 · 10 comments
Open

[KBM] Exporting and loading Key remap file / presets #4452

01271 opened this issue Jun 23, 2020 · 10 comments
Labels
Idea-Enhancement New feature or request on an existing product Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager

Comments

@01271
Copy link

01271 commented Jun 23, 2020

Summary of the new feature/enhancement

A feature that allows groups of remapped keys to be activated or deactivated quickly.

Proposed technical implementation details (optional)

I would like to either have a save and load button that allows me to save the remapped keys to a file and then load them back in.
OR to have several groups of keys that can be remapped and then have those groups be toggleable like this:
e91d2458c5d48ffc5c6b3be7426314e1

@ghost ghost added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jun 23, 2020
@saahmedm
Copy link
Contributor

saahmedm commented Jun 24, 2020

hi @01271 great idea! and thank you for the visual as well, we're actually tracking creating profiles in: #1881

once we incorporate profiles, you'll be able to load/save/share specific profiles!

Closing as duplicate

@saahmedm saahmedm added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jun 24, 2020
@saahmedm
Copy link
Contributor

Reopening this issue to focus on export/sharing presets. Other issue will track creation of profiles

@saahmedm saahmedm reopened this Jun 26, 2020
@saahmedm saahmedm added Issue-Feature A planned feature addition to a product Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager and removed Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. labels Jun 26, 2020
@saahmedm saahmedm added this to the v1.0 Release milestone Jun 26, 2020
@saahmedm saahmedm changed the title [PowerToys Keyboard Manager] Key remap file / presets [KBM] Exporting and loading Key remap file / presets Jun 26, 2020
@saahmedm saahmedm removed the Issue-Feature A planned feature addition to a product label Jun 30, 2020
@pratyushtewari
Copy link

After my SSD reset, I needed to remake all the shortcuts in the powertoys. It will be very useful to export and import powertoys settings.

@crutkas
Copy link
Member

crutkas commented Dec 14, 2020

we need specs for this. This is more than just import / export, this is fast toggling of groups

@jaromil
Copy link

jaromil commented Sep 29, 2022

I believe this to be a very useful and basic feature: to export/import configurations in a text file. It makes it possible to backup/recover as well to distribute the same setup across different machines (just like with .dotfiles) This issue is also related #18769

@AJolly
Copy link

AJolly commented Oct 14, 2022

Can we update the documentation to reflect the current settings location? I had no idea that KBM already supports this, and had to spend a large amount of time hunting through github to find this info.

IE - the FancyZones doc (https://learn.microsoft.com/en-us/windows/powertoys/fancyzones) says

"The settings for your custom zone layouts are saved in the file %LocalAppData%\Microsoft\PowerToys\FancyZones\custom-layouts.json. This file can be manually changed to tweak zones, and exported to share layouts across devices. "

Most of what people are looking for with an export/import option is the %LocalAppData%\Microsoft\PowerToys\Keyboard Manager\default.json file.

Example script to load a profile win.json.
From: #1881 (comment)

$ErrorActionPreference = 'SilentlyContinue' cd $HOME cd '.\AppData\Local\Microsoft\PowerToys\Keyboard Manager' cp win.json default.json taskkill /F /IM PowerToys.KeyboardManagerEngine.exe & 'C:\Program Files\PowerToys\modules\KeyboardManager\KeyboardManagerEngine\PowerToys.KeyboardManagerEngine.exe'

@crutkas
Copy link
Member

crutkas commented Oct 15, 2022

For the pending release, we will have import / export built in. I believe this will solve this ask

@jaromil
Copy link

jaromil commented Oct 15, 2022

For the pending release, we will have import / export built in. I believe this will solve this ask

Great to hear!! Please think of terminal users and automated setups.... import/export should be possible by copying a file in place, not just from a graphical interface.

@fhtdtdj
Copy link

fhtdtdj commented Jul 17, 2023

+1, different saved profiles would be very useful for switching between different applications...
Any update? Thanks!

@marypcbuk
Copy link

is this the right issue to come beg for an easy interface to backup just keyboard mappings (well, shortcut settings, which I am much more likely to want to transfer to another PC than other PowerToys settings that might be specific to one PC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager
Projects
None yet
Development

No branches or pull requests

9 participants