question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document how to autostart for all platforms

See original GitHub issue

It’s important that people don’t forget to turn on ActivityWatch, autostart is therefore an important feature, but we have yet to implement it.

Later we will have this managed automatically but a good start is to figure out how to do it cross-platform and add the information to the docs.

  • Windows
    • Update: Autostart is now automatically configured by the installer.
    • Create a new shortcut that points to aw-qt and move it to the autostart folder
  • macOS
    • Done using the ‘Login items’ config in the user settings
    • One needs to use Automator in order to create a runnable when installing from source into a virtualenv. Unsure if needed with the zip. No longer needed with the .app bundle.
  • Linux
    • We should probably use the free desktop standard (/etc/xdg/autostart/ and/or ~/.config/autostart/)
    • Can be done manually by adding it in the “Startup Applications” menu in Ubuntu/Gnome.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:24 (10 by maintainers)

github_iconTop GitHub Comments

5reactions
ErikBjarecommented, Sep 16, 2018

@anoopd It’s not a good idea to start aw-qt as a systemd service since it’s a GUI application.

Use the “Startup Applications” menu offered by your desktop environment as @Otto-AA did. I’d recommend using the prebuild binaries over the virtualenv, if you do all you need is to unzip it and then point “Startup Applications”-entry to the aw-qt binary.

4reactions
TomNicholascommented, Jan 2, 2019

+1 for this - I just spent quite a while trying to get activitywatch to automatically start up reliably on Ubuntu 16.04 until I found this thread. Startup-applications works nicely though.

Also it’s pretty important - I was close to just giving up and forgetting about the application, because there’s no way I would have remembered to manually start the program every time I turned on my machine!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add an app to run automatically at startup in Windows 10
Select the Start button and scroll to find the app you want to run at startup. Right-click the app, select More, and then...
Read more >
Automatically Start Programs in Windows 10 - Instructables
1. Open File Explorer Folder 2. Select 'This PC' 3. This is usually your C Drive
Read more >
How to Use the Windows Startup Folder: Everything You Need ...
Open a File Explorer window to your startup folder (or the "all users" startup folder if you prefer). Then simply drag the new...
Read more >
How To Autorun Programs On Startup In Windows 10
1. To do this either right-click on the Start Menu flag and left-click Run. Or use the keyboard shortcut Windows Key & R....
Read more >
How to Access the Windows 10 Startup Folder - Alphr
To access the All Users Startup folder in Windows 10, open the Run dialog box (Windows Key + R), type shell:common startup ,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found