Menu

#18 [1.4.0.1] bug: need to escape spaces when invoking nautilus

v1.4.1
closed
5
2013-04-05
2013-03-17
genodeftest
No

Discussion

  • genodeftest

    genodeftest - 2013-03-17

    Sorry, forgot to add description

    If my project is located in a folder containing spaces or in a subfolder of a folder containing spaces, nautilus can not open the folder because it splits up the path.

    Example:
    project is located at "/home/user/A B/C D/"
    as with 1.4.0 nautilus will be started with this command:

    nautilus "/home/user/A B/C D/"
    

    which is incorrect since all spaces need to be escaped to

    nautilus "/home/user/A\ B/C\ D/"
    

    instead of opening the correct path, nautilus tries to open 4 folders:
    /home/user/A
    /home/user/B
    /home/user/C
    /home/user/D
    since every non-prefixed path is interpreted as path within ~ (/home/user/)

    Adding quotes to the path does not fix the problem.

     
  • Andre Bossert

    Andre Bossert - 2013-03-18

    Thank You for your report. I will fix this for 1.4.1.

    It would be helpful if you can test it for me before release. If you want please send me an e-mail, i will provide beta version for you.

     
  • Andre Bossert

    Andre Bossert - 2013-03-18
    • labels: --> Linux, Spaces, Path
    • assigned_to: Andre Bossert
    • milestone: v1.4.0 --> v1.4.1
     
  • Andre Bossert

    Andre Bossert - 2013-03-31

    I've fixed nautilus command, but not sure if Open and Run commands are working with folders containing spaces?

    These are the commands:
    gnome-terminal --working-directory="{1}"
    gnome-terminal --working-directory="{1}" --command=./''{3}''

     
  • Andre Bossert

    Andre Bossert - 2013-04-01
    • status: open --> closed
     
  • Andre Bossert

    Andre Bossert - 2013-04-01

    Just released v1.4.1

     
  • genodeftest

    genodeftest - 2013-04-05

    Thanks for fixing this bug that fast.
    Opening nautilus works fine now.
    Opening terminal and starting Run does not work, they seem to have the same bug according to the error messages. Adding quotes does not work for that too. Gnome-terminal complains about non-existent folders/files.

     

    Last edit: genodeftest 2013-04-05

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.