Sublime Forum

Linux activating Sublime does not work

#1

Hey
always when i try to enter my Sublime activation key i get an error message. After clicking “Ok” it says “Thanks, for purchasing.” and then it is activated. But when I start Sublime again it isn’t activated anymore.

What can i do to fix that?

I am using Ubuntu 16.04.

0 Likes

#2

The file that it can’t write is the file that tells Sublime that it’s licensed, which is why it doesn’t think it’s licensed at the next launch.

Double check the path that’s listed there to make sure that the user you’re running sublime as (which should be julian) has access rights to be able to create files at that location. If the user you’re using is julian then you should have the proper permissions since the file is in your home directory, but things might have gotten messed up somewhere (e.g. something running as root perhaps?).

0 Likes

#3

there is just one user, that julian.
I did everything exactly like they explained it here for other Linux devices. (I don’t like the way they install it for Ubuntu because you can only start it through the terminal)

0 Likes

#4

Try replicating the below in a terminal:

Determine that your user is the user that you expect it to be when you run the rest of the commands below:

tmartin:dart:~> whoami
tmartin

Try to manually change to the directory that Sublime is having problems writing into:

tmartin:dart:~> cd ~/.config/sublime-text-3/Local/

Try to create a sample file in the location to verify that this user can create files here:

tmartin:dart:~/.config/sublime-text-3/Local> touch sample.txt

Remove the sample file created above (just to keep things clean):

tmartin:dart:~/.config/sublime-text-3/Local> rm sample.txt 

If any of these steps fail, that will help point in the direction of what’s going wrong for you.

0 Likes