Using Xfce4 on my Debian-using Powerbook, rejecting Gnome+Mono

Tuesday, December 22nd, 2009

Gnome on Debian, installed using the meta-package, pulls in Mono. You used to be able to bypass this requirement by installing gnote instead of Tomboy, but Gnome now pulls in many other Mono-using apps, of which there are better replacements.

Since I feel Mono is bloated, slow, and anti-FOSS and Debian doesn’t want to remove the Mono requirement (although, yes, I can just not use the meta-package, but that’s just broken behavior), I have decided to try alternatives.

I purged Gnome the hard way by removing libgtk2 and libglib2 and doing several rounds of deborphan --guess-all | xargs apt-get remove combined with apt-get autoremove. In the long run this removed tons of crap I never used.

Next, I installed Xfce with apt-get install xfce4 xfce4-goodies xorg desktop-base tango-icon-theme xfprint4, and also did apt-get install iceweasel pidgin gwibber network-manager-gnome vim-gtk gtk-engines to get the apps I really did want installed. I also installed Slim as a replacement for GDM.

I changed my GTK, Xfwm, and icon themes to “Clearlooks”, “Default-4.4″, and “Tango” respectively. I set The Xfce Session Manager imported my Gnome Session Manager configuration, so apps I have set to startup on session start was maintained.

I also added the app launchers I had on my Gnome panel to the Xfce panel and moved the virtual desktop chooser to the far left, set my panel to be 24 pixels tall, and enabled composting inside Xfwm.

So, after doing all that, I have to say… everything is faster. Gnome had requirements that caused several daemons to start on boot, which increased the time between bootloader and X start, and GDM takes several more times longer to start than Slim. Xfce also starts near instantly compared to Gnome, yet it has the same functionality.

If I had actually bothered to time it, I would not be surprised if I get a usable desktop in half the time I did with Gnome. Xfce is clearly a better product with a lot less bloat.

Also, memory usage wise, I can run Xfce plus X, Pidgin, and NetworkManager in under 200 megs of RAM. Gwibber uses roughly 150 (I think it might be leaking), and Firefox being open with a single tab open uses around 75. A useful Linux desktop doesn’t have to be a bloated mess.

Update: I swapped out NetworkManager for WICD. WICD in total uses less RAM and doesn’t have the hald dependency. Once Xfce’s Power Manager switches to use the new API instead of through hald, that’ll be one less thing to load on boot (it wastes time, not memory).

I need to find a good replacement for Gwibber though, it leaks like crazy. I’ve been running it almost 11 days now, and it’s using a 1gb of memory.

5 years

Saturday, November 21st, 2009

Ad Terras Per Aspera is now 5 years old, and I’m still writing for this blog.

Olympia Snowe does not represent the people of Maine

Wednesday, September 30th, 2009

Olympia Snowe has voted against the public option, she has voted against the American people, and she has proven again and again that she does not take her job seriously.

This ad from Progressive Change Campaign Committee is currently being run in Maine and DC because she should not be holding her Senate seat and she should vacate it immediately and let the people of Maine choose someone who wants to see America last another 200 years.

To be honest, I am very angry. She was elected to serve the people several times, and I can’t remember once when she has actually done this. She serves private interest groups, she votes for wars, she does everything in her power to keep the American people down.

People like her mention 9/11 over and over… but every time she votes against the American people, every time she votes for the war, every time she votes against better health care and better education and better national security through diplomacy and transparency, the terrorists win just a little more.

RMS is now cool again

Friday, September 25th, 2009

RMS has seen the light.

The conversation shifted towards Microsoft’s new Open Source labs, and in response to a question by Owens, Stallman noted that Miguel de Icaza “is basically a traitor to the Free Software community”. He also added that De Icaza is a Microsoft apologist, hence his involvement in the new Open Source labs does not inspire confidence.

I take back what I said about RMS earlier, he does, in fact, understand Mono and anything related to C#/.Net is unwanted in FOSS-land.

Also, why is Thom Holwerda shilling for Microsoft so hard? The rest of the article is almost unreadable there.

Ivy and Sun’s Java.net Maven repo

Thursday, September 24th, 2009

I want to use Sun’s Java.net Maven repo with Ivy, and this is not documented well anywhere.

In ivysettings.xml (Ivy will automatically use it) put:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ivysettings>
<ivysettings>
  <settings defaultResolver="chained" />
  <property name="java.net.maven.pattern"
    value="[organisation]/jars/[module]-[revision].[ext]" />
  <resolvers>
    <chain name="chained" returnFirst="true">
      <ibiblio name="ibiblio" m2compatible="true" />
      <ibiblio name="java-net-maven2"
        root="http://download.java.net/maven/2/"
        m2compatible="true" />
      <ibiblio name="java-net-maven1"
        root="http://download.java.net/maven/1/"
        pattern="${java.net.maven.pattern}"
        m2compatible="false" />
    </chain>
  </resolvers>
</ivysettings>

Now you can make an ivy.xml with dependencies like <dependency org="com.sun.grizzly" name="grizzly-http" rev="2.0.0-SNAPSHOT"/> and have it work right.