thiago-s
6/4/2016 - 2:39 AM

#bittorrentsync #autostart #bash

#bittorrentsync #autostart #bash

# file: ~/.config/autostart/bittorrentsync.desktop
# https://developer.gnome.org/desktop-entry-spec/

read -d '' desktop_entry_for_bittorrent_sync << EOF
[Desktop Entry]
Name=BitTorrent Sync
Terminal=true
Exec=/home/thiagosouza/BitTorrent-Sync_glibc23_x64/btsync --webui.listen 0.0.0.0:8888
Type=Application
Icon=/home/thiagosouza/BitTorrent-Sync_glibc23_x64/btsync
Categories=Utility;
EOF

echo "$desktop_entry_for_bittorrent_sync" >> ~/.config/autostart/bittorrentsync.desktop