-
Notifications
You must be signed in to change notification settings - Fork 429
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
Add option for launching the application at OS startup #56
Comments
(let me know if I should open a separate issue for this Ubuntu-specific problem) On Ubuntu (13.04), I added CopyQ as a startup application by going to "Startup Applications" and adding "copyq" as the command to run. For the most part this works perfectly, but about 1 out of 5 times, CopyQ does not start. To investigate this, I moved
Here is the output when I start copyq from the command line after the computer is started. CopyQ starts and works fine.
Here is the output from my log after CopyQ a successful automatic start:
Here is the output from my log after CopyQ an unsuccessful automatic start:
Is the solution to have copyq check for the processes it depends on and if those aren't started sleep for a second or two and try again (and then give up after, say, 5 tries)? Let me know if there's any other testing I can do to help. |
It looks like their is a race condition between the unity systray and copyq. As there aren't more sophisticated solutions to start programs a 3 seconds delay or so might help:
|
The interval may help but I guess I wonder what else is happening because the "CopyQ ERROR" messages must be unrelated to the previous. Is that v1.8.3 or version from git? For more verbose output you can build CopyQ in debug version with It'll be better to create other issue labeled as "bug". |
It was a git checkout of |
Implemented for Linux/X11: fdcc0c6 |
If anyone need this option on Windows and know how to implement it, there are |
For windows, add a new string value in the following location and specify the path to copyq.exe Path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run Value data may vary depending on the specified installation location._ Here is a oneliner to run in CMD: reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v CopyQ /t REG_SZ /d "C:\Program Files (x86)\CopyQ\copyq.exe" |
Add apps to run automatically at startup in Windows 10 To add an app to Startup:
|
Even if there's no "open file location" one can try to find it with: Win+R and then opening: Shell:AppsFolder and making a shortcut on desktop and copying it to shell:startup folder. |
This is mainly for Windows but may apply on Ubuntu and others too.
This should be also possible to set in Windows installer.
The text was updated successfully, but these errors were encountered: