automatic configuration of keyboard shortcuts

Asked by sourav on 2012-09-12

Hi, I'm using Ubuntu 12.04 64bit. We can change keyboard shortcut settings from the GUI. I want to do this automatically by using a configuration tool like puppet or chef. For this I need to know the exact configuration files which can be changed. I'm using unity. I have seen couple of posts in forums using dconf and gconftool-2. Do we have any other alternative method?

Question information

English Edit question
Ubuntu gnome-main-menu Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:

One way (bit hardcore would be to make a new user. Create an MD5 sum file for the home folder of the user, this will be the hashes of the files that every new user gets. You can then setup the shortcuts as you expect then MD5 test the home folder again. The files and folders that fail MD5 will be the ones that changed. You can then make another user and compare the files and folders that fail MD5 and see what is different.

I'll try and find a better way (like the folders storing the shortcuts etc) but the above will tell you what files are changed for sure :)

sourav (linuxandunix) said : #2

Thanks actionparsnip (andrew-woodhead666) , I'll surely try that out. Actually my 12.04 hangs sometimes and when it does, i want to start gnome-system-monitor through a key combination.

install xbindkeys and you can setup keys using that.

sourav (linuxandunix) said : #5

Thank you so much. I'll try those and update you.

sourav (linuxandunix) said : #6

Thanks actionparsnip, that solved my question.