Ubuntu 7.04 相关设置
2019独角兽企业重金招聘Python工程师标准>>>
07/05/08 更新:上海、杭州、常州电信更新 ubuntu-cn 源,可以直接安装 w32codecs 这些软件了。
07/04/25 更新:曾一直试图寻找 Rhythmbox 播放 APE 的解决方案,至今未果,播放 APE 还是使用 audacious+mac 最简单。如果对 APE 没有需求,推荐 Banshee 播放器,拥有漂亮的外观、强大的乐库管理功能、播放列表支持、自动抓取封面、最小化到通知区域。
一、基本设置
1、配置 ADSL 拨号上网 (不需拨号的用户就跳过)
sudo pppoeconf
然后按照提示一步一步操作即可。
注意它会提示你是不是开机自动连接上网,选择是,每次开机就会自动拨号。
也可以安装图形拨号程序
sudo apt-get install gnome-ppp
2、修改为国内源
根据自己实际情况选择最快的源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo gedit /etc/apt/sources.list
上海电信
deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu-cn/ feisty main multiverse restricted universe
浙江杭州电信
deb http://mirror.lupaworld.com/ubuntu feisty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ feisty main multiverse restricted universe
江苏常州电信
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main multiverse restricted universe
中国台湾大学
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main restricted universe multiverse
然后
sudo apt-get update
sudo apt-get dist-upgrade
3、安装中文支持
在 “系统-系统管理-语言支持” 里面把 “Chinese” 勾选上。
如果你不喜欢华文黑体,也可以使用其他黑体来代替,修改方法不变。
使用华文黑体 (STHeiti) 替换 Ubuntu 中文字体方法:
1、下载 STHeiti 字体
在这里下载 stheiti.rar 字体包,解压后复制到 /usr/share/fonts/truetype 下面。
设置 STHeiti.ttf 可读权限:
sudo chmod a+r /usr/share/fonts/truetype/stheiti.ttf
2、设置 STHeiti 为首选中文字体
sudo gedit /etc/fonts/language-selector.conf
找到下面内容所在行(共有三处):
在他们下面一行添加:
刷新字体缓存:
sudo fc-cache -f -v
3、设置英文字体和渲染方式
打开 “系统-首选项-字体” 面板:
在字体选项里选择一款英文字体,如:Lucida Grande 或者 Bitstream Vera Sans。
在 “字体渲染” 选项中选择 “次象素平滑” 或者 “最佳形状” 。
注意:如果发现在 Firefox 里英文显示不正常,需要在 Firefox 的 “选项 –> 内容 –> 字体和颜色” 中选择一款英文字体,如:Lucida Grande 或者 Bitstream Vera Sans。
4、强制 STHeiti 不使用微调
sudo gedit /etc/fonts/fonts.conf
加入下面一段:
<test name="family">
<string>STHeiti</string>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
二、媒体解决方案
在 Linux 上用得最多也最受好评的视频播放器应该是 Mplayer ,但是在 gnome 2.18 中随之升级的 Totem 播放器已经很不错了,除了自定义不是很强外,可操作性很好,修复了很多 Bug ,还增加了一些功能,好像以前不能双击画面进入全屏。Totem 从 2.17.5 开始默认使用 Gstreamer 作为后端解码方案,但我还是推荐使用 xine。
所以我的多媒体解决方案是:一般普通的播放任务使用 Totem 电影播放机,如果遇到不能播放的情况或者看大碟时就选用 Mplayer ,播放音乐使用 audacious。
1、安装软件和相应解码器
sudo apt-get install mplayer mozilla-mplayer totem-xine libxine-extracodecs w32codecs audacious
安装后 audacious 能播放 ogg*, flac*, mp3, wma, wav, 3gp 这些格式。
安装后 mplayer 和 totem 能播放 xvid/divx 编码的 avi 格式视频, rm/rmvb/asf/wmv 等流媒体视频,外加 vcd/dvd 和其他 mpeg2/mpeg4 视频。
1) 如果要让 Rhythmbox 和 Banshee 这些使用 gstreamer 为后端的播放器,能播放 mp3, wma, ra, ram, wav 等格式音乐,就装上:
sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-pitfdll gstreamer0.10-ffmpeg
2) 如果要让 audacious 播放 APE 格式的音乐:
sudo apt-get install audacious-mac
3) 如果需要把 APE 转换为 FLAC:
sudo apt-get install mac flac cuetools shntool
cuebreakpoints xx.cue |shnsplit -o flac -n xx xx.ape
2、Mplayer 的中文字幕设置方法
1) 在 Preferences-Font 里面点击 ”Browse” 选择一个中文字体,Encodeing 选择 Unicode。
2) 在 Preferences-Subtitle&OSD 里面的 Encoding 选择:
Simplified Chinese Charset(cp936)
3) 在 Preferences-Font “Text scale” 这里调整字幕大小(我调整为 3.8 )。
如果播放时提示错误,设置一下:
Preferences-Video 选择 “xv X11/Xv”
Preferences-Codecs&demuxer 选择 “FFmpeg/libavcodec audio decoders”
3、使用 Firefox 在线播放解决办法
1) 内嵌播放,可以安装 MediaWrap 这个扩展。
2) 如果喜欢调用外部播放器播放,安装 MediaPlayerConnectivity 。
4、Totem 播放 rmvb 没有声音,这里给出了解决方法:
编辑 ~/.xine/catalog.cache 文件:
gedit ~/.xine/catalog.cache
找到
[/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so]
把 decoder_priority 后面的数字修改为 10
三、常用软件安装
1、安装aMule
sudo apt-get install amule amule-utils
然后在Firefox里面关联ed2k链接
在地址栏输入about:config
新建“布尔”
名称为:network.protocol-handler.external.ed2k
值为:true
新建“字符串”
名称为:network.protocol-handler.app.ed2k
值为:/usr/bin/ed2k
ED2K服务器列表
http://www.emule.org.cn/server.met(VeryCD eMule)
KAD nodes.dat
http://renololo1.free.fr/e/nodes.dat
2、安装编译工具
如果你有编译源码的需要建议安装上 gcc,g++,make 等。
sudo apt-get install build-essential
3、安装IE for Linux
下载后直接./ies4linux,然后回答几个简单的问题就搞定。
4、也可以通过 wine 来安装 QQ 这些东西。
原文链接: http://www.dlog.cn/nicholascoder/diary/10433
转载于:https://my.oschina.net/moroseyu/blog/51381
Ubuntu 7.04 相关设置相关推荐
- linux 修改时区_如何在 Ubuntu 20.04 上设置或者修改时区
本文最先发布在: 如何在 Ubuntu 20.04 上设置或者修改时区www.itcoder.tech 使用正确的时区,对于系统相关的任务和进程来说,是最基本的.例如,cron 守护进程,使用系统时 ...
- linux桌面时区设置,如何在Ubuntu 20.04上设置或更改时区
对于许多与系统相关的任务和进程,使用正确的时区至关重要. 例如,cron守护程序使用系统的时区执行cron作业,而日志文件中的时间戳基于系统的同一时区. 在Ubuntu上,系统的时区是在安装过程中设置 ...
- 在Ubuntu 14.04上设置生产环境可用的Node.js
在Ubuntu 14.04上设置生产环境可用的Node.js 提供:ZStack社区 前言 Node.js是一个开源的JavaScript运行时环境,开发者可以用它方便的构建服务器端应用和网络应用.N ...
- Ubuntu 20.04 Desktop 设置桌面图标大小、间距
Ubuntu 20.04 Desktop 设置桌面图标大小.间距 说明 正文 说明 时间:2020-12-24 本文基本完全抄袭了这篇文章:https://blog.csdn.net/weixin_3 ...
- eclipse theia_如何在Ubuntu 18.04上设置Eclipse Theia Cloud IDE平台[快速入门]
eclipse theia 介绍 (Introduction) Eclipse Theia is an extensible cloud IDE running on a remote server ...
- ubuntu实现中文输入法_在Ubuntu 18.04中设置中文输入法
(本文系搬运,图片来自网络,侵删.英语为自己翻译,水平有限,欢迎指点) Setup Chinese Input Method in Ubuntu 18.04 Fri Oct 20 2017 The o ...
- Ubuntu 18.04 分辨率设置
Ubuntu 18.04 分辨率设置 1,系统 2,修改分辨率 1,系统 # lsb_release -a No LSB modules are available. Distributor ID: ...
- 树莓派Ubuntu 20.04网络设置
树莓派Ubuntu 20.04网络设置 参考文档:Wi-Fi or Ethernet 参考文档:树莓派Ubuntu网络设置 参考文档:Netplan--新一代网络配置工具 参考文档:Netpan官方文 ...
- Ubuntu 8.04 优化设置
文章中部分TIGER修改 Ubuntu 8.04 LTS(长期支持版)免费光盘已经接受预定! https://shipit.ubuntu.com/ 有刻录机的最好自己刻盘,体谅人家. 总纲:分以下几部 ...
最新文章
- mysql中3张表如何关联查询_mysql三张表关联查询
- HDD工作原理 导图
- Java Web学习总结(17)——JSP属性范围
- [Dynamic Language] Python 静态方法、类方法、属性
- 盘点2020国内本科开设人工智能专业高校
- Debian 系统修改语言为英文
- BZOJ 3043 IncDec Sequence:反向差分
- Debian 里设置 IP 地址、网关、DNS
- jQuery常见的选择器操作运算符
- android 启动服务同时传递数据,Android Studio开发基础之起动Service,并通过从Activity向Service传递数据...
- 判断能否被3,5,7整除(信息学奥赛一本通-T1047)
- 微软将开放神经网络交换格式贡献给 Linux 基金会
- windows 安装tomcat 7
- 自定义AlertDialog控件的使用(AndroidStudio)
- Vue.js组件的重要选项
- 孙玄:基于CAP模型设计企业级真正高可用的分布式锁
- AcrelEMS-IDC数据中心综合能效管理解决方案
- 广东省取消职称英语和计算机,职称评审!这些省份短期内不会取消职称英语、计算机!...
- 旷视6号员工范浩强:高二开始实习,“兼职”读姚班,25岁在CVPR斩获第四个世界第一...
- k8s查找所有pod_k8s---pod常用操作
热门文章
- android 置灰不可点击,Android Studio 运行按钮灰色的完美解决方法
- SpringBoot日期格式处理
- C++_STL——queue(and priority_queue)
- oracle查找异常中断的sql,oracle查询sql报错SqlExceptionHelper:131 ORA-00933: SQL command not properly ended...
- html display布局,Web布局:display属性
- Linux文本搜索工具grep
- react滑动切换tab动画效果_Swiper - 免费开源、功能强大的触摸滑动js特效插件
- java 无锁缓存_如何在高并发环境下设计出无锁的数据库操作(Java版本)
- 南京工业大学python考试题库_程序设计语言(Python程序设计)答案
- joyui版本和android版本,JOYUI 11内测版正式推送,黑鲨游戏手机体验大幅升级