16.04 here. Same problem.
Approach A. 1) I bind 'Pause' button to 'close_window_key' action: xfconf-query --create --channel xfce4-keyboard-shortcuts --property '/xfwm4/custom/Pause' --type string --set 'close_window_key' 2) It don't work.
Approach B. 1) I do the same thing through the GUI. 2) It works. 3) Until reboot.
Approach C. 1) I reset the ''/xfwm4/custom/Pause' property: xfconf-query --reset --channel xfce4-keyboard-shortcuts --property '/xfwm4/custom/Pause' 2) I bind 'Pause' button to 'close_window_key' action: xfconf-query --create --channel xfce4-keyboard-shortcuts --property '/xfwm4/custom/Pause' --type string --set 'close_window_key' 3) It works. 4) Until reboot.
Approach D. 1) I bind 'Pause' button to 'close_window_key' action: xfconf-query --create --channel xfce4-keyboard-shortcuts --property '/xfwm4/custom/Pause' --type string --set 'close_window_key' 2) It don't work. 3) I delete the default Alt+F4 binding: xfconf-query --reset --channel xfce4-keyboard-shortcuts --property '/xfwm4/custom/<Alt>F4' 4) It don't work. 5) I reboot. 6) It works. 7) Forever.
16.04 here. Same problem.
Approach A. shortcuts --property '/xfwm4/ custom/ Pause' --type string --set 'close_window_key'
1) I bind 'Pause' button to 'close_window_key' action:
xfconf-query --create --channel xfce4-keyboard-
2) It don't work.
Approach B.
1) I do the same thing through the GUI.
2) It works.
3) Until reboot.
Approach C. custom/ Pause' property: shortcuts --property '/xfwm4/ custom/ Pause' shortcuts --property '/xfwm4/ custom/ Pause' --type string --set 'close_window_key'
1) I reset the ''/xfwm4/
xfconf-query --reset --channel xfce4-keyboard-
2) I bind 'Pause' button to 'close_window_key' action:
xfconf-query --create --channel xfce4-keyboard-
3) It works.
4) Until reboot.
Approach D. shortcuts --property '/xfwm4/ custom/ Pause' --type string --set 'close_window_key' shortcuts --property '/xfwm4/ custom/ <Alt>F4'
1) I bind 'Pause' button to 'close_window_key' action:
xfconf-query --create --channel xfce4-keyboard-
2) It don't work.
3) I delete the default Alt+F4 binding:
xfconf-query --reset --channel xfce4-keyboard-
4) It don't work.
5) I reboot.
6) It works.
7) Forever.