Example 5 8 we do this for all resources, while in the second part we use a more
fine granular approach by just restricting sound, localization, and wallpaper files.
Example 5 8 Resource restriction covering all resources
[KDE Resource Restrictions][$i]
all=false
[KDE Resource Restrictions][$i]
sound=false
locale=false
wallpaper=false
All the entries we could have used are
data (share/data)
html (share/doc/HTML)
icon
(share/icon)
config
(share/config)
pixmap
(share/pixmaps)
apps (share/applnk)
xdgdata apps
(share/applications)
sound
(share/sound)
locale
(share/locale)
services
(share/services)
servicetypes
(share/servicetypes)
mime
(share/mimelnk)
wallpaper
(share/wallpaper)
templates
(share/templates)
exe
(share/bin)
lib
(share/lib)
all (share/)
data_ (share/apps/)
This is somewhat confusing since not all directory names are mapped to the
same names in the configuration file. Example 5 9 shows how to use the Control
Module and Custom Restriction sections in the kdeglobals file.
Example 5 9 More KDE restriction options
[KDE Control Module Restrictions]
kde background.desktop=false
kde colors.desktop=false
kde fonts.desktop=false
kde kwindecoration.desktop=false
kde proxy.desktop=false
kde style.desktop=false
Chapter 5. Migration best practices
103
footer
Our partners:
PHP: Hypertext Preprocessor Cheap Web Hosting
JSP Web Hosting
Ontario Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Java Hosting
Cheapest Hosting
Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved