__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

�u�c6D��f�SrSSKJrJr SSKrSSKJr SSKJ	r	 SSK
rSSKrSSK
r
"SS\5rg)a/
Complete implementation of the XDG Desktop Entry Specification
http://standards.freedesktop.org/desktop-entry-spec/

Not supported:
- Encoding: Legacy Mixed
- Does not check exec parameters
- Does not check URL's
- Does not completly validate deprecated/kde items
- Does not completly check categories
�)�IniFile�is_asciiN)�ParsingError)�whichc�j�\rSrSrSrSrS=SjrSrSrSr	S	r
S
rSrSr
S
rSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr S r!S!r"S"r#S#r$S$r%S%r&S&r'S'r(S(r)S)r*S*r+S+r,S,r-S-r.S.r/S/r0S0r1S1r2S2r3S3r4S4r5S5r6S6r7S7r8S8r9S9r:S:r;S;r<S<r=g)>�DesktopEntry�z+Class to parse and validate Desktop Entries�
Desktop EntryNc���[5UlU(a6[RR	U5(aURU5 gU(aUR
U5 gg)z�Create a new DesktopEntry.

If filename exists, it will be parsed as a desktop entry file. If not,
or if filename is None, a blank DesktopEntry is created.
N)�dict�content�os�path�exists�parse�new)�self�filenames  �2/usr/lib/python3/dist-packages/xdg/DesktopEntry.py�__init__�DesktopEntry.__init__sB���v���������x�0�0��J�J�x� �
��H�H�X���c�"�UR5$�N)�getName�rs r�__str__�DesktopEntry.__str__&s���|�|�~�rc�6�[R"XSS/5 g)z�Parse a desktop entry file.

This can raise :class:`~xdg.Exceptions.ParsingError`,
:class:`~xdg.Exceptions.DuplicateGroupError` or
:class:`~xdg.Exceptions.DuplicateKeyError`.
r
�KDE Desktop EntryN)rr)r�files  rr�DesktopEntry.parse)s��	�
�
�d�?�4G�"H�Irc�8�URSSS9n[U5$)z�Looks in the PATH for the executable given in the TryExec field.

Returns the full path to the executable if it is found, None if not.
Raises :class:`~xdg.Exceptions.NoKeyError` if TryExec is not present.
�TryExecT)�strict)�getr)r�tryexecs  r�findTryExec�DesktopEntry.findTryExec2s ���(�(�9�T�(�2���W�~�rc�$�URS5$)N�Type�r&rs r�getType�DesktopEntry.getType<����x�x���rc�"�URSSS9$)z)deprecated, use getVersionString instead �Version�numeric��typer,rs r�
getVersion�DesktopEntry.getVersion>s���x�x�	�	�x�2�2rc�$�URS5$)Nr1r,rs r�getVersionString�DesktopEntry.getVersionStringA����x�x�	�"�"rc�"�URSSS9$)N�NameT��localer,rs rr�DesktopEntry.getNameC����x�x��t�x�,�,rc�"�URSSS9$)N�GenericNameTr=r,rs r�getGenericName�DesktopEntry.getGenericNameE����x�x�
�d�x�3�3rc�"�URSSS9$)N�	NoDisplay�booleanr3r,rs r�getNoDisplay�DesktopEntry.getNoDisplayGs���x�x��)�x�4�4rc�"�URSSS9$)N�CommentTr=r,rs r�
getComment�DesktopEntry.getCommentIs���x�x�	�$�x�/�/rc�"�URSSS9$)N�IconTr=r,rs r�getIcon�DesktopEntry.getIconKr@rc�"�URSSS9$)N�HiddenrHr3r,rs r�	getHidden�DesktopEntry.getHiddenMs���x�x��y�x�1�1rc�"�URSSS9$)N�
OnlyShowInT��listr,rs r�
getOnlyShowIn�DesktopEntry.getOnlyShowInO����x�x��4�x�0�0rc�"�URSSS9$)N�	NotShowInTrYr,rs r�getNotShowIn�DesktopEntry.getNotShowInQ����x�x��$�x�/�/rc�$�URS5$)Nr$r,rs r�
getTryExec�DesktopEntry.getTryExecSr:rc�$�URS5$)N�Execr,rs r�getExec�DesktopEntry.getExecUr/rc�$�URS5$)N�Pathr,rs r�getPath�DesktopEntry.getPathWr/rc�"�URSSS9$)N�TerminalrHr3r,rs r�getTerminal�DesktopEntry.getTerminalY����x�x�
��x�3�3rc�$�URSSSS9$)z%deprecated, use getMimeTypes instead �MimeTypeT�regex)rZr4r,rs r�getMimeType�DesktopEntry.getMimeType[s���x�x�
��G�x�<�<rc�"�URSSS9$)NrtTrYr,rs r�getMimeTypes�DesktopEntry.getMimeTypes^s���x�x�
��x�.�.rc�"�URSSS9$)N�
CategoriesTrYr,rs r�
getCategories�DesktopEntry.getCategories`r]rc�"�URSSS9$)N�
StartupNotifyrHr3r,rs r�getStartupNotify�DesktopEntry.getStartupNotifybs���x�x��i�x�8�8rc�$�URS5$)N�StartupWMClassr,rs r�getStartupWMClass�DesktopEntry.getStartupWMClassds���x�x�(�)�)rc�$�URS5$)N�URLr,rs r�getURL�DesktopEntry.getURLf����x�x���rc�"�URSSS9$)N�ServiceTypesTrYr,rs r�getServiceTypes�DesktopEntry.getServiceTypesks���x�x��T�x�2�2rc�$�URS5$)N�DocPathr,rs r�
getDocPath�DesktopEntry.getDocPathmr:rc�$�URSSSS9$)N�KeywordsT)rZr>r,rs r�getKeywords�DesktopEntry.getKeywordsos���x�x�
��d�x�;�;rc�$�URS5$)N�InitialPreferencer,rs r�getInitialPreference�!DesktopEntry.getInitialPreferenceqs���x�x�+�,�,rc�$�URS5$)N�Devr,rs r�getDev�DesktopEntry.getDevsr�rc�$�URS5$)N�FSTyper,rs r�	getFSType�DesktopEntry.getFSTypeus���x�x��!�!rc�$�URS5$)N�
MountPointr,rs r�
getMountPoint�DesktopEntry.getMountPointw����x�x��%�%rc�"�URSSS9$)N�ReadOnlyrHr3r,rs r�getReadonly�DesktopEntry.getReadonlyyrrrc�"�URSSS9$)N�UnmountIconTr=r,rs r�getUnmountIcon�DesktopEntry.getUnmountIcon{rErc�"�URSSS9$)N�MiniIconTr=r,rs r�getMiniIcon�DesktopEntry.getMiniIcon�s���x�x�
�4�x�0�0rc�$�URS5$)N�TerminalOptionsr,rs r�getTerminalOptions�DesktopEntry.getTerminalOptions�s���x�x�)�*�*rc�$�URS5$)N�
DefaultAppr,rs r�
getDefaultApp�DesktopEntry.getDefaultApp�r�rc�"�URSSS9$)N�	ProtocolsTrYr,rs r�getProtocols�DesktopEntry.getProtocols�rbrc�"�URSSS9$)N�
ExtensionsTrYr,rs r�
getExtensions�DesktopEntry.getExtensions�r]rc�$�URS5$)N�
BinaryPatternr,rs r�getBinaryPattern�DesktopEntry.getBinaryPattern�s���x�x��(�(rc�$�URS5$)N�	MapNotifyr,rs r�getMapNotify�DesktopEntry.getMapNotify�s���x�x��$�$rc�$�URS5$)N�Encodingr,rs r�getEncoding�DesktopEntry.getEncoding�s���x�x�
�#�#rc�"�URSSS9$)N�SwallowTitleTr=r,rs r�getSwallowTitle�DesktopEntry.getSwallowTitle�s���x�x��t�x�4�4rc�$�URS5$)N�SwallowExecr,rs r�getSwallowExec�DesktopEntry.getSwallowExec�s���x�x�
�&�&rc�"�URSSS9$)N�	SortOrderTrYr,rs r�getSortOrder�DesktopEntry.getSortOrder�rbrc�"�URSSS9$)N�FilePatternrur3r,rs r�getFilePattern�DesktopEntry.getFilePattern�s���x�x�
�G�x�4�4rc�"�URSSS9$)N�ActionsTrYr,rs r�
getActions�DesktopEntry.getActions�s���x�x�	��x�-�-rc�D�[RRU5SS:XaSnO5[RRU5SS:XaSnO[SU5e[	5UlUR
UR5 URSU5 Xl	g)	z�Make this instance into a new, blank desktop entry.

If filename has a .desktop extension, Type is set to Application. If it
has a .directory extension, Type is Directory. Other extensions will
cause :class:`~xdg.Exceptions.ParsingError` to be raised.
��.desktop�Application�
.directory�	DirectoryzUnknown extensionr+N)
rr�splitextrrr
�addGroup�defaultGroup�setr)rrr4s   rr�DesktopEntry.new�s����7�7���H�%�a�(�J�6� �D�
�W�W�
�
�h�
'��
*�l�
:��D��2�H�=�=��v����
�
�d�'�'�(������� �
rc�\�URS:XaURRS5 URS:XaURRS5 O;URS:wa+URS:waURRS5 URURSUlURURS
Ulg![a URRS	5 NJf=f![a URRS5 gf=f)Nr z([KDE Desktop Entry]-Header is deprecatedz.kdelnkz$File extension .kdelnk is deprecatedr�r�zUnknown File extensionr+zKey 'Type' is missingr<zKey 'Name' is missing)	r��warnings�append�
fileExtensionr
r4�KeyError�errors�namers r�checkExtras�DesktopEntry.checkExtras�s������ 3�3��M�M� � �!K�L�����*��M�M� � �!G�H�
�
�
�:�
-�$�2D�2D��2T��M�M� � �!9�:�	8����T�%6�%6�7��?�D�I�
	8����T�%6�%6�7��?�D�I���	8��K�K���6�7�	8���	8��K�K���6�7�	8�s$�!C�6!D�%D�?D�%D+�*D+c�v�XR:Xdg[R"SU5(dK[R"SU5(a[U5(dURRSU-5 gSURU;a0SURU;aURRS5 ggg)Nz^Desktop Action [a-zA-Z0-9-]+$z^X-zInvalid Group name: %srXr_z;Group may either have OnlyShowIn or NotShowIn, but not both)r��re�matchrr�r�r
)r�groups  r�
checkGroup�DesktopEntry.checkGroup�s����*�*�*�
�8�8�4�e�<�<��H�H�U�E�"�"�x�����K�K���7�%�?�@�����U� 3�3�+����V[�I\�:\����"�"�#`�a�;]�3rc��US:XGaTUS:XdUS:XdUS:XaURRSU-5 ORUS:XaURRS5 O0US:Xd*US	:Xd$US
:XdURRSU-5 URS:Xa%US
:XdURRS
U-5 O1URS:Xa!US
:XaURRS5 US:Xa.SURU;aURRS5 US	:Xa0SURU;aURRS5 gggUS:XaURX5 g[R"S[RR-S-U5(ag[R"S[RR-S-U5(agUS:XaURXSS9 g[R"S[RR-S-U5(ag[R"S[RR-S-U5(aURX5 gUS:XaURXSS9 gUS:Xa"URXSS 9 URU5 gUS!:Xa"URXSS 9 URU5 gUS":Xa$URX5 URUS5 gUS:Xa$URX5 URUS5 gUS#:Xa$URX5 URUS5 gUS$:Xa#URXSS9 URUS5 gUS%:Xa#URXSS 9 URUS5 gUS:Xa#URXSS 9 URUS5 gUS&:Xa5URX5 URUS5 URU5 g[R"S'[RR-S-U5(a$URXS(SS)9 URUS5 gUS*:Xa#URXSS9 URUS5 gUS+:XaURUS5 gUS:Xa$URX5 URUS5 gUS,:Xa/URXSS 9 URRS-U-5 gUS.:Xa0URX5 URRS-U-5 gUS/:Xa/URXS0S9 URRS-U-5 gUS1:XaBURX5 URUS5 URRS-U-5 gUS2:XaBURX5 URUS5 URRS-U-5 gUS3:XaBURX5 URUS5 URRS-U-5 gUS4:XaAURXSS9 URUS5 URRS-U-5 g[R"S5[RR-S-U5(aBURX5 URUS5 URRS-U-5 gUS6:Xa0URX5 URRS7U-5 g[R"S8[RR-S-U5(a0URX5 URRS7U-5 gUS9:Xa0URX5 URRS7U-5 gUS::Xa0URX5 URRS7U-5 gUS;:Xa/URXSS 9 URRS7U-5 gUS<:Xa/URXSS 9 URRS7U-5 gUS=:Xa0URX5 URRS7U-5 gUS>:Xa0URX5 URRS7U-5 g[R"S?[RR-S-U5(aURRS7U-5 gUS@:Xa0URX5 URRS7U-5 gUSA:Xa0URXSBSS)9 URRS7U-5 gUSC:Xa/URXSS 9 URRS7U-5 g[R"SDU5(agURRSEU-5 g)FNr+�ServiceType�Service�FSDevicezType=%s is a KDE extensionrtzType=MimeType is deprecatedr��Linkr�zGValue of key 'Type' must be Application, Link or Directory, but is '%s'r�z.File extension is .directory, but Type is '%s'r�z>Files with Type=Directory should have the extension .directoryrgz!Type=Application needs 'Exec' keyr�zType=Link needs 'URL' keyr1z^Name�$z^GenericNamerGrHr3z^Commentz^IconrTrXTrYr_r$rkror�r|z	^Keywords�localestring)r4rZr�r�r�zKey '%s' is a KDE extensionr�r�r2r�r�r�r�z^UnmountIconr�zKey '%s' is deprecatedz	^MiniIconr�r�r�r�r�r�z
^SwallowTitler�r�rur�z^X-[a-zA-Z0-9-]+zInvalid key: %s)r�r�r�r�r
�
checkValuer�r��xdg�Localeru�checkOnlyShowIn�	checkType�checkCategories)r�key�valuer�s    r�checkKey�DesktopEntry.checkKey�sn���&�=��
�%��)�);�u�
�?R��
�
�$�$�%A�C�%G�H��*�$��
�
�$�$�%B�C��}�,����5�K�CW����"�"�#l�ot�#t�u��!�!�\�1�%�;�:N��
�
�$�$�%U�X]�%]�^��#�#�z�1�e�{�6J��
�
�$�$�%e�f��
�%�����e�!4�4��M�M�(�(�)L�M��������U� 3�3��M�M�(�(�)D�E�4���I�
��O�O�C�'�
�X�X�g�c�j�j�.�.�.�s�2�C�
8�
8��
�X�X�n�S�Z�Z�%5�%5�5�c�9�3�
?�
?��
�K�
��O�O�C�Y�O�7�
�X�X�j����!1�!1�1�#�5�s�
;�
;��
�X�X�g�c�j�j�.�.�.�s�2�C�
8�
8��O�O�C�'�
�H�_��O�O�C�Y�O�7�
�L�
 ��O�O�C�T�O�2�� � ��'�
�K�
��O�O�C�T�O�2�� � ��'�
�I�
��O�O�C�'��N�N�3�
�.�
�F�]��O�O�C�'��N�N�3�
�.�
�F�]��O�O�C�'��N�N�3�
�.�
�J�
��O�O�C�Y�O�7��N�N�3�
�.�
�I�
��O�O�C�T�O�2��N�N�3�
�.�
�J�
��O�O�C�T�O�2��N�N�3�
�.�
�L�
 ��O�O�C�'��N�N�3�
�.�� � ��'�
�X�X�k�#�*�*�"2�"2�2�3�6��
<�
<��O�O�C�^�$�O�G��N�N�3�
�.�
�O�
#��O�O�C�Y�O�7��N�N�3�
�.�
�$�
$��N�N�3�
�.�
�E�\��O�O�C�'��N�N�3��&��N�
"��O�O�C�T�O�2��M�M� � �!>��!D�E�
�I�
��O�O�C�'��M�M� � �!>��!D�E�
�'�
'��O�O�C�Y�O�7��M�M� � �!>��!D�E�
�E�\��O�O�C�'��N�N�3�
�+��M�M� � �!>��!D�E�
�H�_��O�O�C�'��N�N�3�
�+��M�M� � �!>��!D�E�
�L�
 ��O�O�C�'��N�N�3�
�+��M�M� � �!>��!D�E�
�J�
��O�O�C�Y�O�7��N�N�3�
�+��M�M� � �!>��!D�E�
�X�X�n�S�Z�Z�%5�%5�5�c�9�3�
?�
?��O�O�C�'��N�N�3�
�+��M�M� � �!>��!D�E��J�
��O�O�C�'��M�M� � �!9�C�!?�@�
�X�X�k�#�*�*�"2�"2�2�3�6��
<�
<��O�O�C�'��M�M� � �!9�C�!?�@�
�%�
%��O�O�C�'��M�M� � �!9�C�!?�@�
�L�
 ��O�O�C�'��M�M� � �!9�C�!?�@�
