Posts: 5
SamTux
Joined: 21 Apr 2017
#1
Hi,
I installed antix not too long ago and I've learned how to use it a little bit.
Now I have a problem after I have tried another distro as a live session and restarted back to antix: All of the application item in the menu are missing.
Basically the only items in the menu now are:"Run","Settings" and"Logout".
What can we do? Thank you.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#2
open a terminal and issue this command:
desktop-menu --write-out-global
immediately afterward, reopen the menu to check whether it has been successfully restored.

ps:
I have no idea how or why livebooting another distro would have damaged your installed antiX system.
That detail may be anecdotal/unrelated.
Posts: 5
SamTux
Joined: 21 Apr 2017
#3
Nope, sorry. Tomorrow we'll try something else.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#4
Did you try to share/use your antiX home directory when booted to the other distro?
If so, ownership of some of your files may have been affected.

maybe this will fix

Code: Select all

cd ~
sudo chown yourusername:yourusername *
sudo chown yourusername:yourusername .*
desktop-menu --write-out-global
afterward, although the effect should be immediate... logout, login, and recheck the menu contents
Posts: 5
SamTux
Joined: 21 Apr 2017
#5
So I've entered the code as follows:

Code: Select all

cd ~
sudo chown Konqi:Konqi *
sudo chown Konqi:Konqi .*
desktop-menu --write-out-global
logged out, logged in, alas, still the same.
However to answer your question, I did use the home directory to copy files over via the other distro.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#6
The following will replace your desktop menus etc with known good"Day1 (first boot)" template copies

Code: Select all

mv ~/.icewm ~/.icewm_OLD
cp /etc/skel/.icewm ~/.icewm

mv ~/.jwm ~/.jwm_OLD
cp /etc/skel/.jwm ~/.jwm

mv ~.fluxbox ~.fluxbox_OLD
cp /etc/skel/.fluxbox ~/.fluxbox
cd~
sudo chown Konqi:Konqi *
sudo chown Konqi:Konqi .*
now call the utility which scans installed programs and repopulates the menu:
desktop-menu --write-out-global
Afterward, although the effect should be immediate... logout, login, and recheck the menu contents

If this doesn't resolve the problem, the most expedient"next step" would be to create a new user account (or reinstall the OS).
Last edited by skidoo on 22 Apr 2017, 19:49, edited 1 time in total.
Posts: 5
SamTux
Joined: 21 Apr 2017
#7
OK then, so I did the steps as you described, and they did manage to restore most of the items on the menu, albeit it uses now a different menu with"debian" logo. It does not however has 100% functionality for one the power menu doesn't work and using firefox is available via the terminal (it does not appear in the menu).
Changing the theme doesn't replace this as well, it only changes the way it looks... Changing the user is unavailable in this menu.
Unless you have another idea, I'm going to thank you now for your appreciated help. I'll probably reinstall antix in the coming days or so...
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#8
it uses now a different menu with"debian" logo
???

In advance, I probably should have asked for more info from you.
Which version of antiX (and, are the installed packages up-to-date)?
The menu for WHICH window manager session is affected? JWM? iceWM? fluxbox? All of 'em?

I'm not following the"menu with ___ logo" bit.
Posting a screenshot of malformed menu might be enlightening toward understanding what's going on.
Changing the user is unavailable in this menu.
Launcher is (cross fingers, should be) available via ControlCentre.
antix16 ControlCentre }} System }} Manage Users

In case"ControlCentre" entry is missing from your menu, you can Alt+F2 and type"antixcc" (noquotes)
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#9
(ah, you're seeing"debian logo" as wallpaper)

Oops, I'm sorry but the commandlines I posted were incorrect.
The following should (still) now fix your malformed menu (and restore the default theme/wallpaper).
cp -R /etc/skel/.icewm ~/.icewm
cp -R /etc/skel/.jwm ~/.jwm
cp -R /etc/skel/.fluxbox ~/.fluxbox

cd ~
sudo chown Konqi:Konqi *
sudo chown Konqi:Konqi .*
now call the utility which scans installed programs and repopulates the menu:
desktop-menu --write-out-global
Posts: 5
SamTux
Joined: 21 Apr 2017
#10
Thank you! The menu is back to normal and the window managers work as expected. I appreciate your help.