├── .github
└── ISSUE_TEMPLATE
│ ├── bug-report.md
│ └── feature_request.md
├── .gitignore
├── CHANGELOG
├── CMakeLists.txt
├── COPYING
├── COPYING.LESSER
├── LICENSE
├── LICENSE.BSD
├── LICENSE.GPLv2
├── LICENSE.MIT
├── README.md
├── configurations
├── CMakeLists.txt
├── firstrun
│ └── autostart
├── labwc
│ ├── README
│ ├── autostart
│ ├── environment
│ ├── menu.xml
│ ├── rc.xml
│ ├── themerc
│ └── themerc-override
├── lxqt-hyprland.conf
├── lxqt-labwc.png
├── lxqt-niri.kdl
├── lxqt-river-init
├── lxqt-sway.config
└── lxqt-wayfire.ini
├── labwc-themes
├── CMakeLists.txt
├── Vent-dark
│ └── openbox-3
│ │ ├── close.xbm
│ │ ├── desk.xbm
│ │ ├── desk_toggled.xbm
│ │ ├── iconify.xbm
│ │ ├── max.xbm
│ │ ├── max_toggled.xbm
│ │ ├── max_toggled_hover.xbm
│ │ ├── menu.xbm
│ │ ├── shade.xbm
│ │ ├── shade_toggled.xbm
│ │ └── themerc
└── Vent
│ └── openbox-3
│ ├── close.xbm
│ ├── desk.xbm
│ ├── desk_toggled.xbm
│ ├── iconify.xbm
│ ├── max.xbm
│ ├── max_toggled.xbm
│ ├── max_toggled_hover.xbm
│ ├── menu.xbm
│ ├── shade.xbm
│ ├── shade_toggled.xbm
│ └── themerc
├── man
├── CMakeLists.txt
├── lxqt-wayland-session.1
└── startlxqtwayland.1
├── startlxqtwayland.in
├── wallpaper
├── CMakeLists.txt
└── origami-dark-labwc.png
└── waylandsession
├── CMakeLists.txt
├── lxqt-wayland.desktop.in
└── translations
└── lxqt-wayland.desktop.yaml
/.github/ISSUE_TEMPLATE/bug-report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: " Create a report to help us improve LXQt Wayland Session"
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | ##### Expected Behavior
19 |
20 |
21 |
22 | ##### Current Behavior
23 |
24 |
25 |
26 |
27 | ##### Possible Solution
28 |
29 |
30 |
31 | ##### Steps to Reproduce (for bugs)
32 |
33 |
34 | 1.
35 | 2.
36 | 3.
37 | 4.
38 |
39 | ##### Context
40 | Custom issue template
41 | Describe this issue template's purpose here.
42 |
43 |
44 |
45 |
46 |
47 | ##### System Information
48 |
49 |
50 | * Compositor used:
51 | * Distribution & LXQt Version:
52 | * Qt Version (see `lxqt-about`):
53 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Is your feature request related to a problem? Please describe.**
11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12 |
13 | **Describe the solution you'd like**
14 | A clear and concise description of what you want to happen.
15 |
16 | **Describe alternatives you've considered**
17 | A clear and concise description of any alternative solutions or features you've considered.
18 |
19 | **Additional context**
20 | Add any other context or screenshots about the feature request here.
21 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | build
2 |
--------------------------------------------------------------------------------
/CHANGELOG:
--------------------------------------------------------------------------------
1 | lxqt-wayland-session-0.2.0 / 2025-04-17
2 | =======================================
3 | * Fixes and updates for Hyprland 0.48.
4 | * Made Hyprland use our cursor settings.
5 | * Updated rc.xml for Labwc 0.8.2.
6 | * Added 2 manpages.
7 | * Support default compositor and screenlocker.
8 | * Search for compositor setting in fallback dirs.
9 | * Use predefined build values in the startup script.
10 | * Support full path of compositor.
11 | * Removed obsolete mozilla env var.
12 | * Updated default configurations.
13 | * Corrected D-Bus error message.
14 |
15 | lxqt-wayland-session-0.1.1 / 2024-11-24
16 | =======================================
17 | * Fixed the issue which happened when full paths were used instead of the compositor's executable name.
18 | * Updated lxqt-hyprland.conf for Hyprland v.0.45.
19 | * Added `xdg-activation` to Wayfire's config.
20 |
21 | lxqt-wayland-session-0.1.0 / 2024-11-05
22 | =======================================
23 | * First release. For choosing a Wayland LXQt session in LXQt Session Settings. Supports Labwc, KWin, Wayfire, Hyprland, Sway, River and Niri.
24 |
--------------------------------------------------------------------------------
/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.18.0 FATAL_ERROR)
2 | # CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level
3 | # CMakeLists.txt file even before calling the project() command.
4 | # The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION)
5 | # command to specify that the current project code is written for the given range of CMake
6 | # versions.
7 | project(lxqt-wayland-session)
8 |
9 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
10 |
11 | include(GNUInstallDirs)
12 |
13 | set(CMAKE_AUTOMOC ON)
14 | set(CMAKE_AUTOUIC ON)
15 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
16 | set(CMAKE_POSITION_INDEPENDENT_CODE ON)
17 |
18 | # Minimum Versions
19 | set(LXQT_MINIMUM_VERSION "2.2.0")
20 |
21 | find_package(lxqt ${LXQT_MINIMUM_VERSION} REQUIRED)
22 | find_package(PkgConfig REQUIRED)
23 |
24 | # Please don't move, must be after lxqt
25 | find_package(XdgUserDirs REQUIRED)
26 |
27 | set(LXQT_WAYLAND_SESSION_MAJOR_VERSION 0)
28 | set(LXQT_WAYLAND_SESSION_MINOR_VERSION 2)
29 | set(LXQT_WAYLAND_SESSION_PATCH_VERSION 0)
30 | set(LXQT_WAYLAND_SESSION_VERSION ${LXQT_WAYLAND_SESSION_MAJOR_VERSION}.${LXQT_WAYLAND_SESSION_MINOR_VERSION}.${LXQT_WAYLAND_SESSION_PATCH_VERSION})
31 |
32 | include(LXQtPreventInSourceBuilds)
33 | include(LXQtCompilerSettings NO_POLICY_SCOPE)
34 |
35 | # Translations **********************************
36 | include(LXQtTranslate)
37 |
38 | # merged from lxqt-common
39 | include(LXQtConfigVars)
40 |
41 | # startlxqtwayland script
42 | set(PREDEF_XDG_DATA_DIRS "$XDG_DATA_HOME")
43 | if(NOT("${LXQT_DATA_DIR}" MATCHES "^/usr(/local)?/share$"))
44 | set(PREDEF_XDG_DATA_DIRS "${PREDEF_XDG_DATA_DIRS}:${LXQT_DATA_DIR}")
45 | endif()
46 | set(PREDEF_XDG_DATA_DIRS "${PREDEF_XDG_DATA_DIRS}:/usr/local/share:/usr/share")
47 | set(PREDEF_XDG_CONFIG_DIRS "/etc:${LXQT_ETC_XDG_DIR}:/usr/share")
48 | configure_file(startlxqtwayland.in startlxqtwayland @ONLY)
49 | install(PROGRAMS
50 | "${CMAKE_CURRENT_BINARY_DIR}/startlxqtwayland"
51 | DESTINATION "${CMAKE_INSTALL_BINDIR}"
52 | COMPONENT Runtime
53 | )
54 |
55 | add_subdirectory(man)
56 | add_subdirectory(configurations)
57 | add_subdirectory(wallpaper)
58 | add_subdirectory(labwc-themes)
59 |
60 | # *.desktop file for display managers
61 | add_subdirectory(waylandsession)
62 |
--------------------------------------------------------------------------------
/COPYING:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 |
3 | Version 3, 29 June 2007
4 |
5 | Copyright © 2007 Free Software Foundation, Inc.
6 |
7 | Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for software and other kinds of works.
11 |
12 | 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.
13 |
14 | 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.
15 |
16 | 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.
17 |
18 | 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.
19 |
20 | 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.
21 |
22 | 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.
23 |
24 | 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.
25 |
26 | 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.
27 |
28 | The precise terms and conditions for copying, distribution and modification follow.
29 | TERMS AND CONDITIONS
30 | 0. Definitions.
31 |
32 | “This License” refers to version 3 of the GNU General Public License.
33 |
34 | “Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
35 |
36 | “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.
37 |
38 | 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.
39 |
40 | A “covered work” means either the unmodified Program or a work based on the Program.
41 |
42 | 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.
43 |
44 | 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.
45 |
46 | 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.
47 | 1. Source Code.
48 |
49 | 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.
50 |
51 | 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.
52 |
53 | 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.
54 |
55 | 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.
56 |
57 | The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
58 |
59 | The Corresponding Source for a work in source code form is that same work.
60 | 2. Basic Permissions.
61 |
62 | 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.
63 |
64 | 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.
65 |
66 | Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
67 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
68 |
69 | 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.
70 |
71 | 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.
72 | 4. Conveying Verbatim Copies.
73 |
74 | 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.
75 |
76 | 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.
77 | 5. Conveying Modified Source Versions.
78 |
79 | 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:
80 |
81 | a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
82 | 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”.
83 | 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.
84 | 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.
85 |
86 | 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.
87 | 6. Conveying Non-Source Forms.
88 |
89 | 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:
90 |
91 | 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.
92 | 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.
93 | 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.
94 | 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.
95 | 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.
96 |
97 | 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.
98 |
99 | 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.
100 |
101 | “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.
102 |
103 | 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).
104 |
105 | 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.
106 |
107 | 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.
108 | 7. Additional Terms.
109 |
110 | “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.
111 |
112 | 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.
113 |
114 | 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:
115 |
116 | a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
117 | 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
118 | 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
119 | d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
120 | e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
121 | 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.
122 |
123 | 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.
124 |
125 | 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.
126 |
127 | 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.
128 | 8. Termination.
129 |
130 | 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).
131 |
132 | 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.
133 |
134 | 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.
135 |
136 | 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.
137 | 9. Acceptance Not Required for Having Copies.
138 |
139 | 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.
140 | 10. Automatic Licensing of Downstream Recipients.
141 |
142 | 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.
143 |
144 | 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.
145 |
146 | 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.
147 | 11. Patents.
148 |
149 | 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”.
150 |
151 | 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.
152 |
153 | 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.
154 |
155 | 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.
156 |
157 | 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.
158 |
159 | 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.
160 |
161 | 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.
162 |
163 | 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.
164 | 12. No Surrender of Others' Freedom.
165 |
166 | 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.
167 | 13. Use with the GNU Affero General Public License.
168 |
169 | 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.
170 | 14. Revised Versions of this License.
171 |
172 | 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.
173 |
174 | 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.
175 |
176 | 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.
177 |
178 | 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.
179 | 15. Disclaimer of Warranty.
180 |
181 | 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.
182 | 16. Limitation of Liability.
183 |
184 | 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.
185 | 17. Interpretation of Sections 15 and 16.
186 |
187 | 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.
188 |
189 | END OF TERMS AND CONDITIONS
190 | How to Apply These Terms to Your New Programs
191 |
192 | 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.
193 |
194 | 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.
195 |
196 |
197 | Copyright (C)
198 |
199 | This program is free software: you can redistribute it and/or modify
200 | it under the terms of the GNU General Public License as published by
201 | the Free Software Foundation, either version 3 of the License, or
202 | (at your option) any later version.
203 |
204 | This program is distributed in the hope that it will be useful,
205 | but WITHOUT ANY WARRANTY; without even the implied warranty of
206 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
207 | GNU General Public License for more details.
208 |
209 | You should have received a copy of the GNU General Public License
210 | along with this program. If not, see .
211 |
212 | Also add information on how to contact you by electronic and paper mail.
213 |
214 | If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
215 |
216 | Copyright (C)
217 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
218 | This is free software, and you are welcome to redistribute it
219 | under certain conditions; type `show c' for details.
220 |
221 | 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”.
222 |
223 | 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 .
224 |
225 | 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 .
226 |
--------------------------------------------------------------------------------
/COPYING.LESSER:
--------------------------------------------------------------------------------
1 | GNU LESSER GENERAL PUBLIC LICENSE
2 | Version 2.1, February 1999
3 |
4 | Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | [This is the first released version of the Lesser GPL. It also counts
10 | as the successor of the GNU Library Public License, version 2, hence
11 | the version number 2.1.]
12 |
13 | Preamble
14 |
15 | The licenses for most software are designed to take away your
16 | freedom to share and change it. By contrast, the GNU General Public
17 | Licenses are intended to guarantee your freedom to share and change
18 | free software--to make sure the software is free for all its users.
19 |
20 | This license, the Lesser General Public License, applies to some
21 | specially designated software packages--typically libraries--of the
22 | Free Software Foundation and other authors who decide to use it. You
23 | can use it too, but we suggest you first think carefully about whether
24 | this license or the ordinary General Public License is the better
25 | strategy to use in any particular case, based on the explanations below.
26 |
27 | When we speak of free software, we are referring to freedom of use,
28 | not price. Our General Public Licenses are designed to make sure that
29 | you have the freedom to distribute copies of free software (and charge
30 | for this service if you wish); that you receive source code or can get
31 | it if you want it; that you can change the software and use pieces of
32 | it in new free programs; and that you are informed that you can do
33 | these things.
34 |
35 | To protect your rights, we need to make restrictions that forbid
36 | distributors to deny you these rights or to ask you to surrender these
37 | rights. These restrictions translate to certain responsibilities for
38 | you if you distribute copies of the library or if you modify it.
39 |
40 | For example, if you distribute copies of the library, whether gratis
41 | or for a fee, you must give the recipients all the rights that we gave
42 | you. You must make sure that they, too, receive or can get the source
43 | code. If you link other code with the library, you must provide
44 | complete object files to the recipients, so that they can relink them
45 | with the library after making changes to the library and recompiling
46 | it. And you must show them these terms so they know their rights.
47 |
48 | We protect your rights with a two-step method: (1) we copyright the
49 | library, and (2) we offer you this license, which gives you legal
50 | permission to copy, distribute and/or modify the library.
51 |
52 | To protect each distributor, we want to make it very clear that
53 | there is no warranty for the free library. Also, if the library is
54 | modified by someone else and passed on, the recipients should know
55 | that what they have is not the original version, so that the original
56 | author's reputation will not be affected by problems that might be
57 | introduced by others.
58 |
59 | Finally, software patents pose a constant threat to the existence of
60 | any free program. We wish to make sure that a company cannot
61 | effectively restrict the users of a free program by obtaining a
62 | restrictive license from a patent holder. Therefore, we insist that
63 | any patent license obtained for a version of the library must be
64 | consistent with the full freedom of use specified in this license.
65 |
66 | Most GNU software, including some libraries, is covered by the
67 | ordinary GNU General Public License. This license, the GNU Lesser
68 | General Public License, applies to certain designated libraries, and
69 | is quite different from the ordinary General Public License. We use
70 | this license for certain libraries in order to permit linking those
71 | libraries into non-free programs.
72 |
73 | When a program is linked with a library, whether statically or using
74 | a shared library, the combination of the two is legally speaking a
75 | combined work, a derivative of the original library. The ordinary
76 | General Public License therefore permits such linking only if the
77 | entire combination fits its criteria of freedom. The Lesser General
78 | Public License permits more lax criteria for linking other code with
79 | the library.
80 |
81 | We call this license the "Lesser" General Public License because it
82 | does Less to protect the user's freedom than the ordinary General
83 | Public License. It also provides other free software developers Less
84 | of an advantage over competing non-free programs. These disadvantages
85 | are the reason we use the ordinary General Public License for many
86 | libraries. However, the Lesser license provides advantages in certain
87 | special circumstances.
88 |
89 | For example, on rare occasions, there may be a special need to
90 | encourage the widest possible use of a certain library, so that it becomes
91 | a de-facto standard. To achieve this, non-free programs must be
92 | allowed to use the library. A more frequent case is that a free
93 | library does the same job as widely used non-free libraries. In this
94 | case, there is little to gain by limiting the free library to free
95 | software only, so we use the Lesser General Public License.
96 |
97 | In other cases, permission to use a particular library in non-free
98 | programs enables a greater number of people to use a large body of
99 | free software. For example, permission to use the GNU C Library in
100 | non-free programs enables many more people to use the whole GNU
101 | operating system, as well as its variant, the GNU/Linux operating
102 | system.
103 |
104 | Although the Lesser General Public License is Less protective of the
105 | users' freedom, it does ensure that the user of a program that is
106 | linked with the Library has the freedom and the wherewithal to run
107 | that program using a modified version of the Library.
108 |
109 | The precise terms and conditions for copying, distribution and
110 | modification follow. Pay close attention to the difference between a
111 | "work based on the library" and a "work that uses the library". The
112 | former contains code derived from the library, whereas the latter must
113 | be combined with the library in order to run.
114 |
115 | GNU LESSER GENERAL PUBLIC LICENSE
116 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117 |
118 | 0. This License Agreement applies to any software library or other
119 | program which contains a notice placed by the copyright holder or
120 | other authorized party saying it may be distributed under the terms of
121 | this Lesser General Public License (also called "this License").
122 | Each licensee is addressed as "you".
123 |
124 | A "library" means a collection of software functions and/or data
125 | prepared so as to be conveniently linked with application programs
126 | (which use some of those functions and data) to form executables.
127 |
128 | The "Library", below, refers to any such software library or work
129 | which has been distributed under these terms. A "work based on the
130 | Library" means either the Library or any derivative work under
131 | copyright law: that is to say, a work containing the Library or a
132 | portion of it, either verbatim or with modifications and/or translated
133 | straightforwardly into another language. (Hereinafter, translation is
134 | included without limitation in the term "modification".)
135 |
136 | "Source code" for a work means the preferred form of the work for
137 | making modifications to it. For a library, complete source code means
138 | all the source code for all modules it contains, plus any associated
139 | interface definition files, plus the scripts used to control compilation
140 | and installation of the library.
141 |
142 | Activities other than copying, distribution and modification are not
143 | covered by this License; they are outside its scope. The act of
144 | running a program using the Library is not restricted, and output from
145 | such a program is covered only if its contents constitute a work based
146 | on the Library (independent of the use of the Library in a tool for
147 | writing it). Whether that is true depends on what the Library does
148 | and what the program that uses the Library does.
149 |
150 | 1. You may copy and distribute verbatim copies of the Library's
151 | complete source code as you receive it, in any medium, provided that
152 | you conspicuously and appropriately publish on each copy an
153 | appropriate copyright notice and disclaimer of warranty; keep intact
154 | all the notices that refer to this License and to the absence of any
155 | warranty; and distribute a copy of this License along with the
156 | Library.
157 |
158 | You may charge a fee for the physical act of transferring a copy,
159 | and you may at your option offer warranty protection in exchange for a
160 | fee.
161 |
162 | 2. You may modify your copy or copies of the Library or any portion
163 | of it, thus forming a work based on the Library, and copy and
164 | distribute such modifications or work under the terms of Section 1
165 | above, provided that you also meet all of these conditions:
166 |
167 | a) The modified work must itself be a software library.
168 |
169 | b) You must cause the files modified to carry prominent notices
170 | stating that you changed the files and the date of any change.
171 |
172 | c) You must cause the whole of the work to be licensed at no
173 | charge to all third parties under the terms of this License.
174 |
175 | d) If a facility in the modified Library refers to a function or a
176 | table of data to be supplied by an application program that uses
177 | the facility, other than as an argument passed when the facility
178 | is invoked, then you must make a good faith effort to ensure that,
179 | in the event an application does not supply such function or
180 | table, the facility still operates, and performs whatever part of
181 | its purpose remains meaningful.
182 |
183 | (For example, a function in a library to compute square roots has
184 | a purpose that is entirely well-defined independent of the
185 | application. Therefore, Subsection 2d requires that any
186 | application-supplied function or table used by this function must
187 | be optional: if the application does not supply it, the square
188 | root function must still compute square roots.)
189 |
190 | These requirements apply to the modified work as a whole. If
191 | identifiable sections of that work are not derived from the Library,
192 | and can be reasonably considered independent and separate works in
193 | themselves, then this License, and its terms, do not apply to those
194 | sections when you distribute them as separate works. But when you
195 | distribute the same sections as part of a whole which is a work based
196 | on the Library, the distribution of the whole must be on the terms of
197 | this License, whose permissions for other licensees extend to the
198 | entire whole, and thus to each and every part regardless of who wrote
199 | it.
200 |
201 | Thus, it is not the intent of this section to claim rights or contest
202 | your rights to work written entirely by you; rather, the intent is to
203 | exercise the right to control the distribution of derivative or
204 | collective works based on the Library.
205 |
206 | In addition, mere aggregation of another work not based on the Library
207 | with the Library (or with a work based on the Library) on a volume of
208 | a storage or distribution medium does not bring the other work under
209 | the scope of this License.
210 |
211 | 3. You may opt to apply the terms of the ordinary GNU General Public
212 | License instead of this License to a given copy of the Library. To do
213 | this, you must alter all the notices that refer to this License, so
214 | that they refer to the ordinary GNU General Public License, version 2,
215 | instead of to this License. (If a newer version than version 2 of the
216 | ordinary GNU General Public License has appeared, then you can specify
217 | that version instead if you wish.) Do not make any other change in
218 | these notices.
219 |
220 | Once this change is made in a given copy, it is irreversible for
221 | that copy, so the ordinary GNU General Public License applies to all
222 | subsequent copies and derivative works made from that copy.
223 |
224 | This option is useful when you wish to copy part of the code of
225 | the Library into a program that is not a library.
226 |
227 | 4. You may copy and distribute the Library (or a portion or
228 | derivative of it, under Section 2) in object code or executable form
229 | under the terms of Sections 1 and 2 above provided that you accompany
230 | it with the complete corresponding machine-readable source code, which
231 | must be distributed under the terms of Sections 1 and 2 above on a
232 | medium customarily used for software interchange.
233 |
234 | If distribution of object code is made by offering access to copy
235 | from a designated place, then offering equivalent access to copy the
236 | source code from the same place satisfies the requirement to
237 | distribute the source code, even though third parties are not
238 | compelled to copy the source along with the object code.
239 |
240 | 5. A program that contains no derivative of any portion of the
241 | Library, but is designed to work with the Library by being compiled or
242 | linked with it, is called a "work that uses the Library". Such a
243 | work, in isolation, is not a derivative work of the Library, and
244 | therefore falls outside the scope of this License.
245 |
246 | However, linking a "work that uses the Library" with the Library
247 | creates an executable that is a derivative of the Library (because it
248 | contains portions of the Library), rather than a "work that uses the
249 | library". The executable is therefore covered by this License.
250 | Section 6 states terms for distribution of such executables.
251 |
252 | When a "work that uses the Library" uses material from a header file
253 | that is part of the Library, the object code for the work may be a
254 | derivative work of the Library even though the source code is not.
255 | Whether this is true is especially significant if the work can be
256 | linked without the Library, or if the work is itself a library. The
257 | threshold for this to be true is not precisely defined by law.
258 |
259 | If such an object file uses only numerical parameters, data
260 | structure layouts and accessors, and small macros and small inline
261 | functions (ten lines or less in length), then the use of the object
262 | file is unrestricted, regardless of whether it is legally a derivative
263 | work. (Executables containing this object code plus portions of the
264 | Library will still fall under Section 6.)
265 |
266 | Otherwise, if the work is a derivative of the Library, you may
267 | distribute the object code for the work under the terms of Section 6.
268 | Any executables containing that work also fall under Section 6,
269 | whether or not they are linked directly with the Library itself.
270 |
271 | 6. As an exception to the Sections above, you may also combine or
272 | link a "work that uses the Library" with the Library to produce a
273 | work containing portions of the Library, and distribute that work
274 | under terms of your choice, provided that the terms permit
275 | modification of the work for the customer's own use and reverse
276 | engineering for debugging such modifications.
277 |
278 | You must give prominent notice with each copy of the work that the
279 | Library is used in it and that the Library and its use are covered by
280 | this License. You must supply a copy of this License. If the work
281 | during execution displays copyright notices, you must include the
282 | copyright notice for the Library among them, as well as a reference
283 | directing the user to the copy of this License. Also, you must do one
284 | of these things:
285 |
286 | a) Accompany the work with the complete corresponding
287 | machine-readable source code for the Library including whatever
288 | changes were used in the work (which must be distributed under
289 | Sections 1 and 2 above); and, if the work is an executable linked
290 | with the Library, with the complete machine-readable "work that
291 | uses the Library", as object code and/or source code, so that the
292 | user can modify the Library and then relink to produce a modified
293 | executable containing the modified Library. (It is understood
294 | that the user who changes the contents of definitions files in the
295 | Library will not necessarily be able to recompile the application
296 | to use the modified definitions.)
297 |
298 | b) Use a suitable shared library mechanism for linking with the
299 | Library. A suitable mechanism is one that (1) uses at run time a
300 | copy of the library already present on the user's computer system,
301 | rather than copying library functions into the executable, and (2)
302 | will operate properly with a modified version of the library, if
303 | the user installs one, as long as the modified version is
304 | interface-compatible with the version that the work was made with.
305 |
306 | c) Accompany the work with a written offer, valid for at
307 | least three years, to give the same user the materials
308 | specified in Subsection 6a, above, for a charge no more
309 | than the cost of performing this distribution.
310 |
311 | d) If distribution of the work is made by offering access to copy
312 | from a designated place, offer equivalent access to copy the above
313 | specified materials from the same place.
314 |
315 | e) Verify that the user has already received a copy of these
316 | materials or that you have already sent this user a copy.
317 |
318 | For an executable, the required form of the "work that uses the
319 | Library" must include any data and utility programs needed for
320 | reproducing the executable from it. However, as a special exception,
321 | the materials to be distributed need not include anything that is
322 | normally distributed (in either source or binary form) with the major
323 | components (compiler, kernel, and so on) of the operating system on
324 | which the executable runs, unless that component itself accompanies
325 | the executable.
326 |
327 | It may happen that this requirement contradicts the license
328 | restrictions of other proprietary libraries that do not normally
329 | accompany the operating system. Such a contradiction means you cannot
330 | use both them and the Library together in an executable that you
331 | distribute.
332 |
333 | 7. You may place library facilities that are a work based on the
334 | Library side-by-side in a single library together with other library
335 | facilities not covered by this License, and distribute such a combined
336 | library, provided that the separate distribution of the work based on
337 | the Library and of the other library facilities is otherwise
338 | permitted, and provided that you do these two things:
339 |
340 | a) Accompany the combined library with a copy of the same work
341 | based on the Library, uncombined with any other library
342 | facilities. This must be distributed under the terms of the
343 | Sections above.
344 |
345 | b) Give prominent notice with the combined library of the fact
346 | that part of it is a work based on the Library, and explaining
347 | where to find the accompanying uncombined form of the same work.
348 |
349 | 8. You may not copy, modify, sublicense, link with, or distribute
350 | the Library except as expressly provided under this License. Any
351 | attempt otherwise to copy, modify, sublicense, link with, or
352 | distribute the Library is void, and will automatically terminate your
353 | rights under this License. However, parties who have received copies,
354 | or rights, from you under this License will not have their licenses
355 | terminated so long as such parties remain in full compliance.
356 |
357 | 9. You are not required to accept this License, since you have not
358 | signed it. However, nothing else grants you permission to modify or
359 | distribute the Library or its derivative works. These actions are
360 | prohibited by law if you do not accept this License. Therefore, by
361 | modifying or distributing the Library (or any work based on the
362 | Library), you indicate your acceptance of this License to do so, and
363 | all its terms and conditions for copying, distributing or modifying
364 | the Library or works based on it.
365 |
366 | 10. Each time you redistribute the Library (or any work based on the
367 | Library), the recipient automatically receives a license from the
368 | original licensor to copy, distribute, link with or modify the Library
369 | subject to these terms and conditions. You may not impose any further
370 | restrictions on the recipients' exercise of the rights granted herein.
371 | You are not responsible for enforcing compliance by third parties with
372 | this License.
373 |
374 | 11. If, as a consequence of a court judgment or allegation of patent
375 | infringement or for any other reason (not limited to patent issues),
376 | conditions are imposed on you (whether by court order, agreement or
377 | otherwise) that contradict the conditions of this License, they do not
378 | excuse you from the conditions of this License. If you cannot
379 | distribute so as to satisfy simultaneously your obligations under this
380 | License and any other pertinent obligations, then as a consequence you
381 | may not distribute the Library at all. For example, if a patent
382 | license would not permit royalty-free redistribution of the Library by
383 | all those who receive copies directly or indirectly through you, then
384 | the only way you could satisfy both it and this License would be to
385 | refrain entirely from distribution of the Library.
386 |
387 | If any portion of this section is held invalid or unenforceable under any
388 | particular circumstance, the balance of the section is intended to apply,
389 | and the section as a whole is intended to apply in other circumstances.
390 |
391 | It is not the purpose of this section to induce you to infringe any
392 | patents or other property right claims or to contest validity of any
393 | such claims; this section has the sole purpose of protecting the
394 | integrity of the free software distribution system which is
395 | implemented by public license practices. Many people have made
396 | generous contributions to the wide range of software distributed
397 | through that system in reliance on consistent application of that
398 | system; it is up to the author/donor to decide if he or she is willing
399 | to distribute software through any other system and a licensee cannot
400 | impose that choice.
401 |
402 | This section is intended to make thoroughly clear what is believed to
403 | be a consequence of the rest of this License.
404 |
405 | 12. If the distribution and/or use of the Library is restricted in
406 | certain countries either by patents or by copyrighted interfaces, the
407 | original copyright holder who places the Library under this License may add
408 | an explicit geographical distribution limitation excluding those countries,
409 | so that distribution is permitted only in or among countries not thus
410 | excluded. In such case, this License incorporates the limitation as if
411 | written in the body of this License.
412 |
413 | 13. The Free Software Foundation may publish revised and/or new
414 | versions of the Lesser General Public License from time to time.
415 | Such new versions will be similar in spirit to the present version,
416 | but may differ in detail to address new problems or concerns.
417 |
418 | Each version is given a distinguishing version number. If the Library
419 | specifies a version number of this License which applies to it and
420 | "any later version", you have the option of following the terms and
421 | conditions either of that version or of any later version published by
422 | the Free Software Foundation. If the Library does not specify a
423 | license version number, you may choose any version ever published by
424 | the Free Software Foundation.
425 |
426 | 14. If you wish to incorporate parts of the Library into other free
427 | programs whose distribution conditions are incompatible with these,
428 | write to the author to ask for permission. For software which is
429 | copyrighted by the Free Software Foundation, write to the Free
430 | Software Foundation; we sometimes make exceptions for this. Our
431 | decision will be guided by the two goals of preserving the free status
432 | of all derivatives of our free software and of promoting the sharing
433 | and reuse of software generally.
434 |
435 | NO WARRANTY
436 |
437 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446 |
447 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456 | DAMAGES.
457 |
458 | END OF TERMS AND CONDITIONS
459 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | LICENSE
2 |
3 | 1. GNU Lesser General Public License v2.1
4 |
5 | Most of the code in this repository is licensed under the GNU Lesser General Public License v2.1. You can find the full text of the license in the COPYING.LESSER file.
6 |
7 | 2. Some configuration files in /configurations directory are licensed under the MIT License. See the LICENSE.MIT file for details.
8 |
9 | 3. Some configuration files in /configurations directory are licensed under the BSD 3-Clause License. See the LICENSE.BSD file for details.
10 |
11 | 4. Some configuration files in /configurations directory and files in /labwc-themes directory are licensed under the GNU General Public License v3.0. See the COPYING file for details.
12 |
13 | 5. Configuration files in /configurations/labwc directory are licensed under GNU General Public License v2.0. See the LICENSE.GPLv2 file for details.
14 |
15 | 6. Artwork in /wallpaper directory is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
16 |
17 |
18 | Files for Each License:
19 |
20 | COPYING.LESSER: Full text of the LGPL v2.1.
21 | COPYING: Full text of the GPL v3.0.
22 | LICENSE.MIT: Full text of the MIT License.
23 | LICENSE.GPLv2: Full text of GNU General Public License v2.0.
24 | LICENSE.BSD: Full text of the BSD 3-Clause License.
25 |
26 |
27 | License Attribution
28 |
29 | * GNU Lesser General Public License v2.1: Applies to the majority of the source code, except for the components specifically mentioned below, where the licenses below apply to the respective files only.
30 |
31 | * MIT License: Applies to lxqt-sway.conf and lxqt-wayfire.conf files in /configurations directory.
32 |
33 | * GNU General Public License v2.0: Applies to files in /configurations/labwc directory.
34 |
35 | * GNU General Public License v3.0: Applies to lxqt-river.conf and lxqt-niri.kdl file located in /configurations directory and themes in /labwc-themes directory.
36 |
37 | * BSD 3-Clause License: Applies to lxqt-hyprland.conf located in /configurations directory
38 |
39 | * Artwork in /wallpaper directory is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
40 |
--------------------------------------------------------------------------------
/LICENSE.BSD:
--------------------------------------------------------------------------------
1 | BSD 3-Clause License
2 |
3 | Copyright (c) 2022-2024, vaxerski
4 | All rights reserved.
5 |
6 | Redistribution and use in source and binary forms, with or without
7 | modification, are permitted provided that the following conditions are met:
8 |
9 | 1. Redistributions of source code must retain the above copyright notice, this
10 | list of conditions and the following disclaimer.
11 |
12 | 2. Redistributions in binary form must reproduce the above copyright notice,
13 | this list of conditions and the following disclaimer in the documentation
14 | and/or other materials provided with the distribution.
15 |
16 | 3. Neither the name of the copyright holder nor the names of its
17 | contributors may be used to endorse or promote products derived from
18 | this software without specific prior written permission.
19 |
20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
--------------------------------------------------------------------------------
/LICENSE.GPLv2:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 2, June 1991
3 |
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | Preamble
10 |
11 | The licenses for most software are designed to take away your
12 | freedom to share and change it. By contrast, the GNU General Public
13 | License is intended to guarantee your freedom to share and change free
14 | software--to make sure the software is free for all its users. This
15 | General Public License applies to most of the Free Software
16 | Foundation's software and to any other program whose authors commit to
17 | using it. (Some other Free Software Foundation software is covered by
18 | the GNU Lesser General Public License instead.) You can apply it to
19 | your programs, too.
20 |
21 | When we speak of free software, we are referring to freedom, not
22 | price. Our General Public Licenses are designed to make sure that you
23 | have the freedom to distribute copies of free software (and charge for
24 | this service if you wish), that you receive source code or can get it
25 | if you want it, that you can change the software or use pieces of it
26 | in new free programs; and that you know you can do these things.
27 |
28 | To protect your rights, we need to make restrictions that forbid
29 | anyone to deny you these rights or to ask you to surrender the rights.
30 | These restrictions translate to certain responsibilities for you if you
31 | distribute copies of the software, or if you modify it.
32 |
33 | For example, if you distribute copies of such a program, whether
34 | gratis or for a fee, you must give the recipients all the rights that
35 | you have. You must make sure that they, too, receive or can get the
36 | source code. And you must show them these terms so they know their
37 | rights.
38 |
39 | We protect your rights with two steps: (1) copyright the software, and
40 | (2) offer you this license which gives you legal permission to copy,
41 | distribute and/or modify the software.
42 |
43 | Also, for each author's protection and ours, we want to make certain
44 | that everyone understands that there is no warranty for this free
45 | software. If the software is modified by someone else and passed on, we
46 | want its recipients to know that what they have is not the original, so
47 | that any problems introduced by others will not reflect on the original
48 | authors' reputations.
49 |
50 | Finally, any free program is threatened constantly by software
51 | patents. We wish to avoid the danger that redistributors of a free
52 | program will individually obtain patent licenses, in effect making the
53 | program proprietary. To prevent this, we have made it clear that any
54 | patent must be licensed for everyone's free use or not licensed at all.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | GNU GENERAL PUBLIC LICENSE
60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61 |
62 | 0. This License applies to any program or other work which contains
63 | a notice placed by the copyright holder saying it may be distributed
64 | under the terms of this General Public License. The "Program", below,
65 | refers to any such program or work, and a "work based on the Program"
66 | means either the Program or any derivative work under copyright law:
67 | that is to say, a work containing the Program or a portion of it,
68 | either verbatim or with modifications and/or translated into another
69 | language. (Hereinafter, translation is included without limitation in
70 | the term "modification".) Each licensee is addressed as "you".
71 |
72 | Activities other than copying, distribution and modification are not
73 | covered by this License; they are outside its scope. The act of
74 | running the Program is not restricted, and the output from the Program
75 | is covered only if its contents constitute a work based on the
76 | Program (independent of having been made by running the Program).
77 | Whether that is true depends on what the Program does.
78 |
79 | 1. You may copy and distribute verbatim copies of the Program's
80 | source code as you receive it, in any medium, provided that you
81 | conspicuously and appropriately publish on each copy an appropriate
82 | copyright notice and disclaimer of warranty; keep intact all the
83 | notices that refer to this License and to the absence of any warranty;
84 | and give any other recipients of the Program a copy of this License
85 | along with the Program.
86 |
87 | You may charge a fee for the physical act of transferring a copy, and
88 | you may at your option offer warranty protection in exchange for a fee.
89 |
90 | 2. You may modify your copy or copies of the Program or any portion
91 | of it, thus forming a work based on the Program, and copy and
92 | distribute such modifications or work under the terms of Section 1
93 | above, provided that you also meet all of these conditions:
94 |
95 | a) You must cause the modified files to carry prominent notices
96 | stating that you changed the files and the date of any change.
97 |
98 | b) You must cause any work that you distribute or publish, that in
99 | whole or in part contains or is derived from the Program or any
100 | part thereof, to be licensed as a whole at no charge to all third
101 | parties under the terms of this License.
102 |
103 | c) If the modified program normally reads commands interactively
104 | when run, you must cause it, when started running for such
105 | interactive use in the most ordinary way, to print or display an
106 | announcement including an appropriate copyright notice and a
107 | notice that there is no warranty (or else, saying that you provide
108 | a warranty) and that users may redistribute the program under
109 | these conditions, and telling the user how to view a copy of this
110 | License. (Exception: if the Program itself is interactive but
111 | does not normally print such an announcement, your work based on
112 | the Program is not required to print an announcement.)
113 |
114 | These requirements apply to the modified work as a whole. If
115 | identifiable sections of that work are not derived from the Program,
116 | and can be reasonably considered independent and separate works in
117 | themselves, then this License, and its terms, do not apply to those
118 | sections when you distribute them as separate works. But when you
119 | distribute the same sections as part of a whole which is a work based
120 | on the Program, the distribution of the whole must be on the terms of
121 | this License, whose permissions for other licensees extend to the
122 | entire whole, and thus to each and every part regardless of who wrote it.
123 |
124 | Thus, it is not the intent of this section to claim rights or contest
125 | your rights to work written entirely by you; rather, the intent is to
126 | exercise the right to control the distribution of derivative or
127 | collective works based on the Program.
128 |
129 | In addition, mere aggregation of another work not based on the Program
130 | with the Program (or with a work based on the Program) on a volume of
131 | a storage or distribution medium does not bring the other work under
132 | the scope of this License.
133 |
134 | 3. You may copy and distribute the Program (or a work based on it,
135 | under Section 2) in object code or executable form under the terms of
136 | Sections 1 and 2 above provided that you also do one of the following:
137 |
138 | a) Accompany it with the complete corresponding machine-readable
139 | source code, which must be distributed under the terms of Sections
140 | 1 and 2 above on a medium customarily used for software interchange; or,
141 |
142 | b) Accompany it with a written offer, valid for at least three
143 | years, to give any third party, for a charge no more than your
144 | cost of physically performing source distribution, a complete
145 | machine-readable copy of the corresponding source code, to be
146 | distributed under the terms of Sections 1 and 2 above on a medium
147 | customarily used for software interchange; or,
148 |
149 | c) Accompany it with the information you received as to the offer
150 | to distribute corresponding source code. (This alternative is
151 | allowed only for noncommercial distribution and only if you
152 | received the program in object code or executable form with such
153 | an offer, in accord with Subsection b above.)
154 |
155 | The source code for a work means the preferred form of the work for
156 | making modifications to it. For an executable work, complete source
157 | code means all the source code for all modules it contains, plus any
158 | associated interface definition files, plus the scripts used to
159 | control compilation and installation of the executable. However, as a
160 | special exception, the source code distributed need not include
161 | anything that is normally distributed (in either source or binary
162 | form) with the major components (compiler, kernel, and so on) of the
163 | operating system on which the executable runs, unless that component
164 | itself accompanies the executable.
165 |
166 | If distribution of executable or object code is made by offering
167 | access to copy from a designated place, then offering equivalent
168 | access to copy the source code from the same place counts as
169 | distribution of the source code, even though third parties are not
170 | compelled to copy the source along with the object code.
171 |
172 | 4. You may not copy, modify, sublicense, or distribute the Program
173 | except as expressly provided under this License. Any attempt
174 | otherwise to copy, modify, sublicense or distribute the Program is
175 | void, and will automatically terminate your rights under this License.
176 | However, parties who have received copies, or rights, from you under
177 | this License will not have their licenses terminated so long as such
178 | parties remain in full compliance.
179 |
180 | 5. You are not required to accept this License, since you have not
181 | signed it. However, nothing else grants you permission to modify or
182 | distribute the Program or its derivative works. These actions are
183 | prohibited by law if you do not accept this License. Therefore, by
184 | modifying or distributing the Program (or any work based on the
185 | Program), you indicate your acceptance of this License to do so, and
186 | all its terms and conditions for copying, distributing or modifying
187 | the Program or works based on it.
188 |
189 | 6. Each time you redistribute the Program (or any work based on the
190 | Program), the recipient automatically receives a license from the
191 | original licensor to copy, distribute or modify the Program subject to
192 | these terms and conditions. You may not impose any further
193 | restrictions on the recipients' exercise of the rights granted herein.
194 | You are not responsible for enforcing compliance by third parties to
195 | this License.
196 |
197 | 7. If, as a consequence of a court judgment or allegation of patent
198 | infringement or for any other reason (not limited to patent issues),
199 | conditions are imposed on you (whether by court order, agreement or
200 | otherwise) that contradict the conditions of this License, they do not
201 | excuse you from the conditions of this License. If you cannot
202 | distribute so as to satisfy simultaneously your obligations under this
203 | License and any other pertinent obligations, then as a consequence you
204 | may not distribute the Program at all. For example, if a patent
205 | license would not permit royalty-free redistribution of the Program by
206 | all those who receive copies directly or indirectly through you, then
207 | the only way you could satisfy both it and this License would be to
208 | refrain entirely from distribution of the Program.
209 |
210 | If any portion of this section is held invalid or unenforceable under
211 | any particular circumstance, the balance of the section is intended to
212 | apply and the section as a whole is intended to apply in other
213 | circumstances.
214 |
215 | It is not the purpose of this section to induce you to infringe any
216 | patents or other property right claims or to contest validity of any
217 | such claims; this section has the sole purpose of protecting the
218 | integrity of the free software distribution system, which is
219 | implemented by public license practices. Many people have made
220 | generous contributions to the wide range of software distributed
221 | through that system in reliance on consistent application of that
222 | system; it is up to the author/donor to decide if he or she is willing
223 | to distribute software through any other system and a licensee cannot
224 | impose that choice.
225 |
226 | This section is intended to make thoroughly clear what is believed to
227 | be a consequence of the rest of this License.
228 |
229 | 8. If the distribution and/or use of the Program is restricted in
230 | certain countries either by patents or by copyrighted interfaces, the
231 | original copyright holder who places the Program under this License
232 | may add an explicit geographical distribution limitation excluding
233 | those countries, so that distribution is permitted only in or among
234 | countries not thus excluded. In such case, this License incorporates
235 | the limitation as if written in the body of this License.
236 |
237 | 9. The Free Software Foundation may publish revised and/or new versions
238 | of the General Public License from time to time. Such new versions will
239 | be similar in spirit to the present version, but may differ in detail to
240 | address new problems or concerns.
241 |
242 | Each version is given a distinguishing version number. If the Program
243 | specifies a version number of this License which applies to it and "any
244 | later version", you have the option of following the terms and conditions
245 | either of that version or of any later version published by the Free
246 | Software Foundation. If the Program does not specify a version number of
247 | this License, you may choose any version ever published by the Free Software
248 | Foundation.
249 |
250 | 10. If you wish to incorporate parts of the Program into other free
251 | programs whose distribution conditions are different, write to the author
252 | to ask for permission. For software which is copyrighted by the Free
253 | Software Foundation, write to the Free Software Foundation; we sometimes
254 | make exceptions for this. Our decision will be guided by the two goals
255 | of preserving the free status of all derivatives of our free software and
256 | of promoting the sharing and reuse of software generally.
257 |
258 | NO WARRANTY
259 |
260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 | REPAIR OR CORRECTION.
269 |
270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 | POSSIBILITY OF SUCH DAMAGES.
279 |
280 | END OF TERMS AND CONDITIONS
281 |
282 | How to Apply These Terms to Your New Programs
283 |
284 | If you develop a new program, and you want it to be of the greatest
285 | possible use to the public, the best way to achieve this is to make it
286 | free software which everyone can redistribute and change under these terms.
287 |
288 | To do so, attach the following notices to the program. It is safest
289 | to attach them to the start of each source file to most effectively
290 | convey the exclusion of warranty; and each file should have at least
291 | the "copyright" line and a pointer to where the full notice is found.
292 |
293 |
294 | Copyright (C)
295 |
296 | This program is free software; you can redistribute it and/or modify
297 | it under the terms of the GNU General Public License as published by
298 | the Free Software Foundation; either version 2 of the License, or
299 | (at your option) any later version.
300 |
301 | This program is distributed in the hope that it will be useful,
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 | GNU General Public License for more details.
305 |
306 | You should have received a copy of the GNU General Public License along
307 | with this program; if not, write to the Free Software Foundation, Inc.,
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309 |
310 | Also add information on how to contact you by electronic and paper mail.
311 |
312 | If the program is interactive, make it output a short notice like this
313 | when it starts in an interactive mode:
314 |
315 | Gnomovision version 69, Copyright (C) year name of author
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 | This is free software, and you are welcome to redistribute it
318 | under certain conditions; type `show c' for details.
319 |
320 | The hypothetical commands `show w' and `show c' should show the appropriate
321 | parts of the General Public License. Of course, the commands you use may
322 | be called something other than `show w' and `show c'; they could even be
323 | mouse-clicks or menu items--whatever suits your program.
324 |
325 | You should also get your employer (if you work as a programmer) or your
326 | school, if any, to sign a "copyright disclaimer" for the program, if
327 | necessary. Here is a sample; alter the names:
328 |
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker.
331 |
332 | , 1 April 1989
333 | Ty Coon, President of Vice
334 |
335 | This General Public License does not permit incorporating your program into
336 | proprietary programs. If your program is a subroutine library, you may
337 | consider it more useful to permit linking proprietary applications with the
338 | library. If this is what you want to do, use the GNU Lesser General
339 | Public License instead of this License.
340 |
--------------------------------------------------------------------------------
/LICENSE.MIT:
--------------------------------------------------------------------------------
1 | Copyright (c) 2016-2017 Drew DeVault
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of
4 | this software and associated documentation files (the "Software"), to deal in
5 | the Software without restriction, including without limitation the rights to
6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7 | of the Software, and to permit persons to whom the Software is furnished to do
8 | so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # lxqt-wayland-session
2 | Files needed for the LXQt Wayland Session: Wayland session start script, its desktop entry for
3 | display managers and default configurations for actually supported compositors which are:
4 |
5 | * Stacking WMs
6 | * Labwc (version 0.7.2 and higher)
7 | * Wayfire
8 | * kwin_wayland
9 |
10 | * Tiling Wms
11 | * Hyprland
12 | * Niri
13 | * river
14 | * Sway
15 |
16 | At startup a basic configuration file for those compositors will be copied to `$XDG_CONFIG_HOME/lxqt/wayland` directory
17 | if not existing already, except for labwc and `kwin_wayland` where their default configuration location is used.
18 | If no compositor is set in `lxqt-config-session` the default configuration in `/usr/share/lxqt/session.conf` or `/usr/locale/share/lxqt/session.conf` will be used to configure the session, example:
19 | ```
20 | [General]
21 | leave_confirmation=true
22 | compositor=labwc
23 | lock_command_wayland=swaylock
24 | ```
25 | If no compositor is found starting Labwc will be tried, opening "Session Settings"
26 |
27 | Please refer to each compositors documentation for tweaking.
28 |
29 | ### Other compositors
30 |
31 | Any compositor which supports at least `wlr-layer-shell-unstable-v1` and (for taskbar)`wlr-foreign-toplevel-management-unstable-v1` protocols should work.
32 | A line `lxqt-session && ` is needed in the autostart configuration of the compositor.
33 |
34 | ### Compiling source code
35 |
36 | Runtime dependencies are [qtxdg-tools](https://github.com/lxqt/qtxdg-tools),
37 | [lxqt-session](https://github.com/lxqt/lxqt-session) and layer-shell-qt.
38 | Additional build dependencies are [lxqt-build-tools](https://github.com/lxqt/lxqt-build-tools), CMake and optionally Git to pull latest VCS checkouts.
39 |
40 | Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set
41 | to `/usr` on most operating systems.
42 |
43 | To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual.
44 |
45 | ### License
46 |
47 | This project is licensed under the GNU Lesser General Public License v2.1. However, some files (e.g., files in the `/configurations` directory) are licensed under different licenses. See LICENSE for details.
48 |
--------------------------------------------------------------------------------
/configurations/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # install default config files to /usr/share/lxqt/wayland
2 |
3 | install(FILES
4 | lxqt-hyprland.conf
5 | lxqt-wayfire.ini
6 | lxqt-sway.config
7 | lxqt-river-init
8 | lxqt-niri.kdl
9 | DESTINATION "${CMAKE_INSTALL_DATADIR}/lxqt/wayland"
10 | COMPONENT Runtime
11 | )
12 | install(FILES
13 | lxqt-labwc.png
14 | DESTINATION "${LXQT_SHARE_DIR}/graphics"
15 | COMPONENT Runtime
16 | )
17 | install(DIRECTORY
18 | labwc
19 | firstrun
20 | DESTINATION "${CMAKE_INSTALL_DATADIR}/lxqt/wayland"
21 | COMPONENT Runtime
22 | )
23 |
--------------------------------------------------------------------------------
/configurations/firstrun/autostart:
--------------------------------------------------------------------------------
1 | lxqt-notificationd >/dev/null 2>&1 &
2 | notify-send -a "Welcome to LXQt - Wayland Session" -i dialog-information -t 30000 "No compositor is selected, please choose one in Wayland Settings." "The session will be restarted after closing the window." >/dev/null 2>&1 &
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/configurations/labwc/README:
--------------------------------------------------------------------------------
1 | Config layout for ~/.config/labwc/
2 | - autostart
3 | - environment
4 | - menu.xml
5 | - rc.xml
6 | - themerc-override
7 |
8 | See `man labwc-config and `man labwc-theme` for further details.
9 |
10 |
--------------------------------------------------------------------------------
/configurations/labwc/autostart:
--------------------------------------------------------------------------------
1 | # Example autostart file for a labwc LXQt session
2 | # Applications started here won't be closed by `lxqt-leave --logout` and settings can be lost
3 | # Preferred place for starting wayland-only applications
4 |
5 | # Set background color or image (below the desktop):
6 | swaybg -i /usr/share/lxqt/wallpapers/origami-dark-labwc.png >/dev/null 2>&1 &
7 |
8 | # Faster startup for GTK apps:
9 | dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY > /dev/null 2>&1 &
10 |
11 | # Configure output directives such as mode, position, scale and transform.
12 | # Use wlr-randr to get your output names
13 | # Example ~/.config/kanshi/config below:
14 | # profile {
15 | # output HDMI-A-1 position 1366,0
16 | # output eDP-1 position 0,0
17 | # }
18 | # kanshi >/dev/null 2>&1 &
19 | # wdisplays can be used as well on the fly
20 |
21 | #
22 | # Note that in the context of idle system power management, it is *NOT* a good
23 | # idea to turn off displays by 'disabling outputs' for example by
24 | # `wlr-randr --output --off` because this re-arranges views
25 | # (since a837fef). Instead use a wlr-output-power-management client such as
26 | # https://git.sr.ht/~leon_plickat/wlopm
27 | #
28 | # Suspending can be configured in LXQt power management settings
29 | # Screen locking can be configured in Session Settings
30 | # Turn off display(s) after 5 minutes:
31 | swayidle -w timeout 300 "wlopm --off \*" resume "wlopm --on \*" > /dev/null 2>&1 &
32 |
33 |
--------------------------------------------------------------------------------
/configurations/labwc/environment:
--------------------------------------------------------------------------------
1 | ## LXQt labwc environment file
2 | ## Example ~/.config/labwc/environment file.
3 | ## Uncomment lines starting with one '#' to suit your needs.
4 | ##
5 |
6 | ##
7 | ## Cursor theme and size are set by LXQt and can be configured in"Appearance → Cursor".
8 | ## No need to edit.
9 | # XCURSOR_THEME=
10 | # XCURSOR_SIZE=
11 |
12 | ## Disable hardware cursors. Most users wouldn't want to do this, but if you
13 | ## are experiencing issues with disappearing cursors, this might fix it.
14 | ## Autodetected at startup on virtualized hardware which use systemd.
15 |
16 | # WLR_NO_HARDWARE_CURSORS=1
17 |
18 | ##
19 | ## In order for labwc to work out of the box, the environment variable below
20 | ## is set to "1" by default to avoid menus with incorrect offset and blank
21 | ## windows with Java applications such as JetBrains and Intellij Idea.
22 | ## See https://github.com/swaywm/sway/issues/595
23 | ## labwc will not override any already set environment variables, so if you for
24 | ## some reason do not want this, then just set it to "0" (not recommended, but
25 | ## mentioned here for completeness).
26 | ##
27 |
28 | # _JAVA_AWT_WM_NONREPARENTING=0
29 |
30 | ##
31 | ## This allows xdg-desktop-portal-wlr to function (e.g. for screen-recording).
32 | ## It is automatically set to "LXQt:labwc:wlroots" by LXQt though, so it is only
33 | ## included here for completeness. Again, labwc will not over-write an
34 | ## already set environment variable, so if you need it set to something else,
35 | ## then uncomment and adjust.
36 | ##
37 |
38 | # XDG_CURRENT_DESKTOP=labwc:wlroots
39 |
40 | ##
41 | ## This causes a virtual output to be created automatically whenever there
42 | ## are no outputs around. This helps for cases like wayvnc so there is always
43 | ## an output available to connect to. The name can be chosen freely but there
44 | ## must be no duplicate output names, for this reason using VIRTUAL-x or a
45 | ## physical connector name like HDMI-A-1 is not recommended as wlroots may
46 | ## want to create outputs with those names later on which would then fail.
47 | ##
48 | ## Using an output name that starts with NOOP- has the additional benefit
49 | ## that wayvnc will detect it being a virtual output and allow clients to
50 | ## resize the output to match the client resolution.
51 | ##
52 |
53 | # LABWC_FALLBACK_OUTPUT=NOOP-fallback
54 |
55 | ##
56 | ## LXQt tries to set keyboard layout the first login, edit here to change and/or complete.
57 | ## Use the XKB_DEFAULT_LAYOUT variable to set the keyboard layout. For example
58 | ## to start with Swedish keyboard layout set it to 'se'. If you are unsure what
59 | ## your country code is, refer to the layout section of:
60 | ## /usr/share/X11/xkb/rules/evdev.lst
61 | ##
62 | ## Multiple keyboard layouts can be set by comma-separating the country codes.
63 | ## If a variant layout is needed, the syntax is layout(variant)
64 | ## If multiple layouts are used, specify the toggle-keybind using
65 | ## XKB_DEFAULT_OPTIONS as show below. For possible values refer to the
66 | ## refer to the option section of:
67 | ## /usr/share/X11/xkb/rules/evdev.lst
68 | ##
69 | ## Compose Key: For possible values refer to the "Compose key - Position of Compose key"
70 | ## in: /usr/share/X11/xkb/rules/evdev.lst
71 | ##
72 | ## For further details, see xkeyboard-config(7)
73 | ##
74 |
75 | # XKB_DEFAULT_LAYOUT=se
76 | # XKB_DEFAULT_LAYOUT=se,us(intl)
77 | # XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle
78 | # XKB_DEFAULT_OPTIONS=grp:shift_caps_toggle,compose:ralt
79 |
--------------------------------------------------------------------------------
/configurations/labwc/menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
51 |
52 |
63 |
64 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/configurations/labwc/rc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 | server
12 | 0
13 | no
14 | no
15 | yes
16 | no
17 | yes
18 |
19 |
20 |
21 | cascade
22 |
27 |
28 |
29 |
30 |
31 | Vent
32 | breeze
33 | labwc
34 |
35 | icon:iconify,max,close
36 | yes
37 |
38 | 10
39 | yes
40 | yes
41 |
42 | sans
43 | 13
44 | normal
45 | bold
46 |
47 |
48 | sans
49 | 13
50 | normal
51 | bold
52 |
53 |
54 | sans
55 | 12
56 | normal
57 | normal
58 |
59 |
60 | sans
61 | 12
62 | normal
63 | normal
64 |
65 |
66 | sans
67 | 13
68 | normal
69 | normal
70 |
71 |
72 |
73 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
118 |
119 |
120 |
121 | 20
122 | 20
123 |
124 | 20
125 |
126 | 150
127 |
128 |
129 |
130 |
131 | Never
132 |
133 | yes
134 |
135 | 8
136 |
137 |
144 |
145 |
146 |
147 | no
148 | yes
149 | no
150 |
151 |
152 |
153 |
154 | 1
155 |
156 |
157 |
158 | yes
159 | always
160 |
161 |
162 |
196 |
197 | 1000
198 |
199 | Default
200 |
201 |
202 |
203 |
213 |
214 |
215 |
228 |
229 |
243 |
244 |
248 | global
249 | 25
250 | 600
251 |
252 |
253 |
254 |
255 |
256 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 | lxqt-leave
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
376 |
377 |
386 |
387 |
388 |
399 |
400 |
401 |
402 | 500
403 |
404 |
405 |
406 |
407 |
408 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
416 |
417 |
418 |
419 |
420 |
421 |
422 |
423 |
424 |
425 |
426 |
427 |
428 |
429 |
430 |
431 |
432 |
433 |
434 |
435 |
436 |
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
445 |
446 |
447 |
448 |
449 |
450 |
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 |
466 |
467 |
468 |
469 |
470 |
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
492 |
493 |
494 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 |
516 |
517 |
518 |
519 |
520 |
521 |
522 |
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
532 |
533 |
534 |
535 |
536 |
537 |
538 |
539 |
540 |
541 |
542 |
543 |
544 |
545 |
546 |
547 |
548 |
549 |
550 |
551 |
552 |
553 |
554 |
555 |
556 |
557 |
558 |
559 |
560 |
561 |
562 |
563 |
564 |
565 |
566 |
567 |
568 |
569 |
570 |
571 |
572 |
573 |
574 |
575 |
576 |
577 |
578 |
579 |
580 |
581 |
582 |
583 |
584 |
596 |
597 |
598 |
623 |
624 |
625 |
626 |
627 |
628 |
629 |
630 |
631 |
639 |
640 |
641 |
658 |
659 |
660 |
661 |
662 | 1
663 |
664 | yes
665 |
666 |
667 |
668 |
669 |
670 |
671 |
672 |
673 | 1.0
674 |
675 |
676 |
677 |
720 |
721 |
725 |
726 |
736 |
737 | 400
738 | 400
739 | 2.0
740 | 0.2
741 | true
742 |
743 |
744 |
745 |
--------------------------------------------------------------------------------
/configurations/labwc/themerc:
--------------------------------------------------------------------------------
1 | # This file contains all themerc options with default values
2 | #
3 | # System-wide and local themes can be overridden by creating a copy of this
4 | # file and renaming it to $HOME/.config/labwc/themerc-override. Be careful
5 | # though - if you only want to override a small number of specific options,
6 | # make sure all other lines are commented out or deleted.
7 |
8 | # general
9 | border.width: 1
10 | padding.height: 3
11 |
12 | # window border
13 | window.active.border.color: #dddad6
14 | window.inactive.border.color: #f6f5f4
15 |
16 | # window titlebar background
17 | window.active.title.bg.color: #dddad6
18 | window.inactive.title.bg.color: #f6f5f4
19 |
20 | # window titlebar text
21 | window.active.label.text.color: #000000
22 | window.inactive.label.text.color: #000000
23 | window.label.text.justify: center
24 |
25 | # window buttons
26 | window.active.button.unpressed.image.color: #000000
27 | window.inactive.button.unpressed.image.color: #000000
28 |
29 | # Note that "menu", "iconify", "max", "close" buttons colors can be defined
30 | # individually by inserting the type after the button node, for example:
31 | #
32 | # window.active.button.iconify.unpressed.image.color: #333333
33 |
34 | # menu
35 | menu.overlap.x: 0
36 | menu.overlap.y: 0
37 | menu.width.min: 20
38 | menu.width.max: 200
39 | menu.items.bg.color: #fcfbfa
40 | menu.items.text.color: #000000
41 | menu.items.active.bg.color: #dddad6
42 | menu.items.active.text.color: #000000
43 | menu.items.padding.x: 7
44 | menu.items.padding.y: 4
45 | menu.separator.width: 1
46 | menu.separator.padding.width: 6
47 | menu.separator.padding.height: 3
48 | menu.separator.color: #888888
49 |
50 | # on screen display (window-cycle dialog)
51 | osd.bg.color: #dddda6
52 | osd.border.color: #000000
53 | osd.border.width: 1
54 | osd.label.text.color: #000000
55 |
--------------------------------------------------------------------------------
/configurations/labwc/themerc-override:
--------------------------------------------------------------------------------
1 | #themerc-override. Content in this file overrides or adds settings to all themes.
2 |
3 | # Shadows (needs activation in rc.xml)
4 | window.active.shadow.size: 70
5 | window.inactive.shadow.size: 60
6 | window.active.shadow.color: #00000080
7 | window.inactive.shadow.color: #00000080
8 |
9 | # Overlay color when window touches screen borders
10 | snapping.overlay.edge.bg.color: #9ba3a150
11 |
--------------------------------------------------------------------------------
/configurations/lxqt-hyprland.conf:
--------------------------------------------------------------------------------
1 | # This is the example Hyprland v0.49.0 config file with some additions for LXQt.
2 | # A newer version may be available in /usr/share/hyprland/hyprland.conf.
3 | # Refer to the wiki for more information.
4 | # https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
5 |
6 | # Please note not all available settings / options are set here.
7 | # For a full list, see the wiki
8 |
9 | # You can split this configuration into multiple files
10 | # Create your files separately and then link them to this file like this:
11 | # source = ~/.config/hypr/myColors.conf
12 |
13 |
14 | ################
15 | ### MONITORS ###
16 | ################
17 |
18 | # See https://wiki.hyprland.org/Configuring/Monitors/
19 | monitor=,preferred,auto,1
20 |
21 |
22 | ###################
23 | ### MY PROGRAMS ###
24 | ###################
25 |
26 | # See https://wiki.hyprland.org/Configuring/Keywords/
27 |
28 | # Set programs that you use
29 | $terminal = qterminal
30 | $fileManager = pcmanfm-qt
31 | $menu = lxqt-runner
32 |
33 | ############
34 | ### LXQt ###
35 | ############
36 |
37 | env = QT_QPA_PLATFORMTHEME,lxqt
38 | env = QT_PLATFORM_PLUGIN,lxqt
39 | env = XDG_MENU_PREFIX,lxqt-
40 |
41 | # start and exit LXQt session:
42 | exec-once = swaybg -i /usr/share/lxqt/wallpapers/origami-dark.png
43 | exec-once = lxqt-session && hyprctl dispatch exit
44 |
45 | # If not using lxqt-session uncomment components to autostart
46 | #exec-once = lxqt-notificationd
47 | #exec-once = sleep 2 && lxqt-powermanagement
48 | #exec-once = lxqt-policykit
49 | #exec-once = pcmanfm-qt --
50 | #exec-once = lxqt-panel
51 |
52 | bind = Alt, F2, exec, $menu
53 | bind = Alt, SPACE, exec, $menu
54 | bind = , F12, exec, qterminal -d
55 | bind = , Print, exec, screengrab
56 | bind = , XF86PowerOff, exec, lxqt-leave
57 | bind = SUPER, L, exec, lxqt-leave --lockscreen
58 | # Open fancy menu with meta key
59 | bindr = SUPER, Super_L, exec, qdbus org.kde.StatusNotifierWatcher /global_key_shortcuts/panel/fancymenu/show_hide org.lxqt.global_key_shortcuts.client.activated
60 |
61 | # Floating windows:
62 | windowrule = float,class:^(lxqt-.*|pavu.*|.*copyq|sddm-conf|qarma|.*portal-lxqt)$
63 | windowrule = tile,class:lxqt-archiver
64 | windowrule = float,title:^(.*Preferen.*)$
65 | windowrule = dimaround,floating:1
66 | # No animation for lxqt-runner results
67 | layerrule = noanim, launcher
68 | # Animations for leave dialog, lxqt-runner, dropdown terminal
69 | layerrule = dimaround, ^(launcher|dialog|dropdown_terminal)$
70 | layerrule = animation slide top, dropdown_terminal
71 | layerrule = animation popin 80%, dialog
72 |
73 | # Laptop multimedia keys for volume and LCD brightness
74 | # Requires wireplumber
75 | bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
76 | bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
77 | bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
78 | bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
79 | bindel =,XF86MonBrightnessUp,exec, lxqt-config-brightness -i
80 | bindel =,XF86MonBrightnessDown,exec, lxqt-config-brightness -d
81 |
82 | # Requires playerctl
83 | bindl = , XF86AudioNext, exec, playerctl next
84 | bindl = , XF86AudioPause, exec, playerctl play-pause
85 | bindl = , XF86AudioPlay, exec, playerctl play-pause
86 | bindl = , XF86AudioPrev, exec, playerctl previous
87 |
88 | #############################
89 | ### ENVIRONMENT VARIABLES ###
90 | #############################
91 |
92 | # See https://wiki.hyprland.org/Configuring/Environment-variables/
93 | # Env vars can also be set in LXQt Session Settings → Advanced
94 | # XCURSOR_SIZE and XCURSOR_THEME are imported by startlxqtwayland from LXQt Settings
95 |
96 | env = XCURSOR_SIZE,24
97 | env = HYPRCURSOR_SIZE,24
98 |
99 | ###################
100 | ### PERMISSIONS ###
101 | ###################
102 |
103 | # See https://wiki.hyprland.org/Configuring/Permissions/
104 | # Please note permission changes here require a Hyprland restart and are not applied on-the-fly
105 | # for security reasons
106 |
107 | # ecosystem {
108 | # enforce_permissions = 1
109 | # }
110 |
111 | # permission = /usr/(bin|local/bin)/grim, screencopy, allow
112 | # permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
113 | # permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
114 |
115 | #####################
116 | ### LOOK AND FEEL ###
117 | #####################
118 |
119 | # Refer to https://wiki.hyprland.org/Configuring/Variables/
120 |
121 | # https://wiki.hyprland.org/Configuring/Variables/#general
122 | general {
123 | gaps_in = 5
124 | gaps_out = 20
125 |
126 | border_size = 2
127 |
128 | # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
129 | col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
130 | col.inactive_border = rgba(595959aa)
131 |
132 | # Set to true enable resizing windows by clicking and dragging on borders and gaps
133 | resize_on_border = false
134 |
135 | # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
136 | allow_tearing = false
137 |
138 | layout = master
139 | }
140 |
141 | # https://wiki.hyprland.org/Configuring/Variables/#decoration
142 | decoration {
143 | rounding = 10
144 | rounding_power = 2
145 |
146 | # Change transparency of focused and unfocused windows
147 | active_opacity = 1.0
148 | inactive_opacity = 1.0
149 |
150 | #https://wiki.hyprland.org/Configuring/Variables/#shadow
151 | shadow {
152 | enabled = true
153 | range = 15
154 | render_power = 2
155 | color = rgba(1a1a1a60)
156 | offset = 2, 3
157 | }
158 |
159 | # https://wiki.hyprland.org/Configuring/Variables/#blur
160 | blur {
161 | enabled = true
162 | size = 3
163 | passes = 1
164 | vibrancy = 0.1696
165 | }
166 | }
167 |
168 |
169 | # https://wiki.hyprland.org/Configuring/Variables/#animations
170 | animations {
171 | enabled = yes, please :)
172 |
173 | # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
174 |
175 | bezier = easeOutQuint,0.23,1,0.32,1
176 | bezier = easeInOutCubic,0.65,0.05,0.36,1
177 | bezier = linear,0,0,1,1
178 | bezier = almostLinear,0.5,0.5,0.75,1.0
179 | bezier = quick,0.15,0,0.1,1
180 |
181 | animation = global, 1, 10, default
182 | animation = border, 1, 5.39, easeOutQuint
183 | animation = windows, 1, 4.79, easeOutQuint
184 | animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
185 | animation = windowsOut, 1, 1.49, linear, popin 87%
186 | animation = fadeIn, 1, 1.73, almostLinear
187 | animation = fadeOut, 1, 1.46, almostLinear
188 | animation = fade, 1, 3.03, quick
189 | animation = layers, 1, 3.81, easeOutQuint
190 | animation = layersIn, 1, 4, easeOutQuint, fade
191 | animation = layersOut, 1, 1.5, linear, fade
192 | animation = fadeLayersIn, 1, 1.79, almostLinear
193 | animation = fadeLayersOut, 1, 1.39, almostLinear
194 | animation = workspaces, 1, 1.94, almostLinear, fade
195 | animation = workspacesIn, 1, 1.21, almostLinear, fade
196 | animation = workspacesOut, 1, 1.94, almostLinear, fade
197 | }
198 |
199 | # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
200 | # "Smart gaps" / "No gaps when only"
201 | # uncomment all if you wish to use that.
202 | # workspace = w[tv1], gapsout:0, gapsin:0
203 | # workspace = f[1], gapsout:0, gapsin:0
204 | # windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
205 | # windowrule = rounding 0, floating:0, onworkspace:w[tv1]
206 | # windowrule = bordersize 0, floating:0, onworkspace:f[1]
207 | # windowrule = rounding 0, floating:0, onworkspace:f[1]
208 |
209 | # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
210 | dwindle {
211 | pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
212 | preserve_split = true # You probably want this
213 | }
214 |
215 | # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
216 | master {
217 | mfact = +0.67
218 | new_on_top = true
219 | new_status = master
220 | }
221 |
222 | # https://wiki.hyprland.org/Configuring/Variables/#misc
223 | misc {
224 | force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
225 | disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
226 | }
227 |
228 |
229 | #############
230 | ### INPUT ###
231 | #############
232 |
233 | # https://wiki.hyprland.org/Configuring/Variables/#input
234 | input {
235 | kb_layout = us
236 | kb_variant =
237 | kb_model =
238 | kb_options =
239 | kb_rules =
240 |
241 | follow_mouse = 1
242 |
243 | sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
244 |
245 | touchpad {
246 | natural_scroll = false
247 | }
248 | }
249 |
250 | # https://wiki.hyprland.org/Configuring/Variables/#gestures
251 | gestures {
252 | workspace_swipe = false
253 | }
254 |
255 | # Example per-device config
256 | # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
257 | device {
258 | name = epic-mouse-v1
259 | sensitivity = -0.5
260 | }
261 |
262 |
263 | ###################
264 | ### KEYBINDINGS ###
265 | ###################
266 |
267 | # See https://wiki.hyprland.org/Configuring/Keywords/
268 | # See https://github.com/lxqt/lxqt/wiki/ConfigWaylandSettings#global-shortcuts
269 | $mainMod = SUPER # Sets "Windows" key as main modifier
270 |
271 | # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
272 | bind = $mainMod, Q, exec, $terminal
273 | bind = $mainMod, C, killactive,
274 | bind = $mainMod, M, exit,
275 | bind = $mainMod, E, exec, $fileManager
276 | bind = $mainMod, V, togglefloating,
277 | bind = $mainMod, R, exec, $menu
278 | bind = $mainMod, P, pseudo, # dwindle
279 | bind = $mainMod, J, togglesplit, # dwindle
280 |
281 | # Move focus with mainMod + arrow keys
282 | bind = $mainMod, left, movefocus, l
283 | bind = $mainMod, right, movefocus, r
284 | bind = $mainMod, up, movefocus, u
285 | bind = $mainMod, down, movefocus, d
286 |
287 | # Switch workspaces with mainMod + [0-9]
288 | bind = $mainMod, 1, workspace, 1
289 | bind = $mainMod, 2, workspace, 2
290 | bind = $mainMod, 3, workspace, 3
291 | bind = $mainMod, 4, workspace, 4
292 | bind = $mainMod, 5, workspace, 5
293 | bind = $mainMod, 6, workspace, 6
294 | bind = $mainMod, 7, workspace, 7
295 | bind = $mainMod, 8, workspace, 8
296 | bind = $mainMod, 9, workspace, 9
297 | bind = $mainMod, 0, workspace, 10
298 |
299 | # Move active window to a workspace with mainMod + SHIFT + [0-9]
300 | bind = $mainMod SHIFT, 1, movetoworkspace, 1
301 | bind = $mainMod SHIFT, 2, movetoworkspace, 2
302 | bind = $mainMod SHIFT, 3, movetoworkspace, 3
303 | bind = $mainMod SHIFT, 4, movetoworkspace, 4
304 | bind = $mainMod SHIFT, 5, movetoworkspace, 5
305 | bind = $mainMod SHIFT, 6, movetoworkspace, 6
306 | bind = $mainMod SHIFT, 7, movetoworkspace, 7
307 | bind = $mainMod SHIFT, 8, movetoworkspace, 8
308 | bind = $mainMod SHIFT, 9, movetoworkspace, 9
309 | bind = $mainMod SHIFT, 0, movetoworkspace, 10
310 |
311 | # Example special workspace (scratchpad)
312 | bind = $mainMod, S, togglespecialworkspace, magic
313 | bind = $mainMod SHIFT, S, movetoworkspace, special:magic
314 |
315 | # Scroll through existing workspaces with mainMod + scroll
316 | bind = $mainMod, mouse_down, workspace, e+1
317 | bind = $mainMod, mouse_up, workspace, e-1
318 |
319 | # Move/resize windows with mainMod + LMB/RMB and dragging
320 | bindm = $mainMod, mouse:272, movewindow
321 | bindm = $mainMod, mouse:273, resizewindow
322 |
323 | # Use TAB in master layout
324 | bind = Ctrl, Tab, layoutmsg, swapwithmaster
325 | bind = Alt, Tab, layoutmsg, swapnext
326 |
327 |
328 | ##############################
329 | ### WINDOWS AND WORKSPACES ###
330 | ##############################
331 |
332 | # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
333 | # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
334 |
335 |
336 | # Example windowrule
337 | # windowrule = float,class:^(kitty)$,title:^(kitty)$
338 |
339 | # Ignore maximize requests from apps. You'll probably like this.
340 | windowrule = suppressevent maximize, class:.*
341 |
342 | # Fix some dragging issues with XWayland
343 | windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
344 |
345 | misc {
346 | disable_hyprland_logo = true
347 | focus_on_activate = true
348 | disable_xdg_env_checks = true
349 | }
350 |
351 |
--------------------------------------------------------------------------------
/configurations/lxqt-labwc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lxqt/lxqt-wayland-session/2699dbcc6a4a3dd66dd822b71adde61afcef6017/configurations/lxqt-labwc.png
--------------------------------------------------------------------------------
/configurations/lxqt-niri.kdl:
--------------------------------------------------------------------------------
1 | // Default niri config (v25.05) with some additions and modifications
2 | // for LXQt. You may find a more recent version in
3 | // /usr/share/doc/niri/default-config.kdl.
4 | // This config is in the KDL format: https://kdl.dev
5 | // "/-" comments out the following node.
6 | // Check the wiki for a full description of the configuration:
7 | // https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction
8 |
9 |
10 | // Input device configuration.
11 | // Find the full list of options on the wiki:
12 | // https://github.com/YaLTeR/niri/wiki/Configuration:-Input
13 | input {
14 | keyboard {
15 | xkb {
16 | // You can set rules, model, layout, variant and options.
17 | // For more information, see xkeyboard-config(7).
18 |
19 | // For example: layout "us,es"
20 | layout "us"
21 | // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
22 | }
23 |
24 | // Enable numlock on startup, omitting this setting disables it.
25 | numlock
26 | }
27 |
28 | // Next sections include libinput settings.
29 | // Omitting settings disables them, or leaves them at their default values.
30 | touchpad {
31 | // off
32 | tap
33 | dwt
34 | dwtp
35 | // drag false
36 | // drag-lock
37 | natural-scroll
38 | accel-speed 0.6
39 | // accel-profile "flat"
40 | // scroll-method "two-finger"
41 | // disabled-on-external-mouse
42 | }
43 |
44 | mouse {
45 | // off
46 | // natural-scroll
47 | // accel-speed 0.2
48 | // accel-profile "flat"
49 | // scroll-method "no-scroll"
50 | }
51 |
52 | trackpoint {
53 | // off
54 | // natural-scroll
55 | // accel-speed 0.2
56 | // accel-profile "flat"
57 | // scroll-method "on-button-down"
58 | // scroll-button 273
59 | // middle-emulation
60 | }
61 |
62 | // Uncomment this to make the mouse warp to the center of newly focused windows.
63 | // warp-mouse-to-focus
64 |
65 | // Focus windows and outputs automatically when moving the mouse into them.
66 | // Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
67 | // focus-follows-mouse max-scroll-amount="0%"
68 | }
69 |
70 | // You can configure outputs by their name, which you can find
71 | // by running `niri msg outputs` while inside a niri instance.
72 | // The built-in laptop monitor is usually called "eDP-1".
73 | // Find more information on the wiki:
74 | // https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
75 | // Remember to uncomment the node by removing "/-"!
76 | /-output "eDP-1" {
77 | // Uncomment this line to disable this output.
78 | // off
79 |
80 | // Resolution and, optionally, refresh rate of the output.
81 | // The format is "x" or "x@".
82 | // If the refresh rate is omitted, niri will pick the highest refresh rate
83 | // for the resolution.
84 | // If the mode is omitted altogether or is invalid, niri will pick one automatically.
85 | // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
86 | mode "1920x1080@120.030"
87 |
88 | // You can use integer or fractional scale, for example use 1.5 for 150% scale.
89 | scale 2
90 |
91 | // Transform allows to rotate the output counter-clockwise, valid values are:
92 | // normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
93 | transform "normal"
94 |
95 | // Position of the output in the global coordinate space.
96 | // This affects directional monitor actions like "focus-monitor-left", and cursor movement.
97 | // The cursor can only move between directly adjacent outputs.
98 | // Output scale and rotation has to be taken into account for positioning:
99 | // outputs are sized in logical, or scaled, pixels.
100 | // For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
101 | // so to put another output directly adjacent to it on the right, set its x to 1920.
102 | // If the position is unset or results in an overlap, the output is instead placed
103 | // automatically.
104 | position x=1280 y=0
105 | }
106 |
107 | // Settings that influence how windows are positioned and sized.
108 | // Find more information on the wiki:
109 | // https://github.com/YaLTeR/niri/wiki/Configuration:-Layout
110 | layout {
111 | // Set gaps around windows in logical pixels.
112 | gaps 16
113 |
114 | // When to center a column when changing focus, options are:
115 | // - "never", default behavior, focusing an off-screen column will keep at the left
116 | // or right edge of the screen.
117 | // - "always", the focused column will always be centered.
118 | // - "on-overflow", focusing a column will center it if it doesn't fit
119 | // together with the previously focused column.
120 | center-focused-column "on-overflow"
121 |
122 | // You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
123 | preset-column-widths {
124 | // Proportion sets the width as a fraction of the output width, taking gaps into account.
125 | // For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
126 | // The default preset widths are 1/3, 1/2 and 2/3 of the output.
127 | proportion 0.33333
128 | proportion 0.5
129 | proportion 0.66667
130 |
131 | // Fixed sets the width in logical pixels exactly.
132 | // fixed 1920
133 | }
134 |
135 | // You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between.
136 | // preset-window-heights { }
137 |
138 | // You can change the default width of the new windows.
139 | default-column-width { proportion 0.5; }
140 | // If you leave the brackets empty, the windows themselves will decide their initial width.
141 | // default-column-width {}
142 |
143 | // By default focus ring and border are rendered as a solid background rectangle
144 | // behind windows. That is, they will show up through semitransparent windows.
145 | // This is because windows using client-side decorations can have an arbitrary shape.
146 | //
147 | // If you don't like that, you should uncomment `prefer-no-csd` below.
148 | // Niri will draw focus ring and border *around* windows that agree to omit their
149 | // client-side decorations.
150 | //
151 | // Alternatively, you can override it with a window rule called
152 | // `draw-border-with-background`.
153 |
154 | // You can change how the focus ring looks.
155 | focus-ring {
156 | // Uncomment this line to disable the focus ring.
157 | // off
158 |
159 | // How many logical pixels the ring extends out from the windows.
160 | width 2
161 |
162 | // Colors can be set in a variety of ways:
163 | // - CSS named colors: "red"
164 | // - RGB hex: "#rgb", "#rgba", "#rrggbb", "#rrggbbaa"
165 | // - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
166 |
167 | // Color of the ring on the active monitor.
168 | active-color "#7fc8ff"
169 |
170 | // Color of the ring on inactive monitors.
171 | inactive-color "#505050"
172 |
173 | // You can also use gradients. They take precedence over solid colors.
174 | // Gradients are rendered the same as CSS linear-gradient(angle, from, to).
175 | // The angle is the same as in linear-gradient, and is optional,
176 | // defaulting to 180 (top-to-bottom gradient).
177 | // You can use any CSS linear-gradient tool on the web to set these up.
178 | // Changing the color space is also supported, check the wiki for more info.
179 | //
180 | // active-gradient from="#80c8ff" to="#bbddff" angle=45
181 |
182 | // You can also color the gradient relative to the entire view
183 | // of the workspace, rather than relative to just the window itself.
184 | // To do that, set relative-to="workspace-view".
185 | //
186 | // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
187 | }
188 |
189 | // You can also add a border. It's similar to the focus ring, but always visible.
190 | border {
191 | // The settings are the same as for the focus ring.
192 | // If you enable the border, you probably want to disable the focus ring.
193 | off
194 |
195 | width 4
196 | active-color "#ffc87f"
197 | inactive-color "#505050"
198 |
199 | // Color of the border around windows that request your attention.
200 | urgent-color "#9b0000"
201 |
202 | // active-gradient from="#ffbb66" to="#ffc880" angle=45 relative-to="workspace-view"
203 | // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
204 | }
205 |
206 | // You can enable drop shadows for windows.
207 | shadow {
208 | // Uncomment the next line to enable shadows.
209 | // on
210 |
211 | // By default, the shadow draws only around its window, and not behind it.
212 | // Uncomment this setting to make the shadow draw behind its window.
213 | //
214 | // Note that niri has no way of knowing about the CSD window corner
215 | // radius. It has to assume that windows have square corners, leading to
216 | // shadow artifacts inside the CSD rounded corners. This setting fixes
217 | // those artifacts.
218 | //
219 | // However, instead you may want to set prefer-no-csd and/or
220 | // geometry-corner-radius. Then, niri will know the corner radius and
221 | // draw the shadow correctly, without having to draw it behind the
222 | // window. These will also remove client-side shadows if the window
223 | // draws any.
224 | //
225 | // draw-behind-window true
226 |
227 | // You can change how shadows look. The values below are in logical
228 | // pixels and match the CSS box-shadow properties.
229 |
230 | // Softness controls the shadow blur radius.
231 | softness 40
232 |
233 | // Spread expands the shadow.
234 | spread 5
235 |
236 | // Offset moves the shadow relative to the window.
237 | offset x=0 y=5
238 |
239 | // You can also change the shadow color and opacity.
240 | color "#00000064"
241 | inactive-color "#00000034"
242 | }
243 |
244 | // Struts shrink the area occupied by windows, similarly to layer-shell panels.
245 | // You can think of them as a kind of outer gaps. They are set in logical pixels.
246 | // Left and right struts will cause the next window to the side to always be visible.
247 | // Top and bottom struts will simply add outer gaps in addition to the area occupied by
248 | // layer-shell panels and regular gaps.
249 | struts {
250 | // left 64
251 | // right 64
252 | // top 64
253 | // bottom 64
254 | }
255 | }
256 |
257 | // Add lines like this to spawn processes at startup.
258 | // Note that running niri as a session supports xdg-desktop-autostart,
259 | // which may be more convenient to use.
260 | // See the binds section below for more spawn examples.
261 | // spawn-at-startup "alacritty" "-e" "fish"
262 | spawn-at-startup "sh" "-c" "lxqt-session && niri msg action quit -s"
263 |
264 | // Uncomment this line to ask the clients to omit their client-side decorations if possible.
265 | // If the client will specifically ask for CSD, the request will be honored.
266 | // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
267 | // This option will also fix border/focus ring drawing behind some semitransparent windows.
268 | // After enabling or disabling this, you need to restart the apps for this to take effect.
269 | // prefer-no-csd
270 |
271 | // You can change the path where screenshots are saved.
272 | // A ~ at the front will be expanded to the home directory.
273 | // The path is formatted with strftime(3) to give you the screenshot date and time.
274 | screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
275 |
276 | // You can also set this to null to disable saving screenshots to disk.
277 | // screenshot-path null
278 |
279 | // Animation settings.
280 | // The wiki explains how to configure individual animations:
281 | // https://github.com/YaLTeR/niri/wiki/Configuration:-Animations
282 | animations {
283 | // Uncomment to turn off all animations.
284 | // off
285 |
286 | // Slow down all animations by this factor. Values below 1 speed them up instead.
287 | // slowdown 3.0
288 | }
289 |
290 | // Window rules let you adjust behavior for individual windows.
291 | // Find more information on the wiki:
292 | // https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules
293 |
294 | // Work around WezTerm's initial configure bug
295 | // by setting an empty default-column-width.
296 | window-rule {
297 | // This regular expression is intentionally made as specific as possible,
298 | // since this is the default config, and we want no false positives.
299 | // You can get away with just app-id="wezterm" if you want.
300 | match app-id=r#"^org\.wezfurlong\.wezterm$"#
301 | default-column-width {}
302 | }
303 |
304 | // Open the Firefox picture-in-picture player as floating by default.
305 | window-rule {
306 | // This app-id regular expression will work for both:
307 | // - host Firefox (app-id is "firefox")
308 | // - Flatpak Firefox (app-id is "org.mozilla.firefox")
309 | match app-id=r#"firefox$"# title="^Picture-in-Picture$"
310 |
311 | // Floating windows for LXQt:
312 | match app-id=r#"^lxqt-.*|pavu.*|.*copyq|qarma|.*portal-lxqt.*|.*conf$"#
313 | // You may need to localize some of those:
314 | match title=r#"^Preferen.*|.*file.*|Password.*|Prop.*|Close.*|Select.*$"#
315 | exclude app-id="lxqt-archiver"
316 | open-floating true
317 | }
318 |
319 | // Example: block out two password managers from screen capture.
320 | // (This example rule is commented out with a "/-" in front.)
321 | /-window-rule {
322 | match app-id=r#"^org\.keepassxc\.KeePassXC$"#
323 | match app-id=r#"^org\.gnome\.World\.Secrets$"#
324 |
325 | block-out-from "screen-capture"
326 |
327 | // Use this instead if you want them visible on third-party screenshot tools.
328 | // block-out-from "screencast"
329 | }
330 |
331 | // enable rounded corners for all windows.
332 | window-rule {
333 | geometry-corner-radius 8
334 | clip-to-geometry true
335 | }
336 |
337 | binds {
338 | // Keys consist of modifiers separated by + signs, followed by an XKB key name
339 | // in the end. To find an XKB name for a particular key, you may use a program
340 | // like wev.
341 | //
342 | // "Mod" is a special modifier equal to Super when running on a TTY, and to Alt
343 | // when running as a winit window.
344 | //
345 | // Most actions that you can bind here can also be invoked programmatically with
346 | // `niri msg action do-something`.
347 |
348 | // Mod-Shift-/, which is usually the same as Mod-?,
349 | // shows a list of important hotkeys.
350 | Mod+Shift+A { show-hotkey-overlay; }
351 |
352 | // Suggested binds for running programs: terminal, app launcher, screen locker.
353 | Mod+T hotkey-overlay-title="QTerminal" { spawn "qterminal"; }
354 | F12 hotkey-overlay-title="Dropdown QTerminal" { spawn "qterminal" "-d"; }
355 | Alt+Space hotkey-overlay-title="lxqt-runner" { spawn "lxqt-runner"; }
356 | Mod+P hotkey-overlay-title="Filemanager" { spawn "pcmanfm-qt"; }
357 | Super+Alt+L hotkey-overlay-title="Exit Options" { spawn "lxqt-leave"; }
358 | Super+Shift+Escape hotkey-overlay-title="Lock Screen" { spawn "lxqt-leave" "--lockscreen"; }
359 |
360 | // You can also use a shell. Do this if you need pipes, multiple commands, etc.
361 | // Note: the entire command goes as a single argument in the end.
362 | // Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
363 |
364 | // Example volume keys mappings for PipeWire & WirePlumber.
365 | // The allow-when-locked=true property makes them work even when the session is locked.
366 | XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; }
367 | XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
368 | XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
369 | XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
370 |
371 | // Brightness
372 | XF86MonBrightnessUp { spawn "lxqt-config-brightness" "-i"; }
373 | XF86MonBrightnessDown { spawn "lxqt-config-brightness" "-d"; }
374 |
375 | // Open/close the Overview: a zoomed-out view of workspaces and windows.
376 | // You can also move the mouse into the top-left hot corner,
377 | // or do a four-finger swipe up on a touchpad.
378 | Mod+O repeat=false { toggle-overview; }
379 |
380 | Mod+Q { close-window; }
381 |
382 | Mod+Left { focus-column-left; }
383 | Mod+Down { focus-window-down; }
384 | Mod+Up { focus-window-up; }
385 | Mod+Right { focus-column-right; }
386 | Mod+H { focus-column-left; }
387 | Mod+J { focus-window-down; }
388 | Mod+K { focus-window-up; }
389 | Mod+L { focus-column-right; }
390 |
391 | Mod+Ctrl+Left { move-column-left; }
392 | Mod+Ctrl+Down { move-window-down; }
393 | Mod+Ctrl+Up { move-window-up; }
394 | Mod+Ctrl+Right { move-column-right; }
395 | Mod+Ctrl+H { move-column-left; }
396 | Mod+Ctrl+J { move-window-down; }
397 | Mod+Ctrl+K { move-window-up; }
398 | Mod+Ctrl+L { move-column-right; }
399 |
400 | // Alternative commands that move across workspaces when reaching
401 | // the first or last window in a column.
402 | // Mod+J { focus-window-or-workspace-down; }
403 | // Mod+K { focus-window-or-workspace-up; }
404 | // Mod+Ctrl+J { move-window-down-or-to-workspace-down; }
405 | // Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
406 |
407 | Mod+Home { focus-column-first; }
408 | Mod+End { focus-column-last; }
409 | Mod+Ctrl+Home { move-column-to-first; }
410 | Mod+Ctrl+End { move-column-to-last; }
411 |
412 | Mod+Shift+Left { focus-monitor-left; }
413 | Mod+Shift+Down { focus-monitor-down; }
414 | Mod+Shift+Up { focus-monitor-up; }
415 | Mod+Shift+Right { focus-monitor-right; }
416 | Mod+Shift+H { focus-monitor-left; }
417 | Mod+Shift+J { focus-monitor-down; }
418 | Mod+Shift+K { focus-monitor-up; }
419 | Mod+Shift+L { focus-monitor-right; }
420 |
421 | Mod+Shift+Ctrl+Left { move-column-to-monitor-left; }
422 | Mod+Shift+Ctrl+Down { move-column-to-monitor-down; }
423 | Mod+Shift+Ctrl+Up { move-column-to-monitor-up; }
424 | Mod+Shift+Ctrl+Right { move-column-to-monitor-right; }
425 | Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
426 | Mod+Shift+Ctrl+J { move-column-to-monitor-down; }
427 | Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
428 | Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
429 |
430 | // Alternatively, there are commands to move just a single window:
431 | // Mod+Shift+Ctrl+Left { move-window-to-monitor-left; }
432 | // ...
433 |
434 | // And you can also move a whole workspace to another monitor:
435 | // Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
436 | // ...
437 |
438 | Mod+Page_Down { focus-workspace-down; }
439 | Mod+Page_Up { focus-workspace-up; }
440 | Mod+U { focus-workspace-down; }
441 | Mod+I { focus-workspace-up; }
442 | Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
443 | Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
444 | Mod+Ctrl+U { move-column-to-workspace-down; }
445 | Mod+Ctrl+I { move-column-to-workspace-up; }
446 |
447 | // Alternatively, there are commands to move just a single window:
448 | // Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
449 | // ...
450 |
451 | Mod+Shift+Page_Down { move-workspace-down; }
452 | Mod+Shift+Page_Up { move-workspace-up; }
453 | Mod+Shift+U { move-workspace-down; }
454 | Mod+Shift+I { move-workspace-up; }
455 |
456 | // You can bind mouse wheel scroll ticks using the following syntax.
457 | // These binds will change direction based on the natural-scroll setting.
458 | //
459 | // To avoid scrolling through workspaces really fast, you can use
460 | // the cooldown-ms property. The bind will be rate-limited to this value.
461 | // You can set a cooldown on any bind, but it's most useful for the wheel.
462 | Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
463 | Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
464 | Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
465 | Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
466 |
467 | Mod+WheelScrollRight { focus-column-right; }
468 | Mod+WheelScrollLeft { focus-column-left; }
469 | Mod+Ctrl+WheelScrollRight { move-column-right; }
470 | Mod+Ctrl+WheelScrollLeft { move-column-left; }
471 |
472 | // Usually scrolling up and down with Shift in applications results in
473 | // horizontal scrolling; these binds replicate that.
474 | Mod+Shift+WheelScrollDown { focus-column-right; }
475 | Mod+Shift+WheelScrollUp { focus-column-left; }
476 | Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
477 | Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
478 |
479 | // Similarly, you can bind touchpad scroll "ticks".
480 | // Touchpad scrolling is continuous, so for these binds it is split into
481 | // discrete intervals.
482 | // These binds are also affected by touchpad's natural-scroll, so these
483 | // example binds are "inverted", since we have natural-scroll enabled for
484 | // touchpads by default.
485 | // Mod+TouchpadScrollDown { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02+"; }
486 | // Mod+TouchpadScrollUp { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.02-"; }
487 |
488 | // You can refer to workspaces by index. However, keep in mind that
489 | // niri is a dynamic workspace system, so these commands are kind of
490 | // "best effort". Trying to refer to a workspace index bigger than
491 | // the current workspace count will instead refer to the bottommost
492 | // (empty) workspace.
493 | //
494 | // For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
495 | // will all refer to the 3rd workspace.
496 | Mod+1 { focus-workspace 1; }
497 | Mod+2 { focus-workspace 2; }
498 | Mod+3 { focus-workspace 3; }
499 | Mod+4 { focus-workspace 4; }
500 | Mod+5 { focus-workspace 5; }
501 | Mod+6 { focus-workspace 6; }
502 | Mod+7 { focus-workspace 7; }
503 | Mod+8 { focus-workspace 8; }
504 | Mod+9 { focus-workspace 9; }
505 | Mod+Ctrl+1 { move-column-to-workspace 1; }
506 | Mod+Ctrl+2 { move-column-to-workspace 2; }
507 | Mod+Ctrl+3 { move-column-to-workspace 3; }
508 | Mod+Ctrl+4 { move-column-to-workspace 4; }
509 | Mod+Ctrl+5 { move-column-to-workspace 5; }
510 | Mod+Ctrl+6 { move-column-to-workspace 6; }
511 | Mod+Ctrl+7 { move-column-to-workspace 7; }
512 | Mod+Ctrl+8 { move-column-to-workspace 8; }
513 | Mod+Ctrl+9 { move-column-to-workspace 9; }
514 |
515 | // Alternatively, there are commands to move just a single window:
516 | // Mod+Ctrl+1 { move-window-to-workspace 1; }
517 |
518 | // Switches focus between the current and the previous workspace.
519 | // Mod+Tab { focus-workspace-previous; }
520 | // The following binds move the focused window in and out of a column.
521 | // If the window is alone, they will consume it into the nearby column to the side.
522 | // If the window is already in a column, they will expel it out.
523 | Mod+BracketLeft { consume-or-expel-window-left; }
524 | Mod+BracketRight { consume-or-expel-window-right; }
525 |
526 | // Consume one window from the right to the bottom of the focused column.
527 | Mod+Comma { consume-window-into-column; }
528 | // Expel the bottom window from the focused column to the right.
529 | Mod+Period { expel-window-from-column; }
530 |
531 |
532 | Mod+R { switch-preset-column-width; }
533 | Mod+Shift+R { switch-preset-window-height; }
534 | Mod+Ctrl+R { reset-window-height; }
535 | Mod+F { maximize-column; }
536 | Mod+Shift+F { fullscreen-window; }
537 |
538 | // Expand the focused column to space not taken up by other fully visible columns.
539 | // Makes the column "fill the rest of the space".
540 | Mod+Ctrl+F { expand-column-to-available-width; }
541 | Mod+C { center-column; }
542 | // Center all fully visible columns on screen.
543 | Mod+Ctrl+C { center-visible-columns; }
544 |
545 | // Finer width adjustments.
546 | // This command can also:
547 | // * set width in pixels: "1000"
548 | // * adjust width in pixels: "-5" or "+5"
549 | // * set width as a percentage of screen width: "25%"
550 | // * adjust width as a percentage of screen width: "-10%" or "+10%"
551 | // Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0,
552 | // set-column-width "100" will make the column occupy 200 physical screen pixels.
553 | Mod+Minus { set-column-width "-10%"; }
554 | Mod+Equal { set-column-width "+10%"; }
555 |
556 | // Finer height adjustments when in column with other windows.
557 | Mod+Shift+Minus { set-window-height "-10%"; }
558 | Mod+Shift+Equal { set-window-height "+10%"; }
559 |
560 | // Move the focused window between the floating and the tiling layout.
561 | Mod+V { toggle-window-floating; }
562 | Mod+Shift+V { switch-focus-between-floating-and-tiling; }
563 |
564 | // Toggle tabbed column display mode.
565 | // Windows in this column will appear as vertical tabs,
566 | // rather than stacked on top of each other.
567 | Mod+W { toggle-column-tabbed-display; }
568 |
569 | // Actions to switch layouts.
570 | // Note: if you uncomment these, make sure you do NOT have
571 | // a matching layout switch hotkey configured in xkb options above.
572 | // Having both at once on the same hotkey will break the switching,
573 | // since it will switch twice upon pressing the hotkey (once by xkb, once by niri).
574 | // Mod+Space { switch-layout "next"; }
575 | // Mod+Shift+Space { switch-layout "prev"; }
576 |
577 | Print { screenshot; }
578 | Ctrl+Print { screenshot-screen; }
579 | Alt+Print { screenshot-window; }
580 | // To use ScreenGrab replace with
581 | // Print { spawn "screengrab"; } // use last setting
582 | // Ctrl+Print { spawn "screengrab" "-f"; }
583 | // See "screengrab -h" for all options
584 |
585 | // Applications such as remote-desktop clients and software KVM switches may
586 | // request that niri stops processing the keyboard shortcuts defined here
587 | // so they may, for example, forward the key presses as-is to a remote machine.
588 | // It's a good idea to bind an escape hatch to toggle the inhibitor,
589 | // so a buggy application can't hold your session hostage.
590 | //
591 | // The allow-inhibiting=false property can be applied to other binds as well,
592 | // which ensures niri always processes them, even when an inhibitor is active.
593 | Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
594 |
595 | // The quit action will show a confirmation dialog to avoid accidental exits.
596 | Mod+Shift+E { quit; }
597 | Ctrl+Alt+Delete { quit; }
598 |
599 | // Powers off the monitors. To turn them back on, do any input like
600 | // moving the mouse or pressing any other key.
601 | Mod+Shift+P { power-off-monitors; }
602 | }
603 |
--------------------------------------------------------------------------------
/configurations/lxqt-river-init:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # This is the example configuration file for river with some additions for LXQt.
4 | # There may be a newer file in /usr/share/river/example/init.
5 | #
6 | # See the river(1), riverctl(1), and rivertile(1) man pages for complete
7 | # documentation.
8 |
9 | # Note: the "Super" modifier is also known as Logo, GUI, Windows, Mod4, etc.
10 |
11 | # Super+Shift+Return to start an instance of QTerminal
12 |
13 | riverctl spawn "lxqt-session && riverctl exit"
14 |
15 | # Input
16 | riverctl keyboard-layout us
17 |
18 | # LXQt keybinds
19 | riverctl map normal Super+Shift Return spawn qterminal
20 | riverctl map normal None F12 spawn "qterminal -d"
21 | riverctl map normal Alt Space spawn lxqt-runner
22 | riverctl map normal None Print spawn screengrab
23 | riverctl map normal Super+Shift Escape spawn "lxqt-leave --lockscreen"
24 |
25 | # Super+Q to close the focused view
26 | riverctl map normal Super Q close
27 |
28 | # Super+Shift+E to exit river
29 | riverctl map normal Super+Shift E exit
30 |
31 | # Super+J and Super+K to focus the next/previous view in the layout stack
32 | riverctl map normal Super J focus-view next
33 | riverctl map normal Super K focus-view previous
34 |
35 | # Super+Shift+J and Super+Shift+K to swap the focused view with the next/previous
36 | # view in the layout stack
37 | riverctl map normal Super+Shift J swap next
38 | riverctl map normal Super+Shift K swap previous
39 |
40 | # Super+Period and Super+Comma to focus the next/previous output
41 | riverctl map normal Super Period focus-output next
42 | riverctl map normal Super Comma focus-output previous
43 |
44 | # Super+Shift+{Period,Comma} to send the focused view to the next/previous output
45 | riverctl map normal Super+Shift Period send-to-output next
46 | riverctl map normal Super+Shift Comma send-to-output previous
47 |
48 | # Super+Return to bump the focused view to the top of the layout stack
49 | riverctl map normal Super Return zoom
50 |
51 | # Super+H and Super+L to decrease/increase the main ratio of rivertile(1)
52 | riverctl map normal Super H send-layout-cmd rivertile "main-ratio -0.05"
53 | riverctl map normal Super L send-layout-cmd rivertile "main-ratio +0.05"
54 |
55 | # Super+Shift+H and Super+Shift+L to increment/decrement the main count of rivertile(1)
56 | riverctl map normal Super+Shift H send-layout-cmd rivertile "main-count +1"
57 | riverctl map normal Super+Shift L send-layout-cmd rivertile "main-count -1"
58 |
59 | # Super+Alt+{H,J,K,L} to move views
60 | riverctl map normal Super+Alt H move left 100
61 | riverctl map normal Super+Alt J move down 100
62 | riverctl map normal Super+Alt K move up 100
63 | riverctl map normal Super+Alt L move right 100
64 |
65 | # Super+Alt+Control+{H,J,K,L} to snap views to screen edges
66 | riverctl map normal Super+Alt+Control H snap left
67 | riverctl map normal Super+Alt+Control J snap down
68 | riverctl map normal Super+Alt+Control K snap up
69 | riverctl map normal Super+Alt+Control L snap right
70 |
71 | # Super+Alt+Shift+{H,J,K,L} to resize views
72 | riverctl map normal Super+Alt+Shift H resize horizontal -100
73 | riverctl map normal Super+Alt+Shift J resize vertical 100
74 | riverctl map normal Super+Alt+Shift K resize vertical -100
75 | riverctl map normal Super+Alt+Shift L resize horizontal 100
76 |
77 | # Super + Left Mouse Button to move views
78 | riverctl map-pointer normal Super BTN_LEFT move-view
79 |
80 | # Super + Right Mouse Button to resize views
81 | riverctl map-pointer normal Super BTN_RIGHT resize-view
82 |
83 | # Super + Middle Mouse Button to toggle float
84 | riverctl map-pointer normal Super BTN_MIDDLE toggle-float
85 |
86 | for i in $(seq 1 9)
87 | do
88 | tags=$((1 << ($i - 1)))
89 |
90 | # Super+[1-9] to focus tag [0-8]
91 | riverctl map normal Super $i set-focused-tags $tags
92 |
93 | # Super+Shift+[1-9] to tag focused view with tag [0-8]
94 | riverctl map normal Super+Shift $i set-view-tags $tags
95 |
96 | # Super+Control+[1-9] to toggle focus of tag [0-8]
97 | riverctl map normal Super+Control $i toggle-focused-tags $tags
98 |
99 | # Super+Shift+Control+[1-9] to toggle tag [0-8] of focused view
100 | riverctl map normal Super+Shift+Control $i toggle-view-tags $tags
101 | done
102 |
103 |
104 | # Super+0 to focus all tags
105 | # Super+Shift+0 to tag focused view with all tags
106 | all_tags=$(((1 << 32) - 1))
107 | riverctl map normal Super 0 set-focused-tags $all_tags
108 | riverctl map normal Super+Shift 0 set-view-tags $all_tags
109 |
110 | # Super+Space to toggle float
111 | riverctl map normal Super Space toggle-float
112 |
113 | # Super+F to toggle fullscreen
114 | riverctl map normal Super F toggle-fullscreen
115 |
116 | # Super+{Up,Right,Down,Left} to change layout orientation
117 | riverctl map normal Super Up send-layout-cmd rivertile "main-location top"
118 | riverctl map normal Super Right send-layout-cmd rivertile "main-location right"
119 | riverctl map normal Super Down send-layout-cmd rivertile "main-location bottom"
120 | riverctl map normal Super Left send-layout-cmd rivertile "main-location left"
121 |
122 | # Declare a passthrough mode. This mode has only a single mapping to return to
123 | # normal mode. This makes it useful for testing a nested wayland compositor
124 | riverctl declare-mode passthrough
125 |
126 | # Super+F11 to enter passthrough mode
127 | riverctl map normal Super F11 enter-mode passthrough
128 |
129 | # Super+F11 to return to normal mode
130 | riverctl map passthrough Super F11 enter-mode normal
131 |
132 | # Powerbutton
133 | for mode in normal
134 | do
135 | riverctl map $mode None XF86PowerOff spawn lxqt-leave
136 | done
137 |
138 | # Various media key mapping examples for both normal and locked mode which do
139 | # not have a modifier
140 | for mode in normal locked
141 | do
142 | # Eject the optical drive (well if you still have one that is)
143 | riverctl map $mode None XF86Eject spawn 'eject -T'
144 |
145 | # Control pulse audio volume with pamixer (https://github.com/cdemoulins/pamixer)
146 | riverctl map $mode None XF86AudioRaiseVolume spawn 'pamixer -i 5'
147 | riverctl map $mode None XF86AudioLowerVolume spawn 'pamixer -d 5'
148 | riverctl map $mode None XF86AudioMute spawn 'pamixer --toggle-mute'
149 |
150 | # Control MPRIS aware media players with playerctl (https://github.com/altdesktop/playerctl)
151 | riverctl map $mode None XF86AudioMedia spawn 'playerctl play-pause'
152 | riverctl map $mode None XF86AudioPlay spawn 'playerctl play-pause'
153 | riverctl map $mode None XF86AudioPrev spawn 'playerctl previous'
154 | riverctl map $mode None XF86AudioNext spawn 'playerctl next'
155 |
156 | # Control screen backlight brightness with brightnessctl (https://github.com/Hummer12007/brightnessctl)
157 | riverctl map $mode None XF86MonBrightnessUp spawn 'lxqt-config-brightness -i'
158 | riverctl map $mode None XF86MonBrightnessDown spawn 'lxqt-config-brightness -d'
159 | done
160 |
161 | # Set background and border color
162 | riverctl background-color 0x002b36
163 | riverctl border-color-focused 0x4ec2e8
164 | riverctl border-color-unfocused 0x586e75
165 |
166 | # Set keyboard repeat rate
167 | riverctl set-repeat 50 300
168 |
169 | # Make all views with an app-id that starts with "lxqt" and any title start floating.
170 | riverctl rule-add -app-id 'lxqt*' -title '*' float
171 |
172 | # Make all views with app-id "bar" and any title use client-side decorations
173 | riverctl rule-add -app-id "bar" csd
174 |
175 | # Set the default layout generator to be rivertile and start it.
176 | # River will send the process group of the init executable SIGTERM on exit.
177 | riverctl default-layout rivertile
178 | rivertile -view-padding 6 -outer-padding 6 &
179 |
180 |
181 |
--------------------------------------------------------------------------------
/configurations/lxqt-sway.config:
--------------------------------------------------------------------------------
1 | # Default config for sway v1.10.1 with additions for LXQt. There may be a newer default file in /etc/sway/config.
2 | #
3 | # Location is ~/.config/lxqt/wayland/lxqt-sway.config
4 | #
5 | # Read `man 5 sway` for a complete reference.
6 |
7 | ### Variables
8 | #
9 | # Logo key. Use Mod1 for Alt.
10 | set $mod Mod4
11 | # Home row direction keys, like vim
12 | set $left h
13 | set $down j
14 | set $up k
15 | set $right l
16 |
17 | # Your preferred terminal emulator
18 | set $term qterminal
19 |
20 | ### Output configuration
21 | #
22 | # Example configuration:
23 | #
24 | # output HDMI-A-1 resolution 1920x1080 position 1920,0
25 | #
26 | # You can get the names of your outputs by running: swaymsg -t get_outputs
27 |
28 | ### Idle configuration
29 | #
30 | # Example configuration:
31 | #
32 | # exec swayidle -w \
33 | # timeout 300 'swaylock -f -c 000000' \
34 | # timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
35 | # before-sleep 'swaylock -f -c 000000'
36 | #
37 | # This will lock your screen after 300 seconds of inactivity, then turn off
38 | # your displays after another 300 seconds, and turn your screens back on when
39 | # resumed. It will also lock your screen before your computer goes to sleep.
40 |
41 | ### Input configuration
42 | #
43 | # Example configuration:
44 | #
45 | # input "2:14:SynPS/2_Synaptics_TouchPad" {
46 | # dwt enabled
47 | # tap enabled
48 | # natural_scroll enabled
49 | # middle_emulation enabled
50 | # }
51 | input "type:keyboard" {
52 | xkb_layout us
53 | xkb_options grp:alt_shift_toggle,grp_led:scroll
54 | }
55 | #
56 | # You can get the names of your inputs by running: swaymsg -t get_inputs
57 | # Read `man 5 sway-input` for more information about this section.
58 |
59 | ### Key bindings
60 | #
61 | # Basics:
62 | #
63 | # Start a terminal
64 | bindsym $mod+Return exec $term
65 |
66 | # Kill focused window
67 | bindsym $mod+Shift+q kill
68 |
69 | # Reload the configuration file
70 | bindsym $mod+Shift+r reload
71 |
72 | # LXQt Settings
73 | exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
74 | exec lxqt-session && sway exit
75 | for_window [app_id="^lxqt-.*$"] floating enable
76 | for_window [app_id="cmst"] floating enable
77 | for_window [app_id="kvantummanager"] floating enable
78 |
79 | focus_on_window_activation focus
80 |
81 | bindsym alt+space exec lxqt-runner
82 | bindsym alt+F2 exec lxqt-runner
83 | # For advanced shortcut handling for applications see https://github.com/lxqt/lxqt/wiki/ConfigWaylandSettings#global-shortcuts
84 | bindsym $mod+p exec pcmanfm-qt
85 | bindsym F12 exec qterminal -d
86 | bindsym Print exec screengrab
87 | bindsym XF86PowerOff exec lxqt-leave
88 | bindsym $mod+Shift+escape exec lxqt-leave --lockscreen
89 |
90 | # Drag floating windows by holding down $mod and left mouse button.
91 | # Resize them with right mouse button + $mod.
92 | # Despite the name, also works for non-floating windows.
93 | # Change normal to inverse to use left mouse button for resizing and right
94 | # mouse button for dragging.
95 | floating_modifier $mod normal
96 |
97 | # Reload the configuration file
98 | bindsym $mod+Shift+c reload
99 |
100 | # Exit sway (logs you out of your Wayland session)
101 | bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
102 | #
103 | # Moving around:
104 | #
105 | # Move your focus around
106 | bindsym $mod+$left focus left
107 | bindsym $mod+$down focus down
108 | bindsym $mod+$up focus up
109 | bindsym $mod+$right focus right
110 | # Or use $mod+[up|down|left|right]
111 | bindsym $mod+Left focus left
112 | bindsym $mod+Down focus down
113 | bindsym $mod+Up focus up
114 | bindsym $mod+Right focus right
115 |
116 | # Move the focused window with the same, but add Shift
117 | bindsym $mod+Shift+$left move left
118 | bindsym $mod+Shift+$down move down
119 | bindsym $mod+Shift+$up move up
120 | bindsym $mod+Shift+$right move right
121 | # Ditto, with arrow keys
122 | bindsym $mod+Shift+Left move left
123 | bindsym $mod+Shift+Down move down
124 | bindsym $mod+Shift+Up move up
125 | bindsym $mod+Shift+Right move right
126 | #
127 | # Workspaces:
128 | #
129 | # Switch to workspace
130 | bindsym $mod+1 workspace number 1
131 | bindsym $mod+2 workspace number 2
132 | bindsym $mod+3 workspace number 3
133 | bindsym $mod+4 workspace number 4
134 | bindsym $mod+5 workspace number 5
135 | bindsym $mod+6 workspace number 6
136 | bindsym $mod+7 workspace number 7
137 | bindsym $mod+8 workspace number 8
138 | bindsym $mod+9 workspace number 9
139 | bindsym $mod+0 workspace number 10
140 | # Move focused container to workspace
141 | bindsym $mod+Shift+1 move container to workspace number 1
142 | bindsym $mod+Shift+2 move container to workspace number 2
143 | bindsym $mod+Shift+3 move container to workspace number 3
144 | bindsym $mod+Shift+4 move container to workspace number 4
145 | bindsym $mod+Shift+5 move container to workspace number 5
146 | bindsym $mod+Shift+6 move container to workspace number 6
147 | bindsym $mod+Shift+7 move container to workspace number 7
148 | bindsym $mod+Shift+8 move container to workspace number 8
149 | bindsym $mod+Shift+9 move container to workspace number 9
150 | bindsym $mod+Shift+0 move container to workspace number 10
151 | # Note: workspaces can have any name you want, not just numbers.
152 | # We just use 1-10 as the default.
153 | #
154 | # Layout stuff:
155 | #
156 | # You can "split" the current object of your focus with
157 | # $mod+b or $mod+v, for horizontal and vertical splits
158 | # respectively.
159 | bindsym $mod+b splith
160 | bindsym $mod+v splitv
161 |
162 | # Switch the current container between different layout styles
163 | bindsym $mod+s layout stacking
164 | bindsym $mod+w layout tabbed
165 | bindsym $mod+e layout toggle split
166 |
167 | # Make the current focus fullscreen
168 | bindsym $mod+f fullscreen
169 |
170 | # Toggle the current focus between tiling and floating mode
171 | bindsym $mod+Shift+space floating toggle
172 |
173 | # Swap focus between the tiling area and the floating area
174 | bindsym $mod+space focus mode_toggle
175 |
176 | # Move focus to the parent container
177 | bindsym $mod+a focus parent
178 | #
179 | # Scratchpad:
180 | #
181 | # Sway has a "scratchpad", which is a bag of holding for windows.
182 | # You can send windows there and get them back later.
183 |
184 | # Move the currently focused window to the scratchpad
185 | bindsym $mod+Shift+minus move scratchpad
186 |
187 | # Show the next scratchpad window or hide the focused scratchpad window.
188 | # If there are multiple scratchpad windows, this command cycles through them.
189 | bindsym $mod+minus scratchpad show
190 | #
191 | # Resizing containers:
192 | #
193 | mode "resize" {
194 | # left will shrink the containers width
195 | # right will grow the containers width
196 | # up will shrink the containers height
197 | # down will grow the containers height
198 | bindsym $left resize shrink width 10px
199 | bindsym $down resize grow height 10px
200 | bindsym $up resize shrink height 10px
201 | bindsym $right resize grow width 10px
202 |
203 | # Ditto, with arrow keys
204 | bindsym Left resize shrink width 10px
205 | bindsym Down resize grow height 10px
206 | bindsym Up resize shrink height 10px
207 | bindsym Right resize grow width 10px
208 |
209 | # Return to default mode
210 | bindsym Return mode "default"
211 | bindsym Escape mode "default"
212 | }
213 | bindsym $mod+r mode "resize"
214 |
215 | #
216 | # Utilities:
217 | #
218 | # Special keys to adjust volume via PulseAudio
219 | bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
220 | bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
221 | bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
222 | bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
223 | # Special keys to adjust brightness via brightnessctl
224 | #bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
225 | #bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
226 | bindsym XF86MonBrightnessDown exec lxqt-config-brightness -d
227 | bindsym XF86MonBrightnessUp exec lxqt-config-brightness -i
228 |
229 | include /etc/sway/config.d/*
230 |
--------------------------------------------------------------------------------
/configurations/lxqt-wayfire.ini:
--------------------------------------------------------------------------------
1 | # Default config file for LXQt Wayfire
2 | #
3 | # Location is ~/.config/wayfire-lxqt.ini
4 |
5 | # Take the tutorial to get started.
6 | # https://github.com/WayfireWM/wayfire/wiki/Tutorial
7 | #
8 | # Read the Configuration document for a complete reference.
9 | # https://github.com/WayfireWM/wayfire/wiki/Configuration
10 |
11 | # Input configuration ──────────────────────────────────────────────────────────
12 |
13 | # Example configuration:
14 | #(imported from LXQt at start at the bottom)
15 | [input]
16 | xkb_layout =
17 | xkb_variant =
18 | xkb_options =
19 | cursor_size = 24
20 | cursor_theme = default
21 | #
22 | # See Input options for a complete reference.
23 | # https://github.com/WayfireWM/wayfire/wiki/Configuration#input
24 |
25 | # Output configuration ─────────────────────────────────────────────────────────
26 |
27 | # Example configuration:
28 | #
29 | # [output:eDP-1]
30 | # mode = 1920x1080@60000
31 | # position = 0,0
32 | # transform = normal
33 | # scale = 1.000000
34 | #
35 | # You can get the names of your outputs with wlr-randr.
36 | # https://github.com/emersion/wlr-randr
37 | #
38 | # See also kanshi for configuring your outputs automatically.
39 | # https://wayland.emersion.fr/kanshi/
40 | #
41 | # See Output options for a complete reference.
42 | # https://github.com/WayfireWM/wayfire/wiki/Configuration#output
43 |
44 | # Core options ─────────────────────────────────────────────────────────────────
45 |
46 | [core]
47 |
48 | # List of plugins to be enabled.
49 | # See the Configuration document for a complete list.
50 | plugins = \
51 | alpha \
52 | animate \
53 | autostart \
54 | command \
55 | cube \
56 | decoration \
57 | expo \
58 | fast-switcher \
59 | fisheye \
60 | foreign-toplevel \
61 | grid \
62 | gtk-shell \
63 | idle \
64 | invert \
65 | ipc \
66 | ipc-rules \
67 | move \
68 | oswitch \
69 | place \
70 | resize \
71 | session-lock \
72 | shortcuts-inhibit \
73 | switcher \
74 | vswitch \
75 | wayfire-shell \
76 | window-rules \
77 | wm-actions \
78 | wobbly \
79 | wrot \
80 | wsets \
81 | xdg-activation \
82 | zoom
83 |
84 | # Note: [blur] is not enabled by default, because it can be resource-intensive.
85 | # Feel free to add it to the list if you want it.
86 | # You can find its documentation here:
87 | # https://github.com/WayfireWM/wayfire/wiki/Configuration#blur
88 |
89 | # Close focused window.
90 | close_top_view = KEY_Q | KEY_F4
91 |
92 | # Workspaces arranged into a grid: 3 × 3.
93 | vwidth = 3
94 | vheight = 3
95 |
96 | # Prefer client-side decoration or server-side decoration
97 | preferred_decoration_mode = server
98 |
99 | # Mouse bindings ───────────────────────────────────────────────────────────────
100 |
101 | # Drag windows by holding down Super and left mouse button.
102 | [move]
103 | activate = BTN_LEFT
104 |
105 | # Resize them with right mouse button + Super.
106 | [resize]
107 | activate = BTN_RIGHT
108 |
109 | # Zoom in the desktop by scrolling + Super.
110 | [zoom]
111 | modifier =
112 |
113 | # Change opacity by scrolling with Super + Alt.
114 | [alpha]
115 | modifier =
116 |
117 | # Rotate windows with the mouse.
118 | [wrot]
119 | activate = BTN_RIGHT
120 |
121 | # Fisheye effect.
122 | [fisheye]
123 | toggle = KEY_F
124 |
125 | # Startup commands ─────────────────────────────────────────────────────────────
126 |
127 | [autostart]
128 |
129 | # Automatically start background and panel.
130 | # Set to false if you want to override the default clients.
131 | autostart_wf_shell = false
132 | splash = swaybg -i /usr/share/lxqt/wallpapers/origami-dark.png
133 | session = lxqt-session && killall wayfire
134 |
135 | # Output configuration
136 | # https://wayland.emersion.fr/kanshi/
137 | # outputs = kanshi
138 |
139 | # Screen color temperature
140 | # https://sr.ht/~kennylevinsen/wlsunset/
141 | gamma = wlsunset
142 |
143 | # Idle configuration
144 | # https://github.com/swaywm/swayidle
145 | # https://github.com/swaywm/swaylock
146 | # idle = swayidle before-sleep swaylock
147 |
148 | # XDG desktop portal
149 | # Needed by some GTK applications
150 | #portal = /usr/libexec/xdg-desktop-portal
151 |
152 | # Example configuration:
153 | #
154 | # [idle]
155 | # toggle = KEY_Z
156 | # screensaver_timeout = 300
157 | # dpms_timeout = 600
158 | #
159 | # Disables the compositor going idle with Super + z.
160 | # This will lock your screen after 300 seconds of inactivity, then turn off
161 | # your displays after another 300 seconds.
162 |
163 | # Applications ─────────────────────────────────────────────────────────────────
164 |
165 | [command]
166 |
167 | # Start a terminal
168 | binding_terminal = KEY_ENTER
169 | command_terminal = qterminal
170 | binding_launcher = KEY_SPACE
171 | command_launcher = lxqt-runner
172 | binding_terminaldropdown = KEY_F12
173 | command_terminaldropdown = qterminal -d
174 | binding_leave = KEY_POWER
175 | command_leave = lxqt-leave
176 | # For advanced shortcut handling please consult
177 | # https://github.com/lxqt/lxqt/wiki/Wayland#global-shortcuts
178 | binding_featherpad = KEY_F
179 | command_featherpad = featherpad
180 | binding_filemanager = KEY_P
181 | command_filemanager = pcmanfm-qt
182 |
183 | # Screen locker
184 | binding_lock = KEY_ESC
185 | command_lock = lxqt-leave --lockscreen
186 |
187 | # Logout
188 | binding_logout = KEY_ESC
189 | command_logout = lxqt-leave --logout
190 |
191 | # Open Fancy Applications Menu
192 | binding_menu = KEY_F1
193 | command_menu = qdbus org.kde.StatusNotifierWatcher /global_key_shortcuts/panel/fancymenu/show_hide org.lxqt.global_key_shortcuts.client.activated
194 |
195 | # Screenshots
196 | binding_screenshot = KEY_PRINT | KEY_SYSRQ
197 | command_screenshot = screengrab
198 | binding_screenshot_interactive = KEY_PRINT | KEY_SYSRQ
199 | command_screenshot_interactive = screengrab -r
200 |
201 | # Volume controls
202 | # https://alsa-project.org
203 | repeatable_binding_volume_up = KEY_VOLUMEUP
204 | command_volume_up = amixer set Master 5%+
205 | repeatable_binding_volume_down = KEY_VOLUMEDOWN
206 | command_volume_down = amixer set Master 5%-
207 | binding_mute = KEY_MUTE
208 | command_mute = amixer set Master toggle
209 |
210 | # Screen brightness
211 | # https://haikarainen.github.io/light/
212 | repeatable_binding_light_up = KEY_BRIGHTNESSUP
213 | repeatable_binding_light_down = KEY_BRIGHTNESSDOWN
214 | command_light_down = lxqt-config-brightness -d
215 | command_light_up = lxqt-config-brightness -i
216 |
217 | # Windows ──────────────────────────────────────────────────────────────────────
218 |
219 | # Actions related to window management functionalities.
220 | #
221 | # Example configuration:
222 | #
223 | # [wm-actions]
224 | # toggle_fullscreen = KEY_F
225 | # toggle_always_on_top = KEY_X
226 | # toggle_sticky = KEY_X
227 |
228 | # Position the windows in certain regions of the output.
229 | [grid]
230 | #
231 | # ⇱ ↑ ⇲ │ 7 8 9
232 | # ← f → │ 4 5 6
233 | # ⇱ ↓ ⇲ d │ 1 2 3 0
234 | # ‾ ‾
235 | slot_bl = KEY_KP1
236 | slot_b = KEY_KP2
237 | slot_br = KEY_KP3
238 | slot_l = KEY_LEFT | KEY_KP4
239 | slot_c = KEY_UP | KEY_KP5
240 | slot_r = KEY_RIGHT | KEY_KP6
241 | slot_tl = KEY_KP7
242 | slot_t = KEY_KP8
243 | slot_tr = KEY_KP9
244 | # Restore default.
245 | restore = KEY_DOWN | KEY_KP0
246 |
247 | # Change active window with an animation.
248 | [switcher]
249 | next_view = KEY_TAB
250 | prev_view = KEY_TAB
251 |
252 | # Simple active window switcher.
253 | [fast-switcher]
254 | activate = KEY_ESC
255 |
256 | # Workspaces ───────────────────────────────────────────────────────────────────
257 |
258 | # Switch to workspace.
259 | [vswitch]
260 | binding_left = KEY_LEFT
261 | binding_down = KEY_DOWN
262 | binding_up = KEY_UP
263 | binding_right = KEY_RIGHT
264 | # Move the focused window with the same key-bindings, but add Shift.
265 | with_win_left = KEY_LEFT
266 | with_win_down = KEY_DOWN
267 | with_win_up = KEY_UP
268 | with_win_right = KEY_RIGHT
269 |
270 | # Show the current workspace row as a cube.
271 | [cube]
272 | activate = BTN_LEFT
273 | # Switch to the next or previous workspace.
274 | #rotate_left = KEY_H
275 | #rotate_right = KEY_L
276 |
277 | # Show an overview of all workspaces.
278 | [expo]
279 | toggle = KEY_E
280 | # Select a workspace.
281 | # Workspaces are arranged into a grid of 3 × 3.
282 | # The numbering is left to right, line by line.
283 | #
284 | # ⇱ k ⇲
285 | # h ⏎ l
286 | # ⇱ j ⇲
287 | # ‾ ‾
288 | # See core.vwidth and core.vheight for configuring the grid.
289 | select_workspace_1 = KEY_1
290 | select_workspace_2 = KEY_2
291 | select_workspace_3 = KEY_3
292 | select_workspace_4 = KEY_4
293 | select_workspace_5 = KEY_5
294 | select_workspace_6 = KEY_6
295 | select_workspace_7 = KEY_7
296 | select_workspace_8 = KEY_8
297 | select_workspace_9 = KEY_9
298 |
299 | # Outputs ──────────────────────────────────────────────────────────────────────
300 |
301 | # Change focused output.
302 | [oswitch]
303 | # Switch to the next output.
304 | next_output = KEY_O
305 | # Same with the window.
306 | next_output_with_win = KEY_O
307 |
308 | # Invert the colors of the whole output.
309 | [invert]
310 | toggle = KEY_I
311 |
312 | # Send toggle menu event.
313 | [wayfire-shell]
314 | toggle_menu =
315 |
316 | # Rules ────────────────────────────────────────────────────────────────────────
317 |
318 | # Example configuration:
319 | #
320 | # [window-rules]
321 | # maximize_alacritty = on created if app_id is "Alacritty" then maximize
322 | #
323 | # You can get the properties of your applications with the following command:
324 | # $ WAYLAND_DEBUG=1 alacritty 2>&1 | kak
325 | #
326 | # See Window rules for a complete reference.
327 | # https://github.com/WayfireWM/wayfire/wiki/Configuration#window-rules
328 |
--------------------------------------------------------------------------------
/labwc-themes/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # install labwc themes
2 | install(DIRECTORY
3 | Vent
4 | Vent-dark
5 | DESTINATION "${CMAKE_INSTALL_DATADIR}/themes"
6 | COMPONENT Runtime
7 | )
8 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xc0,0x0f,0xfc,0xe0,0x1f,0xfc,
5 | 0xf0,0x3f,0xfc,0xf8,0x7f,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
6 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
7 | 0xf8,0x7f,0xfc,0xf0,0x3f,0xfc,0xe0,0x1f,0xfc,0xc0,0x0f,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/desk.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
5 | 0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
6 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
7 | 0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/desk_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define desk_width 18
2 | #define desk_height 18
3 | static unsigned char desk_bits[] = {
4 | 0xc0,0x00,0xfc,0xe0,0x01,0xfc,0xf0,0x03,0xfc,0xf8,0x07,0xfc,
5 | 0xfc,0x0f,0xfc,0xfe,0x1f,0xfc,0xff,0x1f,0xfc,0xfe,0x03,0xfc,
6 | 0xfc,0x07,0xfc,0x78,0x0f,0xfc,0x70,0x0e,0xfc,0x60,0x1c,0xfc,
7 | 0x00,0x38,0xfc,0x00,0x70,0xfc,0x00,0xe0,0xfc,0x00,0xc0,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xc0,0x0f,0xfc,0xe0,0x1f,0xfc,
5 | 0xf0,0x3f,0xfc,0xf8,0x7f,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
6 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
7 | 0xf8,0x7f,0xfc,0xf0,0x3f,0xfc,0xe0,0x1f,0xfc,0xc0,0x0f,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xc0,0x0f,0xfc,0xe0,0x1f,0xfc,
5 | 0xf0,0x3f,0xfc,0xf8,0x7f,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
6 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
7 | 0xf8,0x7f,0xfc,0xf0,0x3f,0xfc,0xe0,0x1f,0xfc,0xc0,0x0f,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
5 | 0xfc,0xff,0xfc,0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,
6 | 0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,
7 | 0x1c,0xe0,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/max_toggled_hover.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
5 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
6 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
7 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/menu.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfd,0xfc,0xff,0xfd,
5 | 0xfc,0xff,0xfd,0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfd,
6 | 0xfc,0xff,0xfd,0xfc,0xff,0xfd,0x00,0x00,0xfc,0x00,0x00,0xfc,
7 | 0xfc,0xff,0xfd,0xfc,0xff,0xfd,0xfc,0xff,0xfd,0x00,0x00,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/shade.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfd,0xfc,0xff,0xfd,
5 | 0xfc,0xff,0xfd,0x00,0x00,0xfc,0x00,0x02,0xfc,0x00,0x07,0xfc,
6 | 0x80,0x0f,0xfc,0xc0,0x1f,0xfc,0xe0,0x3f,0xfc,0xf0,0x7f,0xfc,
7 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/shade_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfd,0xfc,0xff,0xfd,
5 | 0xfc,0xff,0xfd,0x00,0x00,0xfc,0xf0,0x7f,0xfc,0xe0,0x3f,0xfc,
6 | 0xc0,0x1f,0xfc,0x80,0x0f,0xfc,0x00,0x07,0xfc,0x00,0x02,0xfc,
7 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent-dark/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | ### WINDOW
2 |
3 | border.width: 1
4 | window.button.width: 32
5 | window.button.height: 34
6 | window.titlebar.padding.width: 5
7 | window.titlebar.padding.height: 0
8 | window.button.spacing: 5
9 | window.active.border.color: #1ee7ea
10 | window.inactive.border.color: #d0d0d0
11 | window.active.indicator.toggled-keybind.color: #cb2727
12 | window.active.label.text.color: #f0f0f0
13 | window.inactive.label.text.color: #f0f0f0
14 | window.active.title.bg.color: #525352
15 | window.active.label.bg.color: #404140
16 | window.inactive.title.bg.color: #404140
17 | window.inactive.label.text.color: #b0b3b5
18 | window.label.text.justify: center
19 |
20 | ### MENU
21 |
22 | menu.width.min: 20
23 | menu.width.max: 250
24 | menu.items.bg.color: #45474c
25 | menu.items.text.color: #e2e2e2
26 | menu.items.active.bg.color: #dddad6
27 | menu.items.active.text.color:#14292f
28 | menu.overlap.x: 0
29 | menu.overlap.y: 0
30 | menu.items.padding.x: 7
31 | menu.items.padding.y: 4
32 | menu.separator.width: 2
33 | menu.separator.padding.width: 6
34 | menu.separator.padding.height: 3
35 | menu.separator.color: #dcebec
36 |
37 | ### OSD
38 |
39 | osd.bg.color: #45474c
40 | osd.border.color: #3294a8
41 | osd.border.width: 3
42 | osd.label.text.color: #e2e2e2
43 | osd.window-switcher.width: 800
44 | osd.window-switcher.padding: 10
45 | osd.window-switcher.item.padding.x: 5
46 | osd.window-switcher.item.padding.y: 5
47 | osd.window-switcher.item.active.border.width: 2
48 | osd.workspace-switcher.boxes.width: 40
49 | osd.workspace-switcher.boxes.height: 30
50 |
51 | ## BUTTONS
52 |
53 | window.active.button.iconify.unpressed.image.color: #f59335
54 | window.active.button.max.unpressed.image.color: #a1d569
55 | window.active.button.close.unpressed.image.color: #ef6b7b
56 | window.active.button.menu.unpressed.image.color: #4ec2e8
57 | window.active.button.desk.unpressed.image.color: #9799f7
58 | window.active.button.shade.unpressed.image.color: #a6a228
59 |
60 | window.inactive.button.iconify.unpressed.image.color: #939597
61 | window.inactive.button.max.unpressed.image.color:#939597
62 | window.inactive.button.close.unpressed.image.color: #939597
63 | window.inactive.button.menu.unpressed.image.color: #939597
64 | window.inactive.button.desk.unpressed.image.color: #939597
65 | window.inactive.button.shade.unpressed.image.color: #939597
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/close.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xc0,0x0f,0xfc,0xe0,0x1f,0xfc,
5 | 0xf0,0x3f,0xfc,0xf8,0x7f,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
6 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
7 | 0xf8,0x7f,0xfc,0xf0,0x3f,0xfc,0xe0,0x1f,0xfc,0xc0,0x0f,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/desk.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
5 | 0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
6 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
7 | 0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/desk_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define desk_width 18
2 | #define desk_height 18
3 | static unsigned char desk_bits[] = {
4 | 0xc0,0x00,0xfc,0xe0,0x01,0xfc,0xf0,0x03,0xfc,0xf8,0x07,0xfc,
5 | 0xfc,0x0f,0xfc,0xfe,0x1f,0xfc,0xff,0x1f,0xfc,0xfe,0x03,0xfc,
6 | 0xfc,0x07,0xfc,0x78,0x0f,0xfc,0x70,0x0e,0xfc,0x60,0x1c,0xfc,
7 | 0x00,0x38,0xfc,0x00,0x70,0xfc,0x00,0xe0,0xfc,0x00,0xc0,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/iconify.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xc0,0x0f,0xfc,0xe0,0x1f,0xfc,
5 | 0xf0,0x3f,0xfc,0xf8,0x7f,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
6 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
7 | 0xf8,0x7f,0xfc,0xf0,0x3f,0xfc,0xe0,0x1f,0xfc,0xc0,0x0f,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/max.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xc0,0x0f,0xfc,0xe0,0x1f,0xfc,
5 | 0xf0,0x3f,0xfc,0xf8,0x7f,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
6 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
7 | 0xf8,0x7f,0xfc,0xf0,0x3f,0xfc,0xe0,0x1f,0xfc,0xc0,0x0f,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/max_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
5 | 0xfc,0xff,0xfc,0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,
6 | 0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,0x1c,0xe0,0xfc,
7 | 0x1c,0xe0,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/max_toggled_hover.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
5 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
6 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
7 | 0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,0xfc,0xff,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/menu.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfd,0xfc,0xff,0xfd,
5 | 0xfc,0xff,0xfd,0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfd,
6 | 0xfc,0xff,0xfd,0xfc,0xff,0xfd,0x00,0x00,0xfc,0x00,0x00,0xfc,
7 | 0xfc,0xff,0xfd,0xfc,0xff,0xfd,0xfc,0xff,0xfd,0x00,0x00,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/shade.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfd,0xfc,0xff,0xfd,
5 | 0xfc,0xff,0xfd,0x00,0x00,0xfc,0x00,0x02,0xfc,0x00,0x07,0xfc,
6 | 0x80,0x0f,0xfc,0xc0,0x1f,0xfc,0xe0,0x3f,0xfc,0xf0,0x7f,0xfc,
7 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/shade_toggled.xbm:
--------------------------------------------------------------------------------
1 | #define close_width 18
2 | #define close_height 18
3 | static unsigned char close_bits[] = {
4 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0xfc,0xff,0xfd,0xfc,0xff,0xfd,
5 | 0xfc,0xff,0xfd,0x00,0x00,0xfc,0xf0,0x7f,0xfc,0xe0,0x3f,0xfc,
6 | 0xc0,0x1f,0xfc,0x80,0x0f,0xfc,0x00,0x07,0xfc,0x00,0x02,0xfc,
7 | 0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0xfc,0x00,0x00,0xfc,
8 | 0x00,0x00,0xfc,0x00,0x00,0xfc};
9 |
--------------------------------------------------------------------------------
/labwc-themes/Vent/openbox-3/themerc:
--------------------------------------------------------------------------------
1 | ### WINDOW
2 |
3 | border.width: 2
4 | window.button.width: 32
5 | window.button.height: 34
6 | window.titlebar.padding.width: 5
7 | window.titlebar.padding.height: 0
8 | window.button.spacing: 5
9 | window.active.border.color: #33679a
10 | window.inactive.border.color: #000000
11 | window.active.indicator.toggled-keybind.color: #b62b19
12 | window.active.label.text.color: #484848
13 | window.inactive.label.text.color: #777777
14 | window.active.title.bg.color: #ffffff
15 | window.active.label.bg.color: #ffffff
16 | window.inactive.title.bg.color: #e1e4e7
17 | window.inactive.label.text.color: #b0b3b5
18 | window.label.text.justify: center
19 |
20 | ### MENU
21 |
22 | menu.items.padding.x: 7
23 | menu.items.padding.y: 4
24 | menu.overlap.x: 0
25 | menu.overlap.y: 0
26 | menu.width.min: 100
27 | menu.width.max: 250
28 | menu.separator.width: 2
29 | menu.separator.padding.width: 10
30 | menu.separator.padding.height: 2
31 | menu.separator.color: #78a2fc
32 | menu.items.text.color: #5a5a5a
33 | menu.items.active.text.color: #000000
34 | menu.items.bg.color: #ffffff
35 | menu.items.active.bg.color: #aac9fc
36 |
37 | ### OSD
38 |
39 | osd.bg.color: #ffffff
40 | osd.border.color: #3294a8
41 | osd.border.width: 3
42 | osd.label.text.color: #5a5a5a
43 | osd.window-switcher.width: 800
44 | osd.window-switcher.padding: 10
45 | osd.window-switcher.item.padding.x: 5
46 | osd.window-switcher.item.padding.y: 5
47 | osd.window-switcher.item.active.border.width: 2
48 | osd.workspace-switcher.boxes.width: 40
49 | osd.workspace-switcher.boxes.height: 30
50 |
51 | ## BUTTONS
52 |
53 | window.active.button.iconify.unpressed.image.color: #f59335
54 | window.active.button.max.unpressed.image.color: #a1d569
55 | window.active.button.close.unpressed.image.color: #ef6b7b
56 | window.active.button.menu.unpressed.image.color: #4ec2e8
57 | window.active.button.desk.unpressed.image.color: #4655b9
58 | window.active.button.shade.unpressed.image.color: #948b11
59 |
60 | window.inactive.button.iconify.unpressed.image.color: #939597
61 | window.inactive.button.max.unpressed.image.color:#939597
62 | window.inactive.button.close.unpressed.image.color: #939597
63 | window.inactive.button.menu.unpressed.image.color: #939597
64 | window.inactive.button.desk.unpressed.image.color: #939597
65 | window.inactive.button.shade.unpressed.image.color: #939597
66 |
--------------------------------------------------------------------------------
/man/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # install manpages
2 |
3 | install(FILES
4 | lxqt-wayland-session.1
5 | startlxqtwayland.1
6 | DESTINATION "${CMAKE_INSTALL_MANDIR}/man1"
7 | COMPONENT Runtime
8 | )
9 |
--------------------------------------------------------------------------------
/man/lxqt-wayland-session.1:
--------------------------------------------------------------------------------
1 | .TH lxqt-wayland-session "1" "January 2025" "LXQt 2.1.0" "LXQt Session Module"
2 | .SH NAME
3 | \fBlxqt-wayland-session\fR \- Wayland session for \fBLXQt\fR
4 | .br
5 | .SH DESCRIPTION
6 | This module provides the files needed for the Wayland session of the \fBLXQt\fR desktop
7 | environment and enables the Wayland settings page in \fBlxqt-config-session\fR.
8 | .SH FILES
9 | \fBstartlxqtwayland\fR: Script which starts the compositor and sets the keyboard layout.
10 | .P
11 | Desktop entry file stating \fBstartlxqtwayland\fR as binary needed to start LXQt Wayland
12 | sessions.
13 | Sourced e. g. by display managers.
14 | .P
15 | Basic configuration files for supported compositors where needed: Hyprland, kwin_wayland,
16 | labwc, niri, river, sway, wayfire.
17 | .SH UNSUPPORTED COMPOSITORS
18 | Any compositor can be launched by \fBstartlxqtwayland\fR but for starting and exiting
19 | the LXQt session a line \fBlxqt-session && \fR has to be added to
20 | its autostart configuration.
21 | .SH NOTES
22 | Some lxqt-configuration tools currently do not support Wayland and those settings have to
23 | be configured in the compositor's configuration:
24 | .P
25 | * lxqt-globalkeys
26 | .P
27 | * lxqt-config-monitor (though kwin_wayland is mostly supported)
28 | .P
29 | * lxqt-config-input
30 | .P
31 | Limitations in lxqt-panel:
32 | .P
33 | * Workspace support in lxqt-panel's taskbar plugin is supported
34 | only in kwin_wayland.
35 | .P
36 | * Showdesktop plugin and workspace switcher ar currently supported only in kwin_wayland.
37 | .P
38 | * kbindicator and qeyes plugin are currently not supported under Wayland.
39 | .SH "REPORTING BUGS"
40 | Report bugs to https://github.com/lxqt/lxqt-wayland-session/issues
41 | .SH "SEE ALSO"
42 | .BR startlxqtwayland(1)
43 | .BR lxqt-session(1)
44 | .BR lxqt-config-session(1)
45 | .BR lxqt-config(1)
46 | .BR lxqt-leave(1)
47 |
--------------------------------------------------------------------------------
/man/startlxqtwayland.1:
--------------------------------------------------------------------------------
1 | .TH STARTLXQTWAYLAND "1" "January 2025" "LXQt 2.1.0" "LXQt Wayland session"
2 | .SH NAME
3 | startlxqtwayland \- script to initialize and launch LXQt Wayland sessions
4 | .SH SYNOPSIS
5 | .B startlxqtwayland
6 | .SH DESCRIPTION
7 | \fBstartlxqtwayland\fR is a shell script meant to initialize and launch LXQt Wayland
8 | sessions.
9 | .P
10 | Its main tasks are exporting environment variables, partly after performing
11 | corresponding checks, and launching the configured compositor which will launch
12 | \fBlxqt-session\fR, the LXQt session manager. It copies the basic configuration file(s) to
13 | $XDG_CONFIG_USER for the compositor configured in \fBlxqt-config-session\fR if not present
14 | and tries to set the keyboard layout accordingly to $LANG.
15 | .P
16 | It can be run directly from tty but rather it is invoked by display
17 | managers like SDDM or LightDM.
18 | .P
19 | Display managers are making use of scripts like \fBstartlxqtwayland\fR automatically.
20 | Information about available desktop environments is provided by files
21 | \fI$XDG_DATA_DIRS/wayland-sessions/*.desktop\fR, typically
22 | \fI/usr/share/wayland-sessions/*.desktop\fR.
23 | .SH BUGS
24 | Bugs can be reported on https://github.com/lxqt/lxqt-wayland-session/issues.
25 | .SH SEE ALSO
26 | .BR lxqt-wayland-session (1)
27 | .BR startlxqt (1)
28 | .BR sddm (1)
29 |
--------------------------------------------------------------------------------
/startlxqtwayland.in:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | ## LXQt common settings
4 | contains()
5 | {
6 | local str="$1" substr="$2"
7 | [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ]
8 | }
9 |
10 | if [ -z "$XDG_DATA_HOME" ]; then
11 | export XDG_DATA_HOME="$HOME/.local/share"
12 | fi
13 |
14 | if [ -z "$XDG_CONFIG_HOME" ]; then
15 | export XDG_CONFIG_HOME="$HOME/.config"
16 | fi
17 |
18 | if [ -z "$XDG_DATA_DIRS" ]; then
19 | XDG_DATA_DIRS="@PREDEF_XDG_DATA_DIRS@"
20 | else
21 | if ! contains "$XDG_DATA_DIRS" "@LXQT_DATA_DIR@"; then
22 | XDG_DATA_DIRS="$XDG_DATA_DIRS:@LXQT_DATA_DIR@"
23 | fi
24 | fi
25 | export XDG_DATA_DIRS
26 |
27 | if [ -z "$XDG_CONFIG_DIRS" ]; then
28 | export XDG_CONFIG_DIRS="@PREDEF_XDG_CONFIG_DIRS@"
29 | else
30 | if ! contains "$XDG_CONFIG_DIRS" '@LXQT_ETC_XDG_DIR@'; then
31 | XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:@LXQT_ETC_XDG_DIR@"
32 | fi
33 | fi
34 |
35 | if [ -z "$XDG_CACHE_HOME" ]; then
36 | export XDG_CACHE_HOME="$HOME/.cache"
37 | fi
38 |
39 | # Ensure the existence of the 'Desktop' folder
40 | if [ -e "$XDG_CONFIG_HOME/user-dirs.dirs" ]; then
41 | . "$XDG_CONFIG_HOME/user-dirs.dirs"
42 | else
43 | XDG_DESKTOP_DIR="$HOME/Desktop"
44 | fi
45 | mkdir -p "$XDG_DESKTOP_DIR"
46 |
47 | # Launch DBus if needed
48 | if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
49 | if [ -z "$XDG_RUNTIME_DIR" ] || ! [ -S "$XDG_RUNTIME_DIR/bus" ] || ! [ -O "$XDG_RUNTIME_DIR/bus" ]; then
50 | eval "$(dbus-launch --sh-syntax --exit-with-session)" || echo "startlxqtwayland: error executing dbus-launch" >&2
51 | fi
52 | fi
53 |
54 | # Qt4 platform plugin
55 | export QT_PLATFORM_PLUGIN="lxqt"
56 |
57 | # Qt5/6
58 | export QT_QPA_PLATFORMTHEME="lxqt"
59 | export QT_EXCLUDE_GENERIC_BEARER=1
60 | export QT_AUTO_SCREEN_SCALE_FACTOR=0
61 |
62 | # Qt6
63 | export QT_ACCESSIBILITY=1
64 |
65 | # use lxqt-applications.menu for main app menu
66 | export XDG_MENU_PREFIX="lxqt-"
67 |
68 | share_dir="$(dirname $(dirname "$0"))"/share
69 |
70 | if [ ! -d "$XDG_CONFIG_HOME/lxqt/wayland" ]; then
71 | mkdir -p $XDG_CONFIG_HOME/lxqt/wayland/
72 | fi
73 | # Check for compositor in user config file and fallback dirs
74 | for d in $(echo "$XDG_CONFIG_HOME:$XDG_CONFIG_DIRS" | tr : '\n'); do
75 | config_file="$d/lxqt/session.conf"
76 | [ -f "$config_file" ] && [ -r "$config_file" ] || continue
77 | COMPOSITOR="$(sed -nre '/^compositor\s*=/ { s@^[^=]+=\s*(/|\S+.*/)?([^/]+)?$@\2@; p; }' "$config_file")"
78 | [ -z "$COMPOSITOR" ] || break
79 | done
80 |
81 | export XDG_CURRENT_DESKTOP="LXQt:$COMPOSITOR:wlroots"
82 |
83 | valid_layouts=$(grep -A98 '! layout' /usr/share/X11/xkb/rules/base.lst | awk '{print $1}' | grep -v '!')
84 | trylayout=$(echo $LANG | cut -c 1,2)
85 |
86 | if [ -z "$COMPOSITOR" ]; then
87 | echo "No compositor configured yet in Session Settings, trying labwc..."
88 | COMPOSITOR=labwc
89 | export XDG_CURRENT_DESKTOP="LXQt:wlroots"
90 |
91 | # enable cursor on VM (systemd only)
92 | if type systemd-detect-virt > /dev/null 2>&1 && systemd-detect-virt --quiet; then
93 | export WLR_NO_HARDWARE_CURSORS=1
94 | echo "Running on virtualized hardware"
95 | fi
96 | exec $COMPOSITOR -C "$share_dir"/lxqt/wayland/firstrun -S lxqt-config-session
97 |
98 | elif [ "$COMPOSITOR" = "labwc" ]; then
99 | # Copy default configuration if not existing and set keyboard layout if different from us
100 | if [ ! -d "$XDG_CONFIG_HOME/labwc" ]; then
101 | cp -av "$share_dir"/lxqt/wayland/labwc "$XDG_CONFIG_HOME"/ # use default location here
102 | if echo "$valid_layouts" | grep -q "$trylayout"; then
103 | echo "XKB_DEFAULT_LAYOUT=$trylayout" >> $XDG_CONFIG_HOME/labwc/environment
104 | fi
105 | fi
106 |
107 | # enable cursor on VM (systemd only)
108 | if type systemd-detect-virt > /dev/null 2>&1 && systemd-detect-virt --quiet; then
109 | export WLR_NO_HARDWARE_CURSORS=1
110 | echo "Running on virtualized hardware"
111 | fi
112 |
113 | exec $COMPOSITOR -C $XDG_CONFIG_HOME/labwc -S lxqt-session
114 |
115 | elif [ "$COMPOSITOR" = "niri" ]; then
116 | if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-niri.kdl" ]; then
117 | cp -v "$share_dir"/lxqt/wayland/lxqt-niri.kdl "$XDG_CONFIG_HOME"/lxqt/wayland/
118 | if echo "$valid_layouts" | grep -q "$trylayout"; then
119 | layout="layout \"$trylayout\""
120 | sed -i "s/layout \"us\"/$layout/" "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-niri.kdl"
121 | fi
122 | fi
123 | exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-niri.kdl
124 |
125 | elif [ "$COMPOSITOR" = "kwin_wayland" ]; then
126 | # Style KDE's QML apps like systemsettings
127 | export QT_QUICK_CONTROLS_STYLE=org.kde.desktop
128 | export XDG_CURRENT_DESKTOP="LXQt:$COMPOSITOR"
129 | if echo "$valid_layouts" | grep -q "$trylayout"; then
130 | kxkbrc=$XDG_CONFIG_HOME/kxkbrc
131 | layout="LayoutList=$trylayout"
132 | if [ -f $XDG_CONFIG_HOME/kxkbrc ]; then
133 | if ! grep -q "LayoutList" "$kxkbrc"; then
134 | echo $layout >> $XDG_CONFIG_HOME/kxkbrc
135 | fi
136 | else
137 | echo "[Layout]" > $XDG_CONFIG_HOME/kxkbrc
138 | echo $layout >> $XDG_CONFIG_HOME/kxkbrc
139 | fi
140 | fi
141 | # WARNING: Option '--no-kactivities' can result in crashes with animations and corner actions.
142 | exec ${COMPOSITOR}_wrapper --exit-with-session lxqt-session --xwayland
143 |
144 | elif [ "$COMPOSITOR" = "wayfire" ]; then
145 | if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-wayfire.ini" ]; then
146 | cp "$share_dir"/lxqt/wayland/lxqt-wayfire.ini "$XDG_CONFIG_HOME"/lxqt/wayland/
147 | if echo "$valid_layouts" | grep -q "$trylayout"; then
148 | layout="xkb_layout = $trylayout"
149 | sed -i '/xkb_layout/d' $XDG_CONFIG_HOME/lxqt/wayland/lxqt-wayfire.ini
150 | sed -i "/\[input\]/a $layout" $XDG_CONFIG_HOME/lxqt/wayland/lxqt-wayfire.ini
151 | fi
152 | fi
153 | exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-wayfire.ini
154 |
155 | elif [ "$COMPOSITOR" = "sway" ]; then
156 | if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-sway.config" ]; then
157 | cp "$share_dir"/lxqt/wayland/lxqt-sway.config "$XDG_CONFIG_HOME"/lxqt/wayland/
158 | if echo "$valid_layouts" | grep -q "$trylayout"; then
159 | layout="xkb_layout $trylayout"
160 | sed -i '/xkb_layout/d' $XDG_CONFIG_HOME/lxqt/wayland/lxqt-sway.config
161 | sed -i "/input \"type\:keyboard\"/a $layout" $XDG_CONFIG_HOME/lxqt/wayland/lxqt-sway.config
162 | fi
163 | fi
164 | exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-sway.config
165 |
166 | elif [ "$COMPOSITOR" = "Hyprland" ]; then
167 | if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-hyprland.conf" ]; then
168 | cp "$share_dir"/lxqt/wayland/lxqt-hyprland.conf "$XDG_CONFIG_HOME"/lxqt/wayland/
169 | if echo "$valid_layouts" | grep -q "$trylayout"; then
170 | layout="kb_layout = $trylayout"
171 | sed -i "s/kb_layout = us/$layout/" "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-hyprland.conf"
172 | fi
173 | fi
174 | # workaround for cursor
175 | export X$(cat $XDG_CONFIG_HOME/lxqt/session.conf|grep cursor_size| tr 'a-z' 'A-Z')
176 | export X$(cat $XDG_CONFIG_HOME/lxqt/session.conf|grep cursor_theme| tr 'a-z' 'A-Z')
177 | exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-hyprland.conf
178 |
179 | elif [ "$COMPOSITOR" = "river" ]; then
180 | if [ ! -f "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-river-init" ]; then
181 | cp "$share_dir"/lxqt/wayland/lxqt-river-init "$XDG_CONFIG_HOME"/lxqt/wayland/
182 | chmod a+x "$XDG_CONFIG_HOME"/lxqt/wayland/lxqt-river-init
183 | if echo "$valid_layouts" | grep -q "$trylayout"; then
184 | layout="riverctl keyboard-layout $trylayout"
185 | sed -i "s/riverctl keyboard-layout us/$layout/" "$XDG_CONFIG_HOME/lxqt/wayland/lxqt-river-init"
186 | fi
187 | fi
188 | exec $COMPOSITOR -c $XDG_CONFIG_HOME/lxqt/wayland/lxqt-river-init
189 |
190 | # unknown compositor
191 | else
192 | echo "Trying to start $COMPOSITOR..."
193 | exec $COMPOSITOR
194 | fi
195 |
--------------------------------------------------------------------------------
/wallpaper/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | install(FILES
2 | origami-dark-labwc.png
3 | DESTINATION "${LXQT_SHARE_DIR}/wallpapers"
4 | COMPONENT Runtime
5 | )
6 |
--------------------------------------------------------------------------------
/wallpaper/origami-dark-labwc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lxqt/lxqt-wayland-session/2699dbcc6a4a3dd66dd822b71adde61afcef6017/wallpaper/origami-dark-labwc.png
--------------------------------------------------------------------------------
/waylandsession/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | file(GLOB SESSION_FILES_IN *.desktop.in)
2 |
3 | # Translations **********************************
4 | lxqt_translate_desktop(SESSION_FILES
5 | SOURCES
6 | ${SESSION_FILES_IN}
7 | USE_YAML
8 | )
9 | add_custom_target(waylandsession_desktop_files ALL DEPENDS ${SESSION_FILES})
10 | #************************************************
11 |
12 | MACRO(INSTALL_SESSION_FILES directory)
13 | install(FILES
14 | ${SESSION_FILES}
15 | DESTINATION "${directory}"
16 | COMPONENT Runtime
17 | )
18 | ENDMACRO(INSTALL_SESSION_FILES)
19 |
20 | INSTALL_SESSION_FILES("${CMAKE_INSTALL_DATAROOTDIR}/wayland-sessions")
21 |
22 |
--------------------------------------------------------------------------------
/waylandsession/lxqt-wayland.desktop.in:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Type=Application
3 | Exec=startlxqtwayland
4 | TryExec=startlxqtwayland
5 | DesktopNames=LXQt
6 |
7 | #TRANSLATIONS_DIR=translations
8 |
--------------------------------------------------------------------------------
/waylandsession/translations/lxqt-wayland.desktop.yaml:
--------------------------------------------------------------------------------
1 | Desktop Entry/Name: "LXQt (Wayland)"
2 | Desktop Entry/Comment: "Lightweight Qt Desktop - Wayland Session"
3 |
--------------------------------------------------------------------------------