commit 5f80ad5e47cb03675c482bb6bc9c77a9770d9820 Author: Edu4rdSHL Date: Mon Jun 4 17:48:31 2018 -0500 Migración de Github diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9cecc1d --- /dev/null +++ b/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + 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 . + +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 +. + + 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 +. diff --git a/bashrc b/bashrc new file mode 100644 index 0000000..34bf987 --- /dev/null +++ b/bashrc @@ -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/' diff --git a/cache.sh b/cache.sh new file mode 100644 index 0000000..1ece916 --- /dev/null +++ b/cache.sh @@ -0,0 +1,4 @@ +#!/bin/sh +sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches" +sudo swapoff -a +sudo swapon -a diff --git a/conectar/conectar b/conectar/conectar new file mode 100755 index 0000000..bfcb051 --- /dev/null +++ b/conectar/conectar @@ -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 + + diff --git a/conectar/packages/dnsmasq_2.78-1_all.deb b/conectar/packages/dnsmasq_2.78-1_all.deb new file mode 100644 index 0000000..9d2f409 Binary files /dev/null and b/conectar/packages/dnsmasq_2.78-1_all.deb differ diff --git a/conectar/packages/fruitywifi-core_2.4-0kali5_amd64.deb b/conectar/packages/fruitywifi-core_2.4-0kali5_amd64.deb new file mode 100644 index 0000000..e50e5c5 Binary files /dev/null and b/conectar/packages/fruitywifi-core_2.4-0kali5_amd64.deb differ diff --git a/conectar/packages/fruitywifi-module-supplicant_1.3-0kali1_all.deb b/conectar/packages/fruitywifi-module-supplicant_1.3-0kali1_all.deb new file mode 100644 index 0000000..e59e113 Binary files /dev/null and b/conectar/packages/fruitywifi-module-supplicant_1.3-0kali1_all.deb differ diff --git a/conectar/packages/php-curl_1%3a7.0+56_all.deb b/conectar/packages/php-curl_1%3a7.0+56_all.deb new file mode 100644 index 0000000..7502cc2 Binary files /dev/null and b/conectar/packages/php-curl_1%3a7.0+56_all.deb differ diff --git a/conectar/packages/php7.0-curl_7.0.26-1_amd64.deb b/conectar/packages/php7.0-curl_7.0.26-1_amd64.deb new file mode 100644 index 0000000..c37918e Binary files /dev/null and b/conectar/packages/php7.0-curl_7.0.26-1_amd64.deb differ diff --git a/conectar/packages/php7.0-fpm_7.0.26-1_amd64.deb b/conectar/packages/php7.0-fpm_7.0.26-1_amd64.deb new file mode 100644 index 0000000..cf47c80 Binary files /dev/null and b/conectar/packages/php7.0-fpm_7.0.26-1_amd64.deb differ diff --git a/conectar/packages/php7.0-xml_7.0.26-1_amd64.deb b/conectar/packages/php7.0-xml_7.0.26-1_amd64.deb new file mode 100644 index 0000000..525c377 Binary files /dev/null and b/conectar/packages/php7.0-xml_7.0.26-1_amd64.deb differ diff --git a/conectar/packages/python-netifaces_0.10.4-0.1+b3_amd64.deb b/conectar/packages/python-netifaces_0.10.4-0.1+b3_amd64.deb new file mode 100644 index 0000000..f5581af Binary files /dev/null and b/conectar/packages/python-netifaces_0.10.4-0.1+b3_amd64.deb differ diff --git a/conkyp b/conkyp new file mode 100644 index 0000000..2647271 --- /dev/null +++ b/conkyp @@ -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 diff --git a/dnscrypt-proxy/dnscrypt-proxy.toml b/dnscrypt-proxy/dnscrypt-proxy.toml new file mode 100644 index 0000000..2d7f808 --- /dev/null +++ b/dnscrypt-proxy/dnscrypt-proxy.toml @@ -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' diff --git a/dnscrypt-proxy/dnscrypt-proxy.toml.pacnew b/dnscrypt-proxy/dnscrypt-proxy.toml.pacnew new file mode 100644 index 0000000..927f7a1 --- /dev/null +++ b/dnscrypt-proxy/dnscrypt-proxy.toml.pacnew @@ -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' diff --git a/etc/.ignore b/etc/.ignore new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/etc/.ignore @@ -0,0 +1 @@ + diff --git a/etc/NetworkManager.conf b/etc/NetworkManager.conf new file mode 100644 index 0000000..c48e647 --- /dev/null +++ b/etc/NetworkManager.conf @@ -0,0 +1,4 @@ +# Configuration file for NetworkManager. +# See "man 5 NetworkManager.conf" for details. +[main] +dns=none diff --git a/etc/X11/xinit/xinitrc b/etc/X11/xinit/xinitrc new file mode 100644 index 0000000..23df119 --- /dev/null +++ b/etc/X11/xinit/xinitrc @@ -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 diff --git a/etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh b/etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh new file mode 100644 index 0000000..edc158e --- /dev/null +++ b/etc/X11/xinit/xinitrc.d/40-libcanberra-gtk-module.sh @@ -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 diff --git a/etc/X11/xinit/xinitrc.d/50-systemd-user.sh b/etc/X11/xinit/xinitrc.d/50-systemd-user.sh new file mode 100644 index 0000000..4d49767 --- /dev/null +++ b/etc/X11/xinit/xinitrc.d/50-systemd-user.sh @@ -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 diff --git a/etc/X11/xinit/xserverrc b/etc/X11/xinit/xserverrc new file mode 100644 index 0000000..b4de252 --- /dev/null +++ b/etc/X11/xinit/xserverrc @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/X -nolisten tcp "$@" diff --git a/etc/X11/xorg.conf.d/20-intel.conf b/etc/X11/xorg.conf.d/20-intel.conf new file mode 100644 index 0000000..5001a26 --- /dev/null +++ b/etc/X11/xorg.conf.d/20-intel.conf @@ -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 diff --git a/etc/autofs b/etc/autofs new file mode 100644 index 0000000..2ca53ff --- /dev/null +++ b/etc/autofs @@ -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="" +# diff --git a/etc/bashrc b/etc/bashrc new file mode 100644 index 0000000..c64b65f --- /dev/null +++ b/etc/bashrc @@ -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 diff --git a/etc/blacklist.conf b/etc/blacklist.conf new file mode 100644 index 0000000..f6ff3eb --- /dev/null +++ b/etc/blacklist.conf @@ -0,0 +1 @@ +blacklist r8822be diff --git a/etc/cpupower b/etc/cpupower new file mode 100644 index 0000000..7ac4a0b --- /dev/null +++ b/etc/cpupower @@ -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: diff --git a/etc/dhcpcd.conf b/etc/dhcpcd.conf new file mode 100644 index 0000000..8e86c14 --- /dev/null +++ b/etc/dhcpcd.conf @@ -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 diff --git a/etc/dnscrypt-proxy.conf b/etc/dnscrypt-proxy.conf new file mode 100644 index 0000000..ac1259e --- /dev/null +++ b/etc/dnscrypt-proxy.conf @@ -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 diff --git a/etc/grub b/etc/grub new file mode 100644 index 0000000..63280f5 --- /dev/null +++ b/etc/grub @@ -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" diff --git a/etc/grub.save b/etc/grub.save new file mode 100644 index 0000000..ea20f18 --- /dev/null +++ b/etc/grub.save @@ -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" diff --git a/etc/gvimrc b/etc/gvimrc new file mode 100644 index 0000000..a1c64f4 --- /dev/null +++ b/etc/gvimrc @@ -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 +" diff --git a/etc/hostname b/etc/hostname new file mode 100644 index 0000000..c20f942 --- /dev/null +++ b/etc/hostname @@ -0,0 +1 @@ +SecHackLabs diff --git a/etc/lightdm/Xsession b/etc/lightdm/Xsession new file mode 100644 index 0000000..4a2a25e --- /dev/null +++ b/etc/lightdm/Xsession @@ -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 $@ diff --git a/etc/lightdm/keys.conf b/etc/lightdm/keys.conf new file mode 100644 index 0000000..d7fb9c2 --- /dev/null +++ b/etc/lightdm/keys.conf @@ -0,0 +1,3 @@ +[keyring] +#a=0x0123456789ABCD +#b=secret diff --git a/etc/lightdm/lightdm-gtk-greeter.conf b/etc/lightdm/lightdm-gtk-greeter.conf new file mode 100644 index 0000000..601b729 --- /dev/null +++ b/etc/lightdm/lightdm-gtk-greeter.conf @@ -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= diff --git a/etc/lightdm/lightdm.conf b/etc/lightdm/lightdm.conf new file mode 100644 index 0000000..fd4c5bd --- /dev/null +++ b/etc/lightdm/lightdm.conf @@ -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 diff --git a/etc/lightdm/users.conf b/etc/lightdm/users.conf new file mode 100644 index 0000000..452b9d1 --- /dev/null +++ b/etc/lightdm/users.conf @@ -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 diff --git a/etc/lz5.conf b/etc/lz5.conf new file mode 100644 index 0000000..0c2bded --- /dev/null +++ b/etc/lz5.conf @@ -0,0 +1 @@ +lz4_compress diff --git a/etc/metasploit/database.yml b/etc/metasploit/database.yml new file mode 100644 index 0000000..24ccf08 --- /dev/null +++ b/etc/metasploit/database.yml @@ -0,0 +1,9 @@ + production: + adapter: postgresql + database: msfdb + username: msf + password: msftest123 + host: 127.0.0.1 + port: 5432 + pool: 75 + timeout: 5 diff --git a/etc/mirrorlist b/etc/mirrorlist new file mode 100644 index 0000000..82feffe --- /dev/null +++ b/etc/mirrorlist @@ -0,0 +1 @@ +Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch diff --git a/etc/mt7601u.conf b/etc/mt7601u.conf new file mode 100644 index 0000000..30996c5 --- /dev/null +++ b/etc/mt7601u.conf @@ -0,0 +1 @@ +options mt7601u ips=0 fwlps=0 diff --git a/etc/pacman.conf b/etc/pacman.conf new file mode 100644 index 0000000..a185578 --- /dev/null +++ b/etc/pacman.conf @@ -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 + diff --git a/etc/passwd b/etc/passwd new file mode 100644 index 0000000..df80e51 --- /dev/null +++ b/etc/passwd @@ -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 + diff --git a/etc/resolv.conf b/etc/resolv.conf new file mode 100644 index 0000000..876a59f --- /dev/null +++ b/etc/resolv.conf @@ -0,0 +1,2 @@ +nameserver 127.0.0.1 +options timeout:1 diff --git a/etc/ufw b/etc/ufw new file mode 100644 index 0000000..665806f --- /dev/null +++ b/etc/ufw @@ -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" + diff --git a/etc/useradd b/etc/useradd new file mode 100644 index 0000000..e07fe27 --- /dev/null +++ b/etc/useradd @@ -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 diff --git a/etc/vimrc b/etc/vimrc new file mode 100644 index 0000000..51ec422 --- /dev/null +++ b/etc/vimrc @@ -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 diff --git a/etc/virtualbox.conf b/etc/virtualbox.conf new file mode 100644 index 0000000..c8c79a2 --- /dev/null +++ b/etc/virtualbox.conf @@ -0,0 +1,4 @@ +vboxdrv +vboxnetflt +vboxnetadp +vboxpci diff --git a/fluxbox/apps b/fluxbox/apps new file mode 100644 index 0000000..d4ac772 --- /dev/null +++ b/fluxbox/apps @@ -0,0 +1,7 @@ +[app] (name=fbrun) + [Position] (CENTER) {0 0} + [Layer] {2} +[end] +[app] (name=xclock) (class=XClock) + [Close] {yes} +[end] diff --git a/fluxbox/backgrounds/archlinux.png b/fluxbox/backgrounds/archlinux.png new file mode 100644 index 0000000..2f3b2be Binary files /dev/null and b/fluxbox/backgrounds/archlinux.png differ diff --git a/fluxbox/fbdesk b/fluxbox/fbdesk new file mode 100644 index 0000000..abd7832 --- /dev/null +++ b/fluxbox/fbdesk @@ -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 diff --git a/fluxbox/fbdesk.icons b/fluxbox/fbdesk.icons new file mode 100644 index 0000000..84b98ab --- /dev/null +++ b/fluxbox/fbdesk.icons @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=default +Exec= +Icon= +Pos= 32 32 +[end] + diff --git a/fluxbox/fbrun_history b/fluxbox/fbrun_history new file mode 100644 index 0000000..cf75973 --- /dev/null +++ b/fluxbox/fbrun_history @@ -0,0 +1,7 @@ +firefox-beta-bin +signal-desktop-beta +riot-desktop +telegram +scrot /home/shl/fluxbox.png +weechat +terminology diff --git a/fluxbox/init b/fluxbox/init new file mode 100644 index 0000000..50d4c05 --- /dev/null +++ b/fluxbox/init @@ -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 diff --git a/fluxbox/keys b/fluxbox/keys new file mode 100644 index 0000000..a886e56 --- /dev/null +++ b/fluxbox/keys @@ -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 diff --git a/fluxbox/lastwallpaper b/fluxbox/lastwallpaper new file mode 100644 index 0000000..073c2a5 --- /dev/null +++ b/fluxbox/lastwallpaper @@ -0,0 +1 @@ +$full $full|/home/shl/Pictures/Images/archlinux.png||:0.0 diff --git a/fluxbox/menu b/fluxbox/menu new file mode 100644 index 0000000..7543ed2 --- /dev/null +++ b/fluxbox/menu @@ -0,0 +1,134 @@ +# +## Menu generated with fbmenugen v0.82 +# + +[begin] (Fluxbox) +[encoding] {UTF-8} + [exec] (File Manager) {pcmanfm} + [exec] (Terminal) {xterm} + [exec] (Web Browser) {xdg-open http://} + [exec] (Run command) {fbrun} +[separator] +[submenu] (Accessories) + [exec] (About Xfce) {xfce4-about} + [exec] (Android File Transfer (MTP\)) {android-file-transfer} + [exec] (Conky Manager) {conky-manager} + [exec] (Enlightenment File Manager) {enlightenment_filemanager} + [exec] (File Manager PCManFM) {pcmanfm} + [exec] (GVim) {gvim -f} + [exec] (Leafpad) {leafpad} + [exec] (Nextcloud desktop sync client) {nextcloud} + [exec] (Passwords and Keys) {/usr/bin/seahorse} + [exec] (Vim) {xterm -e 'vim'} +[end] +[submenu] (Development) + [exec] (Genymotion Player) {/usr/bin/genymotion-player} <> + [exec] (Genymotion) {/usr/bin/genymotion} + [exec] (OpenJDK 1.7.0 Policy Tool) {/usr/lib/jvm/java-7-openjdk/jre/bin/policytool} <> + [exec] (Qt4 Assistant) {assistant-qt4} + [exec] (Qt4 Designer) {designer-qt4} + [exec] (Qt4 Linguist) {linguist-qt4} + [exec] (Qt4 QDbusViewer) {qdbusviewer-qt4} +[end] +[submenu] (Education) + [exec] (LibreOffice Math) {libreoffice --math} +[end] +[submenu] (Graphics) + [exec] (GNU Image Manipulation Program) {gimp-2.8} + [exec] (LibreOffice Draw) {libreoffice --draw} + [exec] (Viewnior) {viewnior} +[end] +[submenu] (Multimedia) + [exec] (PulseAudio Volume Control) {pavucontrol} + [exec] (Qt V4L2 test Utility) {qv4l2} + [exec] (VLC media player) {/usr/bin/vlc --started-from-file} +[end] +[submenu] (Network) + [exec] (AnyDesk) {anydesk} + [exec] (Avahi SSH Server Browser) {/usr/bin/bssh} + [exec] (Avahi VNC Server Browser) {/usr/bin/bvnc} + [exec] (FileZilla) {filezilla} + [exec] (Firefox Beta) {firefox-beta} + [exec] (Pidgin Internet Messenger) {pidgin} + [exec] (qBittorrent) {qbittorrent} + [exec] (Signal Beta) {"/opt/Signal Beta/signal-desktop-beta"} + [exec] (Tor-Browser (en-US\)) {/usr/bin/tor-browser-en} + [exec] (Wireshark (GTK+\)) {wireshark-gtk} + [exec] (Zenmap (as root\)) {/usr/share/zenmap/su-to-zenmap.sh} + [exec] (Zenmap) {zenmap} +[end] +[submenu] (Office) + [exec] (LibreOffice Base) {libreoffice --base} + [exec] (LibreOffice Calc) {libreoffice --calc} + [exec] (LibreOffice Draw) {libreoffice --draw} + [exec] (LibreOffice Impress) {libreoffice --impress} + [exec] (LibreOffice Math) {libreoffice --math} + [exec] (LibreOffice Writer) {libreoffice --writer} + [exec] (LibreOffice) {libreoffice} +[end] +[submenu] (Other) + [exec] (Terminal root) {gksu terminology} +[end] +[submenu] (Settings) + [exec] (Desktop Preferences) {pcmanfm --desktop-pref} + [exec] (Firewall Configuration) {gufw} + [exec] (Network Connections) {nm-connection-editor} + [exec] (Preferred Applications) {libfm-pref-apps} + [exec] (Privilege granting) {gksu-properties} +[end] +[submenu] (System) + [exec] (Avahi Zeroconf Browser) {/usr/bin/avahi-discover} + [exec] (BleachBit) {bleachbit} + [exec] (Enlightenment File Manager) {enlightenment_filemanager} + [exec] (File Manager PCManFM) {pcmanfm} + [exec] (GParted) {/usr/bin/gparted} + [exec] (Hardware Locality lstopo) {lstopo} <> + [exec] (Heimdall) {heimdall-frontend} <> + [exec] (Oracle VM VirtualBox) {VirtualBox} + [exec] (Terminology) {terminology} + [exec] (UXTerm) {uxterm} + [exec] (Xfce Terminal) {xfce4-terminal} + [exec] (XTerm) {xterm} +[end] +[separator] +[submenu] (Advanced Settings) + [exec] (Conky RC) {geany ~/.conkyrc} + [exec] (Tint2 Panel) {geany ~/.config/tint2/tint2rc} +[submenu] (Fbmenugen) + [exec] (Menu Schema) {geany ~/.config/fbmenugen/schema.pl} + [exec] (Menu Config) {geany ~/.config/fbmenugen/config.pl} +[separator] + [exec] (Generate a menu with icons) {fbmenugen -i} + [exec] (Generate a menu without icons) {fbmenugen -g} +[separator] + [exec] (Refresh cache) {fbmenugen -d} +[end] +[submenu] (Fluxbox) +[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} +[exit] (Exit) + +[endencoding] +[end] diff --git a/fluxbox/menu.bak b/fluxbox/menu.bak new file mode 100644 index 0000000..7208beb --- /dev/null +++ b/fluxbox/menu.bak @@ -0,0 +1,135 @@ +# +## Menu generated with fbmenugen v0.82 +# + +[begin] (Fluxbox) +[encoding] {UTF-8} + [exec] (File Manager) {pcmanfm} + [exec] (Terminal) {terminology} + [exec] (Web Browser) {firefox-beta} + [exec] (Run command) {fbrun} +[separator] +[submenu] (Accessories) + [exec] (Android File Transfer (MTP\)) {android-file-transfer} + [exec] (Elementary Test) {elementary_test} + [exec] (File Manager PCManFM) {pcmanfm} + [exec] (GVim) {gvim -f} + [exec] (Leafpad) {leafpad} + [exec] (Nextcloud desktop sync client) {nextcloud} + [exec] (Xarchiver) {xarchiver} +[end] +[submenu] (Development) + [exec] (Electron) {electron} + [exec] (Elementary Test) {elementary_test} + [exec] (Genymotion Player) {/usr/bin/genymotion-player} <> + [exec] (Genymotion) {/usr/bin/genymotion} + [exec] (OpenJDK 1.7.0 Policy Tool) {/usr/lib/jvm/java-7-openjdk/jre/bin/policytool} <> + [exec] (Qt4 Assistant) {assistant-qt4} + [exec] (Qt4 Designer) {designer-qt4} + [exec] (Qt4 Linguist) {linguist-qt4} + [exec] (Qt4 QDbusViewer) {qdbusviewer-qt4} +[end] +[submenu] (Education) + [exec] (LibreOffice Math) {libreoffice --math} +[end] +[submenu] (Graphics) + [exec] (Ephoto) {ephoto} + [exec] (GNU Image Manipulation Program) {gimp-2.8} + [exec] (LibreOffice Draw) {libreoffice --draw} +[end] +[submenu] (Multimedia) + [exec] (PulseAudio Volume Control) {pavucontrol} + [exec] (Qt V4L2 test Utility) {qv4l2} + [exec] (Rage) {rage} +[end] +[submenu] (Network) + [exec] (AnyDesk) {anydesk} + [exec] (Avahi SSH Server Browser) {/usr/bin/bssh} + [exec] (Avahi VNC Server Browser) {/usr/bin/bvnc} + [exec] (FileZilla) {filezilla} + [exec] (Firefox Beta) {firefox-beta} + [exec] (Pidgin Internet Messenger) {pidgin} + [exec] (qBittorrent) {qbittorrent} + [exec] (Riot) {"/usr/bin/riot-desktop"} + [exec] (Signal Beta) {"/opt/Signal Beta/signal-desktop-beta"} + [exec] (Telegram Desktop) {/home/shl/.Telegram/Telegram --} + [exec] (Wireshark (GTK+\)) {wireshark-gtk} + [exec] (Zenmap (as root\)) {/usr/share/zenmap/su-to-zenmap.sh} + [exec] (Zenmap) {zenmap} +[end] +[submenu] (Office) + [exec] (LibreOffice Base) {libreoffice --base} + [exec] (LibreOffice Calc) {libreoffice --calc} + [exec] (LibreOffice Draw) {libreoffice --draw} + [exec] (LibreOffice Impress) {libreoffice --impress} + [exec] (LibreOffice Math) {libreoffice --math} + [exec] (LibreOffice Writer) {libreoffice --writer} + [exec] (LibreOffice) {libreoffice} +[end] +[submenu] (Other) + [exec] (Terminal root) {gksu terminology} +[end] +[submenu] (Settings) + [exec] (Desktop Preferences) {pcmanfm --desktop-pref} + [exec] (Elementary Configuration) {elementary_config} + [exec] (Firewall Configuration) {gufw} + [exec] (Network Connections) {nm-connection-editor} + [exec] (Preferred Applications) {libfm-pref-apps} + [exec] (Privilege granting) {gksu-properties} +[end] +[submenu] (System) + [exec] (Avahi Zeroconf Browser) {/usr/bin/avahi-discover} + [exec] (BleachBit) {bleachbit} + [exec] (Enlightenment File Manager) {enlightenment_filemanager} + [exec] (File Manager PCManFM) {pcmanfm} + [exec] (GParted) {/usr/bin/gparted} + [exec] (Hardware Locality lstopo) {lstopo} <> + [exec] (Heimdall) {heimdall-frontend} <> + [exec] (Oracle VM VirtualBox) {VirtualBox} + [exec] (Terminology) {terminology} + [exec] (UXTerm) {uxterm} + [exec] (Xfce Terminal) {xfce4-terminal} + [exec] (XTerm) {xterm} +[end] +[separator] +[submenu] (Advanced Settings) + [exec] (Conky RC) {geany ~/.conkyrc} + [exec] (Tint2 Panel) {geany ~/.config/tint2/tint2rc} +[submenu] (Fbmenugen) + [exec] (Menu Schema) {geany ~/.config/fbmenugen/schema.pl} + [exec] (Menu Config) {geany ~/.config/fbmenugen/config.pl} +[separator] + [exec] (Generate a menu with icons) {fbmenugen -i} + [exec] (Generate a menu without icons) {fbmenugen -g} +[separator] + [exec] (Refresh cache) {fbmenugen -d} +[end] +[submenu] (Fluxbox) +[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} +[exit] (Exit) + +[endencoding] +[end] diff --git a/fluxbox/menuconfig b/fluxbox/menuconfig new file mode 100644 index 0000000..bdb7193 --- /dev/null +++ b/fluxbox/menuconfig @@ -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 + diff --git a/fluxbox/overlay b/fluxbox/overlay new file mode 100644 index 0000000..bb4e91c --- /dev/null +++ b/fluxbox/overlay @@ -0,0 +1,2 @@ +! The following line will prevent styles from setting the background. +! background: none diff --git a/fluxbox/startup b/fluxbox/startup new file mode 100644 index 0000000..16bb99e --- /dev/null +++ b/fluxbox/startup @@ -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" + + diff --git a/fluxbox/windowmenu b/fluxbox/windowmenu new file mode 100644 index 0000000..d867b64 --- /dev/null +++ b/fluxbox/windowmenu @@ -0,0 +1,15 @@ +[begin] + [shade] + [stick] + [maximize] + [iconify] + [raise] + [lower] + [settitledialog] + [sendto] + [layer] + [alpha] + [extramenus] + [separator] + [close] +[end] diff --git a/gvimrc b/gvimrc new file mode 100644 index 0000000..c0b0bc8 --- /dev/null +++ b/gvimrc @@ -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 +" + diff --git a/memory-checker.sh b/memory-checker.sh new file mode 100644 index 0000000..b51f42e --- /dev/null +++ b/memory-checker.sh @@ -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 diff --git a/pacman-repair.sh b/pacman-repair.sh new file mode 100644 index 0000000..c892098 --- /dev/null +++ b/pacman-repair.sh @@ -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 diff --git a/pacman_database.tar.bz2 b/pacman_database.tar.bz2 new file mode 100644 index 0000000..6cf84fb Binary files /dev/null and b/pacman_database.tar.bz2 differ diff --git a/prefs.js b/prefs.js new file mode 100644 index 0000000..054e6f1 --- /dev/null +++ b/prefs.js @@ -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); diff --git a/profile b/profile new file mode 100644 index 0000000..5f32d73 --- /dev/null +++ b/profile @@ -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 & diff --git a/ps_mem.py b/ps_mem.py new file mode 100644 index 0000000..1412054 --- /dev/null +++ b/ps_mem.py @@ -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 +# 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 [,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 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() diff --git a/robacookies.php b/robacookies.php new file mode 100644 index 0000000..9956495 --- /dev/null +++ b/robacookies.php @@ -0,0 +1,11 @@ +Lo sentimos, esta página está en construcción.

