What do buttons next to Menu on jwm desktop do?

Booting, installing, newbie
Message
Author
User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

What do buttons next to Menu on jwm desktop do?

#1 Post by paulh177 »

Image
Puppy 2.13
The two buttons next to the Menu button don't do anything.
I'm sure they were a feature of previous versions and I don't know how I managed to get them to reappear in my brand new install of 2.13.
How do I either
a) get rid of them
OR
b) make them work ?
thanks
paul

amish
Posts: 615
Joined: Sun 24 Sep 2006, 23:15

#2 Post by amish »

the one with the down arrow is "show desktop" and the jwm function is no longer compatible with the version of rox filer (which displays file windows and icons on the desktop) in puppy 2.13: see also: http://puppydocblognode1.blogspot.com/2 ... ounds.html

the other icon with the > is for rxvt and there is no reason it shouldn't work? you should get an xterm-style terminal.

both buttons exist in /root/.jwmrc-tray

edit that file carefully, and you should be able to get rid of them. to see changes, click the menu, under "shutdown" or whatever, there should be the option to "restart jwm" or "restart wm"

!!!! failing that, restart xwin with ctrl-alt-backspace and enter "xwin" (no quotes) to get back to xwin.
sadly, it is not possible to separate politics from free software. free software - politics = unfree software.

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#3 Post by paulh177 »

having done a bit more poking around, it turns out they are to be found in .jwmrc-tray rather that .jwmrc
so i'll have a hack at that and see what i can break

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#4 Post by paulh177 »

hmmm that'll teach me to edit XML files without knowing the syntax ... oh well

amish
Posts: 615
Joined: Sun 24 Sep 2006, 23:15

#5 Post by amish »

paulh177 wrote:hmmm that'll teach me to edit XML files without knowing the syntax ... oh well
alienjeff would be laughing at me right now, we've debated whether the jwm config files have too much (confusing) leftover clutter in them. my stand is that it helps people see examples of things- it's useful, his stand is the other.

the way the file is, it's not that easy to mess up a lot, unless you do too much at once. you could make a copy of the file, but i kind of suspect you've got some <!-- --> tags messing you up.

those tags are used to comment a line, and removing them will uncomment a line. removing one might do nothing, or it might hide part of your file.

each tag must have a closing tag. find the tag without it's brother, remove it or replace the missing <one>like this</one> and you might be back in business. or have you fixed it yet?

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#6 Post by paulh177 »

:lol: "back it up before you hack it up" is my motto (when I can be bothered) so it's back to where it started!
I guess it's these two lines that matter and I think <!-- --> are the comment tag pairs, but they seem asymmetric in this fragment

Code: Select all

<TrayButton popup="<!-- Show desktop" icon="showdesk16.xpm"><!-- showdesktop --></TrayButton>
<TrayButton popup="<!-- Open terminal" icon="mini-sh.xpm"><!-- exec:rxvt --></TrayButton>
I guess I can delete the "showdesktop" line but when I changed

Code: Select all

<TrayButton popup="<!-- Open terminal" icon="mini-sh.xpm"><!-- exec:rxvt --></TrayButton>
to

Code: Select all

<TrayButton popup="<!-- Open terminal" icon="mini-sh.xpm"><exec:rxvt></TrayButton>
it all went wrong & the menu button disappeared along with the taskbar ... 8)

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#7 Post by trapster »

Here is my current .jwmrc-tray:

Code: Select all

<!-- Additional TrayButton attribute: label -->
<TrayButton label="Menu" icon="mini-dog.xpm"/>
<TrayButton popup="Show desktop" icon="showdesk16.xpm">showdesktop</TrayButton>
<!--	<TrayButton popup="Open terminal" icon="mini-sh.xpm">exec:rxvt</TrayButton> -->
<!--	<TrayButton popup="Open text editor" icon="mini-edit.xpm">exec:defaulttexteditor</TrayButton> -->
Note:
The "Open terminal" + "Open text editor" are both commented out with the <!-- ##### --> at the beginning and end of each line.

Though, I never have figured out why the first line didn't need to end with the closing bracket of </TrayButton> like all the other lines do.
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
laika
Posts: 113
Joined: Tue 16 Jan 2007, 00:58

#8 Post by laika »

amish wrote: alienjeff would be laughing at me right now, we've debated whether the jwm config files have too much (confusing) leftover clutter in them. my stand is that it helps people see examples of things- it's useful, his stand is the other.


FWIW, i found those leftovers helpful as an example. and i think it was the rxvt-terminal that i uncommented to use in my tray.

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

jwm Desktop problem

#9 Post by alienjeff »

I've removed the pre/post edited .jwmrc file in light of what Rarsa has detailed further down this thread in relation to preserving the function of pupget addons making it to the menu.
Last edited by alienjeff on Mon 29 Jan 2007, 22:00, edited 1 time in total.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#10 Post by paulh177 »

Just to say I got a good night's sleep and had a nother look.
"showdesktop" is broken -- it blanks out to a grey screen.
rxvt button works though
thanks for the help

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

