You are not logged in.
Pages: 1
how do I add applications startup in bunsenlabs? for all sessions, not only for openbox.
Offline
Well the most heavy handed option would be to create a systemd service unit for the application. So when the userspace start, the systemd init program can call your service unit which would load whatever application you want. You just have to specify if it relies on anything else to be loaded before hand etc....
The other option is to create a listing in the /etc/xdg/autostart entry I think. putting it in /etc/xdg/openbox/autostart would still restrict it to openbox, if you were trying to run another D.E. So my thinking is something in /etc/xdg/autostart/ would allow you to run something at boot, agnostic of the D.E you choose.
*As always, someone please fact check me on this!*
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
@OP: if the application in question has a .desktop file in /usr/share/applications then you can copy that file to ~/.config/autostart
If not, you can make one yourself, as per https://specifications.freedesktop.org/ … atest.html
I use this one for launching rxvt-unicode in daemon mode:
# ~/.config/autostart/urxvtd.desktop
[Desktop Entry]
Exec=/usr/bin/urxvtd -q -f -o
Icon=system-run
Path=
Terminal=false
Type=Application
Offline
HoaS is there any advantage to doing it that way, over creating a systemd service unit file to specifically call the application?
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
Offline
Copy or create *.desktop files in ~./config/autostart or, if you're using Openbox, add entries to ~/.config/openbox/autostart
+1000
Why not per user? You really want a media player or something starting before your desktop?
I don't care what you do at home. Would you care to explain?
Offline
^ My method actually works.
@OP: Very true though 0-day, I think it would make a difference knowing what application you're wishing to auto start. That would determine which and where you place the start up call.
Last edited by Horizon_Brave (2016-07-31 22:01:13)
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
Pages: 1