You are upgrading or moving to another distro and you want to take all your keyboard shortcuts with you. There is a perl script here that allows you to do just that with the minimum of effort, it certainly beats remaking them all by hand.
http://pastebin.com/j5NFK7N9
Download the script, save it in your home folder, make sure it is executable, then use it as follows.
On the old distro run
- Code: Select all
./keybindings.pl -e keys.csv
By default the script copies all the keybindings including the built in ones, if you only want to keep the custom ones edit the keys.csv file to remove anything you don't want.
On the new distro run the following command:
- Code: Select all
./keybindings.pl -i keys.csv
I have already used it myself and it works superbly, copying all my homemade keyboard shortcuts from one distro to another. I guess it will only work on debian based distros like mint or ubuntu, but I don't know that for sure.
BTW I didn't write this script, I only discovered it, the credit goes to one Stephen Ostermiller.
Thanks Stephen



