How to make IceWM Menu look like JWM Menu?

Using applications, configuring, problems
Post Reply
Message
Author
giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

How to make IceWM Menu look like JWM Menu?

#1 Post by giannis4 »

Hello. I want to play with IceWM, so I downloaded the appropriate package from PPM for slacko 5.7.(Icewm 1.3.7)
I changed into it with the command :xwin icewm-session.
So far so good but when I click on the menu button I dont see many options. It doesn't look like the same as JWM menu.
I see only these options,Help,Shutdown,Windows, Settings,Logout.
I can't have access to programs.
So my question is how can I have the same menu options as like as in JWM menu?
I am sure there has to be some config trick which I am totally unaware.Please help.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#2 Post by RSH »

Looks like you are missing the template file /etc/xdg/templates/_root_.icewm_menu

Code: Select all

# Icewm menu for Puppy
# For Puppy 1.0.6 GuestToo, 2005, updated for latest Puppy by BK
# BK: XDG version, Puppy 2.14. icewm-xdgmenu create by rarsa.
# /usr/sbin/fixmenus script converts this to /root/.icewm/menu

menu	"Desktop" x24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-desktop.menu
}
menu	"System" pc24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-system.menu
}
menu "Setup" configuration24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-setup.menu
}

separator

menu "Utility" utility24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-utility.menu
}
menu "Filesystem" folder24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-filesystem.menu
}
menu "Graphic" paint24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-graphic.menu
}
menu "Document" word24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-document.menu
}
menu "Business" spread24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-calculate.menu
}
menu "Personal" date24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-personal.menu
}
menu "Network" connect24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-network.menu
}
menu "Internet" www24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-internet.menu
}
menu "Multimedia" multimedia24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-multimedia.menu
}
menu "Fun" games24 {
PUPPYMENU icewm-xdgmenu /etc/xdg/menus/puppy-fun.menu
}

separator

prog	Help help24 defaulthtmlviewer file:///usr/share/doc/index.html

menu	"Shutdown" shutdown24 {
	prog "Restart with JWM" mini-windows restartwm jwm
	restart "Restart IceWM" mini-windows icewm
	restart "Restart IceWM-lite" mini-windows icewm-lite
	prog "Restart X server" mini-x restartwm
	prog "Shutdown Computer" mini-stop wmpoweroff
	prog "Reboot Computer"  mini-arrow-right wmreboot
}
Slacko 5.7 seems not to have this template (at least the version over here)
Attachments
_root_.icewm_menu.gz
Remove the fake .gz extension and place it in /etc/xdg/templates
(1.71 KiB) Downloaded 229 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#3 Post by giannis4 »

The template file was already there but anyway I overwritten it again with no success. Menu looks the same. Any other thoughts?

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#4 Post by RSH »

Did you run fixmenus in the terminal?

Maybe this is needed.

Otherwise I'm out of ideas.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#5 Post by giannis4 »

I also did that with no luck. I don't know, I'm looking for a solution 3-4 hours now......

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#6 Post by RSH »

Can you execute fixmenus again and post terminal output here?
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#7 Post by giannis4 »

Here it is my friend

# fixmenus
Generating /root/.icewm/menu...
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
/usr/sbin/fixmenus: line 56: icewm-xdgmenu: command not found
Generating /root/.jwmrc...
#

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#8 Post by RSH »

icewm-xdgmenu
This one is needed to generate the menu for icewm.

Either your downloaded packages didn't include this, or you just did not download all needed files.

When downloading from package manager choose to examine all dependencies before downloading. It will present then all needed dependencies. Download all of them.

The icewm-xdgmenu should be in /usr/bin (at least it is here)
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#9 Post by giannis4 »

I see.The icewm-xdgmenu is not in /usr/bin neither in my PPM.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#10 Post by RSH »

Check if this works.

It's again a fake.gz - make executable after removing the fake .gz (right-click it)
Attachments
icewm-xdgmenu.gz
(5.09 KiB) Downloaded 227 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#11 Post by giannis4 »

It worked my friend.THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#12 Post by RSH »

giannis4 wrote:It worked my friend.THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!!
Cool.

Maybe this is of any interest for you.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

giannis4
Posts: 98
Joined: Fri 28 Jun 2013, 13:26

#13 Post by giannis4 »

Thank you, I'll have a look at it.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

[SOLVED] icewm-xdgmenu not running on XenialPup64-7086

#14 Post by charlie6 »

Hi RSH :)
Schoenen Gutentag!

I'm using this icewm-xdgmenu binary
http://murga-linux.com/puppy/viewtopic. ... 032#797032
since 2014 without any issue on various Puppies ...and got this error message when used on XenialPup64-7.0.8.6 with kernel 4.9.58

Code: Select all

# icewm-xdgmenu: error while loading shared libraries: libX11.so.6: wrong ELF class: ELFCLASS64
(see my post http://www.murga-linux.com/puppy/viewto ... 409#973409 )

I'm wondering if that icewm-xdgmenu binary would need to be recompiled against that new kernel?

Where to find its source code?

Posts on the web reports that «wrong ELF class: ELFCLASS64» could be a problem of 32/64 bits compatibility ...

Thanks for any advice
Charlie

LAST EDITED
Hallo RSH !
got it fixed see link above in XenialPup64-7086 thread :P
MfG
Charlie

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#15 Post by musher0 »

"How to make IceWM Menu look like JWM Menu?"

Ha, you are all slaves to the jwm god!!! Afraid of being original?
Afraid that icewm may have its own interpretation of the menu?

It's a pity to see minds narrowing. A pity. Depressing.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#16 Post by musher0 »

Hello all.

A few weeks ago, I have produced an icewm menu script that does not need an
xdg-menu based on XML or pseudo-XML. It's also faster and more direct than the
fixmenus script Puppy is offering by default.

Please go here for more:
http://murga-linux.com/puppy/viewtopic. ... ost#972007
That post is illustrated so I will not provide screen captures here. If you have
questions, please ask them on that thread. I would not want to derail this one.

I hope this helps widen everybody's mind. Providing alternatives has become a
purpose in life for me, you know: society, any society, is so set in its ways, it lacks
imagination and acceptance so much.

Finally, people, use the forum research function more? Do more thorough web
research more often? Sorry to say, but if the OP had done proper research, this
thread would have become unnecessary: I had made available to forum member torm
on that other thread the original icewm xdg-menu found in earlier Puppies.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#17 Post by musher0 »

BTW, guys...

Just to give the screw another half-turn:
Why not make the JWM menu look like the IceWM menu, for a change?

Tah-dah.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply