The current keyboard layout Dvorak with deadkeys is horrible. All those "¨` are under one key which is not practical for a programmer. OSX has well distributed programmer keys in Dvorak with deadkeys.
Please, feel free to propose solutions that work independently of
xmodmap because it is going be deprecated.
How can you change the keybinding of the active-deadkey button in Ubuntu? How can you make better Dvorak with deadkeys for a programmer in Ubuntu?