חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Add gnome-text-editor as *optional* helper for application/octet-stream

  • 1 תגובה
  • 0 have this problem
  • 70 views
  • תגובה אחרונה מאת Carl

more options

Most attachments come through as application/octet-stream which I should be perfectly able to view via "gnome-text-editor" or "gedit" etc. I want to be given the option to use one of these.

I don't see any mechanism in the menus to allow this, though. The "application/octet-stream" is conspicuously absent from the content-type list, which is absurd since that's what 99% of all attachments are recognized as.

Note that I want this as an *OPTION* to going through the steps of downloading and then viewing the file.

Most attachments come through as application/octet-stream which I should be perfectly able to view via "gnome-text-editor" or "gedit" etc. I want to be given the option to use one of these. I don't see any mechanism in the menus to allow this, though. The "application/octet-stream" is conspicuously absent from the content-type list, which is absurd since that's what 99% of all attachments are recognized as. Note that I want this as an *OPTION* to going through the steps of downloading and then viewing the file.

כל התגובות (1)

more options

I tried editing this file

~/snap/thunderbird/common/.thunderbird/4szjti50.default/handlers.json

and added an entry for "application/octet-stream", then used the menu to add the editor-options. This is what it looks like now:

"application/octet-stream":{"action":2,"handlers":[{"name":"gnome-text-editor","path":"/run/user/1019214002/doc/3d5685d4/gnome-text-editor"},{"name":"gedit","path":"/run/user/1019214002/doc/1ab6d2b0/gedit"}],"ask":true}

So far so good -- I can select either editor. The funny thing, though, is that I can tell it to open the file, but no editor-window pops up. What else do I need to do? Note that I originally pointed these editors to be under /usr/bin. The above paths under /run are valid, though, the binaries are identical to the originals.

השתנתה ב־ על־ידי Carl

Helpful?

פרסום שאלה

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.