Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.
/ xdg-autostart Public archive

Autostart program for XDG entries

License

Notifications You must be signed in to change notification settings

fabriceT/xdg-autostart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is xdg-autostart?

xdg-autostart starts programs located in /etc/xdg/autostart and ~/.config/autostart (see FreeDesktop specification for autostarted programs). Put a line in your ~/.openbox/autostart file (it's better to end the command with the &).

If you want to set your desktop name (e.g. KDE, XFCE, ROX...), then add it as a parameter (e.g. xdg-autostart -d GNOME &). Please refer to this table to get the name of desktops currently supported by the Freedesktop specification. By default, xdg-autostart uses Openbox as desktop name.

Run xdg-autostart --help for more informations

xdg-autostart? But Openbox already starts programs automatically!

Yes, it does. Dana did a good job with openbox-autostart which launches openbox-xdg-autostart, a python script. But this script requires python-xdg library to run and, of course, python. The python-xdg dependency is sometimes missed by packagers, so Openbox may or may not start programs automatically. xdg-autostart runs with no extra dependency.

So, why?

It was fun to code an autostart program, and it had to be included in an openbox session managment. You are free to use it or not. If you do then comment the line calling openbox-xdg-autostart in the /usr/lib/openbox/openbox-autostart file.

Wait!

Hey wait! xdg-autostart can handle the "X-GNOME-Autostart-Delay" key, thus an application can wait until its time to pop up into your userspace. No more applications burst when starting your desktop session.

Build

Xdg-autostart uses meson and ninja. It's easy to set up.

    mkdir <directory>
    cd <directory>
    meson ..
    ninja

And voilà! Program is now in <directory>/src.

About

Autostart program for XDG entries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published