Posts: 84
nujinini
Joined: 05 Jun 2010
#1
Hi everybody!

I installed antix 8.5 on an old PC in a friends office and they were very happy to see their PC working so fine. However, when I tried to click on Main Menu Applications, there is no list showing. It all blank. Gnumeric and abiword however can be called using CLI in terminal. Aside from that, everything seems to be working fine. Ice Ape, youtube gnumeric and abiword etc...

May I please know if there's a way to make the list of apps in Main Menu show up?

Thanks __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
For icewm, edit ~/.icewm/icemenuyap2.py so line 30 (or whatever line it is) reads

import os,sys,random,mimetypes,glob

Delete the application file in the same folder.

Logout/login.

Do same for fluxbox.
Posts: 84
nujinini
Joined: 05 Jun 2010
#3
Thank you anti.

__{{emoticon}}__
Posts: 5
JOHNK
Joined: 26 Sep 2010
#4
I am also seeing this issue.

I have tried the fix on the .icewm/icemenuyap2.py file in the home directory without success. I have also installed some games with antix>manage packages>synaptic

I can run them from the installed location but they do not show on the menu.

Am I missing something else?
Posts: 516
oldhoghead
Site Admin
Joined: 01 Oct 2007
#5
Well, should be an easy fix,

in icewm:

go to menu>Desktop>IceWM>Update Menu (Auto)

also I like to run as root in terminal

updatedb

to sync eveything, especially after adding packages, etc

cheers,
ohh
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#6
Some apps don't appear in the menu because they don't have a .desktop file in /usr/share/applications.
To make a .desktop app, use the System -> Tools -> Add.desktop Files app.

You'll need to do what oldhoghead suggests above afterwards.
Posts: 5
JOHNK
Joined: 26 Sep 2010
#7
oldhoghead wrote:Well, should be an easy fix,

in icewm:

go to menu>Desktop>IceWM>Update Menu (Auto)


also I like to run as root in terminal

updatedb

to sync eveything, especially after adding packages, etc

cheers,
ohh

Thanks for the response

Tried both just now but neither worked.

Since the application file is empty and is recreated empty if deleted I suspect the ~.icewm/icemenuyap2.py file or call has a bug and is not populating the applications file.

Could this line in ~.icewm/menu be the problem?

menufile"Applications" /usr/share/icons/gTangish-2.0a1/32x32/apps/blam.png application

The header in the PY file has this entry:

Usage: python icemenuyap2.py > icemenu.txt
# or add to icewm startup file:
# python ~/.icewm/icemenuyap2.py > ~/.icewm/application &
# and to icewm menu file:
# menufile"Application""folder" ~/.icewm/application

There are a lot of .desktop entries in /usr/share/applications that are not showing up.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#8
Did you make the necessary edit to icemenuyap2.py file as I posted earlier?
Posts: 5
JOHNK
Joined: 26 Sep 2010
#9
Ok here is the latest.

I have edited the icemenuyap2.PY file as described in the first post. I tried OHH's suggestions as well.

I also tried to execute the script manually after the edit with the following error:

john@antiX1:~/.icewm$ python icemenuyap2.py > icemenu.txtTraceback (most recent call last):
File"icemenuyap2.py", line 84, in <module>
icepr_st="prog"+"\""+name_st+"\""+""+"\""+icon_st+"\""+""+exec_st
NameError: name 'icon_st' is not defined
john@antiX1:~/.icewm$

Not sure how to define"icon_st"

I don't speak python very well.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#10
Download these 2 files, make them executable (via Rox-filer, right click on files ->Properties ->Check Exec boxes) and put them in your /home/username icewm/fluxbox folders.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepisimo.com/antix/Tarballs/"
linktext was:"http://www.mepisimo.com/antix/Tarballs/"
====================================


gnome2fluxmenu4.py for fluxbox
icemenuyap2.py for icewm

Remove the application(s) file.
Log out/log in.
Posts: 5
JOHNK
Joined: 26 Sep 2010
#11
Ok tried that with no success. It did change my wallpaper though.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#12
Those 2 files shouldn't do anything to your wallpaper.
Something else must be wrong.
Posts: 5
JOHNK
Joined: 26 Sep 2010
#13
I had changed the wallpaper, after installing the new files it was back to the default.

Since I had installed packages and played around with the themes something may be out of whack. I am reinstalling from scratch to have an untweaked system to play with.. I note the Live cd has the applications in the menu.

FYI: The system is PIII 500 128mb with clean 20gb hd, cdrom and network card. Not much else. I use the entire 20 gb disk for the install using the auto method.

I'll try the files on the new installation.
Posts: 84
nujinini
Joined: 05 Jun 2010
#14
anticapitalista wrote:For icewm, edit ~/.icewm/icemenuyap2.py so line 30 (or whatever line it is) reads

import os,sys,random,mimetypes,glob

Delete the application file in the same folder.

Logout/login.

Do same for fluxbox.

Code: Select all

root@elimoffice:~# nano ~/.icewm/icemenuyap2.py
root@elimoffice:~# cd ~/.icewm/icemenuyap2.py
-su: cd: /root/.icewm/icemenuyap2.py: No such file or directory
root@elimoffice:~# cat ~/.icewm/icemenuyap2.py
cat: /root/.icewm/icemenuyap2.py: No such file or directory
root@elimoffice:~# ls ~/.icewm/icemenuyap2.py
ls: cannot access /root/.icewm/icemenuyap2.py: No such file or directory
root@elimoffice:~# 
Hi!

It's only now I get to visit the office of my friend and tried to edit the file you said but I can't seem to get it right. I hope you can give me specifics since I am not yet that well versed in linux. Thank you! __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#15
Cave man instructions for nujinini from Neanderthal Biker. __{{emoticon}}__

No need to be root. Can edit with Leafpad or Geany also if you want to.

Does your friends .icewm folder look like this inside?



Right click on icemenuyap2.py (if it is there) and open with leafpad or geany (choice is yours). Proceed with your edit.

Happy trails, Rok