You are not logged in.
Hi all,
I notice that the OB pipe-menu system already has Dropbox integration to an extent, but I'd like to be able to right-click on a file and 'Send to Dropbox'. I don't really mind if it simply goes to the root folder of Dropbox, but it would be brilliant if I could also specify exactly where to send it within my Dropbox file structure.
Is this something that is possible to create manually with some clever Bunsen-fu?
I'd be very grateful if someone knowledgeable could assist with this.
Thanks.
Last edited by tedrogers (2017-09-20 18:34:25)
Offline
I think this is the guide you want:
Offline
I think this is the guide you want:
Brilliant! Cheers for that link.
For anyone else:
1. Open Thunar and then EDIT > CONFIGURE CUSTOM ACTIONS.
2. Add a new item. I called it Send to Dropbox etc.
3. For the command I set:
cp -r %f /home/<username>/Dropbox
4. In 'Appearance Conditions' tab I simply selected everything possible.
5. Choose an icon if you want to, although it's not vital.
In images:
Custom Actions
Edit Action
Appearance Conditions
Resulting Right-Click Dialogue
Hope this helps someone else.
Thanks.
Last edited by tedrogers (2017-09-20 15:58:17)
Offline
Excellent, thanks for filling in the details for us
Offline
Excellent, thanks for filling in the details for us
Thanks for saying so. Happy to give something back when I can.
Offline
Just for the record:
Thunar also has a "send-to" right-click menu item. You can add items to this by putting .desktop files in ~/.local/share/Thunar/sendto/ The usual way to use this is to copy in application.desktop files from /usr/share/applications, which can be useful if there's a "second-choice" app that you often want to open files with. You can also write your own custom files to do arbitary actions.
For example, I have this one to send a file to my "documents" directory:
[Desktop Entry]
Version=1.0
Name=Documents
Exec=mv -t /home/john/documents %F
Icon=system-file-manager
Type=Application
Like custom actions, the 'mv' could be a 'cp' or anything you want. Like other .desktop files you can add a MimeType= line and the entry will only appear if the file matches those mime-types.
This is all very similar to the Custom Actions method, and I don't know if it has any particular advantage, other than hiding the entry away in the "Send To" submenu...
Last edited by johnraff (2017-09-23 02:55:22)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Online
^ That is nice.
Offline
I don't know if it has any particular advantage, other than hiding the entry away in the "Send To" submenu...
Thanks for this. You're right about what you say...it's one extra click away in the "Send To" submenu, which is a possible disadvantage, albeit extremely minor. Matter of taste I guess.
Last edited by tedrogers (2017-09-23 08:16:16)
Offline
^OTOH you might want entries you seldom use hidden away in a sub-menu.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Online
Would all of this also work for other clouds, like GoogleDrive, OneDrive, Box.net and Mega.com?
...
Linux in the backwoods of the Rocky Mountains...
Offline
Would all of this also work for other clouds, like GoogleDrive, OneDrive, Box.net and Mega.com?
It should work for any application you can call from the terminal.
Offline