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,
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
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
** 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
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
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
*** 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
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
** 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
+
** 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
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
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:
** 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
*** 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
14 matches
Mail list logo