#megasync

14 messages · Page 1 of 1 (latest)

vale condor
#

Hello, I've install megasync and set it to start up automatically through gnome tweaks, except that I still have to manually start it.
Under startup applications it is registered as MEGAsync on vso-pico.
Can anyone help me with this please?
Thx in advance.

fallen ocean
#

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.

stoic crystal
#

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.

fallen ocean
fallen ocean
# stoic crystal Installing gnome tweaks on the host might solve this but not sure.

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
fair ibex
#
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

stoic crystal
#

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.

ocean agate
fallen ocean
ocean agate
#

🤣 so it seems its not dokumented when typing 'abroot pkg -h'