Re: [Fwd: Re: How can I add my startup programs to gnome session system wide?]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rocky Zhang wrote:

I found another solution maybe add my script to this file:
/etc/X11/xdm/Xsession (Shell script).
Note: It take effect for every X, no matter what XDM you are using.

As an alternative, you can add a script to /etc/X11/Xsession.d which would contain the commands you want to run or call another script containing these commands. This is IMHO better than changing xdm's file, since this file might be under the control of a package system.


It has a disadvantage, though. Programs run from this place are started before gnome and (for example) before ssh-agent. If you need them to run after gnome, you could give your script a higher number (98 would do) and add the commands to the end of the STARTUP variable. But I've never tried this, so I don't know if it would work.

HTH,
Andrei

--
andrei.badea@xxxxxxxxx # http://movzx.net # ICQ: 52641547

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux