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 Jul 2015, 08:53
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
JWM Configuration Manager
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 20 May 2005
Posts: 2361
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Sun 27 Mar 2011, 17:59    Post_subject:  JWM Configuration Manager  

Wishing to add 'Gexec' left in the tray I did try

Menu > Desktop >> JWM Configuration Manager >>> Tray management >>>> Program insertion into tray >>>>> Left new program enter at left >>>>>> ok


Little Msg window named 'Change Reversed' New config corrupt. Keeping original <ok>

What is to do to enter 'Gexec' correctly in the tray (correctly = so that the entry stay permanent also if .jwmrc is reactualized by (dis)installation of some programs)?
Back to top
View user's profile Send_private_message 
Karl Godt

Joined: 20 Jun 2010
Posts: 4026
Location: Kiel,Germany

PostPosted: Tue 25 Oct 2011, 18:07    Post_subject:  

jwmconfig uses a simple
jwm -p

to determine if it is ^secure^ to alter the configuration file(s)

If i get a
# jwm -p
JWM: warning: invalid tray horizontal alignment: "top"

the code of
# pwd
# grep -n 'jwm \-p' *
taskbarConfig:104:jwm -p 2> $TMP
taskbarHeight:138:jwm -p 2> $TMP
taskbarPlace:103:jwm -p 2> $TMP
trayInsert:131:jwm -p 2> $TMP
virtualDesk:109:jwm -p 2> $TMP


would return

if [ -z $CHECKCONF ]; then
RESTOP="Change Saved"
RESMSG="The tray autohide option is now $OPTN"
rm -f $CONFIG2
RESTOP="Change Reversed"
RESMSG="New config corrupt. Keeping original"

where CONFIG2 would be a backup made in the beginning of the script(s)

You should jwm -p in the console to track down the issue .

jwmconfig tends to be buggy in special circumstances and there are several attempts made to fix things .

In the Lupu 511 or 52+ threads was the solution to disable features i remember ...?
Back to top
View user's profile Send_private_message 

Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: Mon 07 Nov 2011, 19:26    Post_subject:
Sub_title: gexec traybutton?

@oui (old post and likely solved by now..)

Seems like the op would like a traybutton for gexec (and yes, the ui for editing or adding/removing traybuttons can be messy in jwmconfig - I've always found it somewhat easier to simply edit the appropriate .jwmrc-tray file, lol I use 4 of them so appropriate is the word). The ui section in jwmconfig that was used, 'program insertion into tray' deals with the tasklist/buttons for application windows that are loaded, minimized and so on and the order in which they are aligned as loaded on that section of the 'taskbar'.

Usually speaking in jwm, a traybutton is a 'launcher' - here's a snippet from an old (p420) /root/.jwmrc-tray file I had handy for an example..
   <Tray  autohide="false" insert="right" x="0" y="-1" border="1" height="28" >
      <!-- Additional TrayButton attribute: label -->
      <TrayButton label="menu">root:3</TrayButton>
      <TrayButton popup="use gexec to run a command" icon="gexec.xpm">exec:gexec</TrayButton>
      <!-- <TrayButton popup="show desktop" icon="mini-desktop.xpm">showdesktop</TrayButton> -->
      <!-- Additional Pager attributes; width, height -->

..values for the attributes may vary, but this partial bit should give a more-or-less 'normal' left-hand side of the jwm 'taskbar' with a gexec traybutton between the menu traybutton and the pager section. More recent versions of jwm may differ, but this is simply a sample of how a few traybuttons can be done.

a traybutton tool

Karl's procedure is more thorough and may help to test and identify issues with jwmconfig - as he notes "jwmconfig tends to be buggy in special circumstances and there are several attempts made to fix things" so...
Back to top
View user's profile Send_private_message 

Joined: 28 Jul 2012
Posts: 155

PostPosted: Wed 22 Aug 2012, 18:51    Post_subject:  

In Wary 5.3, the JWM configuration manager gives you the option to back up the application launch tray buttons, rearrange their order, and another option I can't remember... In Slacko 5.3.3, however, the JWM configuration manager has none of these options. Is there any reason why these are missing in the later software? It seems strange that it gives you the option to restore a backup but not the option to create one.

PS. I just deleted one tray button that wasn't working properly, and now they have all gone...
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
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 attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0548s ][ Queries: 12 (0.0046s) ][ GZIP on ]