yast2 |
modules/Desktop.ycp |
Handling of .desktop entries | |
|
|
This module has an unstable interface. |
Imports
Global VariablesGlobal Functions
Local VariablesLocal Functions |
global
Modules
->
map<string,map>
YaST configuration modules
global
Groups
->
map<string,map>
YaST configuration groups
global
AgentPath
->
path
Optional agent path to the desktop files
local
Language
->
string
Optional language for reading translated entries
local
ReadLocalizedKey (path keypath, string key)
->
string
- Parameters:
-
keypath key
global
Read (list<string> Values)
->
void
Read module and group data from desktop files
- Parameters:
-
Values list of values to be parsed (empty to read all)
global
Translate (string key)
->
string
- Parameters:
-
key
local
CreateList (map M)
->
list <term>
- Parameters:
-
M
global
GroupList ()
->
list <term>
global
ModuleList (string group)
->
list <term>
- Parameters:
-
group
local
MakeAutostartMap (string exec, list<string> args)
->
map<string, string>
- Parameters:
-
exec args
global
RunViaDesktop (string exec, list<string> args)
->
void
Runs a program by writing a special desktop file. Works with KDE and GNOME. Useful for kinternet, see bug 37864#c17
- Parameters:
-
exec program to exec (basename) args