You are not logged in.
Pages: 1
Hello everybody.
In my laptop (as in many others, I guess) the key "fn"+"F3" is supposed to enable/disable the touchpad.
This works in GNOME (tested with Ubuntu) however it does not work with XFCE (tested with Peppermint).
I found a similar issue here, with no answer:
https://forum.xfce.org/viewtopic.php?id=7060
Please notice that most of other "fn" keys do work, e.g. "fn"+arrows for brightness and volume, or "fn"+"f6" for enabling and disabling the webcam.
Any idea? Thank you.
Luca
Offline
Hello and welcome.
Is Fn+F3 recognized by your system? To check, try creating a shortcut to open thunar via Fn+F3. If it is recognized, you can bind an xfconf-query command to the shortcut to enable/disable the touchpad.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Yes, the shortcut is recognised, I just checked it. How should I use xfconf-query command ?
Offline
In a terminal window, run the following command:
xfconf-query -c pointers -m | awk '{print $2}'
...and then go to Mouse and Touchpad and uncheck the "Enabled" switch. You should get something like this to display in the terminal window:
/SynPS2_Synaptics_TouchPad/Properties/Device_Enabled
Then write a script like this:
#!/bin/sh
TP="/SynPS2_Synaptics_TouchPad/Properties/Device_Enabled"
state=$(xfconf-query -c pointers -p "$TP" -v)
if [ $state == 1 ] ; then
xfconf-query -c pointers -p "$TP" -s 0
else
xfconf-query -c pointers -p "$TP" -s 1
fi
exit 0
...and make sure to change the value of TP to equal the output from the command above.
Make the script executable, and create a Fn+F3 keyboard shortcut that points to this script. This should toggle the touchpad.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Nice, thank you.
I hoped that XFCE had something more ready-to-use.
Last edited by luke.ve (2023-01-16 17:44:06)
Offline
Pages: 1
[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 530.63 KiB (Peak: 531.48 KiB) ]