PCManFM 1.2.0 - Open Current Folder in Terminal - Not working with spaces in foldername
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxsession (Ubuntu) |
Fix Released
|
Undecided
|
Julien Lavergne | ||
Trusty |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
PCManFM 1.2.0:
F4 or Tools -> "Open Current Folder in Terminal" normally opens a Terminal in the current folder.
Currently this won't work if the foldername contains spaces: no terminal is opened
I think this could be a "correct escaping" problem.
What I expected to happen: F4 also work in folders with spaces, a Terminal should be opened.
Thanks,
us2000
-------
Description: Ubuntu 14.04 LTS
Release: 14.04
Linux a 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
pcmanfm:
Installed: 1.2.0-1
Candidate: 1.2.0-1
Version table:
*** 1.2.0-1 0
500 http://
100 /var/lib/
Related branches
affects: | ibus (Ubuntu) → ubuntu |
affects: | ubuntu → pcmanfm (Ubuntu) |
affects: | pcmanfm (Ubuntu) → lxsession (Ubuntu) |
Changed in lxsession (Ubuntu): | |
assignee: | nobody → Julien Lavergne (gilir) |
Changed in lxsession (Ubuntu): | |
status: | New → In Progress |
The faulty lxsession- default- terminal is some sort of script which handles foldernames with spaces incorrect:
-rwxr-xr-x 1 root root 1012 Apr 10 23:52 /usr/bin/ lxsession- default- terminal
#!/bin/sh "org.lxde. SessionManager" /org/lxde/ SessionManager org.lxde. SessionManager. SessionLaunch string: "terminal_ manager" string:$PWD> /dev/null 2>&1
#
# Copyright (C) 2013 Julien Lavergne (<email address hidden>)
#
...
echo "Launching terminal manager"
dbus-send --session --print-reply --dest=
--> The real bug is the missing escaping around $PWD
Updating this file to ..."$PWD"... solved the Problem.
BR us2000