You are not logged in.
I am trying to get Compiz up and running with Xfce 4.10, but the wiki seems to be a bit outdated here.
I want to use Compiz without starting Xfwm first + without fusion-icon.
Arch wiki suggests to edit the
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xmlThe problem is that the file no longer has such format as proposed in the wiki.
The wiki tells you to find this:
<property name="Client0_Command" type="array">
<value type="string" value="xfwm4"/>
</property>And replace it with the following:
<property name="Client0_Command" type="array">
<value type="string" value="compiz"/>
<value type="string" value="ccp"/>
</property>The problem is that there are no such things in the current form of the "xfce4-session.xml" file, as the present version looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
<property name="general" type="empty">
<property name="FailsafeSessionName" type="empty"/>
<property name="SessionName" type="string" value="Default"/>
<property name="SaveOnExit" type="bool" value="true"/>
</property>
<property name="sessions" type="empty">
<property name="Failsafe" type="empty">
<property name="IsFailsafe" type="empty"/>
<property name="Count" type="empty"/>
<property name="Client0_Command" type="empty"/>
<property name="Client0_PerScreen" type="empty"/>
<property name="Client1_Command" type="empty"/>
<property name="Client1_PerScreen" type="empty"/>
<property name="Client2_Command" type="empty"/>
<property name="Client2_PerScreen" type="empty"/>
<property name="Client3_Command" type="empty"/>
<property name="Client3_PerScreen" type="empty"/>
<property name="Client4_Command" type="empty"/>
<property name="Client4_PerScreen" type="empty"/>
</property>
</property>
<property name="splash" type="empty">
<property name="Engine" type="empty"/>
</property>
</channel>The only solution to this that I can think of is to try and match the old things with the new ones, something like this:
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
<property name="general" type="empty">
<property name="FailsafeSessionName" type="empty"/>
<property name="SessionName" type="string" value="compiz"/>
<property name="SaveOnExit" type="bool" value="true"/>
</property>
<property name="sessions" type="empty">
<property name="Failsafe" type="empty">
<property name="IsFailsafe" type="empty"/>
<property name="Count" type="empty"/>
<property name="Client0_Command" type="empty"/>
<property name="Client0_PerScreen" type="empty"/>
<property name="Client1_Command" type="empty"/>
<property name="Client1_PerScreen" type="empty"/>
<property name="Client2_Command" type="empty"/>
<property name="Client2_PerScreen" type="empty"/>
<property name="Client3_Command" type="empty"/>
<property name="Client3_PerScreen" type="empty"/>
<property name="Client4_Command" type="empty"/>
<property name="Client4_PerScreen" type="empty"/>
</property>
</property>
<property name="splash" type="empty">
<property name="Engine" type="empty"/>
</property>
</channel>So basically replace:
<property name="SessionName" type="string" value="Default"/>with this:
<property name="SessionName" type="string" value="compiz"/>But I have no idea if this is going to work at all and would like to ask here, before I do anything serious.
Thank you, you help is much appreciated,
P.S. I will update the wiki accordingly once this gets resolved - for other users.
EDIT: SOLVED - Advice from the wiki works, just there's not the following:
<property name="Client0_Command" type="array">
<value type="string" value="xfwm4"/>
</property>Instead you'll have to find:
<property name="Client0_Command" type="empty"/>(usually around line 13)
And replace it with the following from the wiki:
<property name="Client0_Command" type="array">
<value type="string" value="compiz"/>
<value type="string" value="ccp"/>
</property>Last edited by MatejLach (2012-09-03 19:23:11)
Offline
The line
<property name="Client0_Command" type="empty"/>should be altered in
<property name="Client0_Command" type="array">
<value type="string" value="compiz"/>
<value type="string" value="ccp"/>
</property>It will work, i tried yesterday ![]()
The fact is that now that config is made in "/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml" for every user. But if you want to change this behaviour only for your user, the above will work.
Offline
The line
<property name="Client0_Command" type="empty"/>should be altered in
<property name="Client0_Command" type="array"> <value type="string" value="compiz"/> <value type="string" value="ccp"/> </property>It will work, i tried yesterday
The fact is that now that config is made in "/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml" for every user. But if you want to change this behaviour only for your user, the above will work.
Solved, thanks.
Last edited by MatejLach (2012-09-03 19:00:48)
Offline
NEW PROBLEM - As am going thru the Compiz wiki, I saw that this is needed for it to work flawlessly:
Intel GMA Cards
If you are using an Intel GMA card with AIGLX, you will need to start Compiz with LIBGL_ALWAYS_INDIRECT=1 prepended to the command line and run compiz with the --indirect-rendering option, as with the following example:
LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp &Source: http://wiki.compiz.org/Troubleshooting#Intel_GMA_Cards
I have Intel HD 3000 integrated laptop GPU.
What is the best way to run this command automatically, without fusion-icon and without two Compiz processes running (the old and the new one?)
Thanks for any advice.
EDIT: I mean .xinitrc works fine, but I wish there was a more "elegant" solution to this.
Last edited by MatejLach (2012-09-03 19:22:31)
Offline
I think you should be able to change
<property name="Client0_Command" type="array">
<value type="string" value="compiz"/>
<value type="string" value="ccp"/>
</property>in
<property name="Client0_Command" type="array">
<value type="string" value="LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz"/>
<value type="string" value="ccp"/>
</property>But i never tried before, so let me know if it works!
Offline