You are not logged in.

#1 2021-02-18 12:48:17

sergik82
Member
Registered: 2021-02-18
Posts: 48

Gnome hot-key Fn+F10 doesn't work

Hi to everyone!
I have a dual-boot laptop win10+arch with Gnome on a board. Win10 haven't got the issues such as this but I can't turn off/on airplane mode by means hot key Fn+F10.
I tried to use those settings
/org/gnome/settings-daemon/plugins/media-keys/rfkill-static  and
/org/gnome/settings-daemon/plugins/media-keys/rfkill
but it was unsuccessfully. Along with this I tried those commands to solve the problem, first one is
xev -event keyboard
but there was no output when I push the combination, next one is
showkey -k
and output was --couldn't get a file descriptor referring to the console-- unfortunately.
Could you help me overcome this problem!!?!?!
Please any ideas!!!

Offline

#2 2021-02-18 15:20:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,769

Re: Gnome hot-key Fn+F10 doesn't work

Welcome to the forums.  Are you running Gnome under Wayland or under Xorg.  I expect xev will not work under Wayland.
showkey cannot be run inside of an Xorg or Wayland session.  You must change to a console using CTRL-ALT-F2 (or F3, or F4....), log in, and run showkey from there.

What is the output of rfkill  ?
Are you not succeeding at entering airplane mode or exiting airplane mode?  In other words, is the WiFi working now and you cannot change its state?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2021-02-18 15:29:58

sergik82
Member
Registered: 2021-02-18
Posts: 48

Re: Gnome hot-key Fn+F10 doesn't work

I'm usinng Xorg session... WiFi is working properly and I can change its status eihter using graphical interface or console...

Offline

#4 2021-02-18 15:50:00

sergik82
Member
Registered: 2021-02-18
Posts: 48

Re: Gnome hot-key Fn+F10 doesn't work

I just tried to use showkey -k with console and there wasn't any outputs. In addition the dmesg -w log haven't got any events related to this key combination...

Offline

#5 2021-02-18 16:25:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,769

Re: Gnome hot-key Fn+F10 doesn't work

What are the make and model of the laptop?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2021-02-18 17:55:27

sergik82
Member
Registered: 2021-02-18
Posts: 48

Re: Gnome hot-key Fn+F10 doesn't work

it's MSI GS60-2QC

Offline

#7 2021-02-19 15:23:30

sergik82
Member
Registered: 2021-02-18
Posts: 48

Re: Gnome hot-key Fn+F10 doesn't work

Thanks for your replies!!! I finally manage to solve the issue by means installing Xbindkeys and configuring like this.
#Radio on
"nmcli radio wifi on | bluetoothctl power on"
F10
#Radio off
"nmcli radio wifi off | bluetoothctl power off"
Alt+Mod2 + Alt_R + F10
Than I added this app into the autostart and it's working now as it should be...

Offline

Board footer

Powered by FluxBB