jwm desktop problem

#11 Post by alienjeff »

Paul:

This isn't a fix, but instead a cheap work-around to accomplish the same thing. Add an extra "virtual desktop" and don't use it as a workspace, but keep it clear for a faux-show desktop button.

-alienjeff
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

Re: jwm Desktop problem

#12 Post by rarsa »

Alienjeff,

(the following parragraph is not trying to justify clutter in the file, or the implementation that uses them. Just explaining why they are there)

Those commented out menu entries on the .jwmrc are used by the pupget installer. The pupget script uncomments entries as they get installed. That was the way Barry found to "insert" the menu entries where he wanted them to be after installation.

I'd recommend not to advise new users to remove the comments. If they do, when they install a pupget, the entry won't appear in the menu.

With XDG all that is no longer necessary.

I know you have some comptempt for XDG but, how else would you insert things in a menu without knowing before hand what is the menu structure? (with XDG you don't need to know the menu structure)
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

jwm desktop problem

#13 Post by alienjeff »

Thanks for the explanation, Rarsa.

There *has* to be a better way, yet I'm still unconvinced that XDG is the "Final Solution" ...

If those "commented out" lines were so important and integral to the inner workings of pupget, then there should have been a line in .jwmrc to appropriately warn users.

Yes, I know ... hindsight is always 20/20.

Again, thanks, brother.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#14 Post by paulh177 »

@alienjeff : i had already thought of that funnily enough but it seemed like a way to get confused when i forgot i was in a different desktop (i'm easily confused... )

to contribute to one aspect of the other discussion:

As a noob (to XML), while i find the cleaned version easier to look at to begin with, once i have my "eye in" for the code, i can start to screen out what I don't want to see; so i (like most humans i think ) have a builtin folding editor.

thanks for the help again. I'm even adding buttons now.
paul

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

Re: jwm Desktop problem

#15 Post by WhoDo »

rarsa wrote:With XDG all that is no longer necessary.

I know you have some comptempt for XDG but, how else would you insert things in a menu without knowing before hand what is the menu structure? (with XDG you don't need to know the menu structure)
Please forgive me hijacking the discussion here, but I'm afraid I don't understand XDG very well.

When I installed 2.14alpha as an upgrade, it had XDG menus by default but it didn't find ANY of the programs previously installed as dotpups.

Thinking I was doing something to help that situation, I ran the fixmenus script as suggested in another thread and the result was that my menus were "emptied out"! When I looked at my .jwmrc file and the Icewm equivalent all the entries were pointing to "null". All I could do to recover was replace the .jwmrc with a backup and refresh the Icewm menu file.

Clearly I don't understand the XDG system. If it can't put the existing dotpups back in the right place, even though they have been compiled using MU's dotpup wizard that asks for an XDG category, surely there must be a fundamental problem? Or am I just being obtuse? And where does pup2pet fit in here?

I really want XDG menus to work the way originally envisaged, but I also want them to be relatively idiot proof or I can't use them for my clients. Can you give me a clue as to what I've done wrong, please?

Cheers

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#16 Post by rarsa »

Please consider that this is an Alpha release. I am sure this will not be the final implementation of XDG.

I'd recommend reporting bugs to Barry's forum.

Regards.
Last edited by rarsa on Tue 30 Jan 2007, 01:42, edited 1 time in total.
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#17 Post by WhoDo »

rarsa wrote:I'll answer you in a PM to avoid hijacking the thread.
Thanks, mate. Much appreciated. Should have thought about a PM myself in the first place. :roll: Sorry.

Cheers

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

Re: jwm Desktop problem

#18 Post by alienjeff »

WhoDo wrote: I really want XDG menus to work the way originally envisaged, but I also want them to be relatively idiot proof or I can't use them for my clients.
Clients? Thin clients as in spartan computer architecture, or clients as in human consumers of a service or product? RSVP, as inquiring minds want to know.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

Re: jwm Desktop problem

#19 Post by WhoDo »

alienjeff wrote:Clients? Thin clients as in spartan computer architecture, or clients as in human consumers of a service or product? RSVP, as inquiring minds want to know.
Human consumers of a free service and product.

A couple of days a week I supervise a Work for the Dole project, where we take donated computers, refurbish them, load them with Puppy and donate them in turn to people and organisations who cannot afford to buy them - community groups, refuges, disadvantaged schools, migrant resource centre, etc. Even the WfD participants, being unemployed, also qualify for a free PC so they can search for jobs online and write job applications, etc.

Our "clients" are usually either computer illiterate or only have limited exposure to Window$. They cannot afford to pay for support and we don't have the resources to solve all of their problems once the machine is in their hands. We have to make them as user-friendly, and idiot-proof, as possible. We'll fix their hardware for free, anytime, but user support is not part of our program.

Hope that makes things somewhat less cloudy, old mate! 8)

Cheers

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

jwm desktop problem

#20 Post by alienjeff »

A noble effort, indeed, WhoDo. Thanks for the clarification and I tip my hat to you. Well done.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

Post Reply