Click aquíhere para volver a la página anterior. '; +?> + diff --git a/viminfo b/viminfo new file mode 100644 index 0000000..7ac14ca --- /dev/null +++ b/viminfo @@ -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 diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..a57977b --- /dev/null +++ b/vimrc @@ -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 diff --git a/xfce4/desktop/icons.screen0-1350x672.rc b/xfce4/desktop/icons.screen0-1350x672.rc new file mode 100644 index 0000000..e175ee6 --- /dev/null +++ b/xfce4/desktop/icons.screen0-1350x672.rc @@ -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 + diff --git a/xfce4/desktop/icons.screen0-1350x721.rc b/xfce4/desktop/icons.screen0-1350x721.rc new file mode 100644 index 0000000..8b4dca7 --- /dev/null +++ b/xfce4/desktop/icons.screen0-1350x721.rc @@ -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 + diff --git a/xfce4/helpers.rc b/xfce4/helpers.rc new file mode 100644 index 0000000..7980f9c --- /dev/null +++ b/xfce4/helpers.rc @@ -0,0 +1,2 @@ +WebBrowser=firefox + diff --git a/xfce4/panel/cpugraph-17.rc b/xfce4/panel/cpugraph-17.rc new file mode 100644 index 0000000..d996934 --- /dev/null +++ b/xfce4/panel/cpugraph-17.rc @@ -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 + diff --git a/xfce4/panel/launcher-10/15147716082.desktop b/xfce4/panel/launcher-10/15147716082.desktop new file mode 100644 index 0000000..c6ffb77 --- /dev/null +++ b/xfce4/panel/launcher-10/15147716082.desktop @@ -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 diff --git a/xfce4/panel/launcher-11/15149076921.desktop b/xfce4/panel/launcher-11/15149076921.desktop new file mode 100644 index 0000000..e95a3f3 --- /dev/null +++ b/xfce4/panel/launcher-11/15149076921.desktop @@ -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 diff --git a/xfce4/panel/launcher-12/15164066721.desktop b/xfce4/panel/launcher-12/15164066721.desktop new file mode 100644 index 0000000..ab24cac --- /dev/null +++ b/xfce4/panel/launcher-12/15164066721.desktop @@ -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 diff --git a/xfce4/panel/launcher-14/15164856471.desktop b/xfce4/panel/launcher-14/15164856471.desktop new file mode 100644 index 0000000..f1479ec --- /dev/null +++ b/xfce4/panel/launcher-14/15164856471.desktop @@ -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 diff --git a/xfce4/panel/launcher-16/15149119371.desktop b/xfce4/panel/launcher-16/15149119371.desktop new file mode 100644 index 0000000..1a67b98 --- /dev/null +++ b/xfce4/panel/launcher-16/15149119371.desktop @@ -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 diff --git a/xfce4/panel/launcher-20/15149121362.desktop b/xfce4/panel/launcher-20/15149121362.desktop new file mode 100644 index 0000000..a59f4b1 --- /dev/null +++ b/xfce4/panel/launcher-20/15149121362.desktop @@ -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 diff --git a/xfce4/panel/launcher-21/15149097162.desktop b/xfce4/panel/launcher-21/15149097162.desktop new file mode 100644 index 0000000..eaecd52 --- /dev/null +++ b/xfce4/panel/launcher-21/15149097162.desktop @@ -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 diff --git a/xfce4/panel/launcher-22/15149099133.desktop b/xfce4/panel/launcher-22/15149099133.desktop new file mode 100644 index 0000000..ff92ed7 --- /dev/null +++ b/xfce4/panel/launcher-22/15149099133.desktop @@ -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 diff --git a/xfce4/panel/launcher-23/15149634861.desktop b/xfce4/panel/launcher-23/15149634861.desktop new file mode 100644 index 0000000..65296c8 --- /dev/null +++ b/xfce4/panel/launcher-23/15149634861.desktop @@ -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 diff --git a/xfce4/panel/launcher-24/15153628191.desktop b/xfce4/panel/launcher-24/15153628191.desktop new file mode 100644 index 0000000..710ceab --- /dev/null +++ b/xfce4/panel/launcher-24/15153628191.desktop @@ -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 diff --git a/xfce4/panel/launcher-25/15153855422.desktop b/xfce4/panel/launcher-25/15153855422.desktop new file mode 100644 index 0000000..b999401 --- /dev/null +++ b/xfce4/panel/launcher-25/15153855422.desktop @@ -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 diff --git a/xfce4/panel/launcher-26/15158046271.desktop b/xfce4/panel/launcher-26/15158046271.desktop new file mode 100644 index 0000000..b227806 --- /dev/null +++ b/xfce4/panel/launcher-26/15158046271.desktop @@ -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 diff --git a/xfce4/panel/launcher-27/15159394681.desktop b/xfce4/panel/launcher-27/15159394681.desktop new file mode 100644 index 0000000..5249667 --- /dev/null +++ b/xfce4/panel/launcher-27/15159394681.desktop @@ -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 diff --git a/xfce4/panel/launcher-9/15147716081.desktop b/xfce4/panel/launcher-9/15147716081.desktop new file mode 100644 index 0000000..25d9e41 --- /dev/null +++ b/xfce4/panel/launcher-9/15147716081.desktop @@ -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 diff --git a/xfce4/panel/xfce4-clipman-actions.xml b/xfce4/panel/xfce4-clipman-actions.xml new file mode 100644 index 0000000..84ea9b3 --- /dev/null +++ b/xfce4/panel/xfce4-clipman-actions.xml @@ -0,0 +1,44 @@ + + + + Bugz + bug\s*#?\s*([0-9]+) + 0 + + + GNOME Bug + exo-open http://bugzilla.gnome.org/show_bug.cgi?id=\1 + + + Xfce Bug + exo-open http://bugzilla.xfce.org/show_bug.cgi?id=\1 + + + + + Image + (http|ftp).+\.(jpg|png|gif) + 0 + + + View with Ristretto + ristretto "\0" + + + Edit with Gimp + gimp-remote "\0" + + + + + Long URL + http://[^\s]{120,} + 0 + + + Shrink the URL + exo-open http://tinyurl.com/create.php?url=\0 + + + + \ No newline at end of file diff --git a/xfce4/terminal/accels.scm b/xfce4/terminal/accels.scm new file mode 100644 index 0000000..b5ea578 --- /dev/null +++ b/xfce4/terminal/accels.scm @@ -0,0 +1,53 @@ +; xfce4-terminal GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +(gtk_accel_path "/terminal-window/goto-tab-4" "4") +(gtk_accel_path "/terminal-window/goto-tab-3" "3") +; (gtk_accel_path "/terminal-window/file-menu" "") +; (gtk_accel_path "/terminal-window/close-other-tabs" "") +; (gtk_accel_path "/terminal-window/search" "f") +; (gtk_accel_path "/terminal-window/next-tab" "Page_Down") +(gtk_accel_path "/terminal-window/goto-tab-1" "1") +; (gtk_accel_path "/terminal-window/show-menubar" "") +; (gtk_accel_path "/terminal-window/zoom-reset" "0") +; (gtk_accel_path "/terminal-window/terminal-menu" "") +; (gtk_accel_path "/terminal-window/close-window" "q") +; (gtk_accel_path "/terminal-window/close-tab" "w") +; (gtk_accel_path "/terminal-window/save-contents" "") +; (gtk_accel_path "/terminal-window/new-tab" "t") +; (gtk_accel_path "/terminal-window/view-menu" "") +; (gtk_accel_path "/terminal-window/show-toolbar" "") +; (gtk_accel_path "/terminal-window/paste" "v") +; (gtk_accel_path "/terminal-window/copy" "c") +; (gtk_accel_path "/terminal-window/edit-menu" "") +; (gtk_accel_path "/terminal-window/fullscreen" "F11") +; (gtk_accel_path "/terminal-window/read-only" "") +; (gtk_accel_path "/terminal-window/detach-tab" "d") +(gtk_accel_path "/terminal-window/goto-tab-8" "8") +(gtk_accel_path "/terminal-window/goto-tab-2" "2") +; (gtk_accel_path "/terminal-window/prev-tab" "Page_Up") +; (gtk_accel_path "/terminal-window/move-tab-left" "Page_Up") +; (gtk_accel_path "/terminal-window/zoom-in" "plus") +; (gtk_accel_path "/terminal-window/search-prev" "") +; (gtk_accel_path "/terminal-window/reset-and-clear" "") +; (gtk_accel_path "/terminal-window/about" "") +; (gtk_accel_path "/terminal-window/search-next" "") +(gtk_accel_path "/terminal-window/toggle-menubar" "F10") +(gtk_accel_path "/terminal-window/goto-tab-7" "7") +; (gtk_accel_path "/terminal-window/select-all" "a") +; (gtk_accel_path "/terminal-window/help-menu" "") +(gtk_accel_path "/terminal-window/goto-tab-9" "9") +; (gtk_accel_path "/terminal-window/show-borders" "") +; (gtk_accel_path "/terminal-window/preferences" "") +(gtk_accel_path "/terminal-window/goto-tab-6" "6") +; (gtk_accel_path "/terminal-window/contents" "F1") +; (gtk_accel_path "/terminal-window/new-window" "n") +; (gtk_accel_path "/terminal-window/move-tab-right" "Page_Down") +; (gtk_accel_path "/terminal-window/zoom-out" "minus") +; (gtk_accel_path "/terminal-window/set-title" "s") +; (gtk_accel_path "/terminal-window/paste-selection" "") +; (gtk_accel_path "/terminal-window/undo-close-tab" "") +(gtk_accel_path "/terminal-window/goto-tab-5" "5") +; (gtk_accel_path "/terminal-window/zoom-menu" "") +; (gtk_accel_path "/terminal-window/reset" "") +; (gtk_accel_path "/terminal-window/tabs-menu" "") diff --git a/xfce4/terminal/terminalrc b/xfce4/terminal/terminalrc new file mode 100644 index 0000000..7fefd9f --- /dev/null +++ b/xfce4/terminal/terminalrc @@ -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 + diff --git a/xfce4/xfce4-screenshooter b/xfce4/xfce4-screenshooter new file mode 100644 index 0000000..0cc0cea --- /dev/null +++ b/xfce4/xfce4-screenshooter @@ -0,0 +1,8 @@ +delay=1 +region=3 +action=2 +show_mouse=1 +screenshot_dir=file:/home/shl/Pictures/SHL +app=ristretto +last_user= + diff --git a/xfce4/xfce4-taskmanager.rc b/xfce4/xfce4-taskmanager.rc new file mode 100644 index 0000000..a9ffa7d --- /dev/null +++ b/xfce4/xfce4-taskmanager.rc @@ -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 diff --git a/xfce4/xfconf/xfce-perchannel-xml/displays.xml b/xfce4/xfconf/xfce-perchannel-xml/displays.xml new file mode 100644 index 0000000..9c61d32 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/displays.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml b/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml new file mode 100644 index 0000000..a70bfe1 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml b/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml new file mode 100644 index 0000000..9ddc443 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/pointers.xml b/xfce4/xfconf/xfce-perchannel-xml/pointers.xml new file mode 100644 index 0000000..3e5377c --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/pointers.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml b/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml new file mode 100644 index 0000000..781e4e7 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/xfce4/xfconf/xfce-perchannel-xml/thunar.xml new file mode 100644 index 0000000..56750ea --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml new file mode 100644 index 0000000..246ace8 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml new file mode 100644 index 0000000..175c606 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml new file mode 100644 index 0000000..5f6661e --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml new file mode 100644 index 0000000..361c8da --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml new file mode 100644 index 0000000..9b01d55 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml new file mode 100644 index 0000000..e12f637 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml new file mode 100644 index 0000000..054403f --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml new file mode 100644 index 0000000..a791ac4 --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml new file mode 100644 index 0000000..8ee8a9e --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml new file mode 100644 index 0000000..cf933ed --- /dev/null +++ b/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xorg.conf.d/00-keyboard.conf b/xorg.conf.d/00-keyboard.conf new file mode 100644 index 0000000..f4ac972 --- /dev/null +++ b/xorg.conf.d/00-keyboard.conf @@ -0,0 +1,10 @@ +# Written by systemd-localed(8), read by systemd-localed and Xorg. It's +# probably wise not to edit this file manually. Use localectl(1) to +# instruct systemd-localed to update it. +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Option "XkbLayout" "latam" + Option "XkbModel" "pc105" + Option "XkbOptions" "terminate:ctrl_alt_bksp" +EndSection diff --git a/xorg.conf.d/40-libinput.conf b/xorg.conf.d/40-libinput.conf new file mode 100644 index 0000000..56f0867 --- /dev/null +++ b/xorg.conf.d/40-libinput.conf @@ -0,0 +1,8 @@ +Section "InputClass" + Identifier "libinput touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" + Option "Tapping" "on" +EndSection +