Inspirated

 
 

October 17, 2009

HOWTO: Integrate Compiz Fusion with Xfce the right way

Filed under: Blog — krkhan @ 10:03 pm

In past, I had always struggled to find the “correct” way of launching Compiz Fusion while starting Xfce. For a while, I had resorted to the easiest — and not perhaps the prettiest — way of launching Fusion Icon with the desktop autostart files. The problem with this method lied in the fact that Xfwm was launched before Fusion, and the most glaring workaround was to write my own xinitrc files for X startup, which was just uglier anyway.

Xfce’s own documentation is as bare as my memory while running it, so the right way was not actually obvious until I was fiddling around my configuration directory a few days ago. There, I found an interesting file named xfce4-session.xml. To truly exploit this lovely thing, I first copied it into my home configuration directory:

[krkhan@orthanc ~]$ cp /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml

And then edited the file with a text-editor, making it look something like:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-session" version="1.0">
  <property name="general" type="empty">
    <property name="FailsafeSessionName" type="string" value="Failsafe"/>
    <property name="SessionName" type="string" value="Default"/>
    <property name="SaveOnExit" type="bool" value="false"/>
  </property>
  <property name="sessions" type="empty">
    <property name="Failsafe" type="empty">
      <property name="IsFailsafe" type="bool" value="true"/>
      <property name="Count" type="int" value="5"/>
      <property name="Client0_Command" type="array">
        <value type="string" value="fusion-icon"/>
        <value type="string" value="--force-compiz"/>
      </property>
      <property name="Client0_PerScreen" type="bool" value="false"/>
      <property name="Client1_Command" type="array">
        <value type="string" value="xfce4-panel"/>
      </property>
      <property name="Client1_PerScreen" type="bool" value="false"/>
      <property name="Client2_Command" type="array">
        <value type="string" value="Thunar"/>
        <value type="string" value="--daemon"/>
      </property>
      <property name="Client2_PerScreen" type="bool" value="false"/>
      <property name="Client3_Command" type="array">
        <value type="string" value="xfdesktop"/>
      </property>
      <property name="Client3_PerScreen" type="bool" value="false"/>
      <property name="Client4_Command" type="array">
        <value type="string" value="xfce4-settings-helper"/>
      </property>
      <property name="Client4_PerScreen" type="bool" value="false"/>
    </property>
  </property>
  <property name="splash" type="empty">
    <property name="Engine" type="string" value=""/>
  </property>
</channel>

Lines 13-15 initially referred to Xfwm’s commands, but replacing them with the Fusion Icon ones worked like a charm. This way, Fusion is always guaranteed a launch, which actually wasn’t the case with other workarounds.

Tags: , , , , , , ,

March 19, 2009

Video: The Centenary Rant — X11tasy

Filed under: Blog — krkhan @ 7:10 pm

The 100th post, and considering that the most popular ones on the blog so far have been screencasts, there wouldn’t have been a better way to commemorate the occasion than editing a short music-video which would demonstrate the prowess of Linux on desktop.

Tags: , , , , , , , , , ,

February 10, 2008

Video: Freewins — the obscure gem

Filed under: Blog — krkhan @ 1:18 am

While wandering around Compiz-Fusion forums, I just came across this really neat (and kickass) plugin which surprisingly hasn’t yet made it into the mainstream packages. Titled Freewins, it allows you amazing control over shape and positioning of individual windows. Don’t get what I’m saying? Check this out:

Link Playable by Resolution Size
Freewins.mp4 iPod, QuickTime, MPlayer, VLC Media Player 320×240 468 KB
Video screenshot #1

Each and every window can now easily be scaled as well as rotated around horizontal and vertical axes. You can now place your windows on top of each other like an actual physical stack when you don’t need them. You can transform your pictures and videos along an axis with the click of a button. Heck, you can even cure cancer with eye-candy like this — or so I’ve heard.

Tags: , , , , , , ,

October 17, 2007

Video: Compiz-Fusion — first impressions

Filed under: Blog — krkhan @ 3:37 pm

“We live only to discover beauty. All else is a form of waiting.” — Khalil Gibran

Link Playable by Resolution Size
Compiz-Fusion.mp4 iPod, QuickTime, MPlayer, VLC Media Player 320×240 1.19 MB
Compiz-Fusion.mpg Windows Media Player, MPlayer, VLC Media Player 352×288 10.21 MB
Compiz-Fusion.ogg MPlayer, VLC Media Player 1280×960 28.35 MB
Video screenshot #1 Video screenshot #2
Video screenshot #3 Video screenshot #4
Setup
Distribution Linux From Scratch
Desktop Environment Xfce
Window Manager Compiz-Fusion
Tags: , , , , , , , , , , ,