trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2020

Re: [trinity-users] r14-xdg-update script problem

From: Slávek Banko <slavek.banko@...>
Date: Wed, 29 Apr 2020 17:52:52 +0200
On Wednesday 29 of April 2020 17:27:03 Marvin Jones via trinity-users 
wrote:
> On Wed, 29 Apr 2020, Michele Calgaro via trinity-users wrote:
> >Hi L.,
> >yes problems with test 9 are sort of expected, as we wrote in the
> >release notes as well. Thanks for getting in touch.
> >
> >Check the following file
> >"~/.config/menus/applications-tdemenuedit.menu" and check the contents
> >of the "~/.local/share/applications" folder. I think it is
> >possible/likely you have both "kde-*.desktop" and "tde-*.desktop" files
> >for the ones listed in your email. For example 'kde-kbiff.desktop' and
> >'tde-kbiff.desktop'.
> >
> >To fix this problem you can rename kde-* files to tde-* files and edit
> >"~/.config/menus/applications-tdemenuedit.menu" so to rename or remove
> >any reference like "<Filename>kde-*.desktop</Filename>".
> >
> >Depending on your edit history and system setup, the same file could be
> >names in many different sections, mostly "includes" and "excludes"
> >ones, so you need to be sure to see where the file is required.
> >
> >The starting scripts automatically does the rename in case it is safe
> >to do so, otherwise it fails and requires user intervention to avoid
> >messing things up, as in your case.
> >
> >Let us know how it goes and if you need more support.
>
> Well, I do not have the OP's problem.  But I was curious.
>
> jonesy@nix5:~$ cat $HOME/.config/menus/applications-tdemenuedit.menu
> <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
> "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
> <Menu>
>  <Menu>
>   <Name>Utilities</Name>
>   <Menu>
>    <Name>Editors</Name>
>    <Layout>
>     <Merge type="files" />
>     <Filename>org.kde.kwrite.desktop</Filename>        <<== !!!
>     <Filename>tde-kate.desktop</Filename>
>     <Filename>tde-KEdit.desktop</Filename>
>    </Layout>
>    <Include>
>     <Filename>org.kde.kwrite.desktop</Filename>        <<== !!!
>    </Include>
>   </Menu>
>   <Menu>
>    <Name>KDE</Name>
>    <Menu>
>     <Name>Editors</Name>
>     <Layout/>
>     <Exclude>
>      <Filename>org.kde.kwrite.desktop</Filename>       <<== !!!
>     </Exclude>
>    </Menu>
>   </Menu>
>  </Menu>
> </Menu>
>
> jonesy@nix5:~$ locate kwrite.desktop
> /opt/trinity/share/applications/tde/kwrite.desktop
> /usr/share/applications/org.kde.kwrite.desktop
>
> So, would it be proper for me to replace the 3 instances of
>  "org.kde.kwrite.desktop"
>    with
>  "kwrite.desktop"
>    in applications-tdemenuedit.menu ??
>
> The contents of my "~/.local/share/applications" appear 'clean'.
>
> Thanks you,
> Jonesy

You seem to have some KDE4 / KDE5 (or as it is called now) stuff installed 
that appear in the menu besides TDE items because the name and location of 
org.kde.kwrite.desktop file probably matches KDE4 / KDE5. Therefore, such 
files are probably correct and do not need to be renamed in the menu.

Cheers
-- 
Sl�vek

Attachments: