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 Mon 28 Jul 2014, 00:21
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 2 of 3 [32 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
dejan555


Joined: 30 Nov 2008
Posts: 2646
Location: Montenegro

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

Nice ttuuxxx, I'll try this one with xfce panel
_________________


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


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

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

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

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

PostPosted: Wed 25 Aug 2010, 06:41    Post subject:  

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


Joined: 30 Nov 2008
Posts: 2646
Location: Montenegro

PostPosted: Wed 25 Aug 2010, 07:48    Post subject:  

I'll just enable iconified windows on pinboard and maybe add stalone tray and simple puppy menu Razz
_________________


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


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

PostPosted: Wed 25 Aug 2010, 16:02    Post subject:  

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?xcontentmode=101&PHPSESSID=99addb54e1444060807bca6b5b9944a1
shot.jpg
 Description   
 Filesize   51.01 KB
 Viewed   1873 Time(s)

shot.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 
disciple

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

PostPosted: Thu 26 Aug 2010, 05:50    Post subject:  

[url]The reason why is that it lakes less resources. [/url]
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

_________________
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: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 26 Aug 2010, 06:11    Post subject:  

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 Smile

Back to top
View user's profile Send private message Visit poster's website 
upnorth


Joined: 11 Jan 2010
Posts: 262
Location: Wisconsin UTC-6 (-5 DST)

PostPosted: Thu 26 Aug 2010, 09:38    Post subject: metacity
Subject description: metacity and tint2
 

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.php?p=440615#440615

Just installed the theme-setter pet too.Time to try out the new 214X.
Back to top
View user's profile Send private message Visit poster's website 
dejan555


Joined: 30 Nov 2008
Posts: 2646
Location: Montenegro

PostPosted: Thu 26 Aug 2010, 17:54    Post subject:  

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.
spm-systray.pet
Description 
pet

 Download 
Filename  spm-systray.pet 
Filesize  2.99 KB 
Downloaded  306 Time(s) 

_________________


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


Joined: 11 Jan 2010
Posts: 262
Location: Wisconsin UTC-6 (-5 DST)

PostPosted: Fri 27 Aug 2010, 00:04    Post subject:  thanks!
Subject description: spm-tray
 

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:
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. Cool
Back to top
View user's profile Send private message Visit poster's website 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Fri 27 Aug 2010, 00:11    Post subject:  

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:
 if [ "´which tint2´" != "" ]; then
tint2 &


also adding a small delay before run the WM could be needed

clarf
214X-top3_metacity_lxpanel.png
 Description   metacity and lxpanel
 Filesize   280.96 KB
 Viewed   1842 Time(s)

214X-top3_metacity_lxpanel.png

Back to top
View user's profile Send private message 
disciple

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

PostPosted: Fri 27 Aug 2010, 03:35    Post subject:  

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


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Fri 27 Aug 2010, 10:33    Post subject:  

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
214X-top3_metacity_lxpanel+2.png
 Description   lxpanel using two panels and showing taskbar applications like Osmo or gtrayicon
 Filesize   258.02 KB
 Viewed   548 Time(s)

214X-top3_metacity_lxpanel+2.png


Last edited by clarf on Sat 28 Aug 2010, 11:19; edited 1 time in total
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4279

PostPosted: Fri 27 Aug 2010, 10:55    Post subject:  

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.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Sun 05 Sep 2010, 11:09    Post subject:  

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
214X-top3_alltray_1.jpg
 Description   Alltray shows a "plain" icon in tray
 Filesize   105.52 KB
 Viewed   515 Time(s)

214X-top3_alltray_1.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [32 Posts]   Goto page: Previous 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.0852s ][ Queries: 13 (0.0045s) ][ GZIP on ]