I am trying to install Sublime Text 2 on Linux Mint (Mate) from this tutorial 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?

  • 2
    instead open a terminal and type sudo gedit /usr/share/applications/sublime.desktop and type your sudo password and continue the tutorial Jan 14, 2013 at 19:23
  • does not wan't to sound noob: also try Alt+Fn+F2 Jan 14, 2013 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, 2013 at 19:28
  • dude then try this ⌘ Cmd+Space also see this Jan 14, 2013 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, 2013 at 19:37

2 Answers 2


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.


Try the following:

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

You can also find additional information here and here.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .