Changes between Version 3 and Version 4 of kde/ApplicationAccessRestrictions


Ignore:
Timestamp:
Mar 15, 2010, 4:57:48 PM (15 years ago)
Author:
Jörg Steffens
Comment:

added information, formating

Legend:

Unmodified
Added
Removed
Modified
  • kde/ApplicationAccessRestrictions

    v3 v4  
    1010
    1111
    12 ====== TryExec ======
     12== TryExec ==
    1313
    1414check, if the user is allowed, to execute the application:
     
    2525
    2626
    27 ====== hide application by modifying the .desktop file ======
     27
     28== adding additional checks to the .desktop file ==
    2829
    2930show only, if VMware image exists (and is readable):
     
    3233{{{
    3334[Desktop Entry]
    34 Comment=VMware mit Windows NT starten
     35Name=Windows NT
     36GeneralName=VMware
     37Exec=/usr/bin/sudo /usr/bin/sc_vmware.sh /local/vmware/vermka/Windows_NT.vmx
     38TryExec[$e]=$(test -r /local/vmware/vermka/Windows_NT.vmx && echo "/usr/bin/vmplayer" || echo "/INVALID-PROGRAM")
     39}}}
     40
     41Works with KDE3 and KDE4.
     42
     43
     44
     45'''IMPORTANT:''' with KDE3 it is possible to use {{{Hidden}}} (or {{{NoDisplay}}}) for this purpose.
     46Due 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)
     47the following is only possible with KDE3 and '''NOT''' with KDE4:
     48
     49vmware-winnt.desktop:
     50{{{
     51[Desktop Entry]
     52Name=Windows NT
     53GeneralName=VMware
    3554Exec=/usr/bin/sudo /usr/bin/sc_vmware.sh /local/vmware/vermka/Windows_NT.vmx
    3655Hidden[$e]=$(test -r /local/vmware/vermka/Windows_NT.vmx || echo "true")
    3756}}}
    3857
    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=225255
    4058
    41 ====== permissions ======
     59
     60
     61
     62
     63
     64== permissions ==
    4265
    4366Set application permissions to not executable by normal user and desktop files to be not readable.