#93 Running "rox -m" requires an X server

open
nobody
ROX-Filer (85)
5
2010-02-28
2010-02-28
Anonymous
No

When I run "rox -m" in ssh it complains that it does not have an open screen, when the "rox -m" command only gets the mime type of a directory.

Discussion

  • Stephen Watson

    Stephen Watson - 2010-04-07

    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 ?

     
  • linuxdirk

    linuxdirk - 2012-04-03

    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

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks