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 Sun 21 Dec 2014, 20:43
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 Posts_count   Goto page: Previous 1, 2, 3 Next
Author Message
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Sun 22 Aug 2010, 08:48    Post_subject:  

Nice ttuuxxx, I'll try this one with xfce panel
_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
ttuuxxx


Joined: 05 May 2007
Posts: 10847
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_website 
disciple

Joined: 20 May 2006
Posts: 6464
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: 2720
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
_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
ttuuxxx


Joined: 05 May 2007
Posts: 10847
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   1891 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_website 
disciple

Joined: 20 May 2006
Posts: 6464
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: 10847
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_website 
upnorth


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

PostPosted: Thu 26 Aug 2010, 09:38    Post_subject: metacity
Sub_title: 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_website 
dejan555


Joined: 30 Nov 2008
Posts: 2720
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  333 Time(s) 

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
upnorth


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

PostPosted: Fri 27 Aug 2010, 00:04    Post_subject:  thanks!
Sub_title: 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_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   1863 Time(s)

214X-top3_metacity_lxpanel.png

Back to top
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6464
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   579 Time(s)

214X-top3_metacity_lxpanel+2.png


Edited_time_total
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4425

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   544 Time(s)

214X-top3_alltray_1.jpg

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 3 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0880s ][ Queries: 13 (0.0066s) ][ GZIP on ]