Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

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

  • 1 përgjigje
  • 0 e kanë hasur këtë problem
  • 68 parje
  • Përgjigjja më e re nga 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.

Krejt Përgjigjet (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.

Ndryshuar nga Carl

E dobishme?

Bëni një pyetje

Duhet të bëni hyrjen te llogaria juaj që t’i përgjigjeni postimeve. Ju lutemi, filloni me një pyetje të re, nëse nuk keni ende një llogari.