Opening by custom command line in terminal emulator does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcmanfm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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 around the input string)
or
lxterminal -T %s -e '/bin/bash -c %s'
(provided that pcmanfm adds double quotes around the input string)
lxterminal can be replaced by xfce4-terminal above. Additonally, with xfce4-terminal, one could use
xfce4-terminal -T %s -x /bin/bash -c %s
(provided that pcmanfm adds single or double quotes around the input string)
Then try to open a text file by custom command "cat %f | less".
It fails to run the command in terminal and give the title for the terminal window.
If the file (%f) selected in the file manager was named 'foo bar', and lxterminal was used in the preferences, the expected outcome would be the same as what is the outcome of running the command
lxterminal -T 'cat foo\ bar | less' -e "/bin/bash -c 'cat foo\ bar | less'"
in terminal emulator.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pcmanfm 1.2.0-1
ProcVersionSign
Uname: Linux 3.13.0-
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
Config_
CurrentDesktop: XFCE
Date: Mon Jan 26 15:36:37 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-21 (127 days ago)
InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1)
SourcePackage: pcmanfm
Udisks_dump: Error: [Errno 2] No such file or directory: 'udisks'
UpgradeStatus: No upgrade log present (probably fresh install)
Versions affected: trusty, vivid
pcmanfm versions: 1.2.0-1, 1.2.3-1.1
description: | updated |
description: | updated |
description: | updated |
description: | updated |
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 of an existing bug which causes the title flag in LXTerminal not to work: https:/ /bugs.launchpad .net/ubuntu/ +source/ lxterminal/ +bug/1389588
Would you please submit version information for LXTerminal, rather than PCManFM? You can run "apt-cache policy lxterminal" to collect this information.