[opensuse] start menu entries do not show up after xdg-desktop-menu install
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, --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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Mittwoch, 20. Mai 2009 schrieb Stefan Wachter:
(...). I use OpenSuse 11.1 with KDE 4.1.3. Does anyone have an idea what could be wrong? Thanks for your attention,
AFAIK the xdg-utils are not openSUSE-KDE4-aware. Your log shows that it installs some files to your KDE3 directory "$HOME/.kde/" while the KDE4 directory is "$HOME/.kde4/". I suggest to open a bug report. Or add your problems to https://bugzilla.novell.com/show_bug.cgi?id=377522 Gruß Jan -- Never underestimate the power of a small tactical nuclear weapon. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi Jan, finally I managed to have my start menu entries being shown. The reason why they were not shown was that in the file .config/menus/application-kmenuedit.menu there were the following lines: <Menu> <Name>file1</Name> <Deleted/> </Menu> 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. 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? (At least it seems that xsd-util stores start menu entries at a location that KDE 4 also considers). Cheers, --Stefan Jan Ritzerfeld wrote:
Am Mittwoch, 20. Mai 2009 schrieb Stefan Wachter:
(...). I use OpenSuse 11.1 with KDE 4.1.3. Does anyone have an idea what could be wrong? Thanks for your attention,
AFAIK the xdg-utils are not openSUSE-KDE4-aware. Your log shows that it installs some files to your KDE3 directory "$HOME/.kde/" while the KDE4 directory is "$HOME/.kde4/".
I suggest to open a bug report. Or add your problems to https://bugzilla.novell.com/show_bug.cgi?id=377522
Gruß Jan
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Donnerstag, 21. Mai 2009 schrieb Stefan Wachter:
Hi Jan,
finally I managed to have my start menu entries being shown. The reason why they were not shown was that in the file
.config/menus/application-kmenuedit.menu
there were the following lines:
<Menu> <Name>file1</Name> <Deleted/> </Menu>
I assume that these lines were created when I manually removed my submenu (created by file1.directory).
According to http://standards.freedesktop.org/menu-spec/menu-spec- latest.html that is correct.
It seems that if a submenu is manually removed once then it can never be readded using xdg-desktop-menu.
This might be correct. For example, a removed sub menu will reappear each time an application is updated, if the "deleted" tag is removed when installing an item again. But I do not know this for sure.
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?
In case you have got a novell bugzilla account, you can file it there. It would be easier for the maintainer to check whether this behavior is intended or not.
(At least it seems that xsd-util stores start menu entries at a location that KDE 4 also considers).
That's good news. Gruß Jan -- Everything you know is wrong. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Jan Ritzerfeld
-
Stefan Wachter