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

openbox-xdg-autostart.c : drop-in replacement for python script #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

openbox-xdg-autostart.c : drop-in replacement for python script #13

wants to merge 2 commits into from

Conversation

techzilla
Copy link

I believe the openbox-xdg-autostart Python script is an ideal candidate for a C drop-in replacement. After checking the obsession code I noticed it was from an older lxsession xdg-autostart.c. So I made a new one using functions copied verbatim from 0.4.6.1 lxsession xdg-autostart.c. All it required was a couple declarations for compile, and create a new main() function that accepted the desktop name as an argument. I was able to seamlessly replace the Python script executed from openbox-autostart shell script, and my .desktop's executed as expected. The only thing left to do after these two commits, would be modifying the openbox-autostart script, but I thought it best best to get some feedback on this first.

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.

1 participant