nbfc icon indicating copy to clipboard operation
nbfc copied to clipboard

Nbfc not working in arch linux

Open harisudarsan1 opened this issue 1 year ago • 7 comments

Describe the bug sudo nbfc start gives an error : /usr/local/etc/nbfc/nbfc.json: /usr/local/etc/nbfc/nbfc.json: No such file or directory. nbfc is installed using pacman and also tried installing from source both of them are not working.

systemctl enable nbfc.service gives this error : Failed to enable unit: Unit file nbfc.service does not exist. But I have installed nbfc-linux package for arch.

To Reproduce Steps to reproduce the behavior.

  • run sudo nbfc start
  • run systemctl enable nbfc.service

Expected behavior The nbfc start should start the service

System information

harisudarsan1 avatar Oct 01 '23 06:10 harisudarsan1

Hi, you can use arch packages from AUR (https://wiki.archlinux.org/title/Arch_User_Repository). For me the package "nbfc" works very well.

If you install from source and have problems with "systemctl enable nbfc.service": Does the nbfc.service-file exists in /etc/systemd/system or /usr/lib/systemd/system/? And don't forget to "systemctl daemon-reload" before enabling the service.

stm28304 avatar Oct 04 '23 11:10 stm28304

hello @harisudarsan1! you've probably picked the nbfc-linux pacakge at Arch, which is a different repo: https://github.com/nbfc-linux/nbfc-linux

vinibali avatar Feb 23 '24 16:02 vinibali

Same

Petrprogs avatar Feb 26 '24 21:02 Petrprogs

I have the same problem, and altenativally I dont wanna use nbfc I want to use nbfc-linux because is updated instead of nbfc package.

mrp4sten avatar Apr 18 '24 14:04 mrp4sten

I dont test it this but I think that is the obvious fix https://github.com/nbfc-linux/nbfc-linux/issues/100

mrp4sten avatar Apr 18 '24 14:04 mrp4sten

I do this:

sudo nbfc config -r
sudo nbfc config --apply "Lenovo ThinkPad Helix"
sudo nbfc start

mrp4sten avatar Apr 18 '24 15:04 mrp4sten