🧟‍♂️ Cadaver

Here for the lolz

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






  • Chemistry, and science in a broader sense. When you hear ‘woah a new medicine has been found that could cure cancer’ it’s most likely 'we have developed a new gadolinium based compound that has shown efficiency in penetrating cancer cells and could be used to deliver drugs to these areas, however it has not been tested in humans because it kills rats faster that it cures cancer"

    Almost every science headline was written by someone who never understood science. They just translate some foreign language into words that suits them.


  • That’s the thing ! It’s not linux specific.

    How it works :

    USB 1 and 2 use a set of 4 pins. It can only use those 4pins to transmit data.

    USB 3 uses 9 pins : the 4 original pins and 5 more pins. It is backwards compatible with USB 1 and 2 because it can only use those four pins instead of the full array.

    USB-C, however, uses 24 pins (2*12 pins to be exact). However, what makes no sense, is when using a USB-A to USB-C cable it does work only in one direction : from USB-A to USB-C.

    But rest assured, you are not alone onnthis issue. I’ve had it, even when I did not want to tranfer data but just power : it does not work, whether on Windows or Linux…





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


  • libinput-gestures IS a game changer.

    Please note that if you are using KDE wayland, some defaults are set and cannot be overriden, which is frustrating. You might have to use X11 session instead.

    If you really want to use wayland, libinput-gestures will not work with ‘xdotool’ and most of the other gestures reader will be slow. In that case, you might want to use a program called evemu. It’s not… intuitive.

    If you need help on this, don’t hesitate to reply to this message. I’ll gladly help. Not so long ago I was walking in your shoes.