linux xubuntu

aptitudeapt-get

/etc/hosts

apt-get-finstall

multiget

pysdm自动挂载

取消静音

>pacmd

>>>set-sink-mute00不要退出

vim文件乱码

setencoding=utf-8

setfileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1

tty中文zhcon

zhcon--utf8

不行再试试zhcon--utf8--drv=vga

解压winzip乱码

unzip-OGB18030a.zip

在处理时有错误发生:

yozo-office-zh-cn:i386

E:Sub-process/usr/bin/dpkgreturnedanerrorcode(1)

删除/usr/local/Yozo重装

默认文件管理器Thunar

终端xfce4-terminal

卸载永中

sudoapt-getautoremoveyozo-office-zh-cn

0.设置源

代码:#lsb_release-a

代码:#wgethttp://mirrors.163.com/.help/sources.list.oneiric

wgethttp://mirrors.163.com/.help/sources.list.oneiric

cp/etc/apt/sources.list/etc/apt/sources.list_bak

1.用户目录改成英文

打开终端,在终端中输入命令:

exportLANG=en_US

xdg-user-dirs-gtk-update

跳出对话框询问是否将目录转化为英文路径,同意并关闭.

在终端中输入命令:

exportLANG=zh_CN

安装pae内核

sudoapt-getinstalllinux-headers-serverlinux-image-serverlinux-server

任务管理器

gnome-system-monitor

2.安装fcitx

sudoapt-getremoveibus

sudoapt-getinstallfcitx

sudoapt-getinstallfcitx-table-wbpy

im-switch-sfcitx-zdefault

如果有问题,可以把config目录下的配置删掉试试

3.xubuntu无线管理工具

network-managerorwicd

安装播放器sudoapt-getinstallsmplayer

mp3插件

sudoapt-getinstallgstreamer0.10-ffmpeg

sudoapt-getinstallgstreamer0.10-fluendo-mp3

sudoapt-getinstallgstreamer0.10-plugins-ugly

安装翻译工具,stardict已不更新了

sudoapt-getinstallgoldenDict可以使用stardict的词典

硬盘安装xubuntualternater

burg>loopbacklp(hd0,1)/iso/

burg>linux(lp)/install/vmlinuz

burg>initrd(lp)/install/initrd.gz

启动后按ctrl+del+f2

#modprobevfat

#modprobeisofs

#mkdir/hd01

#mkdir/cdrom

#mount/dev/sdb1/hd01

#rm-rf/dev/cdrom

#losetup-f

#ln-s/dev/loop0/dev/cdrom

#losetup/dev/loop0/hd01/xubuniso

#mount/dev/loop0/cdrom

安装基本系统后

!网卡设置

autoeth0

ifaceeth0inetdhcp

/etc/default/locale

!语言设置,英文

LANG="en_US.UTF-8"

LANGUAGE="en_US:en"

!语言设置,中文

LANG="zh_CN.UTF-8"

LANGUAGE="zh_CN:zh"

代码:#sudoinit6

挂载iso

代码:

#sudoapt-getinstallxubuntu-desktop

#sudoapt-getinstallx-window-system-core

#sudoapt-getinstallxserver-xorg-video-vesa

#sudoapt-getinstallxserver-xorg-video-intel

#sudoapt-getinstallxfce4

#sudoapt-getinstalllanguage-pack-zh-hans

#sudoapt-getinstallttf-wqy-zenhei

#sudoapt-getinstallttf-wqy-microhei

#sudoapt-getautoclean

重启

startxfce4

删除掉了/var/lib/dpkg目录

force安装

http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/

dpkg-lpackage_name(列出該package相關資訊)

dpkg-l|less(列出系統中所有安裝的軟體)

dpkg-Lpackage_name(列出該package所有檔案擺放位置)

dpkg-Sfile_name(搜尋file所屬package)

dpkg-ipackage_name(軟體安裝)

dpkg-rpackage_name(軟體移除)

dpkg-xpackage_name.debtarget_dir(解.deb檔案成數個檔案)

dpkg-i--force-overwrite-ipackage_name(強制安裝軟體)

dpkg-i--force-allpackage_name(不顧一切的強制安裝軟體)

dpkg-r--purge--force-depspackage_name(強制移除軟體)

dpkg--get-selections(列出系統中所有安裝的軟體)

dpkg--pending--remove(移除多餘的軟體)

thunar文件管理器首次启动慢

/usr/share/gvfs/mounts/network.mount

AutoMount=false

桌面文字背景透明~/.gtkrc-2.0

style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 10	#透明度设置
base[NORMAL] = "#000000"		#背景颜色(下同)
base[SELECTED] = "#71B9FF"
base[ACTIVE] = "#71FFAD"
fg[NORMAL] = "#ffffff"			#文字颜色(下同)
fg[SELECTED] = "#71B9FF"
fg[ACTIVE] = "#71FFAD" }
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

Youmightwanttorun'apt-get-finstall'tocorrectthese

使用sudodpkg--purge最前面显示的那个软件名

gedit3.X版本命令设置:gsettingssetorg.gnome.gedit.preferences.encodingsauto-detected"['UTF-8','GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']"

vim编码.vimrc

setencoding=utf-8

setfileencodings=UTF-8,GB18030,GB2312,GBK,BIG5,CURRENT,UTF-16