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!

top 20 comments
sorted by: hot top controversial new old
[–] 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

[–] Dotdev@programming.dev 2 points 1 year ago* (last edited 1 year ago) (1 children)

In the GitHub it is written that you should only use fusuma.

About that error, in windows, you have two users say administrator and user. Both the users have their own user folder,they can't tamper with the others users folders right.

Similarly linux in default install has two users one the root and other the user. When you use sudo you are asking the root to open the file in its folder not in yours.

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

aaah! okay. So if I'm doing things correctly, why doesn't fusuma have any effect on my system ?

[–] Dotdev@programming.dev 2 points 1 year ago (1 children)

If I am correct mate doesn't have many touch gestures so there is no effect for it. If you want gestures gnome or kde would be suited. I maybe wrong if so any seniors do correct me 😉

[–] zaknenou@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (1 children)

a quick google shows that MATE uses GNOME 2. Is this not enough ?

[–] Dotdev@programming.dev 2 points 1 year ago* (last edited 1 year ago)

Well don't know much about gnome since the first gnome I used was gnome 3.I never tried mate.

[–] Ashiette@lemmy.one 1 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] zaknenou@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (1 children)

is MATE absolutely necessary

well I'm too tired to format again. I chose it cuz it is just lighweight ubuntu (knowing that ubuntu is pretty popular = I get more support) and I recently got an ssd dying from opening multiple firefox windows so being lightweight is important, also MATE has GNOME2.

I will try a bit more with fusuma cuz it looks optimal, if it doesn't work I'll try libinput. Thank you sir!

[–] Ashiette@lemmy.one 2 points 1 year ago

In any case, since you use SSD, don't forget to enable TRIM 😉

[–] OddFed@feddit.de 1 points 1 year ago (1 children)
[–] zaknenou@lemmy.ml 1 points 1 year ago

haha, sorry nope, I'm african

[–] d3Xt3r@lemmy.nz 1 points 1 year ago (1 children)

I'm not familiar with this program, but did you follow the instructions to grant permissions? If you do that, you should be able to run it without using sudo, and it should read the config file from your home folder.

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

I think I forgot one command, the second one. If so, should I just go again through the whole process or I have to uninstall the changes before that (I don't know how to do this)

[–] d3Xt3r@lemmy.nz 1 points 1 year ago (1 children)

You shouldn't have to unistall anything, just reboot and try running the program normally (without sudo).

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

I did the installation multiple times yesterday and shutdown my laptop, now I ran fusuma and I can't even pinch zoom on a PDF

[–] d3Xt3r@lemmy.nz 1 points 1 year ago (1 children)

Did you try this command yet?

gsettings set org.gnome.desktop.peripherals.touchpad send-events enabled

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

I just now opened the terminal and ran this, nothing happened. The I ran "fusuma" and tried pinch zoom and 3 fingers gestures also nothing happened.

[–] d3Xt3r@lemmy.nz 1 points 1 year ago (1 children)

Hmm, in that case I've got nothing more sorry, since I don't use this program myself, nor MATE. You could try asking on fusuma's github page, or alternatively, I would recommend using Touchégg instead, which is a basically the de-facto program for multi-touch gestures, for people using a non-standard desktop.

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

Okay, I tried it (along with touché the gui, and it's worst here, it breaks the whole system ability to make use of the touchpad. I guess problem with the gnome version of MATE. Thanks for your help bro