Re complex macro’ing if youre into that sort of thing.ĭoing the defined gestures should run the command you specified. ![]() Mine just do keybinds though you can do some mo For this I would suggest xdotool as you can pretty much do anything that the mouse and keyboard can do with that command. I have not testedwith any more than 3 fingers for gestures, I would imagine 4 works though I dont know about 5 and above.įinally you give it the command to run. Next you define the number of fingers to perform the gesture with. Then specify the direction with up down left and right. The format for the gestures is pretty straight forward: gesture means just that, create a gesture. Gesture swipe left 3 xdotool key Ctrl+Shift+F1 Gesture swipe right 3 xdotool key Ctrl+Shift+F2 Gesture swipe down 3 xdotool key Super_L+Page_Down Here is a paste of my config file: # Swipe threshold (0-100) The former is for default gestures, all users on the system will share these gestures. Your config file exists in 2 places: /etc/nf and ~/.config/nf. ![]() The first thing we should do is add our user to the input group.įorm there we can run the following commands:Īlright awesome, now that its up and running we can go ahead and shut it back down and start building our config. I’ve seen a couple forum posts to suggest using other input libraries but the only one that works in this scenario I’ve seen is libinput. However, the multi-finger gestures do not work, as nothing is currently bound to them. Once you are on a kernel version that supports the Trackpad drivers, plug in the device and it should immediately start working for the most part. The very first thing you should know is that for fully supported drivers you need to be on at least Linux version 4.20, I am running on 5.4.43-1 which is Manjaro’s LTS kernel release. YMMV on whether or not everything in this works for you. But to get the rest of the features you need to set a few things up. The device works out of the box with left, right, and middle-click as well as 2 finger scrolling. Most of the info I got was from the libinput-gestures Github page if you would like to check it out. I haven’t seen any full-length tutorials for getting the Apple Magic Trackpad 2, or really any multi-touch track-pad, working in Manjaro, or more specifically KDE, yet so I figured I’d write down how I did it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |