🧟‍♂️ Cadaver

Here for the lolz

  • 0 Posts
  • 42 Comments
Joined 1 year ago
cake
Cake day: June 6th, 2023

help-circle







  • It’s not clear… Do you want a portable USB drive ? If that’s the case it’s easily doable with Arch or Fedora.

    If you want a portable USB that you can modify AND flash then… It’s a little more complicated. You can always make a bootable Arch USB then rsync in any existing drive but it seems a little complicated.

    What you might want to do is create a simple install script. You can pretty much do it for any distro. It will consume more bandwidth than copying/writing an existing distro but will prevent MANY errors.

    With Arch it’s quite simple. I believe it might be as simple with Debian or any other distro.






  • Okay first question is : is MATE absolutely necessary ?

    If not, I would advise you to switch to a distro that uses GNOME or KDE. I’d go for Zorin OS which is really perfect for anyone beginning on Linux.

    In any case, I have a solution that should work no matter the device. It requires you to have libinput and libinput-gestures installed (rather than fusuma which I found buggy and laggy)

    You can find it here : https://lemmy.one/comment/2189433

    I tried my best to make it beginner-friendly — even if it is not. Don’t read the first paragraph which is KDE specific.


  • You might want to try an arch-based distro rather than Arch itself. Arch has been low maintenance for me, but it was long to set-up.

    I like it that way but some don’t.

    But if you intend to use KDE with wayland, good luck. It’s quite stable but still not there. It might have made me lose some hair over things that weren’t working as expected - whereas on GNOME it was all smooth.







  • If you use KDE with wayland, then :

    • You can switch desktops horizontally with three or four fingers
    • You can only switch desktops vertically with three fingers
    • By default, four fingers vertical opens present windows or something like that

    To be able to use four fingers swipe up, you need to disable present windows first. Go to settings > workspace behaviour > desktop effects and unclick desktop grid and present windows (in the hope that you have no use for them)

    Then you need to install evemu and libinput-gestures (if you’re on Arch, it’s in the pacman repo and the AUR respectively)

    Once you have it installed, run in your terminal evemu-record. It will list all of your devices. Shut down the program with Ctrl + C and look at the event for your keyboard. Once this is done note it down.

    Create a new file

    nano sendkey.sh

    Copy the content of this code in the new file but replace EVDEVICE=/dev/input/event4 with your keyboard.

    #!/bin/bash
    # sendkey.sh
    
    EVDEVICE=/dev/input/event4
    
    for key in $@; do
        evemu-event $EVDEVICE --type EV_KEY --code KEY_$key --value 1 --sync
    done
    
    
    # reverse order
    for key in $@; do
        evemu-event $EVDEVICE --type EV_KEY --code KEY_$key --value 0 --sync
    done
    

    Ctrl +O then CTRL + X to save then quit nano. Once it is done run this command : chmod +x sendkey.sh then open the gestures app and start mapping away. The interface is very intuitive. What you want to do is click on the little + at the top bar then select the motion you want to bind (in your case swipe + up + 4 fingers) and in the command at the bottom you write /home/YOURUSERNAME/sendkey.sh LEFTMETA W

    And there it is. You can map pretty any keybind to any event with this. Hope this helps.