ubuntu

1:重启gnome桌面系统命令

sudo /etc/init.d/gdm restart
2:重启kde桌面系统命令

sudo /etc/init.d/kdm restart

--------------------------------------------------------------

ubuntu下安装搜狗linux输入法

源是这里:https://launchpad.net/~fcitx-team/+archive/nightly

输入以下命令安装:

1 #首先添加源
2 sudo apt-add-repository ppa:fcitx-team/nightly
3 sudo apt-get update
4  
5 #如果以前使用或安装过fcitx,需要把他删除掉
6 sudo apt-get remove fcitx*
7 #安装sogou输入法
8 sudo apt-get install fcitx-sogoupinyin
重启或者登出桌面再重新登陆便ok。

字库很ok,感觉还不错。

转: http://my.oschina.net/winktj/blog/119220

--------------------------------------------------------------


ubuntu 为应用程序设置桌面图标:

以eclipse为例子:


在终端中输入 
sudo gedit /usr/share/applications/eclipse.desktop 


[Desktop Entry]
Encoding=UTF-8
Name=eclipse
Comment=Eclipse IDE
Exec=/home/lenovo/developer/eclipse/eclipse
Icon=/home/lenovo/developer/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Development;


-----------------------------------------------------------------------------------------

安装可以选择桌面效果的插件,有了这个插件可以在登录解面选择不同的桌面

sudo apt-get install gnome-tweak-tool # 高级配置工具 (推荐安装)


-----------------------------------------------------------------------------------------

打开windows上的txt文档出现中文乱码问题解决:

在终端中执行:

gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'GB18030', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"

--------------------------------------------------------------------------------------------------------------


chrome 启用java


Issue the following commands.

  • Type/Copy/Paste: sudo -s
    • this will change you into root
  • Type/Copy/Paste: mkdir -p /opt/google/chrome/plugins
    • this will create a directory called /opt/google/chrome/plugins
  • Type/Paste/Copy: cd /opt/google/chrome/plugins
    • this will change you into the google chrome plugins directory,make sure you are in this directory before you make the symbolic link
  • Type/Paste/Copy: ln -s /usr/local/java/jre1.7.0_09/lib/i386/libnpjp2.so
    • this will create a symbolic link from the Java JRE( Java Runtime Environment ) pluginlibnpjp2.so to your Google Chrome web browser
------------------------------------------------------------------------------------------------------------------

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值