Page 1 of 1

Using kwin effects (Compiz replacement) in Xfce4

Posted: 30 Nov 2013, 15:16
by viking60
I love the Kwin desktop grid effect but I prefer Xfce4 over KDE. So I would like to have it in Xfce4.
Kwin turns out to be a great replacement of Compiz +1
The first thing I do is to copy the file to my home:

Code: Select all

cp /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml


That way it does not matter if I fubar since I can simply copy it again in that case.

Then I edit it:

Code: Select all

nano ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

And find this section:

Code: Select all

 <property name="Client0_Command" type="array">
        <value type="string" value="xfwm4""/>
      </property>

And replace xfwm4 with kwin so it looks like this:

Code: Select all

<property name="Client0_Command" type="array">
        <value type="string" value="kwin"/>
      </property>

Save and log out and log in and hit CTRL+F8 to activate the grid.

For this to work you need to install kdebase-workspace (if you do not already have KDE on your system).
Here you have Xfce4 with whisker menu and desktop grid and Window handling from Kwin.
Xfce stays lightweight and you still have those fancy efects from the way more "heavy" KDE.
:A

The distro is Manjaro in this case

If you want to switch between kwin and xfwm4 you can assign the commands

Code: Select all

kwin --replace

and

Code: Select all

xfwm4 --replace

To a button on your panel - this works well.
(Or you can simply switch between the two in a terminal)
Here I have created a button to easily switch between the two:
:A

Re: Using kwin effects (Compiz replacement) in Xfce4

Posted: 10 Dec 2013, 17:18
by viking60
Is this Gnome with compiz? Is it KDE?
Nope it is Xfce4 with kwin :-D
Image
:A

Ahh feels good to be able to present those propaganda snapshots again that makes every Windows user want to use Linux...+1