[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2016-02-21 Thread LStranger
Oh, even not that, I've missed the point, -X before % is ignored too (for backward support of 'xterm -e %s') therefore in lines above '-T' wouldn't be present too, just xfce4-terminal -x will be executed or whatever. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2016-02-21 Thread LStranger
What interesting discussion you have here... :) In fact, using some "%s" in interpreted line is a security hole which is why it was reworked long time ago. Now in LibFM (PCManFM) any % in 'terminal' setting is ignored, along with everything behind it. So if you set it to xfce4-terminal -T %s

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-28 Thread Jarno Suni
It does not help, if you tick Keep terminal window open after command execution. Given the file was foo bar, even nano %f did not work in the case above: It opens file named ./foo first and then it opens file named bar; even quoting %f in the command does not help. However, if the terminal

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Jarno Suni
** Description changed: Steps to reproduce: You set terminal emulator in preferences advanced lxterminal -T '%s' -e /bin/bash -c '%s' (provided that pcmanfm adds no quotes around the input string) or lxterminal -T %s -e /bin/bash -c %s (provided that pcmanfm adds single quotes

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Dave Kokandy
Thank you for the additional information. I attempted to test and verify it, but since your original report was unclear that we were talking about a feature in PCManFM, I was testing the wrong thing. Especially seeing as this is an undocumented feature, can you clearly explain your expected

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Jarno Suni
It seems you did not check this. Similar failure happens with xfce4-terminal, as well. And e.g. running lxterminal -T Custom Title -e /bin/bash -c 'read' in terminal works fine. The problem is only, if you run it using pcmanfm's terminal emulator preference. The command fails even if you remove

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Jarno Suni
*** This bug is a duplicate of bug 1389588 *** https://bugs.launchpad.net/bugs/1389588 ** Description changed: Steps to reproduce: You set terminal emulator in preferences advanced - lxterminal -T %s -e /bin/bash -e '%s' + lxterminal -T %s -e /bin/bash -c '%s' or - lxterminal -T %s

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Jarno Suni
So the bug is in how pcmanfm handles the %s parameter (which is undocumented in the user interface, by the way). ** This bug is no longer a duplicate of bug 1389588 --title flag has no effect ** Package changed: lxterminal (Ubuntu) = pcmanfm (Ubuntu) -- You received this bug notification

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Jarno Suni
** Description changed: Steps to reproduce: You set terminal emulator in preferences advanced - lxterminal -T %s -e /bin/bash -c '%s' + lxterminal -T '%s' -e /bin/bash -c '%s' + (provided that pcmanfm adds no quotes around the input string) or lxterminal -T %s -e /bin/bash -c %s +

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Jarno Suni
** Description changed: Steps to reproduce: You set terminal emulator in preferences advanced lxterminal -T '%s' -e /bin/bash -c '%s' (provided that pcmanfm adds no quotes around the input string) or lxterminal -T %s -e /bin/bash -c %s (provided that pcmanfm adds single quotes

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Dave Kokandy
There is something strange going on here, but I think it requires additional testing to identify the exact issue. With the Terminal emulator set in PCManFM's Preferences Advanced set to lxterminal -T %s -e '/bin/bash -c %s' like you say, your custom command: cat %f | less fails on my machine as

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pcmanfm (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1414822 Title:

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-27 Thread Dave Kokandy
** Description changed: Steps to reproduce: You set terminal emulator in preferences advanced lxterminal -T '%s' -e /bin/bash -c '%s' (provided that pcmanfm adds no quotes around the input string) or lxterminal -T %s -e /bin/bash -c %s (provided that pcmanfm adds single quotes

[Bug 1414822] Re: Opening by custom command line in terminal emulator does not work

2015-01-26 Thread Dave Kokandy
*** This bug is a duplicate of bug 1389588 *** https://bugs.launchpad.net/bugs/1389588 Thank you for taking the time to report this error and improve Ubuntu. You have marked this as a PCManFM bug, but this appears to only affect LXTerminal. In fact, it seems to be very similar or a duplicate