ubuntu安装后的一些操作

本文发布时间: 2019-Mar-22
1. 安装时联网,但不要选择“下载更新”;语言选中文,地区选Shanghai。2. 通过软件中心编辑软件源为163,之后点击右上角齿轮图标:更新系统,重启。3. 用户账户里将姓名改为中文:安装时不能输入中文,期待改进!4. 安装附加驱动,选择“ATI/AMD专有的FGLRX图形驱动,激活,重启。5. 配置双显示器:运行AMD Catalyst Control Center (管理),在“显示器管理器”页面选中外接显示器图标,从下拉菜单中选择“多显示器桌面 带显示器1”,确定,重启。6. 通过系统设置的“显示”项:实现在不同的显示器/双显示器之间自由切换。7. 打开系统设置的“语言”:安装完整的语言支持!8. 卸载多余的:sudo apt-get purge landscape-client-ui-install -y #远程控制sudo apt-get purge deja-dup -y #备份sudo apt-get purge ubuntuone* -y #Ubuntu Onesudo apt-get purge indicator-messages -y #托盘消息图标sudo apt-get purge empathy empathy-common -y #聊天sudo apt-get purge gwibber -y #微博sudo apt-get purge thunderbird -y #邮件sudo apt-get purge transmission-* -y #BTsudo apt-get purge xul-ext-ubufox -y #Firefox的Ubuntu扩展sudo apt-get purge gnome-orca -y #屏幕阅读sudo apt-get purge onboard -y #屏幕键盘sudo apt-get purge simple-scan -y #扫描sudo apt-get purge totem -y #电影播放sudo apt-get purge pitivi -y #视频编辑sudo apt-get purge bluez -y #蓝牙sudo apt-get purge emacs23 -y #文本编辑9. 安装必备的:sudo apt-get install ubuntu-restricted-extras -y #重要的额外程序sudo apt-get install p7zip-full p7zip-rar unrar -y #压缩解压sudo apt-get install build-essential g++-multilib mingw-w64 g++-mingw-w64 cmake valgrind meld autoconf astyle -y #开发sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev libedit-dev libfontconfig1-dev -y #Qt5sudo apt-get install git gitk git-gui git-svn -y #版本管理sudo apt-get install goldendict -y #词典sudo apt-get install nautilus-open-terminal -y #右键终端sudo apt-get install smplayer vlc -y #电影播放sudo apt-get install libav-tools -y #视频转换sudo apt-get install openshot -y #视频编辑sudo apt-get install audacity -y #音频编辑sudo apt-get install filezilla -y #FTP客户端sudo apt-get install mldonkey-server -y #下载sudo apt-get install furiusisomount -y #虚拟光驱sudo apt-get install tuxpaint tuxmath gcompris -y #幼儿教育sudo apt-get install indicator-cpufreq -y #CPU频率调节sudo apt-get install indicator-weather -y #天气sudo apt-get install exfalso -y #ID3修改sudo apt-get install lm-sensors -y #温度检测sudo apt-get install aptitude -y #安装删除sudo apt-get install lo-menubar -y #LibreOffice全局菜单sudo apt-get install gtkorphan -y #清理孤儿包sudo apt-get install system-config-samba -y #局域网共享sudo apt-get install ppa-purge -y #清理PPAsudo apt-get install ia32-libs -y #64位系统跑32位程序配置温度检测sudo sensors-detect手动启动:sudo modprobe coretemp从指定类型文件中查找find . -name '*.c' | awk '{print "grep -i -nH keyword "$1}' | /bin/bashfind . -name '*.c' -exec grep -i -nH "keyword" {} \;更好的搜索方法:grep -i "search_string" . -r --include=*.txtgrep "search_string" . -r --include=*.txt --include=*.cpp --include=*.h创建启动器sudo apt-get install --no-install-recommends gnome-panelgnome-desktop-item-edit . --create-newsudo desktop-file-install XXX修正IBUS图标丢失gconftool --type boolean -s /desktop/ibus/panel/show_icon_on_systray truegconftool --type boolean -s /desktop/ibus/panel/show truegsettings set com.canonical.Unity.Panel systray-whitelist "['all']"安装JRE以运行cgoban围棋在线对弈解压:sudo ./jre-6u31-linux-x64.bin拷贝:sudo mv jre1.6.0_31/ /opt/jre1.6.0安装:sudo update-alternatives --install /usr/bin/java java /opt/jre1.6.0/bin/java 0 --slave /usr/share/man/man1/java.1.gz java.1.gz /opt/jre1.6.0/man/man1/java.1配置:sudo update-alternatives --config java查询:update-alternatives --display java版本:java -version插件:mkdir -p ~/.mozilla/plugins/ && ln -s /opt/jre1.6.0/lib/amd64/libnpjp2.so ~/.mozilla/plugins/运行:padsp java -jar /opt/cgoban.jar只显示目录名ls -l | grep ^d或ls -d */只显示文件ls -l | grep ^-分别设置子目录和文件不同权限find . -type d -exec chmod 755 {} \;find . -type f -exec chmod 644 {} \;为指定文件设置可执行权限find . -name 'commit-msg' -type f -exec chmod +x {} \;find . -name '*.sh' -type f -exec chmod +x {} \;减肥VBOX磁盘文件sdelete -c -z C:\VBoxManage modifyhd --compact WINXP.vdiMlDonkey选项设置buffer_writes_delay 60buffer_writes_threshold 10240buffer_writes trueclient_buffer_size 10000000ED2K-force_client_high_id trueED2K-force_high_id trueED2K-max_connected_servers 10enable_kademlia truemax_hard_download_rate 0max_hard_upload_rate 20max_opened_connections 600share_scan_interval 300Options > Web infos,Remove掉所有项目,清空~/.mldonkey/web_infos目录后添加下面三项:server.met http://ed2k.im/server.met 24guarding.p2p http://ed2k.im/ipfilter.dat 96kad http://ed2k.im/nodes.dat 24使用apt-fast加速APT下载sudo apt-get install axelsudo axel -o /usr/bin/apt-fast http://www.mattparnell.com/linux/apt-fast/apt-fast.shsudo chmod +x /usr/bin/apt-fast有用的PPA源ppa:otto-kesselgulasch/gimpppa:alexey-ivanov/qtcreatorppa:canonical-qt5-edgers/qt5-dailyppa:ubuntu-wine/ppappa:motumedia/mplayer-dailyppa:smplayer2/daily安装Qt5,配置多个Qt开发库sudo update-alternatives --install /usr/bin/qmake qmake /opt/qt5/bin/qmake 30sudo update-alternatives --config qmakeupdate-alternatives --display qmake进程相关pgrep XXX #查询pkill XXX #杀掉killall XXX #全杀禁止某软件包升级sudo echo "XXX hold" | sudo dpkg --set-selections或:sudo aptitude hold XXX配置Wine纯净版1. Dash -> 搜索wine,运行Configure Wine配置程序2. 激活“函数库”页面,在“新增函数库顶替”下拉框里输入“winemenubuilder.exe”,添加,编辑,停用3. 激活“函数库”页面,在“新增函数库顶替”下拉框里输入“winemine.exe”,添加,编辑,停用4. 如果已经产生了你不想要的关联/菜单/图标,可以执行:rm -f $HOME/.config/menus/applications-merged/wine*rm -rf $HOME/.local/share/applications/winerm -f $HOME/.local/share/desktop-directories/wine*rm -f $HOME/.local/share/icons/????_*.{xpm,png}rm -f $HOME/.local/share/icons/*-x-wine-*.{xpm,png}5. “驱动器”页面,删除Z分区,添加D分区,路径指定为~/qpSOFT/Wine6. “关于”页面,填写Windows注册信息,姓名:loaden,单位:qpsoft7. 运行Winetricks程序,安装字体:corefonts,然后从XP系统拷贝simhei.ttf simsun.ttc至Fonts目录8. 安装DLL或组件:cmd mfc42 vcrun2003 vcrun2005 vcrun2008 vcrun2010 dotnet209. 安装Office 2003绿色版,运行,搞定!10.安装弈城围棋,运行,搞定!Wine调用批处理时字体错误处理err:wineconsole:WCUSER_SetFont wrong fonterr:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting方案:$LANG=C$wine cmd64位系统Wine缺少gnome-keyring-pkcs11.so的错误处理见:http://askubuntu.com/questions/127848/wine-cant-find-gnome-keyring-pkcs11-so1) Install getlibs:wget https://launchpad.net/~jcollins/+archiv ... a2_all.debsudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb2) Install the 32bit library:sudo getlibs -p gnome-keyring:i3863) Make the symbolic link:sudo mkdir /usr/lib/i386-linux-gnu/pkcs11sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so64位系统安装32位glGO1) 下载glGo-1.4.1.deb,双击使用软件中心安装,会提示软件包质量欠佳:别管它,确认即可。2) 安装getlibs,以获取并安装任意的32位库wget https://launchpad.net/~jcollins/+archiv ... a2_all.debsudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb3) 安装32位库sudo getlibs -p libpython2.7:i386sudo apt-get install ia32-libs libjpeg62:i386 appmenu-gtk:i3864) 软链接sudo ln -s /usr/lib32/libpython2.7.so.1.0 /usr/lib/libpython2.5.so.1.05) 和GNUGO来一盘sudo apt-get install gnugo


(以上内容不代表本站观点。)
---------------------------------
本网站以及域名有仲裁协议。
本網站以及域名有仲裁協議。

2024-Mar-04 02:09pm
栏目列表