You are not logged in.

#1 2009-04-16 15:39:56

rafaelgp
Member
From: Leicester UK
Registered: 2009-02-16
Posts: 28
Website

XFCE4-Gnome with PEKWM

Hello Archers!

I have been using PEKWM for a month and I really love it. I feel really confortable moving, resizing and tabbing windows quickly.
I have tried to recreate all the things I used when I had XFCE4, like a bottom panel with the aplications icons, a pager, a dock, a clock, etc... But after try a wide range of applications (pypanel, tint2, bmpanel, ipager, trayer, cairo, avant and so on)  I just realised that what I really want is XFCE4 with Pekwm (instead of XFwm).
Is this really possible?
I've been googling and reading for an hour and but I have't found what exactly need to include in my xinitrc file.

This guy got it working using wolvix so I should be able to do it too using Arch: http://forums.wolvix.org/index.php?topic=1292

Thank you very much in advance

Last edited by rafaelgp (2009-04-16 22:46:15)

Offline

#2 2009-04-16 19:33:00

rafaelgp
Member
From: Leicester UK
Registered: 2009-02-16
Posts: 28
Website

Re: XFCE4-Gnome with PEKWM

Does anyone heard that you must never go to swim after eating something? Is that really true?
I also have heard that XFCE4 is faster and less RAM demanding than Gnome... but is this really true?
I have made a completely amateur test comparing the amount of RAM used by Pekwm with XFCE4-panel, Xfce4 and Gnome.
The results are in % of memory used (according to conky) I tested one, then modified my xinitrc, then restarted and so on.  And I did this twice just in case.
First I did it with averything closed:

                        First time     Second time
Pekwm+XFCE4       8%                 7%
XFCE4                   7%                  8%
Gnome                  9%                  10%

Then I tried opening Eclipse, probably the heaviest application I run in my computer

                        First time     Second time    Third time
Pekwm+XFCE4      26%                 25%
XFCE4                   27%                 29%
Gnome                  30%                 25%          29%

First time, as I expected, pekwm was the less RAM demending, but percentages were quite similar. I didn't notice any difference talking about speed.
Then I did it again and suprisingly Gnome used less RAM than XFCE and same as Pekwm. So I did it a third time just to have a proper average.

This is just a quick rubish test, I know. But the RAM ussage was something it really put me down about using Gnome and now I know that it really doesn't matter, at least in my case (I have 1.9GB RAM).

After this revelation, I think I am going to use Gnome. But I still like Pekwm, so I change my question:

----> Is it possible to use Pekwm with Gnome?

Offline

#3 2009-04-16 21:43:48

rafaelgp
Member
From: Leicester UK
Registered: 2009-02-16
Posts: 28
Website

Re: XFCE4-Gnome with PEKWM

I post this just in case someone else want to use Gnome + Pekwm:

My ~/.xinitrc file looks like this:


#!/bin/sh
#
# ~/.xinitrc
#
conky &
numlockx &
xset -b &
exec ck-launch-session gnome-session &
exec pekwm
#It is very important  to write pekwm the last one and without "&"

I boot directly without DM so my /etc/inittab is:

#
# /etc/inittab
#

id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

x:5:once:/bin/su rafael -l -c "/bin/bash --login -c startx >/dev/null 2>&1"

Finally, open gconftool and set:

apps>nautilus>preferences>show_desktop: untick

Note: I tried  changing the following
desktop>gnome>session>required_components>windowmanager: replace metacity by pekwm
and creating a desktop entry for PekWM as it is said in the wiki http://wiki.archlinux.org/index.php/PekWM

nano /usr/share/xsessions/Pekwm.desktop
[Desktop Entry] 
Encoding=UTF-8 
Name=PekWM
Comment=Start PekWM
Exec=/usr/local/bin/pekwm
Icon= 
Type=Application

but didn't work because /usr/local/bin is empty. Any ideas?

Althought everything is working, I have the feeling that nautilus is not entirely happy.

Last edited by rafaelgp (2009-04-16 22:14:55)

Offline

#4 2009-04-17 07:40:08

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: XFCE4-Gnome with PEKWM

rafaelgp wrote:

but didn't work because /usr/local/bin is empty. Any ideas?

$ which pekwm 
/usr/bin/pekwm

Offline

#5 2009-04-17 11:57:56

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: XFCE4-Gnome with PEKWM

For Xfce4, it's sufficient to kill xfwm4 and start pekwm, then exit and save your session. Next time you log in to Xfce4, you'll have pekwm handling the windows.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB