Install some useful packages
2009-05-13 11:05:48来源:未知 阅读 ()
Grub
Install Opera Web browser
# pkg_add fedora_base*.tgz
# pkg_add fedora_motif*.tgz
This will automatically set kern.emul.linux=1, but not permanently. If you need permanent Linux emulation, you need to specify that in /etc/sysctl.conf,
Another thing you should know is that Linux shared libraries and modules cannot be used with OpenBSD executables, so you will need a Linux browser as well.
One candidate is the Opera web browser, available in the ports tree. OpenBSD does not distribute packages for it, since Opera's license is not clear about its redistribution. However, installation should not take long, since it is distributed in binary form by Opera Software. After that you can easily install the Flash plugin from the ports tree.
# cd /usr/ports/www/opera
# make install
# cd /usr/ports/www/opera-flashplugin
# make install
Note: It should be sufficient to perform the last step alone, and the ports system will install the dependencies automatically. For clarity, however, we split the process into a few steps here to explain.
If you have followed the above guidelines, the Flash plugin should now be listed when you type "about:plugins" in the URL bar.
GNOME
# pkg_add gnome-desktop-2.10.2p2.tgz
# pkg_add gnome-session-2.10.0p3.tgz
#pkg_info# cat pkg_info
Gnome-meida
atk
bzip2
control-center2-
gnome-session-
gnome-terminal-
gnome-themes-
gstreamer-
gstreamer-plugins-
gtk+2-
#echo "exec gnome-session" > ~/.xinitrc
# startx
audio device
When you already have OpenBSD running, look for a sound driver in the output of the dmesg(1) command. An example of an audio chip in a dmesg output is:
azalia0 at pci0 dev 20 function 2 "ATI IXP600 HD Audio" rev 0x00: irq 10
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x14f1 (rev. 0.0), HDA version 0.9
azalia0: codec[0]: No support for modem function groups
azalia0: codec[0]: No audio function groups
azalia0: codec: Sigmatel STAC9220 (rev. 34.1), HDA version 1.0
audio0 at azalia0
$ cat filename > /dev/audio
To tune the parameters for the audio device, such as playing sample rate, you can use audioctl(1). To tune the sound volume and other mixer settings, you can use mixerctl(1). Both utilities are provided as part of the base system.
Mplayer
Sysctl –w kern.shminfo.shmall=32768
Sysctl –w machdep.userldt=1
OpenOffice
中文化openoffice
将/var/ftp/incoming的SimSun.ttc和Tahoma.ttf拷贝到/usr/local/OpenOffice1.1.4/share/fonts/truetype/
3) 启动OpenOffice
#cd ~/OpenOffice.org
#./soffice
Soffice –writer for writer
Soffice –clac for clac
Xorg
使X Windows启动时默认的桌面系统为Gnome
#echo “/usr/X11R6/bin/gnome-session” >; ~/.xinitrc
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- Freebsd oracle 10g 2009-05-13
- KDE/FreeBSD 测试 QT-4.5.1. 2009-05-13
- OpenBSD 4.5下安装Gnome 2.24成功! 2009-05-13
- OpenBSD 4.5 2009-05-13
- DragonFly BSD 2.2.1发布 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash