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 07 Feb 2016, 09:28
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 [11 Posts]  
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 2624

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  71 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  616 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   2220 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  478 Time(s) 
JWM_applications_panel.jpg
 Description   JWM apps panel with GUI panel-control application
 Filesize   41.77 KB
 Viewed   2371 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: 2624

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: 6628
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: 2624

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: 3573
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  114 Time(s) 
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2624

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: 3573
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   431 Time(s)

Screenshot.jpg

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

Joined: 20 Jul 2010
Posts: 3573
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: 2624

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: 2624

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 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 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.0438s ][ Queries: 12 (0.0044s) ][ GZIP on ]