#megasync
14 messages · Page 1 of 1 (latest)
You likely have installed Gnome Tweaks inside the vso-pico container. If so, uninstall it and run abroot pkg add gnome-tweaks and then abroot pkg apply to install it on the host system instead. This way it should be able to set the autostart in the correct place, because the autorun inside your vso-pico container will only autorun when the container starts.
That is not true.
Gnome tweaks puts the autostart in ~/.config/autostart no matter how it is installed.
I'm gonna assume Megasync is installed inside the container though which is probably the issue.
Installing gnome tweaks on the host might solve this but not sure.
Oh interesting! Double checked and it is in fact less sufisticated than I thought.
This is a bit tricky cause I don't think Vanilla, so far, offers a clean and upfront way to autorun a (classic packaged) binary/application that's in a container, or I at least don't know.
It might not would be my guess. But we can be a little creative and make a custom .desktop to start the container like so:
Name=VSO Pico
Exec=podman container start apx-vso-pico
Terminal=false
StartupNotify=false
Icon=com.raggesilver.Blackbox```
Once the container is up I'd've autostarted megasync using crontab, but I'm out of ideas cause that isn't in the repos
Name=Visual Studio Code - URL Handler on vso-pico
Comment=Code Editing. Redefined.
GenericName=Text Editor on latex
Exec=/usr/share/apx/distrobox/distrobox-enter -n apx-vso-pico -- /usr/share/code/code --open-url %U
Icon=vscode
Type=Application
NoDisplay=true
StartupNotify=true
StartupWMClass=code```
You can just do something like this as a desktop file to launch an application inside a container
might work for autostart too, not sure, not tried myself
The container is already being auto-started.
The cleanest way would be using a systemd service, but that requires a bit of systemd knowledge.
This is definitely something that should be improved.
If I added gnome-tweaks and now I want to remove it.
How to do that?
Didn't found someting like 'abroot pkg remove gnome-tweaks
It is literally that command lol. Also make sure to also apply
🤣 so it seems its not dokumented when typing 'abroot pkg -h'