Sublime Forum

Double clicking file open empty tab

#1

Hallo,

when opening files through double clicking sublime opens them in an empty tab
(subl filename works fine)

OS: Archbang 64bit
WindowManager: Openbox
FileManager PcmanFM

Thanks in advance

0 Likes

#2

Hi Allaman, can you provide further information like… the build you’re using?

0 Likes

#3

hi,
of course: Version 2.0, Build 2210 (licensed)

0 Likes

#4

What do you mean by an empty tab?

0 Likes

#5

an tab with the right filename but no content (and the text file is not empty!)

0 Likes

#6

When you have such a tab, what does typing view.file_name() in the console show? Perhaps your file manager isn’t passing the full path to the file through.

0 Likes

#7

You might be right, output is as follows:

view.file_name()
u’/home/michael/file’

and that might be the explanation why there is a null file in my home directory I wasn’t able to find out why it’s always there :smiley:

I set my editor as follows:
right-click on file
open with
select sublime

and this doesn’t work.
When I choose leafpad e.g. it’s working :frowning:

edit:
pcmanfm is the bad boy, with thunar it works… anybody who knows how to tell pcmanfm to open the right path?

0 Likes