Adding a keyboard shutcut in Gnome on Ubuntu

Apparently what I thought was a bug, wasnt a bug:
Qn:

I’m trying to set up a shortcut that will open the gnome-control-center to the display tab.

The command for this is gnome-control-center display which works in a terminal and in the dash.

I set up the custom keyboard shortcut in the settings > keyboard > shortcuts panel but no matter what I set as the shortcut, nothing happens. In the command, I tried to echo text into a file but nothing happens either.

How should I set up my custom keyboard shortcut?

Answer:

For custom shortcuts, you can’t bind your keyboard shortcut if you only selected the row. This is different from how it works for System shortcuts, where merely selecting the row is enough to input a new keyboard shortcut.

enter image description here

You have to click on the Disabled and wait for it to change to New accelerator…. After that you can press your desired keyboard shortcut and it will be reflected appropriately.

enter image description here