Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Lubuntu. I downloaded a .tar.bz2 of Sublime Text 2, and extracted it. When I double click the sublime_text executable, a window pops up with "This file is executable. Do you want to execute it?" message. How can I launch Sublime Text without that prompt?

share|improve this question
How exactly do you launch the program? Do you use a launcher, a terminal command, something else? – mikewhatever Mar 22 '13 at 14:22
Double click from PCManFM (default graphical file manager in Lubuntu). Fresh installed OS. – Vitaly Zdanevich Mar 22 '13 at 14:54
I've edited the question to explain the problem non-vague terms. Please correct if anything is not right. – mikewhatever Mar 22 '13 at 16:38
up vote 4 down vote accepted

Apparently, this is the way PCmanFM deals with binary files, but not only PCmanFM. In Linux, a binary file is meant to be run, instead of doubleclicked. For example, in your case, ./sublime_text would be the way to run it. That said, doubleclicking is convinient, so you can create a custom launcher on the desktop or in the menu.

In a terminal window, run leafpad SublimeText.desktop, and paste in the following:

[Desktop Entry]
Icon=/home/vitaly/Sublime\ Text\ 2/Icon/128x128/sublime_text.png
Name=Sublime Text
Comment=Sublime Text       
Exec=/home/vitaly/Sublime\ Text\ 2/sublime_text

I've assumed that your username is vitaly, and that you've extracted the program to your home folder. You'll need to correct the paths if that's not the case.

share|improve this answer
I did as you told and when I try run created shortcut I get this message: "Failed to execute child process "/home/vitaly/Sublime-Text-2" (Permission denied) – Vitaly Zdanevich Mar 22 '13 at 17:01
Oh, sorry - I just made a mistake when writing this .desktop file. All work now, thank you! – Vitaly Zdanevich Mar 22 '13 at 17:23
Most welcome. Glad I could help. – mikewhatever Mar 22 '13 at 17:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.