Ubuntu – Xubuntu 17.10 (and later): cannot change xfce4-terminal keyboard shortcuts

shortcut-keysxfcexfce4-terminalxubuntu

I've just installed xubuntu 17.10 and cannot change xfce4-terminal keyboard shortcuts. I tried enabling editable accelerators (according to http://docs.xfce.org/faq), running:

Appearance -> Settings -> Menus and Buttons -> Enable editable accelerators: Tick

but when I hover the mouse over any menu item and press any key combination, nothing happens; I can see all shortcuts are greyed out, indicating that they can't be changed. I closed/reopened xfce4-terminal, and also logged out/in from the xfce session, to no avail, still can't change the shortcuts.

Don't know what changed in xfce because I remember being able to do this in past versions. I'm running fresh xubuntu 17.10, so xfce is version 4.12.3 and xfce4-terminal is 0.8.6-0ubuntu1.

Would anybody know how to change them ?

EDIT: I've just discovered that they can be changed editing:

~/.config/xfce4/terminal/accels.scm

Remove the leading ; from the menu entry and edit the shortcut. xfce4-terminal has to be closed/reopened for the new shortcuts to take effect. Not sure if this is the standard way of doing it, but at least it works.

EDIT 2: Found a good explanation about it here

Best Answer

As the solution was present in the question and in comments (along with contradictory statements) I will post an answer to make it more clear.

As said under Xfce bug report #12861 — "editable accelerators no more working in xfce4-terminal after GTK+3 migration":

gtk3 does not support editable accelerators. Since xfce4-terminal is a gtk3 app, this feature isn't available anymore...

That affects all later Xubuntu versions, not just 17.10.

accelerators can be changed via ~/.config/xfce4/terminal/accels.scm

While editing that file, as the OP said in the question, you have to remove the lead (the ; part at the beginning of the line); example for Ctrl-C for copy and Ctrl-V for paste:

(gtk_accel_path "<Actions>/terminal-window/paste" "<Primary>v")
(gtk_accel_path "<Actions>/terminal-window/copy" "<Primary>c")