OneDriveGUI icon indicating copy to clipboard operation
OneDriveGUI copied to clipboard

App running at system start triggers wizard screen

Open John-Development opened this issue 1 year ago • 1 comments

Describe the bug I would like for this app to be up and running on system start, but if setting the AppImage file to run at startup, it will open the setup configuration every time, presumably because at that point the onedrive process is still starting.

To Reproduce Steps to reproduce the behavior:

  • Configure onedrive and OneDriveGUI
  • Set OneDriveGUI.AppImage to run on system startup
  • Restart computer

Expected behavior A clear and concise description of what you expected to happen.

I would expect for it to start as if I will launch it manually.

Screenshots If applicable, add screenshots to help explain your problem. Start settings for the AppImage image

Screen shown when system starts image

Log If applicable, add relevant output from log file /tmp/onedrive-gui/onedrive-gui.log.

System Info

  • Linux distribution: KDE Neon 6.0
  • Desktop environment: KDE Plasma 6.0.5
  • Compositor: Wayland
  • Python version: 3.10.12
  • Version of OneDrive client v2.4.25-1+np2+4.1

or output of below commands:

lsb_release -a
echo $XDG_CURRENT_DESKTOP
loginctl show-session $(awk '/tty/ {print $1}' <(loginctl)) -p Type | awk -F= '{print $2}'
python --version
which onedrive
onedrive --version

OneDriveGUI info How did you install OneDriveGUI?: AppImage What is the name of the AppImage file (if applicable)? : OneDriveGUI-1.0.3_fix150-x86_64.AppImage

Additional context Tried setting the app to run at startup both as an Application and a Login script, both ending with the same result.

EDIT It might be important to note that I am using a live instalation with persistent memory. I think this should not be an issue but just in case...

John-Development avatar Jun 09 '24 00:06 John-Development

Further tries and I got it working, dont understand why it wasnt working before, but now it is.

In any case, a graphical checkbox to run at start could be a nice to have thing for the client.

John-Development avatar Jun 09 '24 00:06 John-Development

Currently not planned.

Please integrate the AppImage using AppImageLauncher then specify it under the autostart option in KDE system settings.

bpozdena avatar Sep 26 '24 14:09 bpozdena