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

Close

#758 xterm is always called for desktop files

1.1
closed-fixed
libfm (249)
4
2013-08-26
2013-07-30
Sworddragon
No

I'm using PCManFM 1.1.0 and making a double click on a desktop files can cause xterm to open even if another terminal emulator is defined. For example on my system libfm.conf contains the line "terminal=x-terminal-emulator %s". x-terminal-emulator is linking to this:

sworddragon@ubuntu:~$ ls -al /usr/bin/x-terminal-emulator
lrwxrwxrwx 1 root root 37 Dez 28 2012 /usr/bin/x-terminal-emulator -> /etc/alternatives/x-terminal-emulator
sworddragon@ubuntu:~$ ls -al /etc/alternatives/x-terminal-emulator
lrwxrwxrwx 1 root root 19 Jan 4 2013 /etc/alternatives/x-terminal-emulator -> /usr/bin/lxterminal

The content of the desktop file looks this:

[Desktop Entry]
Exec=/usr/bin/passwd
Terminal=true
Type=Application

Making a double click on this file will open xterm instead of lxterminal.

Discussion

<< < 1 2 (Page 2 of 2)
  • Oh, I think I know how you can help me find it. You have to:
    1) install packages libfm-dbg and libglib2.0-0-dbg

    2) start pcmanfm under gdb:
    gdb pcmanfm

    3) in gdb enter commands:
    br g_spawn_sync
    br g_spawn_async_with_pipes
    run

    4) when it stops at breakpoint, enter:
    bt full

    and send me all the output. I hope I can find what happens in your case.

     
  • Ouch, I meant between (3) and (4) launch the problematic file, of course.

     
  • Sworddragon
    Sworddragon
    2013-08-15

    > Ouch, I meant between (3) and (4) launch the problematic file, of course.

    I thought already that I have to do this :)
    In the attachments is the log. I hope there is nothing missing.

     
  • Sworddragon
    Sworddragon
    2013-08-15

     
    Attachments
    • status: open --> open-fixed
     
  • I have installed 13.10 into virtual box so I could trap it. Fix pushed into GIT. Probably 1.1.2.1 will come shortly. Thank you very much for all your testing.

     
    • status: open-fixed --> closed-fixed
     
<< < 1 2 (Page 2 of 2)