A PCRE internal error occured. This might be caused by a faulty plugin

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tricks:application-icon [2015/08/25 01:31]
admin [Create a Menu Icon]
tricks:application-icon [2016/02/16 16:03]
admin [Create a Menu Icon]
Line 24: Line 24:
 </​code>​ </​code>​
  
 +
 +In some cases, the extracted directories won't bare the correct "​x"​ (execute) options (i.e.: -rwx------). Using the above sudo chmod -R +r will only add the "​read"​ flag for anyone but wont let group or others "​open"​ the directories (x). As we do NOT want to change all files "​x"​ option, but only directories,​ we'll use the next command:
 +<​code>​
 +> sudo find /​opt/​sublime -type d -exec chmod 755 {} +
 +</​code>​
 +
 +And to set execution rights correctly on files:
 +<​code>​
 +> sudo find /​opt/​sublime/​ -type f -perm 744 -exec chmod +x {} +
 +</​code>​
 ===== Create Executable in /usr Path ===== ===== Create Executable in /usr Path =====
  
Line 60: Line 70:
  
 You should now find the Sublime Text icon in **Menu > Accessories > Sublime Text** You should now find the Sublime Text icon in **Menu > Accessories > Sublime Text**
 +
 +Alternatively if you'd like to only have the icon available for a certain user, create the .desktop file in: **~/​.local/​share/​applications**
  
 For a list of categories, refer to th [[http://​standards.freedesktop.org/​menu-spec/​latest/​apa.html|freedesktop.org Registered Categories list]] as well as the [[http://​standards.freedesktop.org/​menu-spec/​latest/​apas02.html|additional categories]]. For a list of categories, refer to th [[http://​standards.freedesktop.org/​menu-spec/​latest/​apa.html|freedesktop.org Registered Categories list]] as well as the [[http://​standards.freedesktop.org/​menu-spec/​latest/​apas02.html|additional categories]].