LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1769|回复: 8

xfce4 自动运行 compiz 问题

[复制链接]
发表于 2009-5-9 23:10:44 | 显示全部楼层 |阅读模式
自装了 compiz ,它就在启用 xfce4 会话时启动了。不论用 gdm,还是 startxfce4 都是这样,在设置的 autorun 里也没有,怎么不让它自动运行。
发表于 2009-5-9 23:57:56 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-10 00:21:04 | 显示全部楼层
Post by dammmm;1985452
compiz --replace

http://wiki.archlinux.org/index. ... compiz-fusion.22.29


我就是不想让它开机自动运行.

运行 xfce4-session 后的输出:


(nm-applet:13955): atk-bridge-WARNING **: IOR not set.

(nm-applet:13955): atk-bridge-WARNING **: Could not locate registry

(gnome-volume-manager:13957): atk-bridge-WARNING **: AT_SPI_REGISTRY was not started at session startup.

(gnome-volume-manager:13957): atk-bridge-WARNING **: IOR not set.

(gnome-volume-manager:13957): atk-bridge-WARNING **: Could not locate registry
Backend     : ini
Integration : true
Profile     : default
Adding plugin snow (snow)
Adding plugin atlantis (atlantis)
Adding plugin expo (expo)

可以看到,它加载了/etc/xdg/autostart后就加载了 compiz 了。
回复 支持 反对

使用道具 举报

发表于 2009-5-10 00:30:27 | 显示全部楼层
看 ~/.conf/xfce4-session/xfce4-session.rc 或 /etc/xfce4/default.session
有没有这个:

Client0_Command=fusion-icon 或 compiz什么的

如果已有改成
Client0_Command=xfwm4
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-10 00:34:45 | 显示全部楼层
Post by dammmm;1985463
看 ~/.conf/xfce4-session/xfce4-session.rc 或 /etc/xfce4/default.session
有没有这个:

Client0_Command=fusion-icon 或 compiz什么的

如果已有改成
Client0_Command=xfwm4


没有啊,不然我也不会问了,
回复 支持 反对

使用道具 举报

发表于 2009-5-10 00:39:26 | 显示全部楼层
把你的xfce4-session.rc 和 default.session 贴出来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-10 00:45:36 | 显示全部楼层
没有关于 xfce4 的 default.session 文件

$cat /etc/xdg/xfce4-session/xfce4-session.rc
# $Id: xfce4-session.rc 23542 2006-10-28 13:23:00Z benny $
#
# Default xfce4-session configuration file.
#
# Copyright (c) 2003-2006 Benedikt Meurer <benny@xfce.org>
# All rights reserved.
#
# 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, 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.
#


[General]
SessionName=Default
SessionName[de]=Standard
SessionName[ja]=標準

# Disable management of remote clients by default. The user
# has to explicitly enable this for security reasons.
DisableTcp=True


# This the default session launched by xfce4-session if the
# user hasn't saved any session yet or creates a new session.
[Failsafe Session]
Count=4
Client0_Command=xfwm4
Client0_PerScreen=False
Client1_Command=xfce4-panel
Client1_PerScreen=False
Client2_Command=Thunar,--daemon
Client2_PerScreen=False
Client3_Command=xfdesktop
Client3_PerScreen=False

$cat ~/.config/xfce4-session/xfce4-session.rc
[General]
SessionName=Default
SaveOnExit=false
AutoSave=false
PromptOnLogout=true
DisableTcp=true

[Compatibility]
LaunchGnome=false
LaunchKDE=false

[Chooser]
AlwaysDisplay=false

[Splash Screen]
Engine=
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-11 10:23:03 | 显示全部楼层
后来完全remove 了compiz 后运行 xfce4-session 不能运行 wm,我又 remove 了 xfce 后重装,运行还是和以前一样。最后又man 了 xfce4-session 一下,清了 cache 之后就好了。唉,还是要认真看 man 啊,

compiz 和 xfce4-panel 有点冲突!
回复 支持 反对

使用道具 举报

发表于 2011-1-4 03:25:40 | 显示全部楼层
我的情况和楼主一样的,折腾了很久都没办法。忽然想到在xfce重启时不保存Session试试,结果一试,OK了!
装了xfce4,结果发现不论怎么折腾,compiz总是随系统一起启动。gnome和xfce4里都取消了自动启动compiz,正在没办法的时候,在xfce4的 "Session和启动”当中,看到Session选项卡里compiz的优先度比xfce4-panel高,抱着试一试的想法,在重启时没有保存Session,进入系统后,一切都好了。COMPIZI没有自动运行了!

如果在“Session和启动”中勾选了“在登录时显示选择器”重启后会让你选择Session文件!不选默认的,选了默认的因为上次退出时启动了compiz,所以这回还会启动,选择重新建立一个,然后再重启时保存Session文件!就没问题了!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表