0

I recently installed Ubuntu 22.04 on my new Toshiba Tecra A50-K and some of the Fn keys do not work. They don't even register when pressed with the Fn command. Specifically the brightness keys Fn+F6, F7 and other keys like F8, and F9.

I have tried a lot of solutions available on the internet but none of them are working.

Ajay
  • 2,241

1 Answers1

0

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.