Changes between Version 3 and Version 4 of kde/ApplicationAccessRestrictions
- Timestamp:
- Mar 15, 2010, 4:57:48 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kde/ApplicationAccessRestrictions
v3 v4 10 10 11 11 12 == ==== TryExec ======12 == TryExec == 13 13 14 14 check, if the user is allowed, to execute the application: … … 25 25 26 26 27 ====== hide application by modifying the .desktop file ====== 27 28 == adding additional checks to the .desktop file == 28 29 29 30 show only, if VMware image exists (and is readable): … … 32 33 {{{ 33 34 [Desktop Entry] 34 Comment=VMware mit Windows NT starten 35 Name=Windows NT 36 GeneralName=VMware 37 Exec=/usr/bin/sudo /usr/bin/sc_vmware.sh /local/vmware/vermka/Windows_NT.vmx 38 TryExec[$e]=$(test -r /local/vmware/vermka/Windows_NT.vmx && echo "/usr/bin/vmplayer" || echo "/INVALID-PROGRAM") 39 }}} 40 41 Works with KDE3 and KDE4. 42 43 44 45 '''IMPORTANT:''' with KDE3 it is possible to use {{{Hidden}}} (or {{{NoDisplay}}}) for this purpose. 46 Due to a bug in KDE4 (tested up until KDE 4.4, see https://trac.dass-it.de/lvermgeo/ticket/62 and https://bugs.kde.org/show_bug.cgi?id=225255) 47 the following is only possible with KDE3 and '''NOT''' with KDE4: 48 49 vmware-winnt.desktop: 50 {{{ 51 [Desktop Entry] 52 Name=Windows NT 53 GeneralName=VMware 35 54 Exec=/usr/bin/sudo /usr/bin/sc_vmware.sh /local/vmware/vermka/Windows_NT.vmx 36 55 Hidden[$e]=$(test -r /local/vmware/vermka/Windows_NT.vmx || echo "true") 37 56 }}} 38 57 39 '''IMPORTANT''' this does not work in KDE 4.3.1, see https://trac.dass-it.de/lvermgeo/ticket/62 and https://bugs.kde.org/show_bug.cgi?id=22525540 58 41 ====== permissions ====== 59 60 61 62 63 64 == permissions == 42 65 43 66 Set application permissions to not executable by normal user and desktop files to be not readable.