Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
dk:howto:customize-menu [2009/12/05 16:12] – 77.254.221.69 | dk:howto:customize-menu [2009/12/05 17:02] – 77.254.221.69 |
---|
| |
| |
=== Difference between NoDisplay and Hidden === | === Fosel mellem NoDisplay og Hidden === |
{{wiki:warning.png |}} If you've looked at the desktop entry file spec, you may have already noticed the difference between these two entry keys. NoDisplay will hide the application from the menu but the mime type associations will still be read by Thunar (for instance). Setting the Hidden entry key to true acts the same as deleting the file. | {{wiki:warning.png |}} Hvis du har gennemset specifikationerne til skrivebordspostfilen, har du måske allerede bemærket forskellen mellem disse to postnøgler. NoDisplay vil skjule programmet fra menuen men MIME-tilknytningen vil stadig blive læst af Thunar (som eksempel). Indstilling af postnøglen Hidden til true fungerer som sletning af filen. |
| |
| |
===== Create root entries ===== | ===== Opret root-poster ===== |
Your own menu items go to ''~/.local/share/applications''. | Dine egne menuelementer findes i ''~/.local/share/applications''. |
| |
In there, you can create standard desktop file entries per menu item, eg. for a menu item launching Eclipse, create a file named ''eclipse.desktop'' in ''~/.local/share/applications'': | I denne kan du oprette skrivebordsfilposter som standard pr menuelement. som eksempel for et menuelement til opstart af Eclipse, oprette en fil navngivet ''eclipse.desktop'' i ''~/.local/share/applications'': |
| |
[Desktop Entry] | [Desktop Entry] |
Comment=Eclipse Java IDE | Comment=Eclipse Java IDE |
| |
In order for this to show up, you have to modify ''${XDG_CONFIG_HOME:-~/.config}/menus/xfce-applications.menu'', for example: | For at denne vil fremkomme, skal du ændre ''${XDG_CONFIG_HOME:-~/.config}/menus/xfce-applications.menu'', som eksempel: |
| |
<code xml> | <code xml> |