The time now is Sat 18 May 2013, 16:41
All times are UTC - 4 |
| Author |
Message |
oui
Joined: 20 May 2005 Posts: 1634 Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone
|
Posted: 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
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Tue 25 Oct 2011, 18:07 Post subject:
|
|
jwmconfig uses a simple
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
|
|
 |
`f00

Joined: 06 Nov 2008 Posts: 787 Location: the Western Reserve
|
Posted: 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
|
|
 |
liro
Joined: 28 Jul 2012 Posts: 100
|
Posted: 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
|
|
 |
|
|
|
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
|