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 26 May 2016, 00:58
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
A JWM applications-panel with GUI control
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 2709

PostPosted: Tue 20 Mar 2012, 04:55    Post subject:  A JWM applications-panel with GUI control  

I hopefully do not rediscover the wheel but I made a little app that provides an applications panel for JWM and a control GUI to go with it (see picture), similar to other window/desktop managers.
It is handy for small screens, where any window will cover all the Desktop launchers, and voids the need to navigate through the (deep) menus too.

This started some time ago and evolved based in a Micko's app, but I thought to give it an independent thread for possible feed back/problems.

The panel control GUI has a menu entry under "Desktop -> Settings". Through the GUI you can change the position and the "thickness" of the panel (from 24 to 64 pixels), the order of the buttons and make the panel always visible on top of windows or auto-hiden.
Makes fairly simple to add new application buttons in the panel and of course delete them. Even provides the option to manually edit an item in a text file (eg correct a typo without deleting and re-adding the app button), and if you have geany will open exactly on the line you want to edit.
The pet will also generate an initial panel at the top of the screen as shown in the picture.
The icon style follows your desktop icon theme and will change if you change it (as long as you use the icons from the default location)

You may also want to install Micko's desksetup.pet to easier change the layout of the ROX desktop icons or eliminate them all together

Enjoy.

Update v0.7 will not auto-quit anymore after applying some changes

Update 2 v0.8 has an uninstall script to remove every trace of the pet after removal with PPM. Also includes the options to generate backup at will.

Update 3 v0.9 is if functionally identical to v0.8 but in notebook layout so can fit in very small (640x480) screens

Update 4 v1.0 is not closing other open gtkdialogs when reseting.

Update 5 v1.1 to be used only with jwm versions2.3.0 or newer ie puppies built after 7/2015

The picture from v0.8 (lower) shows the main, single panel, interface and the dialogs to reorder/edit/delete an application in the panel (though they do not appear all together as shown Laughing )
jwm_app_tray-1.1.pet
Description  To be used with JWM version 2.3.o or newer
pet

 Download 
Filename  jwm_app_tray-1.1.pet 
Filesize  8.45 KB 
Downloaded  146 Time(s) 
jwm_app_tray-1.0.pet
Description  v1.0 is in notebook layout so can fit in very small screens
pet

 Download 
Filename  jwm_app_tray-1.0.pet 
Filesize  8.23 KB 
Downloaded  668 Time(s) 
app_panel_config_v0.9.jpg
 Description   v0.9 is in notebook mode so can fit in very small screens
 Filesize   74.29 KB
 Viewed   2569 Time(s)

app_panel_config_v0.9.jpg

jwm_app_tray-0.8.pet
Description  JWM apps panel with a GUI panel-control application
pet

 Download 
Filename  jwm_app_tray-0.8.pet 
Filesize  7.17 KB 
Downloaded  532 Time(s) 
JWM_applications_panel.jpg
 Description   JWM apps panel with GUI panel-control application
 Filesize   41.77 KB
 Viewed   2722 Time(s)

JWM_applications_panel.jpg


_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy

Last edited by mavrothal on Mon 26 Oct 2015, 15:04; edited 6 times in total
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2709

PostPosted: Wed 21 Mar 2012, 14:50    Post subject: Re: A JWM applications-panel with GUI control  

mavrothal wrote:
I hopefully do not rediscover the wheel


Boy... do I?... Rolling Eyes

Only too late I fount 2Palt - 2Ps2d! That's because is in French and does not contain the words JWM and panel or tray, so is not picked by searches.
If you are looking for an JWM applications tray give it a try (after you try this one Wink ). Don't be deterred by French, comes with English, German and Spanish too.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
disciple

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

PostPosted: Wed 21 Mar 2012, 18:10    Post subject:  

I think you're also reinventing TrayManager Smile

I presume your one uses gtkdialog... does 2Palt - 2Ps2d also use gtkdialog? I remember seeing it, but I never added it to the
Index of programs using gtkdialog
Is there anything which distinguishes each of these programs from the others?

_________________
Classic Puppy quotes
-
root: n. the superuser or administrator account that has complete control over everything in the machine. Running as root is a taonga of Puppy Linux users.
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2709

PostPosted: Thu 22 Mar 2012, 01:19    Post subject:  

disciple wrote:
I think you're also reinventing TrayManager Smile

No. That was discover'able.

disciple wrote:
I presume your one uses gtkdialog... does 2Palt - 2Ps2d also use gtkdialog?
Is there anything which distinguishes each of these programs from the others?


They all do.
2Palt - 2Ps2d is the most polished, feature-rich and easy to use with a couple of little issues (for my taste - posted there). It also has a sister app that allows for easy desktop icon additions

This one, I find a bid more "involved" in button addition but still fairly simple and with better flexibility on the looks. Is also more "graphical" in the configuration options.

TrayManager is even more "involved" and in contrast to the above 2, is focusing on the existing app tray of JWM, but when I tried it just made my jwm tray disappear and the second panel feature did no work. So I did not look at it any further Embarassed . I'm sure is something simple probably specific to the pupplet I used, but since the jwm tray may change from pupplet to pupplet has more room for the things to go sour.

But I'm sure that other people may have different reviews on the above... Laughing

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 3756
Location: New Zealand

PostPosted: Tue 22 Sep 2015, 05:34    Post subject:  

Hi Mavrothal, this is a cool application. Can you suggest how I could modify a button to open a mounted drive? (I don't use desktop drive icons but it would be handy to have the hidden rox panel available as a shortcut to view the contents of a drive).
cheers!
Back to top
View user's profile Send private message 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Tue 22 Sep 2015, 06:11    Post subject:  

Hi greengeek,

If it's for personsal use rather than with your distro, you might have a look at another big winner from seaside
http://www.murga-linux.com/puppy/viewtopic.php?t=69830

I click the icon in my rox panel (per screen shot) and get the drive icons shown (and the tray toggler to hide/show them).

My regards
Image 001.png
Description 
png

 Download 
Filename  Image 001.png 
Filesize  48.04 KB 
Downloaded  206 Time(s) 
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2709

PostPosted: Tue 22 Sep 2015, 10:41    Post subject:  

greengeek wrote:
Hi Mavrothal, this is a cool application. Can you suggest how I could modify a button to open a mounted drive? (I don't use desktop drive icons but it would be handy to have the hidden rox panel available as a shortcut to view the contents of a drive).
cheers!

Wow! I had forgotten about this.
Anyway, the command to open a mounted volume, say sdb1, is
Code:
rox /mnt/sdb1

if not mounted at the time, the command is
Code:
rox /root/.pup_event/drive_sdb1
or just call pmount to mount and open any available volume.
Use the icon of your choice Wink
You'll need one entry per drive.
Remember that boot volume is mounted at /mnt/home which is a link to /initrd/mnt/dev_save

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 3756
Location: New Zealand

PostPosted: Tue 22 Sep 2015, 15:03    Post subject:  

mavrothal wrote:
Use the icon of your choice Wink
You'll need one entry per drive.

Many thanks!
Screenshot.jpg
 Description   
 Filesize   9.99 KB
 Viewed   777 Time(s)

Screenshot.jpg

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

Joined: 20 Jul 2010
Posts: 3756
Location: New Zealand

PostPosted: Thu 24 Sep 2015, 14:26    Post subject:  

mavrothal wrote:
if not mounted at the time, the command is
Code:
rox /root/.pup_event/drive_sdb1
or just call pmount to mount and open any available volume.
Is it possible to concatenate commands in one line so that I can use a roxpanel button to do the following all in one go:
- create mountpoint (mkdir -p /mnt/sdb1)
- mount the device (mount /dev/sdb1 /mnt/sdb1)
- display the contents (rox /mnt/sdb1)

Or would I need to put those commands into a script and use the button to call that script?
cheers!
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2709

PostPosted: Thu 24 Sep 2015, 16:11    Post subject:  

greengeek wrote:
Is it possible to concatenate commands in one line so that I can use a roxpanel button to do the following all in one go

Yes. Just separate them with semicolon ( ; )

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2709

PostPosted: Wed 21 Oct 2015, 13:42    Post subject:  

New version 1.1 will autohide panel properly in puppies with JWM version 2.3 or newer.
Will fail to autohide with older JWM version (2.2.x or older)
Get it from the top post

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 1385
Location: 500 seconds from Sol

PostPosted: Tue 01 Mar 2016, 17:39    Post subject: Jwm Application-panel works in 64-bit
Subject description: Doesn't conflict with Jwmdesk
 

Hi mavrothal,

Thanks for the JWM application-panel with GUI control. I was looking for a way to add a second panel in Tahrpup64 without (a) using something other than jwm window manager and (b) conflicting with or being overwritten by radky's fine jwmdesk utility. Your application met both criteria. Very Happy

The computer it was to be installed to is an Acer D270 with screen resolution of 1024 x 600. From the versions you've made available, I had to decide between v0.9, designed for netbooks, and version 1.1 created for puppies built after 7/2015. I downloaded both: just in case I had to do a hard shutdown. But version 1.1 worked well OOTB -- surviving modification of jwm's tray launcher via jwmdesk and rebooting.

In order to avoid having to repeat much of the above on a different thread discussing adding additional "trays",http://murga-linux.com/puppy/viewtopic.php?p=891074#891074, I'll mention that it functions by creating a file structure in /root named something like ".jwmrc-tray2"*. jwmdesk's focus is only on jwmrc-tray.

* Sorry, from memory. Not posting from that computer. Edit: I'm baaack!. And amazed, Surprised My memory of a technical name was correct. Shocked

Thanks, again.

mikesLr
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2709

PostPosted: Wed 02 Mar 2016, 02:55    Post subject:  

Thank you.
Though I would think that with PuppyDesktop/pTheme in the new puppies this little old app should be soon obsolete.

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 1385
Location: 500 seconds from Sol

PostPosted: Wed 02 Mar 2016, 11:19    Post subject: pTheme  

Hi mavrothal,

I had some concern about the age of your app before installing it; and was concerned even more as Tahrpup64 is 64-bit. But I always run Pupmode 13 w/o Automatic-Save, and when trying out questionable software have a backup SaveFile with at least my basic settings. [The Acer D270 has the Cedarview PowerVR poulsbo graphics chip, requiring xorgwizard be run and choices be remembered before desktop is reached).

Thank you for bringing to my attention ptheme. I wondered how 01micko obtained the second panel in Slacko 6.3 but haven't explored that Pup much.Started to on my Desktop computer but then got detoured by deciding to update the Pups on the Acer and discovered that the new Tahrpups produce better results than the new Slackos. On that computer the new Slackos generate "ghosts" when windows are moved.

My explorations begin with a Pup and then figuring out what and how to run applications on it. As indicated in my previous post I was searching for a way to add a second panel to Tahrpup which uses jwmdesk. Before discovering your applications-panel I dissembled jwmdesk. I know sufficient Bash to be able to follow the logic of applications -- but not enough to be able to write applications, at least without spending days consulting manuals. At any rate, neither jwmdesk's GUI nor its internal structure suggested an easy way to handle a second panel. Not that it couldn't be modified to do so. Just not by me.

ptheme's GUI suggests it already has that capability. I haven't yet tried installing it into the Tahrpups on the Acer.

mikesLr
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2709

PostPosted: Wed 02 Mar 2016, 13:28    Post subject: Re: pTheme  

mikeslr wrote:

ptheme's GUI suggests it already has that capability. I haven't yet tried installing it into the Tahrpups on the Acer.

I do not know if there are any pets around for this. Is 2 directories at woof-CE repo I think. Even then I'm not sure you can install pTheme/puppydeskt on top of Tahrpup without breaking anything

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
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.0710s ][ Queries: 13 (0.0072s) ][ GZIP on ]