Create a Sidebar launcher for Sublime Text 2 in...
2013-06-03 13:33
573 查看
Create a Sidebar launcher for Sublime Text 2 in Ubuntu Unity
By Jon Saints - 25 Oct 2012Using the example in this post, I created a launcher icon for Sublime Text 2 in Ubuntu 12.10.
Here is how:
sudo nano -w /usr/share/applications/sublime.desktop</pre>
Then paste in the following (make sure to update my file paths with your file paths):
[Desktop Entry] Version=1.0 Name=Sublime Text 2 # Only KDE 4 seems to use GenericName, so we reuse the KDE strings. # From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. GenericName=Text Editor Exec=/home/jon/Programs/SublimeText2/sublime_text %F Terminal=false Icon=/home/jon/Programs/SublimeText2/Icon/48x48/sublime_text.png Type=Application Categories=TextEditor;IDE;Development X-Ayatana-Desktop-Shortcuts=NewWindow [NewWindow Shortcut Group] Name=New Window Exec=/home/jon/Programs/SublimeText2/sublime_text TargetEnvironment=Unity
Then click the Ubuntu button on the top of the sidebar. Type “Sublime” and notice that SublimeText2 appears as a launcher. Open it and right click to lock to your launcher bar.
note: %F is important for the open type
相关文章推荐
- fatal error in launcher:unable to create process using 解决办法
- - Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
- 使用TensorFlow实现一个文本分类的卷积神经网络Implementing a CNN for Text Classification in TensorFlow
- 【转】3 Essential Sublime Text Plugins for Node & JavaScript Developers
- IMPLEMENTING A CNN FOR TEXT CLASSIFICATION IN TENSORFLOW
- Gadgets for Windows Sidebar Debugging
- [Angular] Create a custom validator for template driven forms in Angular
- Windows Vista Sidebar for XP
- Python-Fatal error in launcher: Unable to create process using '"'
- Ubuntu 安装 Sublime Text 3 及破解方法 Install Sublime Text 3 in Ubuntu via PPA
- 同时安装python2和python3,出现fatal error in launcher: unable to create process using‘’‘’错误
- Plugins for Sublime Text 2
- Oracle 10g 异常:ORA-01658:unable to create INITIAL extent for segmnet in tablespace SYSTEM
- QT线程出现错误Cannot create children for a parent that is in a different thread
- sublime:a plugin may be making sublime text unresponsuve by taking too long in its o
- Remote Thread Execution in System Process using NtCreateThreadEx for Vista & Windows7
- Fatal error in launcher: Unable to create process using '"'
- Request for member ‘bar’ in ‘aFoo’, which is of non-class type ‘Foo*’
- How to create custom methods for use in spring security expression language annotations
- Using native GDI for text rendering in C#