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 Thu 02 Oct 2014, 13:08
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
HowToDo: JWM graphic desktop buttons.?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5032
Location: Arizona, U.S.A.

PostPosted: Fri 14 Mar 2014, 19:59    Post_subject:  HowToDo: JWM graphic desktop buttons.?  

I was wondering how Puppy has the graphical desktop buttons setup.
Each desktop button 1-3 has a little graphic of the actual desktop on it.
I looked at as many JWM files as I could find but didn`t see much.
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3307
Location: Ontario

PostPosted: Sat 15 Mar 2014, 15:38    Post_subject:  

Barry first discussed overlay of icons here...

http://bkhome.org/blog/?viewDetailed=02360


Then vovchik's png overlay was developed

http://www.murga-linux.com/puppy/viewtopic.php?p=610749&sid=4ff01d6c67871108014a90688ce4adde

http://www.murga-linux.com/puppy/viewtopic.php?p=363580#363580

______________________________
Back to top
View user's profile Send_private_message 
disciple

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

PostPosted: Sat 15 Mar 2014, 19:17    Post_subject:  

I think you two are talking about different things. Sunburnt - what version of Puppy are you talking about? Are you sure it is running JWM?
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: Sat 15 Mar 2014, 20:14    Post_subject:  

By recall alone I think what you are looking for is in pager.c.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5032
Location: Arizona, U.S.A.

PostPosted: Sun 16 Mar 2014, 04:37    Post_subject:  

disciple is correct; It`s the desktop buttons on the Task Bar, not the desktop drive part. icons.

I`m using Puppy Precise 5.4.X.5 ( sorry about that...)

technosaurus is probably right also.
Back to top
View user's profile Send_private_message 
disciple

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

PostPosted: Sun 16 Mar 2014, 05:44    Post_subject:  

So not a graphic in the sense of real thumbnails, just a symbolic representation of the windows on each desktop.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5032
Location: Arizona, U.S.A.

PostPosted: Sun 16 Mar 2014, 12:46    Post_subject:  

disciple; Yes, exactly. Small squares move around on the buttons when you drag windows.

technosaurus; I see C code on Google for pager.c, but how to use.?
I`ve used xwininfo to get window info., but it`s unreliable, it can`t even list Firefox main win.
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2252

PostPosted: Sun 16 Mar 2014, 13:46    Post_subject:  

technosaurus means that the code is located in pager.c of the JWM sources -that's where the graphics are created. I don't use JWM so I don't know, but they may actually be dynamically-generated thumbnails of each desktop. The 'pager' feature is common to most medium-sized or larger Window Managers or IDEs. Really small WM's rely on an external pager applications which are not integrated into any panel. Many independent panels include a 'pager section' or plugin.

"how to use.?" What are you trying to do?
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5032
Location: Arizona, U.S.A.

PostPosted: Sun 16 Mar 2014, 14:58    Post_subject:  

Hi amigo; Working in the DebianDog dev. thread, and it`s a nice feature that I`d like to add.
I also want to get transparency working ( xcompmgr ).
The JWM site speaks of transparency, but no mention of graphical desktop pager buttons.

I just downloaded jwm-2.2.2 and I see the pager.c file.
# Maybe some help with configure and compiling commands.?
.
Back to top
View user's profile Send_private_message 
disciple

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

PostPosted: Sun 16 Mar 2014, 18:59    Post_subject:  

sunburnt wrote:
Hi amigo; Working in the DebianDog dev. thread, and it`s a nice feature that I`d like to add.

Add to what, though? Try posting a link to the thread, maybe Smile

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

Joined: 16 Aug 2007
Posts: 2346
Location: New Zealand

PostPosted: Sun 16 Mar 2014, 22:43    Post_subject:  

sunburnt wrote:
Hi amigo; Working in the DebianDog dev. thread, and it`s a nice feature that I`d like to add.
I also want to get transparency working ( xcompmgr ).
The JWM site speaks of transparency, but no mention of graphical desktop pager buttons.

I just downloaded jwm-2.2.2 and I see the pager.c file.
# Maybe some help with configure and compiling commands.?
.


Hi Terry, I'm not sure what you mean. I've been using jwm since Toni first included it in DebianDog and the default setup includes the pager functionality. My debiandog install shows the graphical representation of the desktop in the change desktop pager buttons and you can even drag windows about in them.

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send_private_message Visit_website 
sunburnt


Joined: 08 Jun 2005
Posts: 5032
Location: Arizona, U.S.A.

PostPosted: Sun 16 Mar 2014, 23:19    Post_subject:  

Hi William; Toni made numbered 1-4 icon buttons for JWM, that`s what I see.
Are you using Fred`s version.? Maybe that`s the difference. I`m reinventing the wheel...

disciple; http://www.murga-linux.com/puppy/viewtopic.php?t=90660
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: Mon 17 Mar 2014, 23:32    Post_subject:  

@sunburnt why don't you stop beating around the bush and tell us what exactly you want to do. Current jwm can handle MxN desktops (see the configuration page)
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5032
Location: Arizona, U.S.A.

PostPosted: Tue 18 Mar 2014, 13:00    Post_subject:  

technosaurus; Sorry, I thought I was being rather clear about the desktop pager buttons.
Apparently DebianDog has some level of this enabled, but it`s still not quite the same.
Pic here shows my Puppy`s graphical pager buttons: http://www.murga-linux.com/puppy/viewtopic.php?t=90660&start=1845
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: Tue 18 Mar 2014, 13:49    Post_subject:  

It is supported in my jwm-tools ... and my jwm_menu_create is ~15x faster than fixmenus
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
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.0713s ][ Queries: 11 (0.0030s) ][ GZIP on ]