Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to add my gui application to autostart, while remaining cross desktop.

.xinitrc looked suitable, but it's not. KDE does not listen to it. 1

If possible, I'd like to prevent adding a custom autostart command for each desktop environment.

How can I do so?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Put your application's .desktop file in ~/.config/autostart.

share|improve this answer

Your Answer


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.