2

I'm making a launcher that when clicked will open up a chromium window with tabs for Gmail, Google Docs, and Google Calendar, but I'd also like to drag and drop documents into the launcher icon and have them automatically uploaded to Google Docs.

How can I differentiate an Exec for clicking and an Exec for drag and drop?

1

Whilst not quite the launcher you would like to make - WebUp8 have recently blogged about the following GoogleDocs launcher that does a upload when you drag-and-drop.

enter image description here

Hope this gives you a few ideas for your final solution.

  • That's actually the base of what I'm trying to make... I have the .desktop file from that launcher, but I want to know if I can add a click-only Exec command on top of the drag and drop command – Leron Jun 28 '11 at 6:40
0

Figured it out! The Exec command in the Gdocs.Desktop was DocsHelper.sh I opened that up and the penultimate line of code is what command should be executed if no file is present.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.