trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: April 2020

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

From: "Marvin Jones via trinity-users" <trinity-users@...>
Date: Wed, 29 Apr 2020 09:27:03 -0600 (MDT)
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
-- 
  Marvin L Jones     | Marvin     | W3DHJ  | linux
   Pueblo, Colorado  |  @         | Jonesy |  FreeBSD __
    38.238N 104.547W |   jonz.net | DM78rf |          SK