automatic configuration of keyboard shortcuts

Asked by sourav

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

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-main-menu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

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 :)

Revision history for this message
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.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#4

install xbindkeys and you can setup keys using that.

Revision history for this message
sourav (linuxandunix) said :
#5

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

Revision history for this message
sourav (linuxandunix) said :
#6

Thanks actionparsnip, that solved my question.