Metacity window manager - with no extra dependencies.

Under development: PCMCIA, wireless, etc.
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Metacity window manager - with no extra dependencies.

#1 Post by disciple »

I managed to compile metacity with I think no dependencies that aren't already in Puppy. I have a pet if anyone really wants it, but unfortunately the developer is right when he says that it isn't really useable when compiled with --disable-gconf. You can change themes if you want, but you don't seem to be able to do any configuration, and there are no min/max/close buttons, and a lot of windows don't display icons. He says you have to hard-code preferences, but I guess you have to find them first :)

---Edit---
Aha - I talked to the Metacity guy and apparently the lack of buttons IS a bug. He's asked me to fill a report requesting a --disable-gnome-doc-utils option as well, so if we're lucky Metacity might become compilable without any hacking :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

gconf is not a very heavy dependency. It's one of the first things you compile for gnome -almost everything else depends on it, but it only needs a couple of things like maybe orbit2.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

What is metacity? What is it for? What is it supposed to do? :?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#4 Post by Lobster »

Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#5 Post by disciple »

Sorry Flash, I should have mentioned - Metacity is the default Gnome window manager, and at one stage the Gimp people said it was the only WM that correctly handled utility windows and stuff. Xfwm seems to me to handle them correctly, but personally I'm not that keen on needing xfce just to manage my windows correctly.
gconf is not a very heavy dependency.
I'm surprised you say that Amigo, since you are such a fan of lightweight things. I find it really annoying needing orbit :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#6 Post by ttuuxxx »

disciple wheres the package?? I've been wanting Metacity for ages, and Gconf is pretty small, here's a package I made a few months back.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#7 Post by ttuuxxx »

oh if you need Orbit here's that packages also, they both were compiled on puppy 4
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#8 Post by amigo »

disciple, I just meant that, comparitively, gconf doesn't have many dependencies. And the ones it does have may be needed by other high-level GTK2 or low-level gnome programs.
Though I might not use this myself, I just wanted to help someone else who might. I spent a lot of time coming up with a set of entry-level gnome libs which would provide compatibility for many gnome programs. The version I have ob line is just for gnome-2.10 but may still be of use for some folks:
http://distro.ibiblio.org/pub/linux/dis ... MPAT-2.10/
The GNOME-COMPAT series is supposed to have enough libs to get you going with abiword, gnumeric or many other 'gnomish' programs which don't require all of gnome.
I later worked out a similar set for gnome.2.14, but have never uploaded them. I also have a similar set for gnome-1.4 here:
http://distro.ibiblio.org/pub/linux/dis ... Gnome-1.4/

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#9 Post by magerlab »

metacity is used in austrumi ( with lxpanel)
and i think it support compisite effects also

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#10 Post by disciple »

OK, just for you Ttuuxxx I've compiled it with gconf support. I tested, and it works, but you'll have to figure out how to configure it, as it still doesn't have maximise/minimise/close buttons by default, and doesn't know where to look for icons or know about Alt-tab or anything (I tested the gconf configuration with `gconftool-2 --type=string --set /apps/metacity/global_keybindings/switch_windows '<Alt>Tab'`, which worked). I'm wondering if maybe that package doesn't set up gconf properly, and it isn't looking for the schemas file?
and i think it support compisite effects also
It does, but I compiled without the compositor or xrender as the libs aren't in puppy. I can compile with them if someone has packaged the libs, otherwise I don't have enough motivation to compile them myself :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#11 Post by ttuuxxx »

Thanks disciple

I'll give a go in a few days after I reboot clean again, I'm working on 4.2 and don't want to complicate issues :)
I'll try to get going maybe on the weekend. Hopefully by then I would be on track again.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#12 Post by disciple »

BTW I think by mistake I packaged metacity-dialog in /usr/bin instead of /usr/lib.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#13 Post by ttuuxxx »

disciple wrote:OK, just for you Ttuuxxx I've compiled it with gconf support. I tested, and it works, but you'll have to figure out how to configure it, as it still doesn't have maximise/minimise/close buttons by default, and doesn't know where to look for icons or know about Alt-tab or anything (I tested the gconf configuration with `gconftool-2 --type=string --set /apps/metacity/global_keybindings/switch_windows '<Alt>Tab'`, which worked). I'm wondering if maybe that package doesn't set up gconf properly, and it isn't looking for the schemas file?
and i think it support compisite effects also
It does, but I compiled without the compositor or xrender as the libs aren't in puppy. I can compile with them if someone has packaged the libs, otherwise I don't have enough motivation to compile them myself :)
lol sorry about the verrrrrrrrrry slow response, I went back to it and below is a image of maximise/minimise/close buttons by default you just need to run in a terminal
gconftool-2 --set /apps/metacity/general/button_layout --type string "menu:minimize,maximize,close"
then keep your settings located in /root/.gconf/apps/metacity
ttuuxxx
Attachments
metacity.jpg
(13.95 KiB) Downloaded 6355 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#14 Post by dejan555 »

Hey ttuuxxx, thanks for bringing this thread up to the surface :)
I've always wanted to properly set metacity and since dpup already has gconf tools I installed disciple's pet and your command for setting buttons worked!
Surprisingly, it's one of the most used WMs as it's part of gnome and many distributions but documentation for it seems hard to find they all mention some gui setup tools and there's no actual official page for some manual.
I found out how to switch themes with gconf here's the page that has some info on it:
http://git.gnome.org/browse/metacity/tree/README

BTW, is there a way to add shade button to metacity, is that a feature at all?
EDIT: Nevermind, I've found the command for setting shade on titlebar double click:

Code: Select all

gconftool-2 --type string --set /apps/metacity/general/action_double_click_titlebar toggle_shade
Here's screenie with metacity and lxpanel running on dpup, click to enlarge:

Image
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#15 Post by ttuuxxx »

dejan555 wrote:Hey ttuuxxx, thanks for bringing this thread up to the surface :)
I've always wanted to properly set metacity and since dpup already has gconf tools I installed disciple's pet and your command for setting buttons worked!
Funny the only reason why I brought this back to life was because I was secretly adding metacity to 2.14X, :) check this out and even has a custom Metacity GUI
http://murga-linux.com/puppy/viewtopic. ... 292#444292
:)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#16 Post by dejan555 »

Nice ttuuxxx, I'll try this one with xfce panel
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#17 Post by ttuuxxx »

dejan555 wrote:Nice ttuuxxx, I'll try this one with xfce panel
The nice part you can always just reuse the theme Metacity theme setter located /usr/bin/metacity-setter since its a bash file it will work on any puppy with metacity on it :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#18 Post by disciple »

Why are you using metacity with the xfce panel? If you're going to include the xfce libs surely you might as well just use xfwm...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#19 Post by dejan555 »

I'll just enable iconified windows on pinboard and maybe add stalone tray and simple puppy menu :P
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#20 Post by ttuuxxx »

disciple wrote:Why are you using metacity with the xfce panel? If you're going to include the xfce libs surely you might as well just use xfwm...
The reason why is that it lakes less resources. Metacity uses about the same resources as one xfce taskbar plugin, the second reason is that it has hundreds of excellent themes and 2.14X has a custom metacity theme selector that works really well, as soon as you click a theme, it automatically sets.
Themes can be downloaded at http://gnome-look.org/index.php?xconten ... 6b5b9944a1
Attachments
shot.jpg
(51.01 KiB) Downloaded 2017 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply