DanielBorgesOliveira / onedrive_tray

OneDrive system tray program
GNU General Public License v3.0
113 stars 21 forks source link

Link to folder #9

Closed HTOgit closed 3 years ago

HTOgit commented 3 years ago

Can you implement that i.e. double-clicking the icon is a shortcut to the folder?

DanielBorgesOliveira commented 3 years ago

Hi @HTOgit ,

I added a Link to Folder feature. You should click with the right button and select Open Folder. The program will search the folder defined in the onedrive config file and call the xdg-open with that path.

But you should set the variable "sync_dir" in the ~/.config/onedrive/config folder with the absolute path of the onedrive folder. E.g.: sync_dir = "/home/daniel/OneDrive"

Thank you.

HTOgit commented 3 years ago

Hi,

thank you for your effort! But it crashes the program on my systems. Runnig onedrive_tray --onedrive-path with my onedrive-dir it leads to "segmentation fault (core dumped) onedrive_tray --onedrive-path"