|
如题。是按照http://fedoraproject.org/wiki/RenderingProject/AiglxOnFedora
做的。
下面两步没做,因为看不懂是什么意思。
1‘Note: [[WWW] Zenity] doesn't have a yes/no option as of now. Zenity is included in your Fedora Core installation.
2’Diego Torres Milano has a python implementation of the dialog box that has Yes and No buttons:
#! /usr/bin/env python
#----------------------------------------------------------------------
# Copyright (C) 2006 by Diego Torres Milano <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA
#----------------------------------------------------------------------
import gtk
import gconf
q = gtk.MessageDialog(type=gtk.MESSAGE_QUESTION,
buttons=gtk.BUTTONS_YES_NO)
q.set_markup('Do you want to turn ON the AIGLX Service ?')
gconf.client_get_default().set_bool(
'/apps/metacity/general/compositing_manager',
(q.run() == gtk.RESPONSE_YES))
which can be installed in the nautilus script folder in a similar way.
这是日志信息。
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.9-34.ELsmp i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686
Build Date: 07 August 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 6 22:44:21 2006
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 98 of section Device in file /etc/X11/xorg.conf
"and" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file
Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor |
|