add user to sudo:
modify the file: /etc/sudoers
add gconf-editor:
sudo apt-get install gconf-editor
intall fcitx:
sudo apt-get install fcitx fcitx-sunpinyin fcitx-libpinyin fcitx-googlepinyin
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
configure fcitx from fcitx configuration
im-config -n fcitx
Reboot or log out the user
install firefox:
"be carefull, due to gnome will be removed, better not do this command """apt-get remove iceweasel"
tar -vxjf firefox-latest.tar.bz2 -C /opt/
sudo mv /usr/bin/firefox /usr/bin/firefox-old
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
configure firefox, warning when close firefox with two or more tabs openning:
about:config
showQuitWarning--->true
install adobe flash player for firefox:
download adobe flash player
tar -xzvf install_flash*.tar.gz
sudo cp libflashplayer.so /usr/lib/mozilla/plugins
install wireless driver for laptop:
tar -zxvf iwlwifi-5000-ucode-8.24.2.12.tgz
sudo cp -v iwlwifi-5000-2.ucode /lib/fireware
reboot
pdf display wrong:
sudo apt-get install poppler-data
gedit display wrong:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
convert the name of file from GBK to UTF8:
sudo apt-get install convmv
convmv -r -f cp936 -t utf8 --notest --nosmart *
convert the content of file from GBK to UTF8:
iconv -f gbk -u utf8 $i > newfile
compress && decompress:
sudo apt-get install p7zip p7zip-full p7zip-rar zip unzip
examples:
7z a -t7z files.7z *.txt
7z x files.zip
7z d -r files.zip *.bak
7z l files.7z
7z t -r files.zip *.doc
7z u files.zip *.doc
the kernel:
uname -a
lsb_release -a
mp3:
sudo apt-get install convmv iconv python-mutagen
find . -iname "*.mp3" -execdir mid3iconv -e GBK {} \;
install ctags:
sudo apt-get install exuberant-ctags
change ctrl+del to del:
cd /home/user/.config/nautilus
edit the accel file by changing:
(gtk_accel_path "<Actions>/DirViewActions/Trash" "<Primary>Delete")
to
(gtk_accel_path "<Actions>/DirViewActions/Trash" "Delete")
zip:
sudo apt-get install p7zip convmv
LANG=C 7za x your-zip-file.zip
convmv -f GBK -t utf8 --notest -r .
第一条命令用于解压缩,而LANG=C表示以US-ASCII这样的编码输出文件名,如果没有这个语言设置,它同样会输出乱码,只不过是UTF8格式的乱码(convmv会忽略这样的乱码)。
第二条命令是将GBK编码的文件名转化为UTF8编码,-r表示递归访问目录,即对当前目录中所有文件进行转换。debian8 install instruction
Linux系统配置与优化指南
最新推荐文章于 2024-05-25 19:23:49 发布
本文详细介绍了一系列Linux系统的配置与优化方法,包括增加用户到sudo组、安装gconf-editor及Fcitx输入法、配置Firefox浏览器、安装Adobe Flash Player、无线驱动安装、PDF显示问题解决等,帮助用户提升Linux系统的使用体验。
1069

被折叠的 条评论
为什么被折叠?



