DSBAutostart is a Qt program to manage your XDG autostart files.
DSBAutostart depends on devel/qt5-buildtools, devel/qt5-core, devel/qt5-linguisttools, devel/qt5-qmake, x11-toolkits/qt5-gui, and x11-toolkits/qt5-widgets
# git clone https://github.com/mrclksr/DSBAutostart.git
# cd DSBAutostart && qmake && make
# make install
Openbox supports XDG autostart through its openbox-xdg-autostart script. Just install devel/py-xdg.
If your window manager (WM) or desktop environment (DE) does not support XDG
autostart, add the line dsbautostart -a
to your WM/DE's autostart script.
Alternatively, if you use ~/.xinitrc
to start your WM/DE, add the line
dsbautostart -a
to ~/.xinitrc
.
dsbautostart [-h]
dsbautostart <-a|-c>
-a
Autostart commands, and exit.
-c
Create desktop files in the user's autostart directory from the command list read from stdin.
In order to upgrade from a previous version < 2.0, convert
the commands from ~/.config/DSB/autostart.sh
to desktop files in
$XDG_CONFIG_HOME/autostart
:
% dsbautostart -c < ~/.config/DSB/autostart.sh
Make sure to remove calls to ~/.config/DSB/autostart.sh
from your
window manager's autostart file, or your ~/.xinitrc
. Finally follow
the steps in the SETUP section above.