[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kiosk
Subject: Re: [Kde-kiosk] Custom Menu Trouble
From: Murray Trainer <mtrainer () central-data ! net>
Date: 2007-06-30 12:26:13
Message-ID: 1183206373.26131.12.camel () staff ! gopc ! net
[Download RAW message or body]
I figured out the best way to do custom menus. The .desktop search path
includes /usr/local/share/applications which didn't exist so I created
that directory and copied all the required application .desktop files
there. I then edited the .desktop files and changed the Categories
entry to use custom category files. I can now use the category
statements in my menu to automatically pick up only my custom categories
of application desktop files without the inconsistent results I was
getting before. This sort of setup is much more suitable for kiosk type
setups.
Murray
> Hi All,
>
> I am trying to build a custom menu with only the entries I want in it
> and none of the auto-included ones in the default KDE menu. The menu
> below appears but some of the entries, KMyMoney and Task Juggler don't
> appear for some reason. The .desktop files for these apps are on the
> system. Also template.desktop should run the OpenOffice start from
> template program. Instead it tries to start a dictionary program. Any
> idea why these things are happening. I have automatically included a
> list of all the apps at the top to help my development - hope that isn't
> interfering with anything. I am using SuSE 10.2 and have this menu as a
> kiosk profile menu file.
>
> Thanks
>
> Murray
>
>
> <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
> "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
> <Menu>
> <Name>SuSE</Name>
> <Directory>suse-main.directory</Directory>
> <!-- Search the default locations --> <KDELegacyDirs/>
> <DefaultAppDirs/>
> <DefaultDirectoryDirs/>
> <Include>
> <Category>X-SuSE-core</Category>
> </Include>
> <Menu>
> <OnlyUnallocated/>
> <Name>Applications</Name>
> <Directory>suse-applications.directory</Directory>
> <Include>
> <All/>
> </Include>
> </Menu>
>
> <Menu>
> <Name>Office</Name>
> <Include>
> <Filename>calc.desktop</Filename>
> <Filename>base.desktop</Filename>
> <Filename>impress.desktop</Filename>
> <Filename>writer.desktop</Filename>
> <Filename>template.desktop</Filename>
> <Filename>kmymoney2.desktop</Filename>
> <Filename>scribus.desktop</Filename>
> <Filename>taskjuggler.desktop</Filename>
> </Include>
> </Menu>
>
> <Menu>
> <Name>Internet</Name>
> <Include>
> <Filename>evolution.desktop</Filename>
> <Filename>gaim.desktop</Filename>
> <Filename>MozillaFirefox.desktop</Filename>
> </Include>
> </Menu>
>
> <Include>
> <Filename>kde-KControl.desktop</Filename>
> <Filename>kde-Kfind.desktop</Filename>
> <Filename>kde-Help.desktop</Filename>
> <Filename>kde-Home.desktop</Filename>
> </Include>
> </Menu>
_______________________________________________
kde-kiosk mailing list
kde-kiosk@kde.org
https://mail.kde.org/mailman/listinfo/kde-kiosk
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic