We need to let GTK+ parse the command line first before we can check for the -m option. To do it the other way around would greatly complicate the command line parsing. We'd also have to modify the type code to not lookup the icons under some circumstances.
Have you tried using ssh -X ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To circumvent this (because I guess this bug will never be solved unless the command line parsing gets re-done), simply use file command (part of base installation of almost every distribution):
$ file -b --mime-type somefile
application/pdf
$ file -b --mime-type someotherfile
video/mpeg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We need to let GTK+ parse the command line first before we can check for the -m option. To do it the other way around would greatly complicate the command line parsing. We'd also have to modify the type code to not lookup the icons under some circumstances.
Have you tried using ssh -X ?
To circumvent this (because I guess this bug will never be solved unless the command line parsing gets re-done), simply use file command (part of base installation of almost every distribution):
$ file -b --mime-type somefile
application/pdf
$ file -b --mime-type someotherfile
video/mpeg