That should be configured in your desktop environment (DE) settings. For example if you're running Gnome, use `gnome-session-properties` as explained in this question on AskFedora.
For KDE this can be configured in `Autostart`, which looks like this:
!enter image description here
The reason why the global init scripts won't work is that these commands are run outside the scope of the GUI/DE. Similarly, you can't run `firefox` from a plain tty shell without tweaks, but you can from the terminal window within your DE.