lnxlink icon indicating copy to clipboard operation
lnxlink copied to clipboard

Flatpak install, nothing happens when launched / cant find config.yaml

Open cromelex opened this issue 1 year ago • 14 comments

What type of installation are you running?

Desktop

Which Linux OS are you using?

aurora-dx-stable

Which version of LNXLink has the issue?

https://flathub.org/apps/io.github.bkbilly.lnxlink

Describe the problem

I have tried installing lnxlink via the flatpak, as using docker I couldn't get it working for the mic and webcam used status.

The install seems to go through, but there is no action when I click launch and no detailed instructions - I'd assume I would still need to do the config, but I can't find a config.yaml created by this install.

Additional context

No response

Configuration

No response

Logs

No response

cromelex avatar Aug 15 '24 12:08 cromelex

The flatpak is very new addition, so I didn't have the time to write documentation for it. You will need to run it with the -ic option and the config path should be under the documents directory. -ic ~/Documents/config.yaml

Keep in mind that it won't create a systemd service, so you might want to create one manually.

bkbilly avatar Aug 15 '24 18:08 bkbilly

Cheers, I'll give it a try tomorrow and report back.

cromelex avatar Aug 15 '24 19:08 cromelex

Thanks, this worked and I managed to get it working

I created a systemd service manually to make sure it starts on boot.

cromelex avatar Aug 16 '24 09:08 cromelex

That's great! I am currently trying to release a new version that runs without any arguments and sets the default path to ~/Documents/lnxlink.yaml

bkbilly avatar Aug 16 '24 11:08 bkbilly

That's great! I am currently trying to release a new version that runs without any arguments and sets the default path to ~/Documents/lnxlink.yaml

Could I suggest using a LNXlink folder?

~/Documents/LNXlink/config.yaml or so? Just neater in my opinion, that's how I did it.

Happy to test any new release and give feedback.

Thanks.

cromelex avatar Aug 16 '24 11:08 cromelex

That's a good idea. I am still figuring out how to make a flatpak release update, so I don't know when I'll have it done.

bkbilly avatar Aug 16 '24 13:08 bkbilly

I updated the flatpak package with the latest updates and it works with a default config file you suggested. I've also added support for docker and systemd, but I am not sure if the systemd works on all systems. There are more modules that still don't work with flatpak, but fortunately the most important ones work as expected.

bkbilly avatar Aug 17 '24 09:08 bkbilly

I will give it a try next week. Thanks

cromelex avatar Aug 17 '24 09:08 cromelex

Hi,

Just tried this, and checked the new documentation for flatpak install to make sure I wasn't missing anything.

I uninstalled the previous version first (and disabled the systemd service I had created before etc to avoid any weirdness).

Whenever I try to run I get an error:

flatpak run io.github.bkbilly.lnxlink bwrap: Can't make symlink at /var/run: File exists

Thanks

cromelex avatar Aug 19 '24 09:08 cromelex

I can't think of any reason why you get this error. The /var/run/ directory is only used for the files /var/run/reboot-required and /var/run/docker.sock, but even if these files don't exist, I don't get any errors.

bkbilly avatar Aug 19 '24 11:08 bkbilly

I have a /var/run/docker.sock but no /var/run/reboot-required.

I did not have any error with the previous version

cromelex avatar Aug 19 '24 12:08 cromelex

You could try installing the latest version to check if you still got this issue.

bkbilly avatar Sep 02 '24 18:09 bkbilly

I'm away for a bit but I'll give this a try next week and report back. Thanks

cromelex avatar Sep 02 '24 18:09 cromelex

You could try installing the latest version to check if you still got this issue.

With the latest flatpack I am getting the following error:

❯ flatpak run io.github.bkbilly.lnxlink bwrap: Can't make symlink at /var/run: existing destination is ../run

cromelex avatar Sep 09 '24 08:09 cromelex

No activity on this issue recently. Make sure you update to the latest version of LNXlink to check if the issue has been resolved. If no further activity occurs, the issue will be closed.

github-actions[bot] avatar Oct 04 '24 20:10 github-actions[bot]

is there any way to manually change the default location for the flatpak install method? Otherwise could I suggest to use $XDG_DOCUMENTS_DIR instead of a hardcoded path?

Willdrick avatar Mar 23 '25 04:03 Willdrick