Archive for the ‘Fedora’ category

Google-gadgets-for-linux released

June 1st, 2008

Google Gadgets for Linux provides a platform for running desktop gadgets under Linux, catering to the unique needs of Linux users. We are compatible with the gadgets written for Google Desktop for Windows as well as the Universal Gadgets on iGoogle. Following Linux norms, this project will be open-sourced, under the Apache License.

The Windows and Mac versions of Google Desktop has provided gadget hosting functionality on Windows and Mac for a while now and the Linux version of Google Gadgets will extend this platform to Linux users. By enabling cross-platform gadgets, a large library of existing gadgets are immediately available to Linux users. In addition, gadget developers will benefit from a much larger potential user base without having to learn a new API.

There’s two main components to the application: one is a common gadget library responsible for running and presenting a gadget, and the other is a host program that allows the user to choose gadgets and run them on the desktop. Currently we have hosts written for GTK+ and QT, with the GTK+ host offering a sidebar similiar to that of Google Desktop for Windows.

Google Gadgets for Linux就是把windows下google desktop的gadgets移植到了Linux下。

» Read more: Google-gadgets-for-linux released

Fedora 9 下用scrot进行屏幕截图

June 1st, 2008

不知道为什么我的fedora 9 下没有以前那个可以选择抓图模式设定延时的抓图工具了,只有一个gnome ScreenShot,按PrtScr 抓全屏,按Alt+PrtScr 抓当前窗口。可我想弄复杂一点的就不行了。所以只能装了一个 scrot,scrot 是个命令行截图工具,小巧灵活,功能强悍。大家用 yum install scrot 命令安装Scrot. Scrot 的常用用法如下:

  1. 抓取整个桌面:scrot desktop.png,该命令将当前的整个桌面抓取下来,并保存为 desktop.png 文件。可以在当前的目录中找到此图像文件。
  2. 抓取窗口:scrot -bs window.png,选项 b 使 scrot 在抓取窗口时一同将外边框抓取下来,而 s 选项则让用户选择所要抓取的是何窗口。
  3. 抓取区域:scrot -s rectangle.png,在执行此命令后,使用鼠标拖曳的矩形区域将被 scrot 抓取下来。
  4. 延时抓取:scrot -cd 10 menu.png,此命令中的 d 选项用于延时抓取图像,其后的 10 代表延时 10 秒;前面的选项 c 显示倒计时。在抓取菜单或是命令提示时,该技巧将充分展示其魔力。
  5. 生成缩图:scrot -t 50% thumb.png,这个命令在抓取图像的同时生成该图像的缩略图。选项 t 将打开此功能,其后的 50% 为原图的缩放百分比。
  6. 更改品质:scrot -q 70 quality.jpg,此命令中的 q 选项用于更改所抓图像的品质,其数值介于 1-100 之间,默认为 75。数值越大,意味着图像品质越高;同时,图像的压缩率也就越低,占用空间越大。
  7. 操作抓图:scrot action.png -e 'mv $f ~/images/',该命令将抓取的图像移动到 ~/images/ 目录。显然,操作图像的功能由 e 选项开启,其中的 $f 代表原图的路径/文件名。

基本上上面这些用法能解决绝大多少抓图任务了,如果你还有什么特殊要求可以自己 man 一下。 本篇文章完整抄袭自Linuxbyte.org,以自己参考及备忘,原文在这里

Fedora 9 降级X Server安装Nvidia 173.08显卡驱动并开启3D成功(二)

May 31st, 2008

前几天,我刚刚写完这篇文章的上半部分,回完邮件之后看了一下Google Reader就看到cnBeta上面的文章,说Nvidia 173.14.05 for Linux x86/x86-64 驱动释出,支持Fedora 9,我当时非常生气,妈的,等了那么长时间NVIDIA都没有放出驱动,我刚刚降级完毕他就释出驱动了,该死的NVIDIA。

