Closed orschiro closed 8 years ago
There is no simple way to do this now. You can run copyq show
after the application is started. So you can edit CopyQ's autostart file ~/.config/autostart/copyq.desktop
and edit line starting with Exec=
to following.
Exec=sh -c "copyq & sleep 1; copyq show"
(You may need to increase the sleep interval in the command.)
Dear @Lukas,
Thanks for your workaround!
I guess it might actually work to add copyq show
to the list of startup
applications, correct?
Warmly,
~Robert
Sent from Nylas N1, the extensible, open source mail client.
On Apr 9 2016, at 7:33 am, Lukas Holecek <notifications@github.com> wrote:
There is no simple way to do this now. You can run copyq show after the application is started. So you can edit CopyQ's autostart file ~/.config/autostart/copyq.desktop and edit line starting with Exec= to following.
Exec=sh -c "copyq & sleep 1; copyq show"
(You may need to increase the sleep interval in the command.)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
You actually have to wait few milliseconds after copyq
command so the "command server" can start. So perhaps you can add sleep 1; copyq show
to start after the server.
> sleep 1; copyq show to start after the server.
Nice addition. Thanks!
~Robert
Sent from Nylas N1, the extensible, open source mail client.
On Apr 11 2016, at 5:56 pm, Lukas Holecek <notifications@github.com> wrote:
You actually have to wait few milliseconds after copyq command so the "command server" can start. So perhaps you can add sleep 1; copyq show to start after the server.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
Hi all,
I was experimenting with the above but it actually doesn't launch the main window.
Any ideas why this could not be working properly?
Thankfully,
~Robert
Hi Robert,
I think it should work if you set "Command" in "Startup Applications" dialog as following.
sh -c "copyq; sleep 2; copyq show"
Lukas
2016-04-27 10:16 GMT+02:00 Robert Orzanna notifications@github.com:
Hi all,
I was experimenting with the above but it actually doesn't launch the main window.
Any ideas why this could not be working properly?
Thankfully,
~Robert
[image: image] https://cloud.githubusercontent.com/assets/170947/14845814/fd10fa02-0c60-11e6-8892-7dcaea1763f4.png
[image: image] https://cloud.githubusercontent.com/assets/170947/14845826/081b73a0-0c61-11e6-8216-8eb9afe7c38b.png
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/hluk/CopyQ/issues/483#issuecomment-215007393
Dear Lukas,
This does work.
Thank you so much! :+1:
~Robert
Dear all,
I would like to autostart CopyQ with the main window being opened in the foreground on my Ubuntu 15.10 installation.
Any ideas how to do this?
By main window I refer to the one storing the tabs with the content.
Thankfully,
~Robert