{"action":"closed","issue":{"url":"https://api.github.com/repos/astrada/google-drive-ocamlfuse/issues/126","labels_url":"https://api.github.com/repos/astrada/google-drive-ocamlfuse/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/astrada/google-drive-ocamlfuse/issues/126/comments","events_url":"https://api.github.com/repos/astrada/google-drive-ocamlfuse/issues/126/events","html_url":"https://github.com/astrada/google-drive-ocamlfuse/issues/126","id":88792318,"number":126,"title":"Icons for Google Docs/Sheets/Slides etc.","user":{"login":"jjordanthesailor","id":1268148,"avatar_url":"https://avatars.githubusercontent.com/u/1268148?v=3","gravatar_id":"","url":"https://api.github.com/users/jjordanthesailor","html_url":"https://github.com/jjordanthesailor","followers_url":"https://api.github.com/users/jjordanthesailor/followers","following_url":"https://api.github.com/users/jjordanthesailor/following{/other_user}","gists_url":"https://api.github.com/users/jjordanthesailor/gists{/gist_id}","starred_url":"https://api.github.com/users/jjordanthesailor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjordanthesailor/subscriptions","organizations_url":"https://api.github.com/users/jjordanthesailor/orgs","repos_url":"https://api.github.com/users/jjordanthesailor/repos","events_url":"https://api.github.com/users/jjordanthesailor/events{/privacy}","received_events_url":"https://api.github.com/users/jjordanthesailor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astrada/google-drive-ocamlfuse/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-16T17:39:57Z","updated_at":"2015-06-16T19:51:47Z","closed_at":"2015-06-16T19:51:47Z","body":"Wow, I have been searching for this capability for months, thank you so much for building it.  \r\n\r\nI believe the most powerful part of your program is the .desktop file generation for the Google Docs formats.  It is awesome that I can double click a Google Sheet in my file manager and Chrome opens with the spreadsheet ready to edit.  The fact that I am editing the file actually stored on Google's servers is even better, no worries about sync errors or other problems.\r\n\r\nBecause you are building a .desktop file for each document I believe you could add an icon that indicates the file type (basically simulate a mime type icon).  If you included an icon for Docs, Sheets, etc. in the ~/.gdfuse directory then you could add an icon=/home/username/.gdfuse/gdocs.png line to the .desktop file for each item as it is created (just noticed .desktop files refuse to follow the ~ might be better to install the icons to /usr/share/icons).  I would recommend the icons for the various programs but if you feel that might cause copyright problems, I'll gladly build you a set of similar icons with no copyright issues.\r\n\r\nMaybe I'll try to build a bash script to implement this for my own use, looks like I can grep for /spreadsheets/ or /document/ and then append the corresponding Icon line to the .desktop file.\r\n\r\nThanks again for the great program!\r\n\r\nRegards,\r\nJ. Jordan\r\n\r\n"}}