I’m new to linux, running last version of ubuntu MATE. Tried to get fusuma to have a better experience with my touchpad (I’m using an hp notebook). I followed the whole guide for ubuntu users on the Github page, created the config.yml using these two commands:

mkdir -p ~/.config/fusuma

nano ~/.config/fusuma/config.yml

Then I used the config.yml file they provided and got the result you see in this image when I launched sudo fusuma, i.e the error :

config file: /root/.config/fusuma/config.yml is NOT FOUND

Then I run just “fusuma” without sudo and the error disappeared, but fusuma does literally nothing. Can someone please help me with this?

This is the first time I installed a Linux distro (I heard it lowers the possibility of getting a blue screen which happened to me lately result of my SSD dying). So I really don’t understand permissions here (how I run things as administrator like in windows) and the difference between root and home clearly, I don’t even know how to uninstall fusuma to try again now!

  • Noogs@lemmy.noogs.me
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    There’s a bit to explain here. So the root user is basically the equivalent of Administrator. One big difference (there are many) is that when you run something as root using sudo, you are actually running as the root user. When you ran the first command to create the folder, you created it in your home directory using the ~ shorthand variable which points to your /home/ user folder. The second command, also references your home folder. However since your running as root, it’s looking for the file in the root user’s home directory or /root, not your home folder.

    The config file needs to be in the home directory of the user running the command unless you can put the full path to the config file in the command, then you can put it wherever you want.

    • zaknenouOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Okay! But shouldn’t the problem be resolved when I ran “fusuma” without sudo then? It does nothing to the system