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
?
-
1I'd ask here - faq.i3wm.org/questions– dougJul 30, 2015 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?– danijarJul 30, 2015 at 21:08
Add a comment
|
1 Answer
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?– danijarJul 30, 2015 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.– WilfJul 30, 2015 at 22:09 -
1That sounds good. I'll try that tomorrow. Thanks for solving my problem.– danijarJul 30, 2015 at 22:37