Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#532 PCManFM does not pass the file name to TeXMaker

closed-works-for-me
nobody
pcmanfm (107)
5
2012-08-09
2012-04-26
v_2e
No

Hello!
I noticed recently that I cannot open my .tex files with TeXMaker by double-clicking the corresponding file in PCManFM. It simply starts an empty TeXMaker window instead of the document. If I open the .tex document with TeXMaker from terminal, it works fine. Also I tried double-clicking on the .tex document in Thunar, and it worked correctly too. That is why it looks like something is wrong with PCManFM.
Still, I can open other documents from PCManFM correctly, so I'm not sure whether I understand the nature of the problem well.

Anyway, I hope it is possible to fix this issue.
Thanks!

Discussion

  • That may be some conflict with appropriate .desktop file for TeXMaker in your distribution. That .desktop file probably lies in /usr/share/applications directory. Could you find it and list here line which starts with 'Exec=' ?

     
  • v_2e
    v_2e
    2012-05-19

    Hello!
    These are the contents of the '/usr/share/applications/texmaker.desktop' file:

    [Desktop Entry]
    Categories=Office;Publishing;Qt;X-SuSE-Core-Office;X-Mandriva-Office-Publishing;X-Misc;
    Exec=texmaker %U
    GenericName=LaTeX Editor
    GenericName[fr]=Editeur LaTeX
    Comment=LaTeX development environment
    Comment[fr]=Environnement de développement LaTeX
    Icon=texmaker
    MimeType=text/x-tex;
    Name=Texmaker
    Name[fr]=Texmaker
    StartupNotify=false
    Terminal=false
    Type=Application

     
  • PCMan
    PCMan
    2012-05-21

    • status: open --> pending
     
  • PCMan
    PCMan
    2012-05-21

    I installed texmaker to test this. I created tex files with various filenames, but all of them can be opened correctly with double click. I'm not able to reproduce this bug.
    Do you have the terminal output of pcmanfm when you open the file?
    Mine is:
    DEBUG: launch command: <texmaker '/home/pcman/tex test.tex' >
    Try to test against the latest source code in out git repo if possible. I don't think the problem exist in the latest code. Thanks

     
  • I seem to have exactly the same problem. I am using the version of PCManFM as included in Lubuntu 12.04. The same line
    "Exec=texmaker %U"
    is included in my texmaker.desktop file. How can I run pcmanfm in a verbose mode? When I open pcmanfm in a terminal, I don't get any terminal output. Alternatively, I am more than willing to compile the latest code in order to check if that solves the problem, if someone could tell me how to install two versions of pcmanfm at the same time (I'm a newbie)?

    I tried double-clicking, and various custom command lines to execute (%f, %F, %U, %u), but none of them work. They do work when entered directly in a terminal.

     
  • v_2e
    v_2e
    2012-08-06

    Hello!
    Currently I have

    pcmanfm-0.9.10
    libfm-0.1.17
    texmaker-3.4.1

    and do not experience this problem any more, although I haven't upgraded PCManFM since October 2011.
    the only more or less related thing I updated recently was my DE (Xfce-4.10.0).

    to install several versions of the same program (in order to test whether it works) you can do the following:

    cd ~
    tar -xvf pcmanfm-archive.tar.gz
    cd pacmanfm-archive
    make prefix=/home/username/local
    make
    make install

    If you do all this from your regular user account (NOT as ROOT!!!), everything should be find. The program will be installed into /home/username/local/bin/...

    Note: instead of "pcmanfm-archive.tar.gz" you should type a name of a real archive downloaded from SourceForge. And of course, instead of "username" you should type your real user name (login name).

    P.S. To be honest, I do not remember which install system PCManFM uses actually, so I gave an example for a typical GNU Make configuration.

    Regards,
    Vladimir

     
  • v_2e
    v_2e
    2012-08-06

    • status: pending --> open
     
  • The 1.0~rc1 version is available in ubuntu 12.10 packages so you can try to install them.
    So since you don't experience the problem anymore I'm closing the ticket.
    Thank you, Vladimir, and feel free to reopen the bug if you go into this issue again with 1.0~rc1 or newer version.

     
    • labels: --> pcmanfm
    • status: open --> closed-works-for-me