Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
share /
help /
C /
system-admin-guide /
[ HOME SHELL ]
Name
Size
Permission
Action
appearance.page
538
B
-rw-r--r--
autostart-applications.page
1.88
KB
-rw-r--r--
backgrounds-extra.page
4.6
KB
-rw-r--r--
dconf-custom-defaults.page
4.03
KB
-rw-r--r--
dconf-keyfiles.page
3.09
KB
-rw-r--r--
dconf-lockdown.page
3
KB
-rw-r--r--
dconf-nfs-home.page
2.97
KB
-rw-r--r--
dconf.page
2.02
KB
-rw-r--r--
dconf-profiles.page
3.99
KB
-rw-r--r--
dconf-snippets.xml
1.62
KB
-rw-r--r--
desktop-background.page
3.75
KB
-rw-r--r--
desktop-favorite-applications.page
4.58
KB
-rw-r--r--
desktop-lockscreen.page
3.02
KB
-rw-r--r--
desktop-shield.page
2.91
KB
-rw-r--r--
extensions-enable.page
2.44
KB
-rw-r--r--
extensions-lockdown.page
3.32
KB
-rw-r--r--
extensions.page
1.82
KB
-rw-r--r--
fonts.page
2.53
KB
-rw-r--r--
fonts-user.page
1.7
KB
-rw-r--r--
gsettings-browse.page
2.65
KB
-rw-r--r--
index.page
593
B
-rw-r--r--
keyboard-compose-key.page
2.43
KB
-rw-r--r--
keyboard-layout.page
3.93
KB
-rw-r--r--
legal.xml
295
B
-rw-r--r--
lockdown-command-line.page
4.74
KB
-rw-r--r--
lockdown-file-saving.page
2.8
KB
-rw-r--r--
lockdown-logout.page
2.46
KB
-rw-r--r--
lockdown-online-accounts.page
3.34
KB
-rw-r--r--
lockdown-printing.page
2.74
KB
-rw-r--r--
lockdown-repartitioning.page
2.92
KB
-rw-r--r--
lockdown-single-app-mode.page
4.53
KB
-rw-r--r--
login-automatic.page
2.49
KB
-rw-r--r--
login-banner.page
2.59
KB
-rw-r--r--
login-enterprise.page
4.66
KB
-rw-r--r--
login-fingerprint.page
2.74
KB
-rw-r--r--
login-logo.page
3.21
KB
-rw-r--r--
login.page
687
B
-rw-r--r--
login-userlist-disable.page
1.84
KB
-rw-r--r--
logout-automatic.page
4.58
KB
-rw-r--r--
mime-types-application.page
4.23
KB
-rw-r--r--
mime-types-application-user.page
4.04
KB
-rw-r--r--
mime-types-custom.page
4.06
KB
-rw-r--r--
mime-types-custom-user.page
4.03
KB
-rw-r--r--
mime-types.page
3.85
KB
-rw-r--r--
network.page
431
B
-rw-r--r--
network-server-list.page
2.2
KB
-rw-r--r--
network-vpn.page
1.6
KB
-rw-r--r--
overrides.page
1.74
KB
-rw-r--r--
power-dim-screen.page
3.46
KB
-rw-r--r--
processes.page
4.54
KB
-rw-r--r--
session-custom.page
3.58
KB
-rw-r--r--
session-debug.page
2.22
KB
-rw-r--r--
session-user.page
3.05
KB
-rw-r--r--
setup.page
318
B
-rw-r--r--
software.page
795
B
-rw-r--r--
sundry.page
387
B
-rw-r--r--
user-settings.page
870
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mime-types-custom.page
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="mime-types-custom"> <info> <link type="guide" xref="software#management" /> <link type="seealso" xref="mime-types" /> <link type="seealso" xref="mime-types-custom-user" /> <revision pkgversion="3.12" date="2014-06-17" status="review"/> <credit type="author copyright"> <name>Petr Kovar</name> <email>pknbe@volny.cz</email> <years>2014</years> </credit> <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/> <desc>Create a MIME type specification and register a default application.</desc> </info> <title>Add a custom MIME type for all users</title> <p> To add a custom MIME type for all users on the system and register a default application for that MIME type, you need to create a new MIME type specification file in the <file>/usr/share/mime/packages/</file> directory and a <file>.desktop</file> file in the <file>/usr/share/applications/</file> directory. </p> <steps> <title>Add a custom <sys>application/x-newtype</sys> MIME Type for All Users</title> <item> <p> Create the <file>/usr/share/mime/packages/application-x-newtype.xml</file> file: </p> <code mime="application/xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/x-newtype"> <comment>new mime type</comment> <glob pattern="*.xyz"/> </mime-type> </mime-info>]]></code> <p> The sample <file>application-x-newtype.xml</file> file above defines a new MIME type <sys>application/x-newtype</sys> and assigns file names with the <file>.xyz</file> extension to that MIME type. </p> </item> <item> <p> Create a new <file>.desktop</file> file named, for example, <file>myapplication1.desktop</file>, and place it in the <file>/usr/share/applications/</file> directory: </p> <code>[Desktop Entry] Type=Application MimeType=application/x-newtype Name=<var>My Application 1</var> Exec=<var>myapplication1</var></code> <p> The sample <file>myapplication1.desktop</file> file above associates the <sys>application/x-newtype</sys> MIME type with an application named <app>My Application 1</app>, which is run by a command <cmd>myapplication1</cmd>. </p> </item> <item> <p>As root, update the MIME database for your changes to take effect:</p> <screen><output># </output><input>update-mime-database /usr/share/mime</input> </screen> </item> <item> <p>As root, update the application database:</p> <screen><output># </output><input>update-desktop-database /usr/share/applications</input> </screen> </item> <item> <p> To verify that you have successfully associated <file>*.xyz</file> files with the <sys>application/x-newtype</sys> MIME type, first create an empty file, for example <file>test.xyz</file>: </p> <screen><output>$ </output><input>touch test.xyz</input></screen> <p> Then run the <cmd>gio info</cmd> command: </p> <screen><output>$ </output><input>gio info test.xyz | grep "standard::content-type"</input> standard::content-type: application/x-newtype</screen> </item> <item> <p> To verify that <file>myapplication1.desktop</file> has been correctly set as the default registered application for the <sys>application/x-newtype</sys> MIME type, run the <cmd>gio mime</cmd> command: </p> <screen><output>$ </output><input>gio mime application/x-newtype</input> Default application for “application/x-newtype”: myapplication1.desktop Registered applications: myapplication1.desktop Recommended applications: myapplication1.desktop</screen> </item> </steps> </page>
Close