不过,有人反馈这个驱动并不好用,还不如降级安装173.08的驱动好,有人反应这个驱动在 Nvidia FX 5200 的显卡上并不能正常工作,还有人说更新到nvidia驱动173.14.05,网页字体成了一团,看来NVIDIA这次最新发布的173.14.05 版本虽然说已经支持X.Org 7/X 在实际安装freshrpms.net 源中该版本驱动后,我觉得目前最好到解决办法还是将xorg 版本退回到Fedora8 的版本。看来得用这个版本到到XOrg 7月份发布新的稳定版。现在开始吧!

首先,删除1.5版本xorg和mesa libraries.
#yum -y remove xorg-x11-server-Xorg xorg-x11-server-common
#rpm -e –nodeps –allmatches mesa-libGL mesa-libGLU mesa-libGL-devel mesa-libGLU-devel glx-utils
» Read more: Fedora 9 降级X Server安装Nvidia 173.08显卡驱动并开启3D成功(二)

Nvidia 173.14.05 for Linux x86/x86-64 驱动释出,支持Fedora 9

May 29th, 2008

Fedora 9发布已经有好长一段时间了,但是Nvidia一直都没有发布针对Fedora 9最新的 Xorg Server 的驱动程序。由于Fedora 9使用的是最新的新技术和最新的软件,其中之一的 xorg-x11-server-Xorg-1.4.99.901-29.20080415.fc9 是一个测试版,非正式版,Nvidia 公司之前放话说不会正对非正式版的 Xorg 放出驱动程序,这也意味着我们要等到等到xorg-x11-server-Xorg的最新正式版发布的时候,才能获得Nvidia公司的显卡驱动支持。

前几天,freedesktop.org 发出话来说:估计我们到7月份,就能放出正式版的Xorg 7.4了,于是在同志们强大的压力之下,Nvidia 今天放出了 173.14.05 linux 版本驱动。这意味着Fedora 9下的Nvidia用户总算有官方驱动用了。

2 Xorg Server 1.5的preliminary(预?初步?)支持。意思是如果你的xorg因为人品或者别的问题还是没法用,你就认为这个驱动是初步支持。如果用的很 好,CompizFusion很绚烂,那就是预支持。因为Xorg server 1.5还没出呢。

其余的就是bugfix了。具体内容参见:http://www.nvnews.net/vbulletin/showthread.php?t=113919

Nvidia 173.14.05 for Linux x86/x86-64 下载地址:http://www.nvidia.com/object/linux_display_archive.html (在这里应该能找到,现在 Nvidia 的网站已经人满为患了,我这里打不开网页,不过你在这里能找到)

哎,可怜我昨天晚上,搞了那么长时间的降级 Fedora 9 的 Xorg Server 并安装 Nvidia 173.08 这个测试版显卡驱动的工作。不过还可以,安装 Compiz Fusion 之后一切显示正常,3D很爽的说。不过有网友很快反应,这个驱动在 Nvidia FX 5200 的显卡上并不能正常工作,哎,我就不升级了,用一段时间的 173.08 再说。

中午的时候,正打算写这篇文章的下半部分,突然看到cnBeta上的报导,说Nvidia 173.14.05 for Linux x86/x86-64 驱动释出了,既然官方已经有驱动了,那么就不许要通过降级Xorg的方式来使用173.08这个测试版的驱动了,有人报告这个驱动并不完美,我正在等更多的反馈,来决定是否分享我降级Xorg并安装173.08的经历。

推荐一个Linux下的Windows Live Messenger(MSN)替代工具

May 29th, 2008

笔记本里面安装了Fedora 9,NVIDIA的驱动搞好了,也能用华为EG162无线网卡上网了,但一时间还不太适应,用了N年的Windows XP了,在Linux下面上MSN,聊QQ都没有官方相应的Linux版,虽然Fedora 9自带了支持多协议的 Pidgin 聊天软件,能同时支持AIM, ICQ, Jabber/XMPP, MSN Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, QQ, Lotus Sametime, SILC, SIMPLE, MySpaceIM, and Zephyr. 但是使用起来总是不太习惯,但是对Windows Live Messenger ,即MSN来说,在Linux下,我们有一个非常好的克隆软件,名字叫做 emesene ,也特别推荐给大家!

emesene

» Read more: 推荐一个Linux下的Windows Live Messenger(MSN)替代工具