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

Auto start is not working #13

Closed
hashemirafsan opened this issue Nov 7, 2017 · 9 comments
Closed

Auto start is not working #13

hashemirafsan opened this issue Nov 7, 2017 · 9 comments

Comments

@hashemirafsan
Copy link

i clone your your project and it's so damn good but you had offered for auto start command but it doesn't work

@Hikari9
Copy link
Owner

Hikari9 commented Nov 8, 2017

Oh no. What's your desktop configuration? Please comment result of:

lsb_release -a

@Hikari9
Copy link
Owner

Hikari9 commented Nov 8, 2017

Also, does the output toggle between Autostart switched off and Autostart switched on in the terminal when you run comfortable-swipe autostart?

@pavel-kalmykov
Copy link

pavel-kalmykov commented Nov 11, 2017

I have the same issue, I run it with sudo if that matters at all. The message yelling whether it's on or off works, by the way. My lsb_release -a:

Distributor ID:	Ubuntu
Description:	Ubuntu 17.04
Release:	17.04
Codename:	zesty

I would've installed 17.10 but it gave some error so I switched back to the last version.

Maybe implementing #7 would solve the issue, and BTW I think it would be better 👍

@Hikari9
Copy link
Owner

Hikari9 commented Nov 13, 2017

For now, autostart only works if you did bash install without sudo. I'm still figuring out how to do systemd service with libinput, still tracking some problems since not all variables are present in PATH in systemctl...

If anyone has good grasp about systemctl services and willing to contribute, that would help greatly!

@Hikari9
Copy link
Owner

Hikari9 commented Nov 13, 2017

@hashemirafsan @paveltrufi Please check out PR #15, if it fixes the issue. Instructions on how to test are located there. Thanks!

@Hikari9
Copy link
Owner

Hikari9 commented Feb 24, 2019

Sorry, I was not able to finish the systemd service for this. I know this issue is old, but I want to report some updates.

A workaround I'm thinking of is to add sleep in the startup application before booting comfortable swipe. Try running this and tell me if it works:

mkdir -p ~/.config/autostart
echo '[Desktop Entry]
Type=Application
Exec=bash -c "/bin/sleep 3 && /usr/local/bin/comfortable-swipe start"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Comfortable Swipe
Comment=3 or 4 touchpad gestures' > ~/.config/autostart

@Hikari9
Copy link
Owner

Hikari9 commented Mar 6, 2019

Closing this because autostart is now working as of v1.0.1. Please check out the repository and perform the installation steps again.

@Hikari9 Hikari9 closed this as completed Mar 6, 2019
@pavel-kalmykov
Copy link

Hi. I'm sorry but I don't use this program anymore. I'm glad you were able to solve it anyway!

@Lightras
Copy link

Sorry, I was not able to finish the systemd service for this. I know this issue is old, but I want to report some updates.

A workaround I'm thinking of is to add sleep in the startup application before booting comfortable swipe. Try running this and tell me if it works:

mkdir -p ~/.config/autostart
echo '[Desktop Entry]
Type=Application
Exec=bash -c "/bin/sleep 3 && /usr/local/bin/comfortable-swipe start"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Comfortable Swipe
Comment=3 or 4 touchpad gestures' > ~/.config/autostart

this worked for me, thanks!
(I had autostart not working on v1.0.4)

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

4 participants