Here it how you really assign keyboard shortcut your command.
- Launch Kcontrol (Control Center) under Regional and Accessibility go to Input Action
- Add a new Action with Action Type as Keyboard Shortcut ->Command/URL(Simple)
- Select A Keyboard Short cut for it in Keyboard Shortcut Tab
- Type your command in Command/URL settings Tab
- Apply and enjoy
-- Regards, Mubbashir