The commands have to be on one line only, so try:
gconftool-2 -s -t int /desktop/gnome/peripherals/keyboard/rate 38
The commands have to be on one line only, so try:
gconftool-2 -s -t int /desktop/ gnome/periphera ls/keyboard/ rate 38