ubuntu闲话

修复ubuntu下的eclipse界面不紧凑
打开~/.gtkrc-2.0 没有就新建,写下以下代码:

style "gtkcompact" {
  font_name="Sans 8"
  GtkButton::default_border={0,0,0,0}
  GtkButton::default_outside_border={0,0,0,0}
  GtkButtonBox::child_min_width=0
  GtkButtonBox::child_min_heigth=0
  GtkButtonBox::child_internal_pad_x=0
  GtkButtonBox::child_internal_pad_y=0
  GtkMenu::vertical-padding=1
  GtkMenuBar::internal_padding=0
  GtkMenuItem::horizontal_padding=4
  GtkOptionMenu::indicator_size=0
  GtkOptionMenu::indicator_spacing=0
  GtkPaned::handle_size=4
  GtkRange::trough_border=0
  GtkRange::stepper_spacing=0
  GtkScale::value_spacing=0
  GtkScrolledWindow::scrollbar_spacing=0
  GtkExpander::expander_size=10
  GtkExpander::expander_spacing=0
  GtkTreeView::vertical-separator=0
  GtkTreeView::horizontal-separator=0
  GtkTreeView::expander-size=8
  GtkTreeView::fixed-height-mode=TRUE
  GtkWidget::focus_padding=0
}
class "GtkWidget" style "gtkcompact"



重启Eclipse应该就能看到效果了

解决ubuntu的ssh慢的方法
把/etc/ssh/ssh_config里的GSSAPIAuthentication改成no就ok了.


fcitx 输入法默认的上下翻页是 - / = 
习惯了使用 pgup 和pgdn ,这让我很不顺手,于是
gedit ~/.fcitx/config

找到上一页下一页
上一页=-
下一页==
修改后:
上一页=PGUP
下一页=PGDN
重启Fcitx即可
fcitx 默认启用了一大堆的输入法码表
而我只用智能拼音和五笔,有改
gedit ~/.fcitx/config
找到[输入法]
把使用双拼 使用区位的值改为0
gedit /usr/share/fcitx/data/tables.conf
在你不需要的输入法加上#将其注释
或者干脆直接删除也可以,保存退出
重启fcitx 发现那些可恶的输入法都没有了

ps:fcitx3.6.3的配置文件地址是~/.config/fcitx/config

设置locale
1. 找到 /var/lib/locales/supported.d/local 文件

        添加一行 zh_CN.GBK GBK

2. 执行 sudo locale-gen

重启动X, 如果用gdm启动选择语言 中文(GBK)的就可以了。

安装字体
cd /usr/share/fonts
mkdir xp
1.拷贝windows字体到xpxia
2 cd xp/
sudo mkfontscale
sudo mkfontdir      更新字体列表命令
sudo fc-cache -fv   刷新字体缓存

影音播放的声音太小
在终端输入 alsamixer 进行调节 或者apt-get install gnome-volume-control-pulse

去掉窗口在最小化是出现黑框
打开终端或按Alt+F2输入:

$ gconf-editor

依次展开app->metacity->general
勾选reduced_resources

返回最上一层

依次展开desktop->genome->interface
勾选accessibility 选上 (如果不选这个 移动窗口的时候会出现一些黑方格)

这样就没有最小化时候的讨厌的黑框了 而且速度加快很多 比那种打开metacity的混合效果要快多了


安装编译pidgin2.6.4成功后 启动pidgin 发现启动不了
在终端运行pidgin 出了这么一个错误
pidgin: error while loading shared libraries: libpurple.so.0: cannot open shared object file: No such file or directory
google了一下发现老外有个好办法可以解决
cd /usr/lib
sudo ln -s /usr/local/lib/libpurple.so.0 .


使用myplayer播放rm rmvb格式的视频
1,下载支持rmvb的codec:all-20060501.tar.bz2
http://ftp.icm.edu.pl/packages/mplayer/releases/codecs/all-20060501.tar.bz2
2,安装codecs
tar jxvf all-20060501.tar.bz2
mkdir /usr/lib/codecs/
cp all-20060501/**//* /usr/lib/codecs/
ln -s /usr/lib/codecs /usr/lib/win32


邮件客户端thunderbird
安装 apt-get install thunderbird
启动之后发现他的界面字体非常大,于整体非常不匹配
当然事有解决方法的(找到这些方法的人真牛X)
在~/.mozilla-thunderbird/snlttxxr.default目录下(snlttxr目录每个人的都不同)
新建一个名为chrome的目录
然后在此目录下建仪个文件userChrome.css
/*
 * Edit this file and copy it as userChrome.css into your
 * profile-directory/chrome/
 */

/*
 * This file can be used to customize the look of Mozilla's user interface
 * You should consider using !important on rules which you want to
 * override default settings.
 */

/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


* {
/**font-family: WenQuanYi Bitmap Song !important;*/
font-size: 8pt !important;
}

/*
 * Some possible accessibility enhancements:
 */
/*
 * Make all the default font sizes 20 pt:
 *
 * * {
 *   font-size: 20pt !important
 * }
 */
/*
 * Make menu items in particular 15 pt instead of the default size:
 *
 * menupopup > * {
 *   font-size: 15pt !important
 * }
 */
/*
 * Give the Location (URL) Bar a fixed-width font
 *
 * #urlbar {
 *    font-family: monospace !important;
 * }
 */

/*
 * Eliminate the throbber and its annoying movement:
 *
 * #throbber-box {
 *   display: none !important;
 * }
 */

/*
 * For more examples see http://www.mozilla.org/unix/customizing.html
 */


重启thunderbird生效
更新软件

然后您可以用 "apt-get upgrade" 更新所有有新版本的套件

安装声音控制器
apt-get install gnome-volume-control-pulse

你可能感兴趣的:(eclipse,chrome,ssh,XP,ubuntu)