summaryrefslogtreecommitdiff
path: root/menu.xml.hu
blob: 5fbdf3dc05e3c3757e187bb8460ece19fe99fb0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xfdesktop-menu [
	<!ENTITY menu2 SYSTEM "menu2.xml">
]>

<!-- 
     Explanantion of XFce 4 menu file: 
     =================================
     Here we will try to explain the format of the menu file. Look at the
     actual menu below for the real examples.
-->

<!-- Obviously, this is how you make a comment ;-) -->

<!-- 

  + Everything is between exactly one pair of 
    <xfdesktop-menu></xfdesktop-menu> tags.

  + Applications:
    <app name="Name in menu" cmd="Command to run" term="no" visible="yes" />
    'term' determines if the program needs a terminal to run
    Only 'name' and 'cmd' are required.

  + Separators:
    <separator/>

  + Submenus:
    <menu name="Name in menu" visible="yes"></menu>
    Only 'name' is required.
    Between the menu tags you can define more applications, separators and 
    menus.

  + Titles
    <title name="Name in menu" />
    Creates an insensitive menu title
    
  + Including other files:
    Other files can be included by using an xml trick. This is a little bit
    complicated.
    First you have to define a so called entity in the file header. See above,
    where we define a 'menu2' entity to point to a "menu2.xml" file.
    Then you can use '&entityname;' anywhere in the menu file and it will be
    replaced with the contents of the file the entity points to.
    This can be useful for example if you make a script that generates a gnome
    menu and put it in a separate file.
    
-->
<xfdesktop-menu>
    <title name="Munkaasztal menü" visible="yes" />
    <separator/>
    <app name="Program futtatása..." cmd="xfrun4"/>
    <separator/>
    <app name="Terminál" cmd="xfterm4" />
    <app name="Fájlkezelő (xffm)" cmd="xffm"/>
    <app name="Böngésző" cmd="mozilla"/>
    <separator/>
    <menu name="Beállítások" visible="yes">
        <app name="Beállításkezelő..." cmd="xfce-setting-show"/>
        <app name="Háttér..." cmd="xfce-setting-show backdrop"/>
<!-- 
        <app name="Háttér" cmd="xfce-setting-show backdrop"/>
	<app name="Munkaterületek" cmd="xfce-setting-show workspaces"/>
	<app name="Fájlkezelő (xffm)" cmd="xfce-setting-show xffm"/>
	<app name="Felhasználói felület (gtk+)" cmd="xfce-setting-show ui"/>
	<app name="Icon box" cmd="xfce-setting-show xfibx"/>
        <app name="Egér" cmd="xfce-setting-show mouse"/>
        <app name="Ablaklista" cmd="xfce-setting-show taskbar"/>
	<app name="Billentyűzet" cmd="xfce-setting-show keyboard"/>
	<app name="Ablakkezelő" cmd="xfce-setting-show xfwm4"/>
	<app name="Margók" cmd="xfce-setting-show xfwm_margins"/>
	<app name="Panel" cmd="xfce-setting-show xfce"/>
-->
    </menu>
    <separator/>
    <app name="Súgó" cmd="xfhelp4"/>
    <!-- <separator/> -->
    <!-- Set visible to yes to use this item.
      This will exit the desktop manager. If you also put 
      'exec xfdesktop' at the end of your ~/.xinitrc, this menu item can be
      used to exit the X session.
    -->
    <builtin name="Kilépés" cmd="quit" visible="no"/>
    <!-- Example on how to include a file:
      1) declare an ENTITY in the DOCTYPE tag (see above)
      2) include entity in file: 
    -->
    <!--
    &menu2;
    -->
</xfdesktop-menu>