🧟‍♂️ Cadaver

Here for the lolz

  • 0 Posts
  • 36 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.




  • I’ll add to what was said by others, but about [I] and [No]

    When building there is a cache. Sometimes you remove make dependencies, which removes the program but keeps a copy in cache. (There are other ways to remove a program and still keep it in cache)

    [I] means it will clen build all installed packages and use the cache for those that are not installed but were present.

    [No] means it will leave installed packages untouched but will rebuild those that are in cache before reinstalling them.

    Hope that solves it. And as said before - in 99.99% cases None is good enough.



  • 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.





  • 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.