�K�
��O�O�C�T�O�2��M�M� � �!9�C�!?�@�
�L�
 ��O�O�C�T�O�2��M�M� � �!9�C�!?�@�
�O�
#��O�O�C�'��M�M� � �!9�C�!?�@�
�K�
��O�O�C�'��M�M� � �!9�C�!?�@�
�X�X�o�c�j�j�&6�&6�6�s�:�C�
@�
@��M�M� � �!9�C�!?�@�
�M�
!��O�O�C�'��M�M� � �!9�C�!?�@�
�M�
!��O�O�C�W�4�O�@��M�M� � �!9�C�!?�@�
�K�
��O�O�C�T�O�2��M�M� � �!9�C�!?�@��X�X�(�#�
.�
.��
�K�K���0�3�6�7rc�t�UR5U:Xd$URRSU<SU<35 gg)NzKey 'z' only allowed in Type=)r-r�r�)rrr4s   rr
�DesktopEntry.checkType�s,���|�|�~��%��K�K���S�$�O�P�&rc��URU5n/SQnUH3nXC;dM
USSS:wdMURRSU-5 M5 g)N)
�GNOME�KDE�LXDE�MATE�Razor�ROX�TDE�Unity�XFCE�Oldr��X-z)'%s' is not a registered OnlyShowIn value)�getListr�r�)rr
�values�valid�items     rr	�DesktopEntry.checkOnlyShowIn�sM�����e�$�� ���D�� �T�!�A�Y�$�%6����"�"�#N�QU�#U�V�rc�8^�URU5n/SQm[U4SjU55(dURRS5 /SQnUT-nUH@nXT;dM
UR	S5(aM"URRSU-5 MB g)N)
�
AudioVideo�Audio�Video�Development�	Education�Game�Graphics�Network�Office�Science�Settings�System�Utilityc3�,># �UH	oT;v� M g7fr�)�.0r"�mains  �r�	<genexpr>�/DesktopEntry.checkCategories.<locals>.<genexpr>�s����3�F�D�4�<�F�s�zMissing main category)~�Building�Debugger�IDE�GUIDesigner�	Profiling�RevisionControl�Translation�Calendar�ContactManagement�Database�
Dictionary�Chart�Email�Finance�	FlowChart�PDA�ProjectManagement�Presentation�Spreadsheet�
WordProcessor�
2DGraphics�VectorGraphics�RasterGraphics�
3DGraphics�Scanning�OCR�Photography�
Publishing�Viewer�	TextTools�DesktopSettings�HardwareSettings�Printing�PackageManager�Dialup�InstantMessaging�Chat�	IRCClient�Feed�FileTransfer�HamRadio�News�P2P�RemoteAccess�	Telephony�TelephonyTools�VideoConference�
WebBrowser�WebDevelopment�Midi�Mixer�	Sequencer�Tuner�TV�AudioVideoEditing�Player�Recorder�DiscBurning�
ActionGame�
AdventureGame�
ArcadeGame�	BoardGame�
BlocksGame�CardGame�KidsGame�	LogicGame�RolePlaying�Shooter�
Simulation�
SportsGame�StrategyGame�Art�Construction�Music�	Languages�ArtificialIntelligence�	Astronomy�Biology�	Chemistry�ComputerScience�DataVisualization�Economy�Electricity�	Geography�Geology�
Geoscience�History�
Humanities�ImageProcessing�
Literature�Maps�Math�NumericalAnalysis�MedicalSoftware�Physics�Robotics�Spirituality�Sports�ParallelComputing�	Amusement�	Archiving�Compression�Electronics�Emulator�Engineering�	FileTools�FileManager�TerminalEmulator�
Filesystem�Monitor�Security�
Accessibility�
Calculator�Clock�
TextEditor�
Documentation�Adult�Corerrr�GTK�Qt�Motif�Java�ConsoleOnlyrz!'%s' is not a registered Category)r�anyr�r��
startswith)rr
r �
additional�
allcategoriesr"r5s      @rr�DesktopEntry.checkCategories�s�������e�$��a���3�F�3�3�3��K�K���6�7�c�
�"�T�)�
��D��(�����1F�1F����"�"�#F��#M�N�rc�Z�[R"S[5 URU5$)zPDeprecated alias for checkCategories - only exists for backwards
compatibility.
z1checkCategorie is deprecated, use checkCategories)r��warn�DeprecationWarningr)rr
s  r�checkCategorie�DesktopEntry.checkCategorie�s(��	�
�
�I�<N�	P��#�#�E�*�*r)r
rr�r4r)>�__name__�
__module__�__qualname__�__firstlineno__�__doc__r�rrrr(r-r5r8rrCrIrMrQrUr[r`rdrhrlrprvryr}r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rr�r�rr
r	rr��__static_attributes__r3rrrrs$��1�"�L�
��J�� �3�#�-�4�5�0�-�2�1�0�#� � �4�=�/�1�9�*��
3�#�<�-��"�&�4�4�
1�+�&�0�1�)�%�$�5�'�0�5�.�
!�*8�.	b�z8�xQ�X�P�+rr)r��xdg.IniFilerr�
xdg.Localer�xdg.Exceptionsr�xdg.utilr�os.pathrr�r�rr3rr�<module>r�s/��
�*��'���	��[+�7�[+r

Filemanager

Name Type Size Permission Actions
BaseDirectory.cpython-313.pyc File 8.89 KB 0644
Config.cpython-313.pyc File 1.42 KB 0644
DesktopEntry.cpython-313.pyc File 25.28 KB 0644
Exceptions.cpython-313.pyc File 4.62 KB 0644
IconTheme.cpython-313.pyc File 23.22 KB 0644
IniFile.cpython-313.pyc File 17.07 KB 0644
Locale.cpython-313.pyc File 2.32 KB 0644
Menu.cpython-313.pyc File 55.46 KB 0644
MenuEditor.cpython-313.pyc File 26.44 KB 0644
Mime.cpython-313.pyc File 35.72 KB 0644
RecentFiles.cpython-313.pyc File 9.58 KB 0644
__init__.cpython-313.pyc File 2.11 KB 0644
util.cpython-313.pyc File 3.25 KB 0644
Filemanager