<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi wwp,<br>
<br>
finally I managed to have my start menu entries being shown. The reason
why they were not shown was that in the file<br>
<br>
.config/menus/application-kmenuedit.menu<br>
<br>
there were the following lines:<br>
<br>
<Menu><br>
<Name>file1</Name><br>
<Deleted/><br>
</Menu><br>
<br>
I assume that these lines were created when I manually removed my
submenu (created by file1.directory). It seems that if a submenu is
manually removed once then it can never be readded using
xdg-desktop-menu.<br>
<br>
I do not know if this "feature" is caused by Suse 11.1 / KDE 4.1.3 or
by xsd-utils 1.0.2. Were should I file the problem?<br>
<br>
Cheers,<br>
--Stefan<br>
<br>
<br>
<br>
wwp wrote:
<blockquote cite="mid:20090520174736.34a336b9@monolith" type="cite">
<pre wrap="">Hello Stefan,
On Wed, 20 May 2009 16:53:13 +0200 Stefan Wachter <a class="moz-txt-link-rfc2396E" href="mailto:Stefan.Wachter@gmx.de"><Stefan.Wachter@gmx.de></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I have one .directory and a couple of .desktop files. I tried to install
these using
xdg-desktop-menu install file1.directory file2.desktop file3.desktop
file4.desktop file5.desktop
The command returns with no error but the entries do not show up in the
start menu. Then I tried to install them withouth the directory using
xdg-desktop-menu install file2.desktop file3.desktop file4.desktop
file5.desktop
Again, the command returned without error, but no entries showed up.
After I had set the XDG_UTILS_DEBUG_LEVEL to 999 I repeated the above
command and saw the command did write into various locations with no
sign of an error (see log below).
I use OpenSuse 11.1 with KDE 4.1.3. Does anyone have an idea what could
be wrong? Thanks for your attention,
</pre>
</blockquote>
<pre wrap=""><!---->
I wouldn't expect this with a SuSe 11, but I noticed that according to
the distro and the desktop (Gnome, KDE, etc.), you have to logout/login
your graphical (X11/X.org) sessions to see new additions to the desktop
or menu.
Regards,
</pre>
<blockquote type="cite">
<pre wrap="">--Stefan
update_submenu
Install locations for *.menu file:
xdg_user_dir: /home/swachter/.config/menus/applications-merged
xdg_global_dir: /applications-merged
kde_user_dir:
kde_global_dir:
gnome_user_dir:
gnome_global_dir:
Install locations for *.directory files:
xdg_user_dir: /home/swachter/.local/share/desktop-directories
xdg_global_dir:
kde_user_dir:
kde_global_dir:
gnome_user_dir:
gnome_global_dir:
Install locations for *.desktop files:
xdg_user_dir: /home/swachter/.local/share/applications
xdg_global_dir:
kde_user_dir: /home/swachter/.kde/share/applnk
kde_global_dir:
gnome_user_dir: /home/swachter/.gnome/apps
gnome_global_dir:
install polfha-starten.desktop in
/home/swachter/.local/share/applications
/home/swachter/.kde/share/applnk /home/swachter/.
gnome/apps
make_lazy_default
/home/swachter/.local/share/applications/polfha-starten.desktop
_______________________________________________
Portland mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Portland@lists.freedesktop.org">Portland@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/portland">http://lists.freedesktop.org/mailman/listinfo/portland</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Portland mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Portland@lists.freedesktop.org">Portland@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/portland">http://lists.freedesktop.org/mailman/listinfo/portland</a>
</pre>
</blockquote>
<br>
</body>
</html>