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

Replace system() calls by direct libnotify library calls. #47

Merged
merged 1 commit into from
Dec 1, 2015

Conversation

chhtz
Copy link
Contributor

@chhtz chhtz commented Nov 8, 2015

This adds a dependency on libnotify-dev. If you don't like this, please remove the fork() call, or replace the system() call by a corresponding execl() call -- otherwise, you'll spawn a new thread for every new notification which is never killed.
Also, if the icons I chose don't work generically (they work on ubuntu+xfce, I did not test anything else), feel free to change them (though the previous values will have worked on even fewer systems g)

@chhtz
Copy link
Contributor Author

chhtz commented Nov 29, 2015

@pfps Any objections/questions/remarks about this pull request?

pfps added a commit that referenced this pull request Dec 1, 2015
Replace system() calls by direct libnotify library calls.
@pfps pfps merged commit 879017c into pfps:master Dec 1, 2015
@pfps
Copy link
Owner

pfps commented Dec 1, 2015

Looks OK, I pulled it.

peter

On 11/29/2015 06:09 AM, Christoph Hertzberg wrote:

@pfps https://github.com/pfps Any objections/questions/remarks about this
pull request?


Reply to this email directly or view it on GitHub
#47 (comment).

@tomheinisch
Copy link

In my case, sensors and touchpad don't work after a reboot. This was why I originally opened #51
However, all seems to work after suspending and waking up my Yoga...
Any ideas?

@pfps
Copy link
Owner

pfps commented Dec 8, 2015

This is probably due to some not-quite-correct initialization of your hardware. I don't know what it responsible for the initialization (if anything). You may want to open a new thing devoted to this topic.

@chhtz chhtz deleted the libnotify branch December 8, 2015 16:50
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

Successfully merging this pull request may close these issues.

None yet

3 participants