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 21 Nov 2014, 16:55
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
JWM 2.0.1 Enhancements and Fixes
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 12 of 16 Posts_count   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13, 14, 15, 16 Next
Author Message
disciple

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

PostPosted: Sat 01 Aug 2009, 19:38    Post_subject:  

Code:
DEBUG: main.c[108]: debug mode started
# DEBUG: shape extension enabled
DEBUG: render extension enabled
JWM: warning: could not load tray icon: "nothing.png"

These are related to your X and jwm configuration, not to what we're doing. I think the JWM warning means you have a tray icon defined in your configuration, but the icon defined for it doesn't exist.

Code:
asapm: open_apm_device_file: The file does not exist.
asapm: Neither ACPI nor APM are available!

I believe this is a tray battery monitor failing to start - obviously you don't have a laptop, so it doesn't work. BTW are you running Puppy 4.2? I guess these things must be default there...

Code:
killall: blinky: no process killed
killall: freememapplet-tray: no process killed

Maybe they've put entries in the jwm configuration to kill blinky and freememapplet when when jwm is killed or something like that. Maybe you have freememapplet disabled? I don't know why they'd want to kill blinky - it works fine for me when I exit and restart jwm.
It looks like maybe blinky wasn't up yet until the last time you ran the script.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
disciple

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

PostPosted: Sat 01 Aug 2009, 20:34    Post_subject:  

For anyone else reading this, if you try my screen rotation scripts and the freememapplet ends up detached from the taskbar in your puppy version, add
Code:
killall freememapplet
before this line in the prandr-left and prandr-normal scripts
Code:
killall jwm
.
Also, depending on the speed of your machine or something, you may find you need to add something like
Code:
sleep 1
before
Code:
jwm &
otherwise it may try to start jwm before it's finished killing jwm, in which case you get a message that the display is already managed, and no window manager. (and if there is a window in front of the rxvt icon on your desktop, and you don't have rxvt open, you need to switch to the other terminal (Ctrl-Alt-F2), login (puppy; woofwoof), start jwm, then switch back (Ctrl-Alt-F3) Smile )
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
disciple

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

PostPosted: Thu 13 Aug 2009, 04:57    Post_subject: Another way to switch window manager without restarting X  

Removed (for non-technical reasons).
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Sat 15 Aug 2009, 20:38    Post_subject:
Sub_title: *swish* ... plenus screen mico ...
 

Hmmm .....

One weird weekend I'm having ...

*swish* ... plenus screen mico ...

Finally JWM will be able to have youtube flash full screen working right ...

It all started with a different problem I'm having ... Of all the apps I have to work with this weekend, I was pretty annoyed with vncviewer (TightVNC-1.3.10) full screen toggling ... The pesky viewer won't let me get out of full screen properly (hmm, the love-hate thing) ... It annoyed me so much so that I loaded half a tonne of motivation to give it a good whack ... and I now have a patched vncviewer that toggles full screen just the way it was meant to be ....

Then it got me thinking that youtube flash could be something similar ... errrkkk ... nope, it was a totally different thing ... tracing here, tracing there, tracing everywhere and then Hermione reminded me again ... it's Levi-O-sa , not leviosa ... Eureka! ... struck one out of my list ...

Well, me apologize for me rant ... and for not having posted any binaries yet ... please consider this to be alpha testing stage. I have some major code cleanup to do with JWM before posting the binaries. It'll be sometime next week before I'll get some beta test versions out ...


Rgds
Back to top
View user's profile Send_private_message 
ttuuxxx


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

PostPosted: Sun 16 Aug 2009, 00:41    Post_subject:
Sub_title: *swish* ... plenus screen mico ...
 

Patriot wrote:
Hmmm .....

One weird weekend I'm having ...

*swish* ... plenus screen mico ...

Finally JWM will be able to have youtube flash full screen working right ...

It all started with a different problem I'm having ... Of all the apps I have to work with this weekend, I was pretty annoyed with vncviewer (TightVNC-1.3.10) full screen toggling ... The pesky viewer won't let me get out of full screen properly (hmm, the love-hate thing) ... It annoyed me so much so that I loaded half a tonne of motivation to give it a good whack ... and I now have a patched vncviewer that toggles full screen just the way it was meant to be ....

Then it got me thinking that youtube flash could be something similar ... errrkkk ... nope, it was a totally different thing ... tracing here, tracing there, tracing everywhere and then Hermione reminded me again ... it's Levi-O-sa , not leviosa ... Eureka! ... struck one out of my list ...

Well, me apologize for me rant ... and for not having posted any binaries yet ... please consider this to be alpha testing stage. I have some major code cleanup to do with JWM before posting the binaries. It'll be sometime next week before I'll get some beta test versions out ...


Rgds


