📄 513.html
字号:
<br>
<br>
如果只是要单纯地播放一两首歌,或是要播放一整个目录下的歌,利用mpg123倒是 个不错的选择,若是要复杂一点的功能如选择多目录内的特定mp3档案,那可能写 个script来执行会比较合适。
<br>
<br>
<br>
mp3blaster
<br>
mp3blaster虽然也是一个在console下执行的mp3播放程式,但是它的功能跟视窗介 面的播放程式比起来可是丝毫不逊色的喔。在安装时,如果使用者使用的是libc5,那 么得要先装有pthread library来可以顺利compile。如果你觉得这样子似乎有点麻烦 ,可以直接抓作者网页上静态连结的binary file回来安装。
<br>
Fig.1
<br>
<br>
<br>
程式执行后,会出现一个如上图的画面。左边是一些功能键的说明,及状态说明;而画 面的右边则是要播放的歌曲清单。现在我们来实作一遍如何选歌及播歌吧。首先,我们 先按F1或是1,画面会变成下图:
<br>
Fig.2
<br>
现在,我们可以利用右边来选择mp3所在的目录,如下图所示,我的mp3都是摆在/wind/mp3/ 这个目录下。
<br>
Fig.3
<br>
现在我们可以利用F1或1来选择个别的档案;或是用F3或3来选择一整个目录 内的mp3档案。选好之后,画面会跳回原来一开始启动的画面,如下图:
<br>
Fig.4
<br>
再来,只要按下Enter键就可以开始听歌了,如果想要有一些其他的选项,如随机播歌, 可以按F8或8来启动。播放时,画面会显示目前播放的歌曲名称,播放的长度,以及音 量的大小等资讯。藉由方向键与数字键的使用,可以很方便的调整音量的大小,以及歌 曲的变更与播放与否。
<br>
Fig.5
<br>
<br>
<br>
用惯windows后,记一堆指令可能是件很痛苦的事,现在我们就来赶快来看看有哪些 好用的视窗介面mp3播放程式。
<br>
<br>
gqmpeg
<br>
这是mpg123的前端程式,让使用者可以不用为了播mp3而记了一堆参数的用法。安装的方式 很简单,如果是使用Redhat的话,可以直接抓i386.rpm回来,打
<br>
<br>
<br>
rpm -Uvh gqmpeg-xxx.xx.-i386.rpm
<br>
<br>
<br>
就可以了,如果是使用slackware的话,抓.tgz的档案回来按照
<br>
<br>
./configure
<br>
<br>
make
<br>
<br>
make install
<br>
<br>
<br>
的标准步骤应该也是容易的。不过,由于gqmpeg是使用gtk library发展出来的,使用者的 电脑上要先有安装这个library才行。在安装完成后,执行gqmpeg会出现如下的画面:
<br>
Fig.6
<br>
乍看之下,画面似乎有点丑,不过,由面板上所显示的资讯来看,应该不难看出gqmpeg功能 之强大吧!按下右下角的playlist,会跳出选歌的视窗:
<br>
Fig.7
<br>
无论是选取整个目录,或是选取个别的歌曲都很方便。使用者还可以在mp3档案上按滑鼠右 键,先听为快。另外,在playlist上方的两个小按钮,一个是音量调整程式的呼叫,另一个 是gqmpeg的设定画面:
<br>
Fig.8
<br>
在这儿,有很弹性的设定选项,如程式一开始时的预设playlist为何,播放程式视窗的大小 、输出的格式等。其中一项很重要的是skin的更换。这让使用者可以为程式换上不同的外皮 (需先至作者网站下载),下面就是几个比较炫的skin:
<br>
Fig.9
<br>
<br>
Fig.10
<br>
<br>
Fig.11
<br>
<br>
Fig.12
<br>
<br>
x11amp
<br>
这是一个很像windows下winamp的mp3播放程式。几乎所有winamp有的功能,它也都包含了, 如音波的呈现、Equalizer的使用、skin的切换、plugin的支援等。
<br>
Fig.13
<br>
<br>
<br>
written by Daniel Gau
<br>
<br>
<br>
<br>
全国linux使用联合调查
<br>
<br>
最新开辟linux精选文献专栏
<br>
<br>
<br>
最新版 Staroffice 5.1下载
<br>
<br>
本站推出LDP的英文镜像,以满足文档难找的问题
<br>
<br>
刚将CLDP镜像移到了JOYO的本地。希望对各位有所帮助。
<br>
<br>
向大家推荐一个网友编的x-window下的字典!一个很不错的东西,请大家试试。
<br>
<br>
<br>
<br>
<br>
系统管理技巧
<br>
如何用Unzip同时unzip多个文件?
<br>
<br>
同时Unzip多个文件,unzip *不正确,而是unzip "*"。 同一个命令行上如何同时执行多条命令?
<br>
<br>
在同一个命令行上同时执行多条命令:
<br>
用分号分隔。如编译一个源文件:type ./configure ; make ; make install 。
<br>
<br>
:如何看中断资源占用情况?
<br>
/proc目录下的interrupts及ioaddress等文件包含了资源使用情况 可以用less
<br>
filename直接查看的
<br>
<br>
less小技巧
<br>
在使用less 或 more时,直接启动编辑器:在less中打入v键,会立即启动vi或其他你在环境变量中指明的编辑器,但是more只能使用vi
<br>
<br>
<br>
<br>
linux 下的游戏
<br>
<br>
<br>
不要以为linux下面只有挖地雷等小游戏。下面介绍一些超酷的。
<br>
<br>
A.星际争霸!!!
<br>
<br>
1.在你的windows下装好星际争霸,假设装在d:rood下.
<br>
<br>
2.在linux下装上wine.
<br>
<br>
我用的是Wine-990923-1.i386.rpm
<br>
<br>
rpm -ivh Wine-990923-1.i386.rpm 就装好了。
<br>
<br>
然后根据自己的实际情况,配置好/etc/wine/wine.conf.
<br>
<br>
3.在/mnt下
<br>
<br>
mkdir c
<br>
<br>
mkdir d (创建两个文件夹)
<br>
<br>
mount -t vfat /dev/hda1 /mnt/c (装载c盘)
<br>
<br>
mount -t vfat /dev/hda5 /mnt/d (装载d盘)
<br>
<br>
如果你想每次起动linux都自动加载c,d盘就在/etc/fstab里加两行:
<br>
<br>
/dev/hda1 /mnt/c vfat 0 0
<br>
<br>
/dev/hda5 /mnt/d vfat 0 0
<br>
<br>
4.把你的Xwindows的显示模式设置为640*480的分辨率,并使用8位色(256色).
<br>
<br>
5.startx,开一个终端,
<br>
<br>
wine /mnt/d/brood/starcraft.exe
<br>
<br>
OK,没成功的别灰心,检查一下,一定能行的.
<br>
<br>
高达版是
<br>
<br>
wine /mnt/d/brood/gundamcentry.exe
<br>
<br>
魔兽版没成功
<br>
<br>
利用wine可以运行许多windows程序,据说虚幻也可以.
<br>
<br>
B.雷神II
<br>
<br>
1.假设你的QuakeII装在c:quake2
<br>
<br>
mount -t vfat /dev/hda1 /mnt/c (装载c盘);
<br>
<br>
1.先弄到linux雷神的RPM包:QUAKE2-3.20-GLIBC-6.I386.RPM
<br>
<br>
rpm -ivh QUAKE2-3.20-GLIBC-6.I386.RPM
<br>
<br>
如果出错,就用
<br>
<br>
rpm -ivh QUAKE2-3.20-GLIBC-6.I386.RPM --nodeps 来强行安装,这使因为你没有3D加速卡。
<br>
<br>
cd /usr/local/games/quake2
<br>
<br>
cp baseq2/Gamei386.so /mnt/c/quake2/baseq2/
<br>
<br>
rm -rf baseq2
<br>
<br>
ln -s /mnt/c/quake2/baseq2 baseq2 (做符号链接(baseq2这个目录太大了))
<br>
<br>
quak2
<br>
<br>
就ok了。
<br>
<br>
雷神3的linux版也有了只是我没有voodoo3玩不起。
<br>
<br>
C.xmame
<br>
<br>
1.弄来这几个rpm:
<br>
<br>
xmame-0.34b7.1-1TL.i386.rpm
<br>
<br>
xmame-svgalib-0.34b7.1-1TL.i386.rpm
<br>
<br>
xmame-x11-0.34b7.1-1TL.i386.rpm
<br>
<br>
我是在turbolinux3.0碟上找到的。
<br>
<br>
装上后,拿出你的roms光盘,mount /mnt/cdrom。
<br>
<br>
cd /usr/lib/xmame/roms
<br>
<br>
mkdir neogeo
<br>
<br>
把noegeo.zip拷来,用unzip命令解压缩到neogeo目录里。
<br>
<br>
以越南大作战为例,
<br>
<br>
mkdir mslug
<br>
<br>
把mslug.zip 解压缩到里面。
<br>
<br>
xmame.svgalib mslug
<br>
<br>
ok,3,4投币,1,2开始,tab设置按键,还可以用鼠标呢。
<br>
<br>
xmame.x11 是在图形模式下出一个窗口来玩,速度慢些。
<br>
<br>
D.snes9x
<br>
<br>
这是SFC模拟器
<br>
<br>
弄来s9xl023.i386.tar.gz
<br>
<br>
tar xzvf s9xl023.i386.tar.gz
<br>
<br>
把snes9x和ssnes9x随便拷到一个目录,我拷在/usr/local/snes/
<br>
<br>
cd /usr/local/snes
<br>
<br>
ssnes /mnt/d/sfc/Sf32020a.fig (我在windows下也装了snes9x的windows版).
<br>
<br>
超级大金钢2就开始了
<br>
<br>
snes 是图形模式下的.
<br>
<br>
我们在上面提到的模拟器和雷神2的linux版本在很多模拟器的网站上都可以找到。<br>
</FONT><br>
</TD>
</TR>
<TR>
<TD colSpan=2><FONT
class=middlefont></FONT><BR>
<FONT
class=normalfont>全文结束</FONT> </TD>
</TR>
<TR>
<TD background="images/dot.gif" tppabs="http://www.linuxhero.com/docs/images/dot.gif" colSpan=2
height=10></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV></TD>
<TD vAlign=top width="20%"
background="images/line.gif" tppabs="http://www.linuxhero.com/docs/images/line.gif" rowSpan=2>
<DIV align=center>
<table class=tableoutline cellspacing=1 cellpadding=4
width="100%" align=center border=0>
<tr class=firstalt>
<td noWrap background="images/bgline.gif" tppabs="http://www.linuxhero.com/docs/images/bgline.gif" colspan=2 height=21>
<font class=normalfont><b>所有分类</b></font></td>
</tr>
<tr class=secondalt> <td noWrap width=27%> <font class=normalfont>1:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type1.html" tppabs="http://www.linuxhero.com/docs/type1.html">非技术类</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>2:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type2.html" tppabs="http://www.linuxhero.com/docs/type2.html">基础知识</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>3:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type3.html" tppabs="http://www.linuxhero.com/docs/type3.html">指令大全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>4:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type4.html" tppabs="http://www.linuxhero.com/docs/type4.html">shell</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>5:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type5.html" tppabs="http://www.linuxhero.com/docs/type5.html">安装启动</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>6:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type6.html" tppabs="http://www.linuxhero.com/docs/type6.html">xwindow</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>7:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type7.html" tppabs="http://www.linuxhero.com/docs/type7.html">kde</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>8:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type8.html" tppabs="http://www.linuxhero.com/docs/type8.html">gnome</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>9:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type9.html" tppabs="http://www.linuxhero.com/docs/type9.html">输入法类</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>10:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type10.html" tppabs="http://www.linuxhero.com/docs/type10.html">美化汉化</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>11:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type11.html" tppabs="http://www.linuxhero.com/docs/type11.html">网络配置</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>12:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type12.html" tppabs="http://www.linuxhero.com/docs/type12.html">存储备份</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>13:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type13.html" tppabs="http://www.linuxhero.com/docs/type13.html">杂项工具</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>14:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type14.html" tppabs="http://www.linuxhero.com/docs/type14.html">编程技术</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>15:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type15.html" tppabs="http://www.linuxhero.com/docs/type15.html">网络安全</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>16:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type16.html" tppabs="http://www.linuxhero.com/docs/type16.html">内核技术</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>17:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type17.html" tppabs="http://www.linuxhero.com/docs/type17.html">速度优化</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>18:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type18.html" tppabs="http://www.linuxhero.com/docs/type18.html">apache</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>19:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type19.html" tppabs="http://www.linuxhero.com/docs/type19.html">email</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>20:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type20.html" tppabs="http://www.linuxhero.com/docs/type20.html">ftp服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>21:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type21.html" tppabs="http://www.linuxhero.com/docs/type21.html">cvs服务</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>22:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type22.html" tppabs="http://www.linuxhero.com/docs/type22.html">代理服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>23:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type23.html" tppabs="http://www.linuxhero.com/docs/type23.html">samba</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>24:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type24.html" tppabs="http://www.linuxhero.com/docs/type24.html">域名服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>25:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type25.html" tppabs="http://www.linuxhero.com/docs/type25.html">网络过滤</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>26:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type26.html" tppabs="http://www.linuxhero.com/docs/type26.html">其他服务</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>27:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type27.html" tppabs="http://www.linuxhero.com/docs/type27.html">nfs</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>28:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type28.html" tppabs="http://www.linuxhero.com/docs/type28.html">oracle</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>29:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type29.html" tppabs="http://www.linuxhero.com/docs/type29.html">dhcp</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>30:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type30.html" tppabs="http://www.linuxhero.com/docs/type30.html">mysql</a></font></td> </tr> </table></td></tr><tr class=secondalt> <td noWrap width=27%> <font class=normalfont>31:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type31.html" tppabs="http://www.linuxhero.com/docs/type31.html">php</a></font></td> </tr> </table></td></tr><tr class=firstalt> <td noWrap width=27%> <font class=normalfont>32:</font> </td><td noWrap width=73%> <table width=100% border=0> <tr> <td><font class=normalfont><a href="type32.html" tppabs="http://www.linuxhero.com/docs/type32.html">ldap</a></font></td> </tr> </table></td></tr> </table>
</DIV></TD></TR>
<TR vAlign=top>
<TD width="80%">
<DIV align=center><BR>
</DIV>
</TD></TR></TBODY></TABLE></TD></TR>
</TABLE></TD></TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=4 width="100%" bgColor=#eeeeee
border=0><TBODY>
<TR>
<TD width="50%">
<P><FONT class=middlefont>版权所有 © 2004 <A
href="mailto:bjchenxu@sina.com">linux知识宝库</A><BR>
违者必究. </FONT></P>
</TD>
<TD width="50%">
<DIV align=right><FONT class=middlefont>Powered by: <A
href="mailto:bjchenxu@sina.com">Linux知识宝库</A> Version 0.9.0 </FONT></DIV>
</TD></TR></TBODY></TABLE>
<CENTER></CENTER></TD></TR>
</TABLE></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -