How do I run a program on startup/autostart?

Added by Jonathan Dahan over 6 years ago. Updated by Christoph Kappel over 6 years ago.

Category: General Difficulty: Difficulty1
Assignee:- Due date:
Related issue:- Related Message:-
Related version:- Views:5780


Let's say you want urxvt to start after subtle, and for some reason echo "urxvt" >> ~/.xinitrc is just not cutting it. Using the :start hook and subtlext we can simulate autostart like so:

Numbers: on /off1 on :start do
2   Subtlext::Subtle.spawn "urxvt" 
3 end

Also available in: PDF