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

#21 Post by disciple »

The reason why is that it lakes less resources.
Are you sure? I thought Metacity and xfwm4 used almost identical resources. But if you could find another panel you could get rid of all the xfce libs...
Maybe something like opaco panel is worth trying... I think it should correctly handle (i.e. ignore for a panel) utility windows and things, like Metacity and Xfce: http://www.claudiocamacho.org/projects/opaco.php
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:

#22 Post by ttuuxxx »

Hi disciple thanks for taking a interest in this, 2.14X has always had about 60% of the xfce libs due to it has xfburn being included from day one and later on thunar was added to the desktop for a alternative FM, but rox is still default. The size of libs plus plugins 1124kb expanded or 474kb pet, I only keep what is actually needed to run the parts I use, compared to last xfce desktop pet on puppy was around 6MB compressed. That would be too large.
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
upnorth
Posts: 287
Joined: Mon 11 Jan 2010, 19:32
Location: Wisconsin UTC-6 (-5 DST)
Contact:

metacity

#23 Post by upnorth »

I installed the metacity pet in lupq and ran it with tint2, it works fine - no menu though. But, this little gem works:

http://murga-linux.com/puppy/viewtopic. ... 615#440615

Just installed the theme-setter pet too.Time to try out the new 214X.

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

#24 Post by dejan555 »

I played with Simple Puppy Menu by aragon here:
http://www.murga-linux.com/puppy/viewtopic.php?t=51138

I made a systray icon for it to launch it from tray using this code from Barry's blog: http://bkhome.org/blog/?viewDetailed=01489 so it can be used to embed menu in systray on panels such as tint2 and stalonetray, here's a pet, after installing aragon's SPM and this pet just run spm-tray to launch it.
Attachments
spm-systray.pet
(2.99 KiB) Downloaded 560 times
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
upnorth
Posts: 287
Joined: Mon 11 Jan 2010, 19:32
Location: Wisconsin UTC-6 (-5 DST)
Contact:

thanks!

#25 Post by upnorth »

Thanks! Great tray app - does the job.

I got it so it only launches for the metacity & tint2 combination:

added to .xinitrc just below the fbpanel & lxpanel stuff:

Code: Select all

if [ "$CURRENTWM" != "jwm" -a "$CURRENTWM" != "icewm" ];then
 if [ -f /usr/bin/tint2 ];then
  tint2 &
  if [ "$CURRENTWM" != "openbox" ];then
   spm-tray &
  fi
 fi
fi
Its a little convoluted though - lxpanel, fbpanel, tint2 - looks like they would all get launched if they all existed. 8)

User avatar
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#26 Post by clarf »

Hi,

I liked metacity in 214X-top3 but Xface panel seems big. I tried some combinations, finally found one that meet my requirements metacity with lxpanel.

lxpanel 0.5.5 takes almost same resources than metacity (look in htop)

In the attached picture you can see lxpanel in action, supports transparency even in tray icon and plugins, also has nice plugins (in the picture form left to right: volume control, Network Status, Clock, CPU Monitor), a taskbar, desktop pager, launcher and Menu.

It´s very fast and includes a control Panel. Even the Dropbear Server icons is displayed correctly.

Note 1: lxpanel crashed when I tried to change its position and JWM was active, no problems found with metacity.

Note2: upnorth, In my opinion the code should be modified to take advantage of PATH environment variable:

Code: Select all

 if [ "´which tint2´" != "" ]; then
tint2 &
also adding a small delay before run the WM could be needed

clarf

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

#27 Post by disciple »

The main disadvantage of LXpanel is that (last time I checked anyway) they deliberately removed the code to ignore utility windows (and similar things)... the only reason I personally would ever use metacity (or xfce) is because they handle these properly, so I'd want a panel that did too.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#28 Post by clarf »

disciple wrote:The main disadvantage of LXpanel is that (last time I checked anyway) they deliberately removed the code to ignore utility windows (and similar things)... the only reason I personally would ever use metacity (or xfce) is because they handle these properly, so I'd want a panel that did too.
Excuse me disciple, What do you mean with ignore utility windows?. Do you mean they removed the ability to ignore notifications send to the taskbar by applications like Pidgin? or do you mean they removed the code and now lxpanel ignore additional applications that want to resides in taskbar?.

Using lxpanel 0.5.5, I can see additional applications minimized in taskbar like Osmo or gtrayicon (used by dropbear Server Launcher or Pwireless 2).

lxpanel seems a nice application, just look at the pic. I can set two panels: one taskbar with tray at bottom, one Application Launcher with Desktop pager at top

An look at htop, the resources used by lxpanel for the two panels are lower than any xfce taskbar plugin.

The only thing that I miss in lxpanel is the JWM ability to swallow a program into the tray.

Greetings,
clarf
Last edited by clarf on Sat 28 Aug 2010, 15:19, edited 1 time in total.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#29 Post by technosaurus »

If you want the swall0w function, there is a vala appllication call AllTray that will let almost any tray bite off more than it can normally chew. I have tested it before, but since I still predominantly use jwm, I sent it to /dev/null.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#30 Post by clarf »

Thanks for the Alltray tip technosaurus, Sadly It doesn´t have the functionality that I´m searching for.

I need to show the application window information to the tray. It fails to show freememapplet or mini-volume window info into the taskbar, instead it uses a static icon to show application functionality. It´s not equal to the swallow functionality provided by JWM.

I think those applications need to be patched to send information directly to tray, if lxpanel or Xfcepanel don´t have a swallow plugin...

Thanks any way
clarf
Attachments
214X-top3_alltray_1.jpg
Alltray shows a &quot;plain&quot; icon in tray
(105.52 KiB) Downloaded 694 times

User avatar
clarf
Posts: 613
Joined: Wed 13 Jun 2007, 19:22
Location: The old Lone Wolf

#31 Post by clarf »

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?
discpile,

I made some configuration files to add new key shortcuts to metacity here:

http://www.murga-linux.com/puppy/viewto ... start=3828

The link with information about any metacity configurable parameter is here:

http://www.murga-linux.com/puppy/viewto ... start=3819

clarf

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

#32 Post by disciple »

clarf wrote:
disciple wrote:The main disadvantage of LXpanel is that (last time I checked anyway) they deliberately removed the code to ignore utility windows (and similar things)... the only reason I personally would ever use metacity (or xfce) is because they handle these properly, so I'd want a panel that did too.
Excuse me disciple, What do you mean with ignore utility windows?. Do you mean they removed the ability to ignore notifications send to the taskbar by applications like Pidgin? or do you mean they removed the code and now lxpanel ignore additional applications that want to resides in taskbar?.

Using lxpanel 0.5.5, I can see additional applications minimized in taskbar like Osmo or gtrayicon (used by dropbear Server Launcher or Pwireless 2).

lxpanel seems a nice application, just look at the pic. I can set two panels: one taskbar with tray at bottom, one Application Launcher with Desktop pager at top

An look at htop, the resources used by lxpanel for the two panels are lower than any xfce taskbar plugin.

The only thing that I miss in lxpanel is the JWM ability to swallow a program into the tray.

Greetings,
clarf
Sorry clarf, I only just saw your post.
The Utility Window hint is used by recent versions of the Gimp and I can't think of anything else.
Utility Windows are supposed to be kept above the main window of the application, and ignored by panels and task switchers and things. So if you run the Gimp in an environment that recognizes them, only the main Gimp Window is shown in the taskbar, not all the random tool dialogues. And the dialogues are kept on top of the main window so they don't get lost.
Actually there is a similar hint that is often used for open/save dialogues, and I think it has been recently implemented in JWM, so it might not be too difficult to implement utility windows as well.

At one stage utility windows were apparently recognised by LXpanel, but apparently the feature was removed because people wanted the utility windows to show up in their taskbar. I don't know for sure if it is still like that though, as I haven't used Lxpanel for a long time.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply