I am not sure this is really a bug. If it was a bug, it seems to be
fixed now.
Also, the submitter is running Arch Linux but this is filed under
lxterminal (Ubuntu), which seems odd.
In pcmanfm 0.9.8+git-6240 and lxterminal 0.1.9-0ubuntu3 (in Lubuntu
Natty 11.04 Alpha 3), when creating custom commands for Open With, there
is a list of special parameter names provided. One of them is %f for a
single file. There is also %F for a set of files. There is also a
checkbox for "Execute in terminal emulator". Using these seems to work
as designed.
So, using the custom command
nano %F
and checking the "Execute in terminal emulator" checkbox works fine for
opening one or more files with spaces in their names.
Test run:
echo a >a
echo b >b
echo ab >"a b"
echo cd >"c d"
# Select files "a b" and "c d" in pcmanfm
# Right click on one of them, select "Open With" and then "Open With..."
# Select the "Custom Command Line" tab
# Type in
nano %F
# Check the "Execute in terminal emulator" checkbox
# Click on OK
# Each file in turn will be edited in nano as expected.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/714176
Title:
lxterminal doesn't support spaces in names using "Open with"
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs