ubuntu 新手入门视频教程

Posted 11 months, 1 week ago at 11:32 am. 0 comments

这可是新手们的福音啊,Ubuntu Screencasts,各种格式可供下载,我倒是很想听听 ubuntu 相关的英语…包括下列内容

如何在win下烧盘
安装ubuntu 和 win 双启动
ubuntu 桌面定制
使用 adept 安装和升级
Evolution(邮件客户端) 使用
Gaim使用
Xchat-Gnome使用
安装flash
ubuntu 升级

Popularity: 36% [?]

Tags: , , ,

virtualbox under ubuntu

Posted 11 months, 1 week ago at 11:32 am. 0 comments

还可以,运行也不是很卡。默认网络就是通的。

注意设置 hostkey,我设置的是 ctrl 键。在虚拟机中按 ctrl 键可以把鼠标和键盘操作从虚拟机中解放出来。

另外,virtualbox 需要用户是 vboxusers 组成员(root 当然可以)

sudo usermod -G vboxusers -a guoshuang

将 guoshuang 加入 vboxusers 组

usermod 修改用户配置
-G group 加入 group 组
-a 追加而不是从原来的组移动过来

注意:修改当前用户组后需要注销重新登录使权限生效!

错误信息:

You are not a member of the “vboxusers” group. Please add yourself to this
group before starting VirtualBox.

相关资料:
VirtualBox虚拟硬件驱动安装

先要在VirtualBox的虚拟机选项中配置你的虚拟机要使用声卡,然后才能安装声卡。

Popularity: 18% [?]

Tags: , , , ,

在 ubuntu 下编辑 Avant browser

Posted 11 months, 1 week ago at 11:32 am. 0 comments

HOW-TO: Compile Avant Window Navigator

Avant Window Navgator (Awn) is a dock-like bar which sits at the bottom of the screen (in all its composited-goodness) tracking open windows.Gnome 下的 Dock 工具

有趣,一会到 ubuntu 下测试。

sudo apt-get install subversion
sudo apt-get install libgtk2.0-dev libwnck-dev libwnck-common libgconf2-dev libglib2.0-dev gnome-common
svn checkout http://avant-window-navigator.googlecode.com/svn/trunk/ avant-window-navigator
cd avant-window-navigator
./autogen.sh
make
sudo make install

option 2 方法测试失败,在 ./autogen.sh 到这里卡住

configure: error: Package requirements ( glib-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 libwnck-1.0 gnome-desktop-2.0 libgnome-2.0 gnome-vfs-2.0 gconf-2.0 x11 xproto) were not met:

No package ‘gnome-desktop-2.0′ found
No package ‘libgnome-2.0′ found
No package ‘gnome-vfs-2.0′ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables AWN_CFLAGS
and AWN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

option 1 方法可以。但是显示效果有问题。可能因为需要 beryl 的原因吧

NOTE: You will need to be running either XGL or AIGLX along with a composite window manager (usually beryl or compiz). I am running AIGLX and beryl, in case you were wondering.

http://code.google.com/p/avant-window-navigator/

Popularity: 20% [?]

Tags: , , , , , , ,

CompositeManager,Xgl,AIGLX

Posted 11 months, 1 week ago at 11:32 am. 0 comments

CompositeManager

Xgl and AIGLX are both VERY alpha software and should not be used on production machines. They do have bugs and do not always play nice with other programs. You have been warned.

Recently there has been a lot of interest in running 3d accelerated composite managers on X servers. This is commonly refered to as Xgl or Compiz, though both of these two packages are really just means to an end (and can be replaced).

There are two steps involved in setting up a 3d accelerated composite manager:

1.Setting up an X Server which supports it.
2.Setting up the composite manager itself.

Instructions for each of these are found below.

X Server

Composite managers require an X server capable of making 3D acceleration available to the window manager. There are currently two options available to achieve this:

1.CompositeManager/Xgl which runs on top of a separate Xorg server. More information about it [WWW] here
2.CompositeManager/AIGLX, which runs as part of Xorg. More information about it [WWW] here

XGL is a temporary solution that adds support for indirect 3d rendering to any video card.
AIGLX is the long-term solution, but it requires that your video card driver include an additional extension.

Composite Manager

When running AIGLX or Xgl, all windows are rendered to an off-screen buffer. The composite manager is then responsible for drawing the windows to the screen, and has the opportunity to manipulate them, adding in cool effects such as transparency and wobbliness.

There are currently two composite managers available.

*CompositeManager/Compiz - A combination window manager and composite manager from Novell.
*CompositeManager/Beryl - A fork of Compiz that adds some additional features. It is generally much less stable than Compiz.

via CompositeManager

Popularity: 10% [?]

Tags: , ,

beryl安装笔记

Posted 11 months, 1 week ago at 11:32 am. 0 comments

主要参考了这个文章http://doc.gwos.org/index.php/BerylOnEdgy

我的电脑问题是 geforce 4 显卡,Nvidia 9xxx 系列不在支持老显卡。另外,运行 beryl 需要手工切换窗口管理器。

geforce 4 need the old package.96xx version
http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9631/NVIDIA-Linux-x86-1.0-9631-pkg1.run

以下步骤很乱,仅供参考

1.beryl repos

deb http://ubuntu.beryl-project.org edgy main

wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -

sudo apt-get update

2.NVIDIA repos

deb http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable

wget -O- –quiet http://nvidia.limitless.lupine.me.uk/ubuntu/root@lupine.me.uk.gpg | sudo apt-key add -

sudo apt-get update
sudo apt-get install nvidia-glx
sudo apt-get upgrade

sudo nvidia-xconfig –add-argb-glx-visuals

3.install beryl

sudo apt-get install beryl emerald-themes

via http://www.ubuntuforums.org/showthread.php?t=263851&highlight=beryl+nvidia

我们开始吧!!
第二节 安装NV 1.0-9631驱动

1.NV的官方正式版1.0-9631驱动已经发布,而且ubuntu的源里面已经有官方的编译,用一下的方法安装源里的驱动:
http://wiki.ubuntu.org.cn/NVIDIA%E6%98%BE%E5%8D%A1%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E6%8C%87%E5%8D%97

一下的方法为手动编译安装驱动,新手如果想锻炼身手可以尝试:

1.去http://www.nvidia.com/object/unix.html下载对应32/64位版本的驱动,放置在home根目录下,方便调用。

2.删除原有驱动(假设你安装过源里面的nvidia-glx驱动,曾经手动安装驱动的可以跳过):
sudo apt-get –purge remove nvidia-glx
然后灰复X的设置
sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
重启,确定起动正常

3.安装编译环境和前期步骤:
安装头文件和编译环境
sudo apt-get install linux-headers-$(uname -r) build-essential
edgy已经安装好了最新的gcc了,没有装的,自己装上

sudo gedit /etc/default/linux-restricted-modules-common
在最后的双引号里面添加nv两个字,添加后就是“nv”

预防起动X失败
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.mybackup
如果起动X失败,可以用sudo cp /etc/X11/xorg.conf.mybackup /etc/X11/xorg.conf来灰复X设置,然后起动

以下为网络上留传的要点,本人多台机器安装没有使用,如果不行,可以尝试(但是会删除受限制模块,导致某些别的硬件无法使用:
sudo apt-get –purge remove nvidia-settings nvidia-kernel-common
sudo rm /etc/init.d/nvidia-*

4.开始安装(对于曾经手动安装nv驱动的,可以在安装的时候选择卸载旧版的驱动):
请拿出一张纸和一支笔,记录下一下的命令,因为我们要去到纯终端里面安装

注销后,按Ctrl+Alt+F1,登录后
关闭gdm
sudo /etc/init.d/gdm stop
然后开始安装(假设下载的文件放在home根目录下)
sudo sh NVIDIA-Linux-x86-1.0-9631-pkg1.run(如果你下载的是64位驱动 sudo sh NVIDIA-Linux-x86_64-1.0-9629-pkg1.run)
进入安装界面后,首先接受协议,选“接受”
可能会有提示已经安装了旧的驱动(视乎你自己是否有手动安装过),是否删除,选yes就是了,
一般会提示缺少模块,问是否网上下载,选“no”,
提示需要自己编译模块,选“ok”,然后编译安装开始,
最后提示需要修改xorg.conf,是否允许,选yes,
完成安装,选ok。
然后回到终端界面,重启gdm
sudo /etc/init.d/gdm start

现在可以重启试试驱动是否已经装好,在“应用程序-》系统工具-》NVIDIA X server setting里面可以看到驱动的信息

提示:每次更新内核后都需要重新安装nv的驱动!重复第5点的步骤即可

第三节 安装Beryl
1.添加源
建议直接是用亚洲官方或者cn99的源里面的!

不过也可以是用官方的源:
sudo gedit /etc/apt/sources.list

加入以下源

deb http://beryl-mirror.lupine.me.uk edgy main
deb-src http://beryl-mirror.lupine.me.uk edgy main

保存后退出

然后加入钥匙:
wget http://beryl-mirror.lupine.me.uk/1609B551.gpg -O- | sudo apt-key add -

刷新库
sudo apt-get update
sudo apt-get dist-upgrade

详细最新的变化,请看:http://ubuntu.beryl-project.org/

2.安装beryl

sudo apt-get install beryl emerald emerald-themes

修改xorg.conf

sudo gedit /etc/X11/xorg.conf

在 Section “Screen” 里面添加
Option “AddARGBGLXVisuals” “True”

可选:
在 Section “Device” 里面添加
Option “TripleBuffer” “true”

添加如下一项:(本人没有添加)
Section “Extensions”
Option “Composite” “Enable”
EndSection

保存退出

在系统-》首选项-》会话-》起动程序 里面添加一项”beryl-manager“
注销
alt+ctrl+backspace,重启X
登录后享受Beryl带来的快感吧~!
Wink

第四节 错误解决

如果出现窗口框闪烁,可以在系统-》首选项-》会话-》起动程序 里面添加一项”emerald –replace“
对于升级Beryl的朋友,最好删除home里面的.beryl和.emerald里面的setting.ini

http://www.ubuntuforums.org/showthread.php?t=263851&highlight=beryl+nvidia

Popularity: 23% [?]

Tags: , , , , , , , , ,

dosbox 设置鼠标移动速度

Posted 11 months, 1 week ago at 11:32 am. 0 comments


以前发过一篇 用 doxbox 玩 dos 游戏的日志,讲了怎么在 linux 下玩 dos 游戏,其实 psp 上也用 dosbox 来玩老 dos 游戏。问题在于玩卧龙传时鼠标太慢,不爽,找到一些 doxbox 配置的资料

运行 dosbox 以后,在里面执行

config -writeconf dosbox.conf

这样会在终端的当前目录生成一个 dosbox.conf 配置文件(linux 默认是没有的)。修改这个文件的

sensitivity=150

数字越大,鼠标移动越快。另外还可以在这里设置是否全屏。

fullscreen=true

运行 dosbox 加上参数

dosbox -conf dosbox.conf

在 [autoexec] 部分添加

mount c ~

启动后就挂接 /homt/guoshuang 为 c。

ctrl+f11 或者 f12 加减速;ctrl+f10 退出鼠标。

里面还有一些设置,有说明,自己看吧。

官方站点:

http://dosbox.sourceforge.net/

Popularity: 24% [?]

Tags: , , , , , ,

gnome 终端快捷键

Posted 11 months, 1 week ago at 11:32 am. 0 comments

在 preferences - keyboard shortcuts 中点击 run a terminal,然后按你需要的组合键即可。
相关日志:

gnome 快捷键

Popularity: 12% [?]

Tags: , ,

ubuntu 桌面透明终端

Posted 11 months, 1 week ago at 11:32 am. 0 comments

原文来自 HowTo: Embedded Terminal On Your Gutsy Desktop,大约就是在终端,新建 profile,设置背景透明,字体颜色,无滚动条。然后设置 compiz-fusion 的窗口效果,让标题栏和窗口边框也透明。

效果如下:

Popularity: 15% [?]

Tags: , ,

关闭 ubuntu 移动存储设备自动运行

Posted 11 months, 1 week ago at 11:32 am. 0 comments

系统 - 首选项 - 可移动驱动器和介质,控制移动硬盘、光盘、U盘、数码相机等设备接入时是否自动运行某个程序。

Popularity: 10% [?]

Tags: ,

ubuntu sexy theme

Posted 11 months, 1 week ago at 11:32 am. 2 comments


第二个主题墙纸下载

Popularity: 74% [?]

Tags: , , ,

ad 468x60