Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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 am trying to install Sublime Text 2 on Linux MINT (Mate) from this tutorial. http://community.linuxmint.com/tutorial/view/907 and I'm stuck on:

Next , to create a menu icon press Alt+F2 and type:
gksu gedit /usr/share/applications/sublime.desktop

When I press Alt+F2 nothing happens, is there another way I can run this command?

share|improve this question
instead open a terminal and type sudo gedit /usr/share/applications/sublime.desktop and type your sudo password and continue the tutorial – harish.venkat Jan 14 '13 at 19:23
does not wan't to sound noob: also try Alt+Fn+F2 – harish.venkat Jan 14 '13 at 19:26
thanks ill try that. No, its not that. i'm using a mac keyboard on a desktop. There is no fn key. – Chris Till Jan 14 '13 at 19:28
dude then try this ⌘ Cmd+Space also see this – harish.venkat Jan 14 '13 at 19:32
hmm. that didnt work and after trying sudo gedit, it asked for my passoword then said gedit: command not found. – Chris Till Jan 14 '13 at 19:37
up vote 0 down vote accepted

You need to understand that the following command is just one way to create/open a file with an editor - here gedit - using root permissions:

gksu gedit /usr/share/applications/sublime.desktop

Apparently, the tutorial you're following assumes you have these utilities installed and therefore you're getting troubles with that command. To do the exact same thing using more common tools, you could run the following command in a terminal:

sudo nano /usr/share/applications/sublime.desktop

This will open the file in nano so you can insert text and save it with Ctrl+o and Ctrl+x.

share|improve this answer

Try the following:

sudo gedit /usr/share/applications/sublime.desktop

You can also find additional information here and here.

share|improve this answer

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.