Posted 2 months, 1 week ago at 3:12 pm. 0 comments
再也不需要东找西找了,加入这个 Medibuntu 源就行了。主要是 win32codecs
https://help.ubuntu.com/community/Medibuntu
然后
安装多媒体解码器,输入命令
* Xine多媒体引擎解码器
sudo apt-get install libxine1-ffmpeg libxine1-all-plugins libxine1-plugins w32codecs gcc-3.3-base libstdc++5
* Gstreamer多媒体引擎解码器
sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-esd
* DVD影碟功能支持
sudo apt-get install libdvdnav4 libdvdread3 libdvdcss2
配置电影播放器
sudo apt-get remove totem-mozilla -y
sudo apt-get install smplayer smplayer-themes mozilla-mplayer
配置音乐播放器,输入命令
sudo apt-get install gstreamer0.10-fluendo-mpegdemux gstreamer0.10-gnonlin libflashsupport
Popularity: 12% [?]
Tags:
multimedia,
ubuntu
Posted 2 months, 3 weeks ago at 3:11 pm. 0 comments
先升级到 daryna,步骤如下:
Change your APT sources
Edit the sources.list as root (sudo gedit /etc/apt/sources.list) to make it look like this:
## ———————–
## LINUX MINT REPOSITORIES
## ———————–
## +++ Daryna (Linux Mint 4.0) +++
deb http://www.linuxmint.com/repository daryna main upstream import
## deb http://www.linuxmint.com/repository daryna community
## deb http://www.linuxmint.com/repository daryna backport
## +++ Romeo (Linux Mint Unstable) +++
## deb http://www.linuxmint.com/repository romeo daryna
## +++ Source Repositories +++
## deb-src http://www.linuxmint.com/repository daryna main upstream import
## deb-src http://www.linuxmint.com/repository daryna community
## deb-src http://www.linuxmint.com/repository daryna backport
## deb-src http://www.linuxmint.com/repository romeo daryna
## ——————-
## UBUNTU REPOSITORIES
## ——————-
## +++ Gutsy (Ubuntu 7.10) +++
deb http://archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
## +++ Backports & Proposed (Ubuntu Unstable) +++
#deb http://archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
#deb http://archive.ubuntu.com/ubuntu gutsy-proposed main restricted universe multiverse
## +++ Source Repositories +++
#deb-src http://archive.ubuntu.com/ubuntu gutsy main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu gutsy-updates main restricted universe multiverse
#deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu gutsy-backports main restricted universe multiverse
## ——————
## OTHER REPOSITORIES
## ——————
## +++ Canonical +++
deb http://archive.canonical.com/ubuntu gutsy partner
## +++ Medibuntu +++
deb http://packages.medibuntu.org/ gutsy free non-free
Change your APT preferences
Edit/Create the APT preferences file as root (sudo gedit /etc/apt/preferences) to make it look like this:
Package: *
Pin: release o=linuxmint
Pin-Priority: 700
Package: *
Pin: release o=Ubuntu
Pin-Priority: 500
Clean up
Run the following commands:
apt update
gconftool-2 –type int –set /apps/metacity/general/num_workspaces 4
gconftool-2 –type int –set /apps/compiz/general/screen0/options/hsize 4
gconftool-2 –type string –set /apps/compiz/plugins/cube/screen0/options/color 000000ff
apt install libpam-gnome-keyring
apt purge envy
apt clean
apt install envy mintdesktop mintinstall mintupdate mintwifi
apt purge compizconfig-settings-manager python-compizconfig
apt install compiz compiz-core compiz-gnome compiz-plugins gnome-screensaver gnome-system-monitor
elyssa 至少今天还是rc2,可能的办法是修改 /etc/apt/sources.list 把 celena 都改成 elyssa,然后
apt-get update
apt-get upgrade
apt-get dist-upgrade
官方还未给出升级办法
http://www.linuxmint.com/rel_elyssa.php
Popularity: 15% [?]
Tags:
ubuntu
Posted 3 months, 3 weeks ago at 7:00 pm. 0 comments
办法一:
lifehack 说了个<a href=”http://lifehacker.com/software/hack-attack/sync-your-firefox-extensions-and-profiles-across-computers-272113.php”>Sync your Firefox extensions and profiles across computers</a>
用 firefox 的 FolderShare 插件把配置文件放在一个固定的地方,然后win和ubuntu下的firefox都去读这个配置。
办法二:
还有人 <a href=”http://lxjunkie.blogspot.com/2008/01/making-firefox-portable-even-more.html”>Making Firefox Portable Even More Portable</a> 这样搞:
先
firefox -ProfileManager
建立一个新的配置文件,然后
ln -s /home/[username]/.mozilla/firefox/profiles/[profname] [path to firefox portable install]/Data/profile
把这个配置文件和windows下的 portable firefox 做个符号连接。
这样,两边(win下或者ubuntu下使用firefox,配置文件也是同步的)
办法三:
我老人家临时的办法,直接
wine firefoxPortable所在目录/FirefoxPortable.exe
还没有长时间使用,可能会有问题,毕竟是wine啊。
Tags: firefoxubuntu
Popularity: 16% [?]
Tags:
firefox,
ubuntu
Posted 6 months, 3 weeks ago at 1:39 pm. 0 comments
我是郭爽,这里的内容最初来源于我的blog,最终决定把 ubuntu 的内容单独分离出去…
记录关于ubuntu 的一切,欢迎交流,谢谢。
Popularity: 7% [?]
Tags:
blog,
ubuntu
Posted 6 months, 3 weeks ago at 11:32 am. 1 comment
我用的是 feisty herd4 的光盘。
ubuntu broadcom无线网卡配置
无线网卡是Broadcom的,在ubuntu下安装相当简单
sudo apt-get install bcm43xx-fwcutter
接下来在“联网”里把无线网卡激活便是了
guoshuang2007-06-14+ if u can not download that .so file from xxxx.googlepage.com.u can read things below
On ubuntu, you can sudo aptitude install bcm43xx-fwcutter, download this file: http://drinus.net/airport/wl_apsta.o and sudo bcm43xx-fwcutter -w /lib/firmware wl_apsta.o (you might need to replace /lib/firmware with /lib/firmware/`uname -r`)
I expect ti would be the smae for gentoo but emerge bcm43xx-fwcutter rahter than sudo aptitudei sntall bcm43xx-fwcutter or soemthing… I’ve never used gentoo…
or u can visit this post 在 ubuntu 源内找 .deb 文件
ubuntu nvidia 6150 显卡驱动
在 nvidia 官方linux drivers站点找到你需要的最新驱动。如果不是64位 ubuntu 安装 Linux IA32 即可。64 位 AMD 选择 Linux AMD64/EM64T。我使用的是这个 NVIDIA-Linux-x86-1.0-9755-pkg1.run
注意: 官方的 us.download.nvidia.com… 速度慢,把前面改成 cn.download.nvidia.com… 即可。
安装步骤:
1. ctrl+alt+f1 切换到 tty 1
2. /etc/init.d/gdm stop
关掉 x window
3. sudo apt-get install linux-headers-$(uname -r) build-essential
安装 libc 等编译环境
4. sudo sh NVIDIAxxxxxxxx.run
根据提示信息执行编译即可。
5. /etc/init.d/gdm start
重新进入 x window
声卡驱动
3239 的声卡在 windows 下显示为 Conexant hight definition audio,在 ubuntu 下会识别为 HDA NVidia(Alsa mixer)(还可以选择 Conexant CX20549 Venice OSS Mixer,但我没有选)。刚开始没有声音,几天之后(估计是哪个 update 的缘故,很可能是内核 2.16.20 的原因)就有了。
把网络加密了还不满意?让我们暗度陈仓,把非授权使用者拒之门外吧。IP806LM提供LAN和Internet访问控制功能,并可以分别控制。首先要让笔记本连接上无线AP,然后在“无线”页面的“访问控制”中选择“只允许选取的无线客户端”,再点“选择客户端”。选中允许访问的计算机名就可以了。 LAN和Internet访问控制的设置大同小异,截图为LAN控制方式。没被允许的连接,即使它能连接上无线AP,也无法连接LAN和 Internet,只好望洋兴叹了。
conexant high definition audio
http://ubuntuforums.org/showthread.php?p=2251034
http://forum.openrays.org/read.php?tid=4105
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=168685&highlight=high+definition+audio
http://bbs.chinaunix.net/archiver/?tid-901216.html
lspci
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
Popularity: 100% [?]
Tags:
hp,
install,
laptop,
ubuntu
Posted 6 months, 3 weeks ago at 11:32 am. 0 comments
每次系统启动的时候文件系统检查程序总会花费很长时间来检查Win下面的分区,
编辑 sudo gedit /etc/fstab 找到fat32分区那一行,将最后一个数字改成0
Popularity: 47% [?]
Tags:
ubuntu
Posted 6 months, 3 weeks ago at 11:32 am. 0 comments
以下全文来自 http://www.herofit.cn/2007/03/20_168
ipmsg(译名:飞鸽传书)是局域网内的文件传输工具。它是免费的,开源的,在GPL协议下发布。它有windows,linux,Mac,java等不同平台或语言的版本。
下面我来说一下它的GTK2版在ubuntu dapper下的安装过程。
安装依赖的包
sudo apt-get install libxml-parser-perl libgnomeui-dev libpanel-applet2-dev
下载
wget http://www.ipmsg.org/archive/g2ipmsg-0.9.1.tar.gz
更改语言(不改则为日语)
将g2ipmsg-0.9.1/src/codeset.c中的CP932 改为CP936
配置
./configure –prefix=/usr –sysconfdir=/etc –enable-systray
编译
make
安装
sudo make install
使用
将G2IPMSG Applet小程序添加到你的面板上。
效果如图:
g2ipmsg.png
参考资料:
http://www.ipmsg.org
让gaim发声
Filed under: linux, 软件 — ahlongxp @ 22:00
以前以为gaim发声是它本身的事,今天仔细看了一下发现,gaim还可以利用系统中的程序进行发声。
sudo apt-get install alsaplayer
alsaplayer是alsa驱动的命令行的播放录音工具,可用于多个用途。现代linux一般都用alsa,所以它是最好的选择了。
装完后就有了播音工具aplay,录音工具arecord。让gaim发声用aplay就可以了。
主界面中按Ctrl+P, 选Sounds。
将Method选成command,Sound command填成/usr/bin/aplay %s。其它的可随意设置。
注意,此时的Test是无效的,要看效果请重启gaim。
gaim不再哑巴了吧!
Popularity: 34% [?]
Tags:
gnome,
install,
linux,
ls,
ubuntu
Posted 6 months, 3 weeks ago at 11:32 am. 0 comments
mac 虚拟机安装ubuntu
ubuntu wine+photoshop
Popularity: 9% [?]
Tags:
ubuntu
Posted 6 months, 3 weeks ago at 11:32 am. 0 comments
反向连接不需要网关映射,因此不需要惊动网管大人,这样我就可以从家里(ADSL)连接控制单位局域网中的我的机器…
嘿嘿…坏处就是,两头都要有人…
感谢 pal(小时)蹲在我家里帮忙测试。
ssh 反向连接
如果没有安装 ssh的话,安装之
sudo apt-get install ssh
被控端,执行
ssh -f -N -R 10000:localhost:22 guoshuang@xxx.xxx.xxx.xxx
控制端执行
ssh guoshuang@localhost -p 10000
参考此文
vnc 反向连接
其实只要网关(防火墙)没有关掉 5500 就可以。注意:是5500能出去即可,不是进来,所以一般都是开放的。
sudo apt-get install x11vnc
控制端执行下面命令,等待邀请
vncviewer -listen
被控端,主动发起邀请
x11vnc -connect xxx.xxx.xxx.xxx:5500
参考此文
windows 和 mac 下的软件可参考下文
Free and easy remote access (through firewalls and NAT routers) with VNC reverse connections
内网远程控制全攻略
注意:vncviewer -fullscreen 模式全屏连接 vnc,用 f8 或者 ctrl+esc esc 退出。即便如此,也会经常出现不能退出或者控制失灵的情况,这篇 patch: fix WM bindings for vncviewer -fullscreen 应该有些帮助
或者使用 xvnc4viewer(sudo apt-get install xvnc4viewer)而不是tightvnc viewer。
f8 和窗口控制都没问题。
Popularity: 30% [?]
Tags:
blog,
hp,
install,
linux,
ls,
screen,
ubuntu,
unix,
vi
Posted 6 months, 3 weeks ago at 11:32 am. 0 comments
firefox 2.x 强制在 tab 而不是 新窗口打开
about:config,设置 browser.link.open_newwindow 为 3 即可。
only now tab show close buton
browser.tabs.closeButtons -> 0
always show tabs
browser.tabs.autoHide false
其他资料
firefox 2.x 的 single window mode
about:config里面将
browser. block. target_new_window布尔值设置为true
browser. link. open_external整数值设置为3
browser. link. open_newwindow整数值设置为3
browser. link. open_newwindow. restriction整数值设置为0
wall 在终端中发信息给其它用户。ctrl+d 结束
tty 发,tty 和 x win 皆可收
x win shell 发,tty 收不到。
点击这里打开新窗口浏览此网页
Popularity: 16% [?]
Tags:
ls,
shell,
tty,
ubuntu
ad 468x60