Sublime Forum

Two problems with Linux and the lates Build (2126)

#1

Since Build 2126 I noticed two problems. I am working with Linux, Debian Squeeze 64 / XFCE.

  1. When I open a filename with spaces from Thunar, sublimetext splits the filename on the spaces
    and opens for every part a new empty file.
    e.g.: My file.txt -> opens two tabs My and file.txt

  2. My global settings for the User looks like:
    {
    “remember_open_files”: false
    }

But - open files are still rememberd.

Can someone give me hints / input?

Thank you very much,
Roland

0 Likes

#2

I will check on my Fedora 15 2126 install.

The remember open files acts the same. setting it to false in my Global.sublime-settings User doesn’t appear to have an effect.

In Gnome 3 nautilus, opening a file with a space in it worked for me.

0 Likes

#3

[quote=“paper82”]Since Build 2126 I noticed two problems. I am working with Linux, Debian Squeeze 64 / XFCE.

  1. When I open a filename with spaces from Thunar, sublimetext splits the filename on the spaces
    and opens for every part a new empty file.
    e.g.: My file.txt -> opens two tabs My and file.txt

  2. My global settings for the User looks like:
    {
    “remember_open_files”: false
    }

But - open files are still rememberd.

Can someone give me hints / input?

Thank you very much,
Roland[/quote]

  1. I don’t use thunar, but I’ve no problem with nautilus.
  2. Same problem here. I’ve remember_open_files to false in user Global.sublime-settings but editor starts opening files =(

Any help?

0 Likes

#4

I’m having same problem with filename with spaces, no matter what file manager I’m using. I use Linux/Gnome

Same problem appears on 2126 and 2139 builds. Any help ?

0 Likes

#5

Sublime Text has no issues with spaces in file names. Perhaps you’re launching it via a shell script that’s not quoting them properly.

0 Likes

#6

you were right. prob appeared because unquoted $@ sees arguments as separate words. thanks

0 Likes

#7


Linux 32-bit - Dev Build 2143

I can’t get Sublime to open a file name with spaces from the command line.
But files with spaces work using another editor.

e.g. both these work correctly for leafpad editor

But neither works with Sublime - it creates 3 empty tabs

Should I put something else around the file name?
cheers…

0 Likes

#8

farrellee25: As posted above, please stop using a shell script, use a symlink instead

0 Likes

#9

With respect to remember_open_files, hot_exit also needs to be set to false from 2126 onwards

0 Likes

#10

Re: opening file names with spaces

Heres a tip for any Ubuntu users who get the latest sublime** .deb** from:

edit this file (its not a binary):

change:

to:

save file.

Sublime now opens file names with spaces from the command line.

0 Likes