Xfce Forum

Sub domains
 

You are not logged in.

#26 2022-03-27 16:49:26

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

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

#27 2022-03-27 16:50:28

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

shadefade wrote:

Text of $HOME/.config/menus/xfce-applications.menu

https://pastebin.com/RQHKdwcP

Or File:

https://we.tl/t-TeKcALrfhK

This is the result!

Offline

#28 2022-03-27 16:55:32

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

ToZ wrote:

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

#29 2022-03-27 17:18:43

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

So any ideas?

Offline

#30 2022-03-27 17:24:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: After installing menulibre I lost almost all of my desktop entries

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

#31 2022-03-27 17:40:36

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

okay wait! I'll do in a minute. Should remove alacarte for now before this process?

Offline

#32 2022-03-27 17:41:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: After installing menulibre I lost almost all of my desktop entries

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

#33 2022-03-27 17:45:30

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

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:

result

Last edited by shadefade (2022-03-27 17:45:52)

Offline

#34 2022-03-27 17:46:36

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

ToZ wrote:

Yes, please remove it.

I removed it already when I asked you to remove. But as you can see no change.

Offline

#35 2022-03-27 17:50:21

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

result

Offline

#36 2022-03-27 17:56:54

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

shadefade wrote:
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:

https://i.ibb.co/3YdLv03/Screenshot-202 … -44-37.png

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

#37 2022-03-27 17:59:54

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: After installing menulibre I lost almost all of my desktop entries

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

#38 2022-03-27 18:06:05

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

What if I lose all of my desktop entries? sad(

Offline

#39 2022-03-27 18:07:40

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

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

#40 2022-03-27 18:09:32

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

thanks

Offline

#41 2022-03-27 18:12:08

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

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

#42 2022-03-27 18:15:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: After installing menulibre I lost almost all of my desktop entries

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

#43 2022-03-27 19:09:23

shadefade
Member
From: Canada Toronto
Registered: 2022-03-27
Posts: 32

Re: After installing menulibre I lost almost all of my desktop entries

Is it possible that alacarte might mess up with desktop entries?

Offline

#44 2022-03-27 19:33:38

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: After installing menulibre I lost almost all of my desktop entries

shadefade wrote:

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

#45 2022-03-27 22:31:23

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: After installing menulibre I lost almost all of my desktop entries

Wow, what a thread, ToZ, you're awesome!

I think you win internet today, again.

Thank you.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 9 queries executed - Memory usage: 635.98 KiB (Peak: 668.82 KiB) ]