HowToDo: JWM graphic desktop buttons.?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

HowToDo: JWM graphic desktop buttons.?

#1 Post by sunburnt »

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.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2 Post by don570 »

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/viewto ... 688ce4adde

http://www.murga-linux.com/puppy/viewto ... 580#363580

______________________________

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

#3 Post by disciple »

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?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#4 Post by technosaurus »

By recall alone I think what you are looking for is in pager.c.
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
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#5 Post by sunburnt »

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.

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

#6 Post by disciple »

So not a graphic in the sense of real thumbnails, just a symbolic representation of the windows on each desktop.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#7 Post by sunburnt »

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.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#8 Post by amigo »

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?

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#9 Post by sunburnt »

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.?
.

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

#10 Post by disciple »

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 :)
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

#11 Post by mcewanw »

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.
github mcewanw

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#12 Post by sunburnt »

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

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

#13 Post by technosaurus »

@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)
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
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#14 Post by sunburnt »

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/viewto ... start=1845

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

#15 Post by technosaurus »

It is supported in my jwm-tools ... and my jwm_menu_create is ~15x faster than fixmenus
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
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#16 Post by sunburnt »

technosaurus; Wondering what your jwm_menu_create is written in.?
And what method of reading & parsing the desktop files is used.?
Speed isn`t so important as the .jwmrc file is only read once to refresh, but it`s interesting.

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

#17 Post by technosaurus »

Its written in shell. I wrote it to be fast enough to generate menus on the fly. It is possible to use a jwm menu as an application ... a package manager was one example another was a drive mount utility. The package manager is instantaneous unlike PPM.
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
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#18 Post by sunburnt »

Yep, like my thought for 4 screen shot menu items.
Times with a popup timer, windowed, mouse click boxed, and multi monitor.

Post Reply