Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cromelex opened this issue Aug 15, 2024 · 15 comments
Closed
Labels
bug Something isn't working no-issue-activity

Comments

@cromelex
Copy link
Contributor

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 cromelex added the bug Something isn't working label Aug 15, 2024
@bkbilly
Copy link
Owner

bkbilly commented Aug 15, 2024

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.

@cromelex
Copy link
Contributor Author

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

@cromelex
Copy link
Contributor Author

Thanks, this worked and I managed to get it working

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

@bkbilly
Copy link
Owner

bkbilly commented Aug 16, 2024

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

@cromelex
Copy link
Contributor Author

cromelex commented Aug 16, 2024

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.

@bkbilly
Copy link
Owner

bkbilly commented Aug 16, 2024

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
Copy link
Owner

bkbilly commented Aug 17, 2024

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.

@cromelex
Copy link
Contributor Author

I will give it a try next week.
Thanks

@cromelex
Copy link
Contributor Author

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 cromelex reopened this Aug 19, 2024
@bkbilly
Copy link
Owner

bkbilly commented Aug 19, 2024

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.

@cromelex
Copy link
Contributor Author

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

I did not have any error with the previous version

@bkbilly
Copy link
Owner

bkbilly commented Sep 2, 2024

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

@cromelex
Copy link
Contributor Author

cromelex commented Sep 2, 2024

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

@cromelex
Copy link
Contributor Author

cromelex commented Sep 9, 2024

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

Copy link

github-actions bot commented Oct 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants