update the gedit for php programming(searched not try yet)
2016-03-31 16:31
567 查看
----------------------------------------------------------
You can find out where the other gedit plugins are already installed by doing:
------------------------------------------------------------
updatedb
sudo updatedb
locate gedit-2/plugins
And look for them in something like /usr/lib. Then, you can rerun the configure as shown above passing in the lib dir:
./configure --libdir=/usr/lib
Assuming you're okay with the simpler method (installing the plugin in your home dir), the entire process might look something like this:
# DOWNLOAD AND EXTRACT SOURCES cd ~ wget ftp://ftp.acc.umu.se/pub/GNOME/sources/gedit/2.20/gedit-2.20.3.tar.gz tar -xzf gedit-2.20.3.tar.gz cd gedit-2.20.3 cd plugins wget http://superb-west.dl.sourceforge.net/sourceforge/symbol-browser/gedit-symbol-browser-plugin-0.1.tar.gz tar -xzf gedit-symbol-browser-plugin-0.1.tar.gz # EDIT MAKE AND CONFIGURE FILES sed -i 's/SUBDIRS =/SUBDIRS = \t\\\n\tsymbolbrowser\t/g' Makefile.am sed -i 's/DIST_SUBDIRS =/DIST_SUBDIRS =\t\\\n\tsymbolbrowser\t/g' Makefile.am cd .. sed -i 's/AC_CONFIG_FILES(\[/AC_CONFIG_FILES(\[\nplugins\/symbolbrowser\/Makefile/g' configure.ac # BUILD THE PLUGIN autoconf automake ./configure cd plugins/symbolbrowser make # COPY TO HOME FOLDER # Note: if you ran ./configure --libdir=/usr/lib then make install may work cp symbolbrowser.gedit-plugin .libs/libsymbolbrowser.so ~/.gnome2/gedit/plugins/ cp -r symbols ~/.gnome2/gedit/ ------------------------------------------------- The following plugins are shipped with gedit: -------------------------------------------------------- Change case: Changes the case of selected text. Document Statistics Analyses the current document and reports the number of words, lines, characters and non-space characters in it. External tools: Execute external commands and shell scripts. (More) File Browser: A file browser plugin allowing to easily access your filesystem (includes remote mounts, creating new files/dirs, monitor dirs for changes, etc) (More) Indent: Indents or un-indents selected lines. Modelines: Emacs, Kate and Vim-style modelines support for gedit. Python console: Interactive python console standing in the bottom panel. Snippets: Insert often used pieces of text in a fast way. (More) Sort: Sorts a document or selected text. Spell: Checks the spelling of the current document. Tag list: Provides a method to easily insert into a document commonly used tags/strings without having to type them. Insert Date/Time: Inserts current date and time at the cursor position.
相关文章推荐
- 127报错解决方法
- PHP缓存Xcache安装
- laravel多环境配置(local,testing,production)
- thinphp下拉获取更多瀑布流效果
- php中奖概率算法,可用于刮刮卡,大转盘等抽奖算法
- phpcms二次开发_创建功能模块
- php mvc 框架演示
- php mvc 框架演示
- php mvc 框架演示
- phpcms文件目录结构
- PHP操作FTP类 (上传、下载、移动、创建等)
- php获取本机真实IP地址实例代码
- laravel中的Contracts, ServiceContainer, ServiceProvider, Facades关系
- Php pdo链接access数据库并循环显示数据
- 【转】PHP的Trait 特性
- thinkPHP上传到服务器显示500错误
- 去除phpcms会员登录后头部登陆条的会员名称的括号
- PDO中获取结果集
- php发送邮箱简单教程
- php csrf防御