Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

There is a Linux program I like which is Conky, when I run conky -c mycustomconf.txt it runs fine.

I want this program to run automatically when I start my computer, without having to type in the command again to start it.

How can I do this?

I am using Ubuntu with Xfce4.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can add programs that you wish to start up alongside Xfce to your startup items using xfce4-autostart-editor, which is accessible at Settings, and then "Xfce 4 Autostarted Applications".

share|improve this answer
1  
@MaxMackie xinitrc is not environment independent (and Xfce doesn't even read it). –  Chris Down Nov 12 '12 at 3:06
    
Really? I always thought that X read the file upon startup (unless told otherwise). Sorry for the misinformation. –  MaxMackie Nov 12 '12 at 3:23
    
@MaxMackie It's passed by certain X startup programs (most notably startx) rather than being implicitly read by X itself. –  Chris Down Nov 12 '12 at 3:25
    
Thanks for the info –  MaxMackie Nov 12 '12 at 3:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.