jilingshu
May 26th, 2010, 06:16
hi all,
I wanna to change my default Window Manager from Metacity to Compiz-Fusion. I have searched this forum and Google and got one solution, add this line into ~/.xinitrc :
export WINDOW_MANAGER=/usr/local/bin/compiz
But I tried that and there is no effect.
My whole ~/.xinitrc is :
[bear@bear /usr/home/bear]$ cat ./.xinitrc
export LANG=zh_CN.UTF-8
export WINDOW_MANAGER=/usr/local/bin/compiz
exec gnome-session
[bear@bear /usr/home/bear]$
Could you help me?
BTW:I wanna change default window manager is while I starting compiz with cmdline:
compiz --replace --sm-disable --ignore-desktop-hints ccp &
emerald --replace &
I will got a lot of error messages in tty1 and these messages repeat constantly until I terminate my Xorg :
Window manager warning: Failed to read saved session file /home/bear/.config/met
acity/sessions/108d3656ea172b26f127485085969296200000040160015.ms : Failed to ope
n file '/home/bear/.config/metacity/sessions/108d3656ea172b26f127485085969296200
000040160015.ms': No such file or directory
Window manager warning: Screen 0 on display ":0.0" already has a window manager;
try using the --replace option to replace the current window manager.
Window manager warning: Failed to read saved session file /home/bear/.config/met
acity/sessions/108d3656ea172b26f127485085969296200000040160015.ms : Failed to ope
n file '/home/bear/.config/metacity/sessions/108d3656ea172b26f127485085969296200
000040160015.ms': No such file or directory
Window manager warning: Screen 0 on display ":0.0" already has a window manager;
try using the --replace option to replace the current window manager.
Window manager warning: Failed to read saved session file /home/bear/.config/met
acity/sessions/108d3656ea172b26f127485085969296200000040160015.ms : Failed to ope
n file '/home/bear/.config/metacity/sessions/108d3656ea172b26f127485085969296200
000040160015.ms': No such file or directory
Window manager warning: Screen 0 on display ":0.0" already has a window manager;
try using the --replace option to replace the current window manager.
Window manager warning: Failed to read saved session file /home/bear/.config/met
acity/sessions/108d3656ea172b26f127485085969296200000040160015.ms : Failed to ope
n file '/home/bear/.config/metacity/sessions/108d3656ea172b26f127485085969296200
000040160015.ms': No such file or directory
Window manager warning: Screen 0 on display ":0.0" already has a window manager;
try using the --replace option to replace the current window manager.
What shall I do? thx!!
I wanna to change my default Window Manager from Metacity to Compiz-Fusion. I have searched this forum and Google and got one solution, add this line into ~/.xinitrc :
export WINDOW_MANAGER=/usr/local/bin/compiz
But I tried that and there is no effect.
My whole ~/.xinitrc is :
[bear@bear /usr/home/bear]$ cat ./.xinitrc
export LANG=zh_CN.UTF-8
export WINDOW_MANAGER=/usr/local/bin/compiz
exec gnome-session
[bear@bear /usr/home/bear]$
Could you help me?
BTW:I wanna change default window manager is while I starting compiz with cmdline:
compiz --replace --sm-disable --ignore-desktop-hints ccp &
emerald --replace &
I will got a lot of error messages in tty1 and these messages repeat constantly until I terminate my Xorg :
Window manager warning: Failed to read saved session file /home/bear/.config/met
acity/sessions/108d3656ea172b26f127485085969296200000040160015.ms : Failed to ope
n file '/home/bear/.config/metacity/sessions/108d3656ea172b26f127485085969296200
000040160015.ms': No such file or directory
Window manager warning: Screen 0 on display ":0.0" already has a window manager;
try using the --replace option to replace the current window manager.
Window manager warning: Failed to read saved session file /home/bear/.config/met
acity/sessions/108d3656ea172b26f127485085969296200000040160015.ms : Failed to ope
n file '/home/bear/.config/metacity/sessions/108d3656ea172b26f127485085969296200
000040160015.ms': No such file or directory
Window manager warning: Screen 0 on display ":0.0" already has a window manager;
try using the --replace option to replace the current window manager.
Window manager warning: Failed to read saved session file /home/bear/.config/met
acity/sessions/108d3656ea172b26f127485085969296200000040160015.ms : Failed to ope
n file '/home/bear/.config/metacity/sessions/108d3656ea172b26f127485085969296200
000040160015.ms': No such file or directory
Window manager warning: Screen 0 on display ":0.0" already has a window manager;
try using the --replace option to replace the current window manager.
Window manager warning: Failed to read saved session file /home/bear/.config/met
acity/sessions/108d3656ea172b26f127485085969296200000040160015.ms : Failed to ope
n file '/home/bear/.config/metacity/sessions/108d3656ea172b26f127485085969296200
000040160015.ms': No such file or directory
Window manager warning: Screen 0 on display ":0.0" already has a window manager;
try using the --replace option to replace the current window manager.
What shall I do? thx!!