[PLDWWW] page changed: people:glen

"Elan Ruusamäe (glen)" glen at pld-linux.org
Tue Jul 22 16:50:13 CEST 2014


add dropbox autostart .desktop

--- https://www.pld-linux.org/people/glen?rev=1406040485
+++ https://www.pld-linux.org/people/glen?rev=1406040613
@@ -252,11 +252,20 @@
  When the move is done, URL for the image is copied to clipboard and image viewer is opened so you can see your image before you paste the url to IM, e-mail, etc...
  
  Requirements: [[https://www.dropbox.com/install?os=lnx|dropboxd]] running, [[http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/|libnotify]], [[https://github.com/rvoicilas/inotify-tools/wiki|inotify-tools]]
  
- You should start the script at startup of your X session.
+ You should start the script at startup of your X session, example:
+ <code ini ~/.config/autostart/dropbox-watch.desktop>
+ [Desktop Entry]
+ Type=Application
+ Name=Dropbox watch
+ Comment=Launch dropbox watcher script
+ Icon=dropbox
+ Exec=$HOME/.local/bin/dropbox-watch.sh
+ </code>
  
- <code bash ~/.local/bin/dropbox-watch.sh>#!/bin/sh
+ <code bash ~/.local/bin/dropbox-watch.sh>
+ #!/bin/sh
  # A script that watches ~/Pictures/Screenshots dir, and any new file is added there, it
  # is renamed so it would contain filename modify timestamp (uses safe
  # characters not to require urlencode) and moved to dropbox dir. Additionally
  # dropbox url is copied to clipboard and image viewer is opened to show that


Diff URL:
  https://www.pld-linux.org/people/glen?do=diff&r1=1406040485&r2=1406040613
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list