On Wed, 2 Mar 2016 16:53:07 -0800 (PST), Len Ovens wrote: >KDE uses XDG Hi,
were autostart is located depends on the environment and on the used distro. For my Ubuntu Wily install I needed to clear XDG_CONFIG_DIRS at top of my openbox autostart config, to get rid of unwanted autostarts. I don't need to do this for my Arch Linux install. [weremouse@moonstudio ~]$ grep XDG .config/openbox/autostart export XDG_CONFIG_DIRS="" [weremouse@moonstudio ~]$ grep XDG /mnt/archlinux/home/rocketmouse/.config/openbox/autostart [weremouse@moonstudio ~]$ At least /etc/xdg/autostart/ is active by default for Ubuntu flavours and Ubuntu derivatives, what ever WM/DE you're using. Instead of ~/.profile, I would use ~/.bashrc. Usually bash is the login shell, so a ~/.bashrc is available. Instead of using two locations, ~/.profile and ~/.bashrc, I would edit just one location, ~/.bashrc. [weremouse@moonstudio ~]$ grep -v "#" .profile if [ -n "$BASH_VERSION" ]; then if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi [weremouse@moonstudio ~]$ ls -hAl /mnt/archlinux/home/rocketmouse/.profile ls: cannot access /mnt/archlinux/home/rocketmouse/.profile: No such file or directory For Gene's purpose /etc/rc.local is asking for a race condition, it seems to be better to run the command while starting a session and not during startup. IMO /etc/xdg/autostart/ is the appropriate location for Gene's purpose. Regards, Ralf _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev