上周Ubuntu 8.04 LTS的发布异常热闹,想必大家的Ubuntu都已更新至Ubuntu 8.04了吧?
经过一个月的开发和测试,Ubuntu Tweak也发布了其0.3系列的第一个版本:0.3.0,完全支持8.04。推荐所有旧版本的用户更新!
—–
Ubuntu Tweak为在Ubuntu各个版本中取得最佳的兼容性,对代码进了非常大的改动,0.3.0因此而发布。
因为Ubuntu Tweak的开发始于Ubuntu 7.04时代,因此Ubuntu Tweak支持从7.04往后的所有Ubuntu版本,一些新旧版本不同的特性和选项都会智能判断并选择开启或关闭。
另外,由于改善了兼容性,Ubuntu Tweak也能运行在一些基于GNOME的主流发行版上,我仅在Fedora 9 Preview上完成测试,并不保证所有功能和特性均能正常运行。这个还需要大家帮助测试。另外我也没有时间为其他发行版制作软件包,这个就要由大家来做了。
下图显示了Ubuntu Tweak 0.3.0运行在Fedore 9 Preview上:
每次Ubuntu Tweak发布新版本,都会有新的特性加入,这次也不例外。
Ubuntu Tweak 0.3.0新增了“快捷键”的设置功能。
在日常应用中,你一定会有一些经常要启动的应用程序吧?何不为它们设定一个快捷键,只要按一下按键,就能启动它们呢?
Ubuntu Tweak 0.3.0就提供了这样一个统一且简易的界面来设定快捷键。输入启动该程序的命令,再自动捕获一个单键或组合键,以后启动该应用程序就能非常快捷啦。
此外,Ubuntu Tweak修正了大量bug,改善了很多细节部分。这些,就要大家自己去感受了。
下载地址:
源代码:
ubuntu-tweak_0.3.0.orig.tar.gz
debian软件包:
ubuntu-tweak_0.3.0-1~ppa3_all.deb
使用APT源的用户请将旧源修改为新源,即将gutsy改成hardy(不论你是用哪个Ubuntu发行版)即可。
deb http://ppa.launchpad.net/tualatrix/ubuntu hardy main
deb-src http://ppa.launchpad.net/tualatrix/ubuntu hardy main
如果你下载过早上十点钟放出的版本(ppa2),请再次更新,这个版本(ppa3)有重要Bug修正。


升级后启动出错:
Failed to open file ‘/media/sda5/soft/linux/桌面主题/GreenComplete/GNOME-Foresight_Splash.png’: No such file or directory
Traceback (most recent call last):
File “./ubuntu-tweak.py”, line 44, in
MainWindow().main()
File “/usr/share/ubuntu-tweak/MainWindow.py”, line 228, in __init__
self.notebook = self.create_notebook()
File “/usr/share/ubuntu-tweak/MainWindow.py”, line 325, in create_notebook
notebook.append_page(page(self), None)
File “/usr/share/ubuntu-tweak/Icon.py”, line 122, in __init__
vbox.pack_start(DesktopIcon(item), False, False, 0)
File “/usr/share/ubuntu-tweak/Icon.py”, line 78, in __init__
self.rename_button = Factory.create(“strgconfcheckbutton”, item["rename"], item["name"], self)
File “/usr/share/ubuntu-tweak/Factory.py”, line 58, in create
return getattr(Factory(), “create_%s” % widget)(argv[0], argv[1], argv[2])
File “/usr/share/ubuntu-tweak/Factory.py”, line 82, in create_strgconfcheckbutton
button = StrGconfCheckButton(label, self.keys[key], mediator)
File “/usr/share/ubuntu-tweak/Widgets.py”, line 64, in __init__
GconfCheckButton.__init__(self, label, key)
File “/usr/share/ubuntu-tweak/Widgets.py”, line 48, in __init__
BoolSetting.__init__(self, key)
File “/usr/share/ubuntu-tweak/Settings.py”, line 48, in __init__
self.bool = self.get_bool()
File “/usr/share/ubuntu-tweak/Settings.py”, line 55, in get_bool
elif self.value.type == gcon.VALUE_STRING:
NameError: global name ‘gcon’ is not defined
回复
2008年04月30日 星期三 10:11 上午
“GNOME-Foresight_Splash.png“这个的确是没有了,不过应该也不会弄得崩溃才对。
回复
2008年04月30日 星期三 10:12 上午
谢谢,刚刚从Ubuntu7.10升级到8.04,Tweak被删了。又重新加的源。
做的是越来越好了:)
回复
2008年04月30日 星期三 10:45 上午
在Gnome里不是可以自己设置一些软件的快捷键吗?
回复
2008年04月30日 星期三 11:47 上午
@Ivan Chen(西滨):不是这个文件引起的崩溃,是我代码里少打了一个f造成的。非常感谢你把错误信息贴上来,不然这个Bug不知道什么时候才会发现。
回复
2008年04月30日 星期三 6:10 下午
TualatriX客气了,感谢你出这些实用的好东东啊。这些东西手动设也不太难,就是麻烦了。
回复
2008年04月30日 星期三 9:48 下午
$ ubuntu-tweak
Traceback (most recent call last):
File “./ubuntu-tweak.py”, line 43, in
from MainWindow import MainWindow
File “/usr/share/ubuntu-tweak/MainWindow.py”, line 37, in
from Session import Session
File “/usr/share/ubuntu-tweak/Session.py”, line 31, in
from Factory import Factory
File “/usr/share/ubuntu-tweak/Factory.py”, line 41, in
class GconfKeys:
File “/usr/share/ubuntu-tweak/Factory.py”, line 47, in GconfKeys
parser.parse(“tweaks.xml”)
File “/usr/lib/python2.5/xml/sax/expatreader.py”, line 102, in parse
source = saxutils.prepare_input_source(source)
File “/usr/lib/python2.5/xml/sax/saxutils.py”, line 298, in prepare_input_source
f = urllib.urlopen(source.getSystemId())
File “/usr/lib/python2.5/urllib.py”, line 82, in urlopen
return opener.open(url)
File “/usr/lib/python2.5/urllib.py”, line 190, in open
return getattr(self, name)(url)
File “/usr/lib/python2.5/urllib.py”, line 459, in open_file
return self.open_local_file(url)
File “/usr/lib/python2.5/urllib.py”, line 473, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] 没有那个文件或目录: ‘tweaks.xml’
回复
2008年04月30日 星期三 11:22 下午
我系统是archlinux,从源代码安装的
回复
2008年04月30日 星期三 11:24 下午
Failed to open file ‘/usr/share/pixmaps/splash/ubuntu-splash.png’: No such file or directory
Traceback (most recent call last):
File “./ubuntu-tweak.py”, line 44, in
MainWindow().main()
File “/usr/share/ubuntu-tweak/MainWindow.py”, line 228, in __init__
self.notebook = self.create_notebook()
File “/usr/share/ubuntu-tweak/MainWindow.py”, line 325, in create_notebook
notebook.append_page(page(self), None)
File “/usr/share/ubuntu-tweak/Metacity.py”, line 42, in __init__
[gtk.Label(_("Active window opacity level")), Factory.create("gconfscale", 0, 1, "metacity_theme_active_opacity", 2)],
File “/usr/share/ubuntu-tweak/Factory.py”, line 60, in create
return getattr(Factory(), “create_%s” % widget)(argv[0], argv[1], argv[2], argv[3])
File “/usr/share/ubuntu-tweak/Factory.py”, line 107, in create_gconfscale
scale = GconfScale(min, max, self.keys[key], digits)
File “/usr/share/ubuntu-tweak/Widgets.py”, line 128, in __init__
if self.value.type == gconf.VALUE_INT:
AttributeError: ‘NoneType’ object has no attribute ‘type’
Error in sys.excepthook:
Traceback (most recent call last):
File “/usr/lib/python2.5/site-packages/apport_python_hook.py”, line 78, in apport_excepthook
report_file = open(pr_filename, ‘wt’)
IOError: [Errno 13] Permission denied: u’/var/crash/_usr_share_ubuntu-tweak_ubuntu-tweak.py.1000.crash’
Original exception was:
Traceback (most recent call last):
File “./ubuntu-tweak.py”, line 44, in
MainWindow().main()
File “/usr/share/ubuntu-tweak/MainWindow.py”, line 228, in __init__
self.notebook = self.create_notebook()
File “/usr/share/ubuntu-tweak/MainWindow.py”, line 325, in create_notebook
notebook.append_page(page(self), None)
File “/usr/share/ubuntu-tweak/Metacity.py”, line 42, in __init__
[gtk.Label(_("Active window opacity level")), Factory.create("gconfscale", 0, 1, "metacity_theme_active_opacity", 2)],
File “/usr/share/ubuntu-tweak/Factory.py”, line 60, in create
return getattr(Factory(), “create_%s” % widget)(argv[0], argv[1], argv[2], argv[3])
File “/usr/share/ubuntu-tweak/Factory.py”, line 107, in create_gconfscale
scale = GconfScale(min, max, self.keys[key], digits)
File “/usr/share/ubuntu-tweak/Widgets.py”, line 128, in __init__
if self.value.type == gconf.VALUE_INT:
AttributeError: ‘NoneType’ object has no attribute ‘type’
回复
2008年05月01日 星期四 12:06 上午
没法启动
回复
2008年05月01日 星期四 12:07 上午
正想着呢,就更了……呵呵,马上下来~
回复
2008年05月01日 星期四 3:38 上午
赞,再cb看到你发布我就过来了。
回复
2008年05月01日 星期四 10:32 上午
谢谢独立的圆和dacdog贴出的错误信息,问题正在解决中。
回复
2008年05月01日 星期四 12:53 下午
怎么不说如何使用
回复
2008年05月01日 星期四 6:59 下午
在网上搜也搜不到,不知这个东东具体是做什么的,只是今天在首页上看到这个东东的
回复
2008年05月01日 星期四 7:08 下午
good job!
昨天刚用,很不错!
有几个小小的建议
模板和脚本可以增加自定义的功能
默认的shell和python脚本加入x权限(我自己改了:))
加入“Nautilus动作配置”的功能
如果能把lazyubuntu的功能加入就太棒了!这样用Ubuntu Tweak就可以得到一个好用又易用的ubuntu桌面(一定会成为ubuntu装机必备了:))
还发现一个小小的错误,shell文件的模板的bash路径些错了,原为“#!/usr/bash”应为”#!/usr/bin/bash” 或 “#!//bin/bash” 吧?
因该是作者的笔误
刚用没两天一点浅建,希望Ubuntu Tweak越来越好!
回复
2008年05月01日 星期四 9:04 下午
我也来支持一下!
回复
2008年05月04日 星期天 4:08 下午
更新一下,支持一下
回复
2008年05月05日 星期一 9:09 下午
我是下载安装的,结果安装完成了,一启动就出现类似“启动应用程序错误”的提示。到现在还没有好。
另外,看这个Ubuntu的程序字体比较漂亮,想问一下是用的什么字体,如何美化的?(PS:我昨天晚上美化字体,结果一条chmod 644命令不知道对ubuntu的文件夹哪些文件起了作用,之后,一下子桌面所有图标全为叉号,而且桌面背景也没有了,重启ubuntu不能正常进入ubuntu了,到现在还没有解决,郁闷的很。哎,新手啊新手,多少岁月留在无尽的探索之中……)
希望能得到管理员的回应,谢谢。
回复
2008年05月06日 星期二 11:03 上午
[...] 修正了独立的圆提交的#comment-6790 [...]
2008年05月11日 星期天 3:51 下午
[...] 修正了独立的圆提交的#comment-6790 [...]
2008年05月18日 星期天 12:59 上午
[...] Ubuntu Tweak 0.3.0正式发布! [...]
2008年06月05日 星期四 11:36 下午
Good 235rter2rwer23r
回复
2008年09月14日 星期天 9:33 下午