[dwm] dwm and gnome

From: pancake <pancake_AT_youterm.com>
Date: Fri, 21 Dec 2007 23:08:06 +0100

In a box of my parent's home I have an ubuntu box with gnome.
They feel comfortable with metacity because it doesn't needs
to learn any keybinding, but when i'm using it I feel really
uncomfortable and I have to use dwm.

I have decided to try to adapt dwm to fit with metacity and
gnome-menu and make it boot dwm instead of metacity.

Copypasta these lines to avoid metacity:

 gconftool --type string -s /desktop/gnome/applications/window_manager/current /usr/bin/dwm
 gconftool --type string -s /desktop/gnome/applications/window_manager/default /usr/bin/dwm

When gnome-session boots gnome-panel/dwm/nautilus it comes into
a broken environment.. The nautilus --desktop starts as a fullscreen
floating window so, it hides the dwm statusbar and the gnome-panel
gets focus, so the desktop is on top and unfocused.. So you have to
alt+j, alt+return.

What I propose is to force the metacity desktop window to be tiled.
I have tried to add a rule for it getting the window title with xwininfo
and inserting a row inside the rules array:

Rule rules[] = {
        /* class:instance:title regex tags regex isfloating */
        { "Firefox", "www", False },
        { "Escritorio", NULL, False },
 ...

You should use "Desktop" instead.

The problem is that this rule is ignored ://

So we can try to figure why this happens, or try to find to avoid fullscreen
floating windows overlap the statusbar (so , we have alt+b to fix this)..

Another strange thing I see is that the desktop window has no border.
the same happens with openoffice and some splash screen windows. Is
this a normal issue?

The window list menu bar and notification area doesn't works.

About the gnome-panel...the default desktop menu gets something inusable
because its handled as a normal tiled window, and I think they should be
floating and borderless or implementing a static area in dwm to make all
'static' windows live there. Something like this:

+-----------+ -> dwm status bar
| | |
| |-----| -> tiled area
| | |
|_____|_____|
+-----------+ -> static area

This way we can allow windows with a certain title be stacked there like
the cpt patch does to avoid interfering with other windows.

Not only for gnome, but this way we can provide hybrid environment with
tiled desktop and menubar and will be compatible with any available desktop
environment or menu implementation.

I can add a new tag called 'desktop' replacing the first one and it can
be accessed by toggling the first tag (ctrl+alt+1). This feature comes
extremely productive when using (alt+tab).

What do you think about all this random brainstorming?

--pancake
Received on Fri Dec 21 2007 - 21:28:38 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:13:38 UTC