15
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]

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
[-] [email protected] 2 points 9 months 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.

[-] [email protected] 1 points 9 months ago

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

[-] [email protected] 2 points 9 months ago* (last edited 9 months ago)

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.

[-] [email protected] 1 points 9 months ago

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

[-] [email protected] 1 points 9 months ago

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 😉

[-] [email protected] 1 points 9 months ago* (last edited 9 months ago)

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

[-] [email protected] 1 points 9 months ago* (last edited 9 months ago)

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

[-] [email protected] 1 points 9 months ago
[-] [email protected] 1 points 9 months ago

haha, sorry nope, I'm african

[-] [email protected] 1 points 9 months ago* (last edited 9 months ago)

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.

[-] [email protected] 1 points 9 months ago* (last edited 9 months ago)

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!

[-] [email protected] 1 points 9 months ago

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

[-] [email protected] 1 points 9 months ago

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.

[-] [email protected] 1 points 9 months ago

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)

[-] [email protected] 1 points 9 months ago

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

[-] [email protected] 1 points 9 months ago

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

[-] [email protected] 1 points 9 months ago

Did you try this command yet?

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

[-] [email protected] 1 points 9 months ago

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.

[-] [email protected] 1 points 9 months ago

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.

[-] [email protected] 1 points 9 months 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

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

Linux

45457 readers
1567 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