Skip navigation

Lost password? | Help

Chaos Sanctuary

Simplicity is divine.

Posts tagged with "Linux"

The Linux Desktop Myth

, ,

这篇文章写的略好,其实开源的弟兄们应该平和心态,战胜微软不是几个Distro,几年的事情,在个人应用方面更是如此。还是先主攻Server市场比较合理可行。

Click for the Whole Article

Spring 2007是个契机,恰逢Mac OS X 10.5(Code Name:Leopard)发布,Windows Vista上市。两大个人操作系统竞争白热化,且用户略感茫然的时刻,正是Linux大举扩张争取份额的机会。

Linux Distribution Chooser

,

如果对于选择哪个Linux的Distro没有概念,通过以下的测试可以给你一些合理的选择。

http://www.zegeniestudios.net/ldc/

HP OfficeJet 7200 on ubuntu

, , , ...

要略安装hpoj的驱动,否则无法使用扫描功能。

安装完之后按照下面连接的说明进行设置即可。

http://hpoj.sourceforge.net/hpoj-0.91/doc/setup-connect.html

xorg.conf 设置

, , ,

我非常幸运地拥有一台相当牛逼的显示器——Mitsubishi Diamond Pro 740 SB

那么,/etc/X11/xorg.conf显然就不同于普通的泛泛之辈了。

......

Section "Monitor"
    Identifier     "DPro740SB"
    Option         "DPMS"
    HorizSync      31-96
    VertRefresh    55-160
    # V-freq: 100.00 Hz  // h-freq: 81.70 KHz
    Modeline "1024x768" 124.84  1024 1088 1240 1528   768  768  771  817
    # V-freq: 85.00 Hz  // h-freq: 91.72 KHz
    Modeline "1280x1024" 185.64  1280 1376 1600 2024  1024 1024 1028 1079 
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NV36 [GeForce FX 5700LE]"
    Driver         "nvidia"
    Option         "NoLogo"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV36 [GeForce FX 5700LE]"
    Monitor        "DPro740SB"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768"
    EndSubSection
EndSection



[参考文献]

Modelline自动生成网页

HOWTO: Change Resolution/Refresh Rate in xorg

Test Configuration without Restarting X
sudo xinit -- :2

One can see the result on a new X (ctrl+alt+F9) without losing the first. If something goes wrong, one can easily use the backup configuration under their surviving X (ctrl+alt+F7).

ubuntu服务优化程序

, , ,

sudo apt-get update 
sudo apt-get install sysv-rc-conf


Level S 代表启动
Level 0 代表关机
Level 6 代表重启
Level 1~5 表示不同的用户模式

参考原文

输入法安装最新注意事项

, , ,

最近在公司的laptop上尝试也ubuntu一把,结果输入法怎么也搞不定,按照之前写的文章的设置可以安装,但是无法在en_US的Locale下用Ctrl+Space激活。

输入im-switch -s scim_xim -z default之后,系统会显示No alternatives defined,于是发现在en_US的Locale下一定要把输入法安装到这里面才可以,那么正确的命令就应该是:

sudo im-switch -s scim_xim -z en_US


Multimedia Codecs for ubuntu

, ,

Totem Player (ubuntu默认媒体播放器)
sudo apt-get install gstreamer0.10-*


Mplayer:
sudo apt-get install w32codecs

"Three-dimensional" desktop switcher

, , , ...

3D-Desktop is an OpenGL program for switching virtual desktops in a seamless 3-dimensional manner. The current desktop is mapped into a fullscreen 3D environment where you may choose other screens. Several different visualization modes are available. A window manager compatible with the GNOME pager standard is required.

The transition from working desktop to fullscreen 3D environment is seamless: when the pager activates you see your current desktop appear to zoom out to a point in space where you can see your other virtual desktops allowing you to select another.

The program is rather memory-hungry and it is CPU intensive, but it's accessible from the command line, which makes it perfect for show floors and impressing your non-UN*X-using friends.

在官方注解中出现这样的描述略搞笑了……

删除日文字体

, , , ...

据说可以直接修复中文字体显示大小不一的问题,倒省去装STHeiti的麻烦了。

sudo apt-get remove ttf-kochi-gothic 
sudo apt-get remove ttf-kochi-mincho


略有效。

安装配置Beryl——略绚丽 (ubuntu 6.06 Dapper)

, , ,

先搞定显卡驱动,NVATI

删除compiz,如果先前安装过的话。

在/etc/apt/sources.list里面添加:

deb http://www.beerorkid.com/compiz dapper main



然后运行:

wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -


之后就可以安装软件了:

sudo apt-get update
sudo apt-get dist-upgrade 
sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl emerald-themes


接下去略重要,需要启动XGL,略参考:https://help.ubuntu.com/community/CompositeManager/Xgl

已经有牛人简单归纳了一下需要修改的内容:

NV的:
sudo gedit /etc/gdm/gdm.conf-custom,在[servers] 后面加入
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true

ATI的:
sudo gedit /etc/gdm/gdm.conf-custom,在[servers] 后面加入
1=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl -fullscreen -br -accel xv:pbuffer -accel glx:pbuffer -dpi 100 -nolisten tcp
flexible=true



sudo gedit /etc/gdm/gdm.conf


找到“0=Standard”,改为“1=Standard”;找到“GdmXserverTimeout=10”,改为“GdmXserverTimeout=50”(这句的功能据说只是延长timeout时间,增加成功机会 -,= )。

最后把beryl-manager加入启动项即可。 System->Preferences->Sessions->Startup Programs
January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30