How do I run a program on startup/autostart?

Added by Jonathan Dahan almost 7 years ago. Updated by Christoph Kappel almost 7 years ago.

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


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