Skip to content
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

Variety does not autostart with Gnome DE since 0.8.7 update, possibly due to sleep 20? #519

Closed
mendhak opened this issue May 7, 2022 · 0 comments

Comments

@mendhak
Copy link
Contributor

mendhak commented May 7, 2022

Version of Variety
0.8.7

Describe the bug
(Ubuntu 20.04) For me it has stopped launching with the DE, since the latest update (0.8.7), it would appear fine before that.
Running variety directly from terminal or launching the application works just fine.
It just doesn't autostart after I login.

Context

I removed the ~/.config/variety folder and went through the startup wizard again.
I also removed the existing ~/.config/autostart/variety.desktop.
I went through the startup wizard, the autostart entry gets created again.
"Start Variety when the computer starts" is checked. (I've tried unchecking and re-checking it.)
But after reboot and login, nothing appears, and Variety doesn't start.

I played around with the variety.desktop Exec command. I noticed if I add logging to it, nothing appears. It's like the command isn't being run at all.

Exec=sleep 20 && /usr/bin/variety --profile /home/mendhak/.config/variety/ 2>&1 | tee /home/mendhak/varietylog.txt

But the moment I put /bin/bash -c "..." around it, it starts working.

Exec=/bin/bash -c "sleep 20 && /usr/bin/variety --profile /home/mendhak/.config/variety/"

Could the problem be the multiple commands?

Attach Variety's log file
No log file since it doesn't start.

Desktop environment and version
Gnome

OS name and version
Ubuntu

Additional context

Looks like the 20second delay was added in this commit: a84d323 and would probably be better wrapped in /bin/bash -c

https://askubuntu.com/questions/28685/how-can-i-delay-a-specific-program-on-startup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant