For now, I have created a cutomized shortcut using xdotool. I took help from the answer on this link https://askubuntu.com/a/305803/1017697 and have managed to add some more additional information here.
First find the keycode for brightness. This can be done by using xmodmap -pke with grep for keyword search
xmodmap -pke | grep -i brightness
This gives the output something like this:
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
keycode 251 = XF86MonBrightnessCycle NoSymbol XF86MonBrightnessCycle
keycode 252 = XF86BrightnessAuto NoSymbol XF86BrightnessAuto
Now, go to settings and create a new shortcut with
Name: Brightness Up
Command: xdotool key XF86MonBrightnessUp
and map it to the F6 key. Similar steps for brightness down.