You are not logged in.
I deleted menus folder and saw no change in menu.
Well /etc/xdg/menus/xfce-applications.menu is the same.
As I told you, when menulibre messed up my menu. I found out that there was no /etc/xdg/menus/xfce-applications.menu file there and probably never was there!
So I copied $HOME/.config/menus/xfce-applications.menu to /etc/xdg/menus/ to see if there can be a change but no luck! Still the same!
Offline
Text of $HOME/.config/menus/xfce-applications.menu
Or File:
This is the result!
Offline
You have mixed ownership between your account and the root account of files in ~/.config/menus. They should all be owned by you (not root). Be careful with your use of sudo.
Type the following commands in your terminal window and post back the output of running these commands:
mv ~/.config/menus ~/.config/menus.bak mv ~/.local/share/desktop-directories ~/.local/share/desktop-directories.bak
Then run the following:
xfce4-panel -q PANEL_DEBUG=all xfce4-panel > ~/panel.log 2>&1
...and post back the contents of ~/panel.log.
Can you also post back the contents of /etc/xdg/menus/xfce-applications.menu. Did you ever edit this menu file?
My ownership in menus was to my user which is shadytollipop readonly
Offline
So any ideas?
Offline
What keeps creating the ~/.config/menus directory and files? Are you running alacarte or another menu editor during these tests? It should not be created automatically unless you start one of those applications.
Lets try all the commands in one go:
sudo apt install --reinstall kali-menu
mv ~/.config/menus ~/.config/menus.bak3
mv ~/.local/share/desktop-directories ~/.local/share/desktop-directories.bak3
xfce4-panel -r
Has menu reverted to original?
Also post back:
ls -l /etc/xdg/menus
ls -l /etc/xdg/menus/applications-merged
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
okay wait! I'll do in a minute. Should remove alacarte for now before this process?
Offline
Yes, please remove it.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
What keeps creating the ~/.config/menus directory and files? Are you running alacarte or another menu editor during these tests? It should not be created automatically unless you start one of those applications.
Lets try all the commands in one go:
sudo apt install --reinstall kali-menu mv ~/.config/menus ~/.config/menus.bak3 mv ~/.local/share/desktop-directories ~/.local/share/desktop-directories.bak3 xfce4-panel -r
Has menu reverted to original?
Also post back:
ls -l /etc/xdg/menus ls -l /etc/xdg/menus/applications-merged
Not it didn't change. I restarted xfce4-panel -r after those commands. Still the same menu with the same contents in it.
ls -l /etc/xdg/menus
ls -l /etc/xdg/menus/applications-merged
Results:
Last edited by shadefade (2022-03-27 17:45:52)
Offline
Yes, please remove it.
I removed it already when I asked you to remove. But as you can see no change.
Offline
Offline
ToZ wrote:What keeps creating the ~/.config/menus directory and files? Are you running alacarte or another menu editor during these tests? It should not be created automatically unless you start one of those applications.
Lets try all the commands in one go:
sudo apt install --reinstall kali-menu mv ~/.config/menus ~/.config/menus.bak3 mv ~/.local/share/desktop-directories ~/.local/share/desktop-directories.bak3 xfce4-panel -r
Has menu reverted to original?
Also post back:
ls -l /etc/xdg/menus ls -l /etc/xdg/menus/applications-merged
Not it didn't change. I restarted xfce4-panel -r after those commands. Still the same menu with the same contents in it.
ls -l /etc/xdg/menus
ls -l /etc/xdg/menus/applications-merged
Results:
Is this message okay (terminal output of xfce4-terminal -q)?
(xfce4-panel:261958): dbind-WARNING **: 22:55:49.827: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Offline
The /etc/xdg/menus/xfce-applications.menu is the wrong one. Try replacing the content of that file with this content:
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
<Name>Xfce</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<DefaultMergeDirs/>
<Include>
<Category>X-Xfce-Toplevel</Category>
</Include>
<Layout>
<Filename>xfce4-run.desktop</Filename>
<Separator/>
<Filename>exo-terminal-emulator.desktop</Filename>
<Filename>exo-file-manager.desktop</Filename>
<Filename>exo-mail-reader.desktop</Filename>
<Filename>exo-web-browser.desktop</Filename>
<Separator/>
<Menuname>Settings</Menuname>
<Menuname>Usual Applications</Menuname>
<Separator/>
<Merge type="all"/>
<Separator/>
<Filename>xfce4-about.desktop</Filename>
<Filename>xfce4-session-logout.desktop</Filename>
</Layout>
<Menu>
<Name>Settings</Name>
<Directory>xfce-settings.directory</Directory>
<Include>
<Category>Settings</Category>
</Include>
<Layout>
<Filename>xfce-settings-manager.desktop</Filename>
<Separator/>
<Merge type="all"/>
</Layout>
<Menu>
<Name>Screensavers</Name>
<Directory>xfce-screensavers.directory</Directory>
<Include>
<Category>Screensaver</Category>
</Include>
</Menu>
</Menu>
<Menu> <!-- nest all standard categories below Usual Applications -->
<Name>Usual Applications</Name>
<Directory>usual-apps.directory</Directory>
<Menu>
<Name>Accessories</Name>
<Directory>xfce-accessories.directory</Directory>
<Include>
<Or>
<Category>Accessibility</Category>
<Category>Core</Category>
<Category>Legacy</Category>
<Category>Utility</Category>
</Or>
</Include>
<Exclude>
<Or>
<Filename>exo-file-manager.desktop</Filename>
<Filename>exo-terminal-emulator.desktop</Filename>
<Filename>xfce4-about.desktop</Filename>
<Filename>xfce4-run.desktop</Filename>
</Or>
</Exclude>
</Menu>
<Menu>
<Name>Development</Name>
<Directory>xfce-development.directory</Directory>
<Include>
<Category>Development</Category>
</Include>
</Menu>
<Menu>
<Name>Education</Name>
<Directory>xfce-education.directory</Directory>
<Include>
<Category>Education</Category>
</Include>
</Menu>
<Menu>
<Name>Games</Name>
<Directory>xfce-games.directory</Directory>
<Include>
<Category>Game</Category>
</Include>
</Menu>
<Menu>
<Name>Graphics</Name>
<Directory>xfce-graphics.directory</Directory>
<Include>
<Category>Graphics</Category>
</Include>
</Menu>
<Menu>
<Name>Multimedia</Name>
<Directory>xfce-multimedia.directory</Directory>
<Include>
<Category>Audio</Category>
<Category>Video</Category>
<Category>AudioVideo</Category>
</Include>
</Menu>
<Menu>
<Name>Network</Name>
<Directory>xfce-network.directory</Directory>
<Include>
<Category>Network</Category>
</Include>
<Exclude>
<Or>
<Filename>exo-mail-reader.desktop</Filename>
<Filename>exo-web-browser.desktop</Filename>
</Or>
</Exclude>
</Menu>
<Menu>
<Name>Office</Name>
<Directory>xfce-office.directory</Directory>
<Include>
<Category>Office</Category>
</Include>
</Menu>
<Menu>
<Name>System</Name>
<Directory>xfce-system.directory</Directory>
<Include>
<Or>
<Category>Emulator</Category>
<Category>System</Category>
</Or>
</Include>
<Exclude>
<Or>
<Filename>xfce4-session-logout.desktop</Filename>
</Or>
</Exclude>
</Menu>
<Menu>
<Name>Other</Name>
<Directory>xfce-other.directory</Directory>
<OnlyUnallocated/>
<Include>
<All/>
</Include>
</Menu>
</Menu> <!-- extra usual-apps nesting -->
</Menu>
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
What if I lose all of my desktop entries? (
Offline
OH F@@@@CK! it works! I'm crying now for 3 days :__)) Don't know what to say. Thanks man! I'm sooooo gratefulll as hell!
Last edited by shadefade (2022-03-27 18:08:26)
Offline
Offline
But the question is i don't need that old xfce-applications.menu in /.config/menus/xfce-applications.menu ?
Because there'no menus folder anymore in /.config/
Last edited by shadefade (2022-03-27 18:12:28)
Offline
If you end up editing the menu using menulibre, or alacarte, or even manually, it will be created.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Is it possible that alacarte might mess up with desktop entries?
Offline
Is it possible that alacarte might mess up with desktop entries?
Yea - there are a few posts here about alacarte messing things up. You might want to try menulibre instead - or just do it by hand.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Wow, what a thread, ToZ, you're awesome!
I think you win internet today, again.
Thank you.
Offline
[ Generated in 0.017 seconds, 9 queries executed - Memory usage: 635.98 KiB (Peak: 668.82 KiB) ]