为XAMPP增加启动图标在Ubuntu12.04上(转载)
来源:互联网 发布:Java验证角谷猜想 编辑:程序博客网 时间:2024/05/16 17:43
Add menu entry for XAMPP in Ubuntu 12.04
0 Comments
You will need to install python-glade2 for the XAMPP control panel to work:
sudo apt-get install python-glade2
Then create a file called XAMPP-Control-Panel.desktop in /usr/share/applications/ and put the following in it:
[Desktop Entry]Version=1.0Encoding=UTF-8Name=XAMPP Control PanelGenericName=Control PanelComment=XAMPP Control PanelExec=gksudo "/opt/lampp/share/xampp-control-panel/xampp-control-panel"Icon=/opt/lampp/htdocs/favicon.icoStartupNotify=trueStartupWMClass="xampp-control-panel.py"Terminal=falseType=ApplicationCategories=Developer;
Alternatively do the following:
wget http://www.samclarke.com/wp-content/uploads/2012/04/XAMPP-Control-Panel.desktopsudo mv XAMPP-Control-Panel.desktop /usr/share/applications/XAMPP-Control-Panel.desktop
By default (in Ubuntu 12.04) the control panel will not be themed as it needs to run as root. To set the root users theme to your current theme, simply do:
sudo ln -s ~/.themes /root/.themessudo ln -s ~/.icons /root/.iconssudo ln -s ~/.fonts /root/.fonts
- 为XAMPP增加启动图标在Ubuntu12.04上(转载)
- 在菜单上增加图标
- ubuntu14.04为idea14 webstorm 增加启动栏快捷图标
- 安装xampp后apache不能启动解决方法(以防丢失 转载为妙)
- ubuntu12.04上增加VNC远程桌面连接访问
- 在ubuntu12.04上编译 android源代码(二)
- 在ubuntu12.04上部署OPenstack (2)
- 在ubuntu12.04上部署openstack (3)
- 在win7上安装ubuntu12.04双系统(uefi主板)
- ubuntu12.04使用---在左侧桌面添加图标
- 网站标签上增加图标
- 在Ubuntu12.04上安装mysql
- 在ubuntu12.04上安装Adobe Air
- 如何在Ubuntu12.04上安装CUDA
- 在Ubuntu12.04上安装中文输入法
- 在Ubuntu12.04LTS上安装RubyGem
- 在ubuntu12.04上编译 android源代码
- 在Ubuntu12.04上使用gtest
- Windows Phone游戏性能优化之垃圾回收
- 【DFS】【Rqnoj28】[Stupid]愚蠢的宠物
- doubango ims 构架
- 收藏
- jsp截取字符串
- 为XAMPP增加启动图标在Ubuntu12.04上(转载)
- 经营类游戏:由轴对齐矩形相交判定到判定菱形构成的平行四边形相交判定(一)
- Ubuntu 下的多网卡联网的方法配置
- 【BFS】【Rqnoj34】紧急援救
- struts标签一些
- 【并查集】【Rqnoj331】家族
- 游戏开发笔记十四 游戏画面绘图(四) 华丽的CImage类
- Astyle的使用说明
- 【并查集】【Rqnoj343】mty的考验