Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 03:58
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Metacity window manager - with no extra dependencies.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [32 Posts]   Goto page: 1, 2, 3 Next
Author Message
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Fri 30 Jan 2009, 09:34    Post subject:  Metacity window manager - with no extra dependencies.
Subject description: Default Gnome window manager
 

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 Smile

---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 Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2261

PostPosted: Sat 07 Feb 2009, 13:59    Post subject:  

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.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11121
Location: Arizona USA

PostPosted: Sat 07 Feb 2009, 22:50    Post subject:  

What is metacity? What is it for? What is it supposed to do? Confused
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 07 Feb 2009, 23:27    Post subject:  

Window Manager, Flash Smile
http://en.wikipedia.org/wiki/Metacity

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Sun 08 Feb 2009, 00:33    Post subject:  

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.
Quote:
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 Smile
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10826
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 08 Feb 2009, 02:22    Post subject:  

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
GConf-2.22.0-i386.pet
Description 
pet

 Download 
Filename  GConf-2.22.0-i386.pet 
Filesize  747.97 KB 
Downloaded  591 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10826
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 08 Feb 2009, 02:26    Post subject:  

oh if you need Orbit here's that packages also, they both were compiled on puppy 4
ttuuxxx
ORBit2-2.14.13-i386.pet
Description 
pet

 Download 
Filename  ORBit2-2.14.13-i386.pet 
Filesize  1.1 MB 
Downloaded  653 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2261

PostPosted: Sun 08 Feb 2009, 04:47    Post subject:  

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/distributions/amigolinux/download/Extra/GNOME-COMPAT-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/distributions/amigolinux/download/Extra/Gnome-1.4/
Back to top
View user's profile Send private message 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Sun 08 Feb 2009, 07:06    Post subject:  

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

_________________
skype: desafimager
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Mon 09 Feb 2009, 06:39    Post subject:  

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?

Quote:
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 Smile
metacity-svn.pet
Description 
pet

 Download 
Filename  metacity-svn.pet 
Filesize  494.8 KB 
Downloaded  546 Time(s) 

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10826
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 09 Feb 2009, 18:48    Post subject:  

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 Smile
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 Smile
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: Mon 09 Feb 2009, 23:40    Post subject:  

BTW I think by mistake I packaged metacity-dialog in /usr/bin instead of /usr/lib.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10826
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 19 Aug 2010, 12:18    Post subject:  

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?

Quote:
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 Smile


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
metacity.jpg
 Description   
 Filesize   13.95 KB
 Viewed   1689 Time(s)

metacity.jpg


_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
dejan555


Joined: 30 Nov 2008
Posts: 2686
Location: Montenegro

PostPosted: Fri 20 Aug 2010, 12:40    Post subject:  

Hey ttuuxxx, thanks for bringing this thread up to the surface Smile
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:
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:


_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
ttuuxxx


Joined: 05 May 2007
Posts: 10826
Location: Ontario Canada,Sydney Australia

PostPosted: Sun 22 Aug 2010, 08:14    Post subject:  

dejan555 wrote:
Hey ttuuxxx, thanks for bringing this thread up to the surface Smile
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, Smile check this out and even has a custom Metacity GUI
http://murga-linux.com/puppy/viewtopic.php?p=444292#444292
Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 3 [32 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1630s ][ Queries: 12 (0.0811s) ][ GZIP on ]