添加一个.desktop文件放到目录~/.config/autostart/下即可。
下面是以dropbox.desktop文件的内容作为一个例子:
[Desktop Entry] Name=Dropbox GenericName=File Synchronizer Comment=Sync your files across computers and to the web Exec=dropbox start -i Terminal=false Type=Application Icon=dropbox Categories=Network;FileTransfer; StartupNotify=false