Hi,
I need to adjust brightness and sound from my USB keyboard that is missing those Fn keys.. so I would need something like this..:
Ctrl+ LeftCursor (xdoot script Plama Shortcut)--> Maps: Fn+8 (brigntness Up keys on laptop keyboard)
Ctrl+ RightCursor (xdoot script Plama Shortcut)--> Maps: Fn+7 (brigntness Down keys on laptop keyboard)
Ctrl+ UpCursor (xdoot script Plama Shortcut)--> Maps: Fn+6 (Volume Up keys on laptop keyboard)
Ctrl+ UpCursor (xdoot script Plama Shortcut)--> Maps: Fn+5 (Volume Down keys on laptop keyboard)
xdotool <<Laptop Keyboard>> key <<ctrl+q>>
I think to have readen somewhere xdotool cant use Fn buttons.. anyway.. is there an easy way to achieve this ..It doesnt seem easy task
Thanks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] How Can I invoke Fn Shorkeys (adjust Brightness)?
[Solved] How Can I invoke Fn Shorkeys (adjust Brightness)?
Last edited by bester69 on 2021-08-26 02:04, edited 1 time in total.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
Re: How Can I invoke Fn Shorkeys (adjust Brightness)?
ok, for Plasma, this will make it.
https://martinovic.blog/post/kdeconnect_commands/
Volume Up:
qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "increase_volume"
Volume Down:
qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "decrease_volume"
Volume Mute:
qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mute"
Brightness Up:
qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness $(expr $(qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness) + 20)
Brightness Down:
qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness $(expr $(qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness) - 20)
Thanks.
https://martinovic.blog/post/kdeconnect_commands/
Volume Up:
qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "increase_volume"
Volume Down:
qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "decrease_volume"
Volume Mute:
qdbus org.kde.kglobalaccel /component/kmix invokeShortcut "mute"
Brightness Up:
qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness $(expr $(qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness) + 20)
Brightness Down:
qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.setBrightness $(expr $(qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness) - 20)
Thanks.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...