Move keyboard shortcuts between distros.

Write tutorials here
There are more tutorials here
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
User avatar
Level 14
Level 14
Posts: 5126
Joined: Mon Dec 01, 2008 11:21 am

Move keyboard shortcuts between distros.

Postby viking777 » Tue Mar 05, 2013 12:15 pm

I don't think this has been dealt with before on the forum, but it is a very useful little tip to know which I only just discovered myself.

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.

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

./ -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

./ -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 :)
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 4 guests