i3 does not launch Ubuntu's startup applications by default. It will only execute what is added to its configuration. Which command or script do I have to execute do start all the startup applications registered via the Startup Application Preferences window i.e. gnome-session-properties?

  • 1
    I'd ask here - faq.i3wm.org/questions – doug Jul 30 '15 at 21:05
  • @doug If there is a command that can be executed in order to launch all registered startup application, that is not related to the window manager very much. Do you know if such a command exists? – danijar Jul 30 '15 at 21:08

Gnome and other DEs startup things use the .desktop files in ~/.config/autostart and /etc/xdg/autostart to know what to start.

A basic solution would be to examine these files and see what commands are executed, then manually add it to the config:

grep -r Exec /etc/xdg/autostart/

Note this includes ones that are disabled (by OnlyShowIn, X-GNOME-Autostart-enabled etc)

Another solution would be to use dex, as suggested over here on the i3wm FAQ/forums

  • Thanks for pointing out dex. So there is no way to use the Gnome preferences window in i3? – danijar Jul 30 '15 at 22:06
  • Gnome preferences sets it up for Gnome - but I think you could get it emulate gnome by using something like dex -a -e GNOME, so it autostarts the apps gnome is setup to use. – Wilf Jul 30 '15 at 22:09
  • 1
    That sounds good. I'll try that tomorrow. Thanks for solving my problem. – danijar Jul 30 '15 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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