youtube has worked fullscreen since the rounded corners version downloaded from jwm site in puppies 4.2 no blling, it has also always worked in 2.14X series since it uses the same jwm. Then only difference between fullscreen and normal is the conversion of video size, it plays much slower on fullscreen, usually its best to wait until the whole video is done downloading by watching the progress bar at the bottom, then once its finished replay it and it plays more smoothly fullscreen. but if your watching the progressbar you can notice that the buffer is way ahead of the playing video. so that's a clear indication that its the conversion from normal to fullscreen that's delaying the smooth video. But when you compare it to a online pdf viewer, which is also flash based, you'll notice that scrolling fullscreen is much slower fullscreen, So I would say the actual slowdown is flash and not jwm 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 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Sun 16 Aug 2009, 08:05    Post_subject:
Sub_title: *swish* ... plenus screen mico ...
 

Hmmm .....

That's weird ... I must've dropped out of the loop ...

I ran jwm-svn456 too but couldn't get youtube flash switched to fullscreen. I just get a small square video box. Just to be sure, I re-downloaded the sources, whipped up a new binary and it gets me the same square box. Tested with some of my flashlib set from 9.0 up-to 10.0.32.18 ... Any particular flash version that works fullscreen that I don't know of ?

The alpha patch that I made seems to work correctly with the same set of flashlibs. The other weird thing is that I do not experience any flash fullscreen rendering slowdown. Once fully buffered, all the clips plays smoothly either in browser or fullscreen mode (nope, no jerkiness nor perceivable delay there and I'm only using on-board chrome9 vga). Anyone has any sample youtube flash links with fullscreen slowdown that I can try ?

Rgds
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sun 16 Aug 2009, 08:17    Post_subject:  

This one is ok in ppa-423
http://www.youtube.com/watch?v=1vquLs3Ylgg

kwidich? ( Laughing )

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


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

PostPosted: Sun 16 Aug 2009, 08:34    Post_subject:  

Hi patroit maybe download 2.14X and try it, it has FF3.5 and flash 10 that works fullscreen, I'm about to update it to v8 in about 3hrs time.
ttuuxxx

download link here at the top of the list
http://www.murga-linux.com/puppy/viewtopic.php?t=42553

_________________
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 
ttuuxxx


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

PostPosted: Sun 16 Aug 2009, 08:41    Post_subject:  

here's a screenshot of it working in 2.14X jwm,youtube,fullscreen
ttuuxxx
2009-08-16_20-35-42.jpg
Description 
jpg

 Download 
Filename  2009-08-16_20-35-42.jpg 
Filesize  97.52 KB 
Downloaded  563 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_website 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Sun 16 Aug 2009, 09:26    Post_subject:  

Hmmm .....

01micko wrote:
This one is ok in ppa-423
http://www.youtube.com/watch?v=1vquLs3Ylgg

kwidich? ( Laughing )

Thanks Mick ... tested it and no stutter/jerkiness/slowdown experienced in fullscreen. Though the cpu usage almost peaked at certain positions. The video source encoding is quite low I believe ...

I've just recalled one place to try HD flash, The Hunt For Gollum. This clip is the one I tested in HD and found it to be smooth at fullscreen. CPU usage roughly 66% in browser and max'ed out in fullscreen. A quick check indicates that flash 9/10 is lacking any sort of video overlay support. I believe that's the only reason for it being slow on certain hardware ...

As a comparison, mplayer-svn averages roughly about 40% cpu usage for the clip in fullscreen.

ttuuxxx wrote:
..... it has FF3.5 and flash 10 that works fullscreen ...

That's probably the reason why, FF3.5 ..... I did my tests on standard issue Seamonkey 1.1.x series ... there's major differences in API and handling between the two ...


Rgds
Back to top
View user's profile Send_private_message 
nfb.bicyclingrevolution


Joined: 20 Aug 2009
Posts: 14

PostPosted: Sat 22 Aug 2009, 03:08    Post_subject: Questions about Joe's Window Management Theme  

The screenshot "2" is stunning.

The only thing I don't like about it is the icon theme; they seem to clash with the theme in my eyes. If I downloaded this theme, would I still have the standard icon sets? I think stardust would be my personal choice.

What really sells that theme to me is the wallpaper. Does it come with the theme? Do you know where I can download it from?

Thanks!
Back to top
View user's profile Send_private_message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Sun 23 Aug 2009, 16:12    Post_subject: Re: Questions about Joe's Window Management Theme  

Hmmm .....

nfb.bicyclingrevolution wrote:
The screenshot "2" is stunning. .....


Screenshot 2 is .... just a screenshot of combinations. JWM themes are limited to the window, tray and menu configs. Desktop icons is part of DeepThought icons for the ROX-desktop. The wallpaper have been around for ages on many wallpaper sites. Search for pink sky wallpaper and take your pick ...

JWM and flashplayer

Still crawling through the source codes now. Comparing between svn-456 and my patched 201 version seems like a good way to learn something. Haven't had much spare time to sift through them all yet ...

Ok, some experimentation showed me that fullscreen flash begins with 9.0.64 and the fullscreen inits were modified with flash 10 ... So, I can confirm that flash 10.0.32.18 will go fullscreen just fine with JWM-svn ...

I've done a bit of reading about flash 10 and it seems that it has limited fullscreen GPU acceleration (OpenGL based). Acceleration is also limited to newer flash 10 content. I've also found out that fullscreen flash 9 and flash 10 is pretty much software rendered. No xv overlay is in use.

Thus, this explains the high cpu usage on most machines unless you have a card with OGL enabled and even that does not guarantee smooth low cpu usage fullscreen video. The reason given was that flash uses RGB instead of YUV for the final rendered data (on Linux). Further to this, accelerated fullscreen flash does not mix with Compiz ...

Unless flash uses the xv route, that pretty much makes fullscreen flash videos on older hardware a major pain .....

If I haven't the need to make flash working smoothly, I wouldn't be bothered with it .... I guess it's time to find out how to get mplayer plugins working reliably now ...


Rgds
Back to top
View user's profile Send_private_message 
nfb.bicyclingrevolution


Joined: 20 Aug 2009
Posts: 14

PostPosted: Sun 23 Aug 2009, 19:23    Post_subject:  

Whoops, I didn't mean the second screenshot, I meant the one called "jwmscr2.png", with the wolf and the two moons or whatever they are. The pink theme is quite well matched with the golden "DeepThought" icons, but pink is really . . . not my color!
I had no idea what the wolf wallpaper would be called, besides "wolf." But then I got the idea to search for "wallpaper wolf universe" and found it right away!
Anyway, thanks for clearing up my confusion about what the JWM included (and thus would overwrite). Thank you, I will definitely download this exquisite theme!
Back to top
View user's profile Send_private_message 
gulk


Joined: 21 Apr 2008
Posts: 86

PostPosted: Fri 28 Aug 2009, 12:19    Post_subject: Re: Questions about Joe's Window Management Theme  

Patriot wrote:

Still crawling through the source codes now. Comparing between svn-456 and my patched 201 version seems like a good way to learn something.

Hi Patriot,

out of curiosity, what tool(s) are you using to review and compare and/or implement code? Under Windows I use Codewright for code and winmerge for comparing but haven't found anything as good for Linux.

Rgds,
Gulk
Back to top
View user's profile Send_private_message 
disciple

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

PostPosted: Fri 18 Sep 2009, 06:54    Post_subject:  

Hi guys, I just installed Joe's latest snapshot, not having tried anything since 2.01, and I've got some feedback:

Firstly: I can't say I'm a fan of the round windows, partly because if I put my mouse in the very corner the clicks go through to the root window (or I guess anything else that is underneath), which is potentially dangerous.
At least I can built it without round windows though Smile

-------------

Now, what I really came here for:

A. It is fantastic to be able to resize windows from the top again. But it is really disconcerting to have a gap in the window-resize area either side of the title bar. I can resize the window all the way around the border except these two little spots, which seems like really strange behaviour.
I guess if you let it resize all the way around you'll probably want to move the X button a little further away from the edge... but personally I never thought it looked good that close to the edge anyway Smile

-------------------

B. The new menu asking if you really want to exit jwm seems like a good idea, but it interferes with calling `jwm -exit` from a script.

Like I explained above, I use a hack MU came up with that essentially runs an endless loop as a window manager, to make it easy to exit or switch window managers without restarting X. I use it for two different reasons:

1. So that I can have a script that exits jwm, rotates the screen using xrandr, then starts jwm. Jwm has to be exited and then started again because it doesn't support xrandr - if you don't exit it and start it again, if there is a jwm panel on the bottom edge of the screen and you rotate the screen to portrait orientation the panel will be in the middle of the screen - the same distance from the top of the screen as it was originally. There is a similar problem when you change screen resolutions with xrandr.

2. I use alltray, particularly to run xtmix (and set it up so a right-click on the taskbar volume control restores/minimises it). If I use `jwm -restart` any alltray windows get detached from the program that they contained.

Now that there is a window asking me to confirm if I want to exit jwm, if I don't click OK soon enough, my scripts will try to restart jwm before it has been exited, then after I click OK I end up with no window manager Shocked

Maybe the alltray issue and the xrandr issue could be fixed in jwm, and I should probably learn how to properly restart jwm without exiting X anyway (Dougal did sent me some information on this). There are also of course all sorts of workarounds (e.g. by using xse, or just killing jwm - BTW, is this bad, or is it perfectly safe to kill jwm on a regular basis?). But I still can't help thinking that it is good to be able to exit jwm non-interactively if you want to. Smile

--------------

Also, I was wondering if anyone has looked into disabling window shading when you scroll over the window border (not the titlebar)? That is still the most disconcerting thing about jwm for newbies...
Shall I look into it?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 12 of 16 Posts_count   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13, 14, 15, 16 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
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.1148s ][ Queries: 12 (0.0075s) ][ GZIP on ]