this post was submitted on 11 Sep 2023
15 points (89.5% liked)

Linux

48216 readers
662 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] noogs@lemmy.noogs.me 2 points 1 year ago (1 children)

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.

[–] zaknenou@lemmy.ml 1 points 1 year ago

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