I dont think systemd will expand the ~, try replacing the ExecStart=/bin/bash ~/.local/bin/ocamlfuseStartup.sh line with ExecStart=/bin/bash %h/.local/bin/ocamlfuseStartup.sh, this will expand to your home directory, if its still giving a not found error, try running which google-drive-ocamlfuse in a terminal and make sure the path is correct
- 0 Posts
- 7 Comments
The 203 error you got is because your script isnt a valid executable, it needs to have a shebang at the top, you can change it to something like this and set the executable bit with
chmod +x <file>#!/usr/bin/env bash google-drive-ocamlfuse ~/googledrivethis tells it to run using bash as the interpreter.
Im not familliar with this google drive software, but im figuring that its exiting with an error code cuz its running as a system service, and $HOME probobly isnt set so
~doesnt expand and the software gets an invalid path.But I recommend using a user service for this, it will run when you login, you should be able to copy the service file you already have into
~/.config/systemd/user/and runsystemctl --user daemon-reloadandsystemctl --user enable startup.service --now, this will enable and start the service in one go.I also recommend adding the following lines under
[]Type=simple Restart=always RestartSec=60idk if the software will exit if it loses network or wifi or anything, but this will have it automatically restart after 60 seconds, should it exit for any reason.
If you need it to run before login, it is possible to do with a system service, but it will need a bit more setup
12510198@lemmy.blahaj.zoneto
Free and Open Source Software@beehaw.org•What is the best FOSS Matrix client?English
5·1 year agoNheko is my favourite client, it uses QT and is written in C++, its lightweight and works well on my machines with low resources, it also respects my system theme
12510198@lemmy.blahaj.zoneto
Free and Open Source Software@beehaw.org•What is the best FOSS Matrix client?English
1·1 year agodeleted by creator
Ive only had to setup a nvidia system once, so I might be missing some packages, but I think
pacman -Rns nvidia nvidia-utils lib32-nvidia-utilsshould get rid of all of it.
12510198@lemmy.blahaj.zoneto
Linux@lemmy.ml•Is it possible to erase the UEFI using dd or rm -rf on Linux ?English
1·2 years agoWARNING: doing this will absolutely DESTROY YOUR SYSTEM, PERMANENTLY!!!
But if you wish to continue, you can erase all the EFI variables using the rm utility, I dont think you will be able to completely zero out the chip on the system from inside of Linux as its read-only.
But to delete all the EFI variables, cd into
/sys/firmware/efi/efivars, if this directory is not availiable, either the efivarfs is not mounted, or you are booted in legacy BIOS mode. But once you are in this directory, runchattr -i ./*as root or sudo to remove the immutable bit on all the files, then runrm ./*as root. This WILL break your system. Only do this if you know how to restore your system using like a chip programmer.
12510198@lemmy.blahaj.zoneto
Linux@lemmy.ml•Cannot use system tray widget Plasma 6English
1·2 years agoThis happened to me too. I had to grab the box that comes up and resize it like I would with a normal window, mine glitched a lot when I tried it, try resizing it as far as you can, it will try and glitch back, but just keep fighting it until it becomes a usable size, then log out of Plasma and log back in, and then you can size it back down to a normal size. Hopefully there will be an official fix for this soon

It looks like its creating a new process and going in the background and systemd cant track it anymore, so it thinks that its exited and tries restarting. I took a link Oscar sent, and I saw that there is a systemd service and the
Typeis set toforking, I think this could solve the problem, they also have anExecStopline, id set it toExecStop=fusermount -u %h/googledriveso it will unmount properly whenever you manually stop the service. So try settingType=forking, and adding theExecStopline, hopefully this will stop systemd from restarting it when it hasnt actually exited