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 Fri 24 Oct 2014, 06:04
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 [4 Posts]  
Author Message
oui

Joined: 20 May 2005
Posts: 2096
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

Result:

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: 3972
Location: Kiel,Germany

PostPosted: Tue 25 Oct 2011, 18:07    Post subject:  

jwmconfig uses a simple
Code:
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
/usr/local/jwmconfig2
# 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

CHECKCONF=`cat $TMP`

would return

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

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 Visit poster's website 
`f00


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

PostPosted: Mon 07 Nov 2011, 19:26    Post subject:
Subject description: 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..
Code:
<JWM>
   <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 -->
      <Pager/>

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

Joined: 28 Jul 2012
Posts: 149

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 from previous:   Sort by:   
Page 1 of 1 [4 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.0679s ][ Queries: 12 (0.0179s) ][ GZIP on ]