File labwc-tweaks-0~git.20250219.818c98b.obscpio of Package labwc-tweaks
07070100000000000041ED00000000000000000000000267B64F2900000000000000000000000000000000000000000000002C00000000labwc-tweaks-0~git.20250219.818c98b/.github07070100000001000041ED00000000000000000000000267B64F2900000000000000000000000000000000000000000000003600000000labwc-tweaks-0~git.20250219.818c98b/.github/workflows07070100000002000081A400000000000000000000000167B64F2900000811000000000000000000000000000000000000004000000000labwc-tweaks-0~git.20250219.818c98b/.github/workflows/build.ymlname: CI
on:
push:
branches:
- '*'
# Manual builds and PRs in all branches
pull_request:
branches:
- '*'
workflow_dispatch:
branches:
- '*'
jobs:
build:
name: Build
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
name: [
Arch,
Debian
]
include:
- name: Arch
os: ubuntu-latest
container: archlinux:base-devel
- name: Debian
os: ubuntu-latest
container: debian:testing
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Arch Linux dependencies
if: matrix.name == 'Arch'
run: |
pacman-key --init
pacman -Syu --noconfirm
packages=(
clang
cmake
git
libxml2
qt6-base
qt6-tools
)
pacman -S --noconfirm ${packages[@]}
- name: Install Debian Testing dependencies
if: matrix.name == 'Debian'
run: |
apt-get update
apt-get upgrade -y
apt-get install -y cmake clang g++ gcc git \
libglib2.0 libgl1-mesa-dev libxml2-dev pkg-config \
qt6-base-dev qt6-l10n-tools \
qt6-tools-dev qt6-tools-dev-tools
# These builds are executed on all runners
- name: Build with gcc
run: |
export CC=gcc
export CXX=g++
cmake \
-D CMAKE_BUILD_TYPE=Release \
-B build-gcc \
-S .
cmake --build build-gcc --verbose
- name: Build with clang
run: |
export CC=clang
export CXX=clang++
cmake \
-D CMAKE_BUILD_TYPE=Release \
-B build-clang \
-S .
cmake --build build-clang --verbose
- name: Run tests
run: |
ctest --verbose --force-new-ctest-process --test-dir build-gcc
07070100000003000081A400000000000000000000000167B64F2900000010000000000000000000000000000000000000002F00000000labwc-tweaks-0~git.20250219.818c98b/.gitignorebuild*/
*.user*
07070100000004000081A400000000000000000000000167B64F29000005CB000000000000000000000000000000000000003100000000labwc-tweaks-0~git.20250219.818c98b/BSD-3-ClauseLicense: BSD-3-Clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
07070100000005000081A400000000000000000000000167B64F290000196C000000000000000000000000000000000000003300000000labwc-tweaks-0~git.20250219.818c98b/CMakeLists.txtcmake_minimum_required(VERSION 3.5)
project(labwc-tweaks
VERSION 0.1.0
LANGUAGES C CXX
)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
include(Config.cmake)
# QtCreator doesn't use the system locale and I see no way to prefix with LANG=XYZ.UTF-8 the command,
# so enabling these 2 settings we can test any language, see initLocale() in main.cpp.
set(PROJECT_TRANSLATION_TEST_ENABLED 0 CACHE STRING "Whether to enable translation testing [default: 0]")
set(PROJECT_TRANSLATION_TEST_LANGUAGE "en" CACHE STRING "Country code of language to test in IDE [default: en]")
set(PROJECT_QT_VERSION 6 CACHE STRING "Qt version to use [Default: 6]")
option(PROJECT_TRANSLATIONS_UPDATE "Update source translations [default: OFF]" OFF)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fsanitize=undefined")
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address -fsanitize=undefined")
find_package(QT NAMES Qt${PROJECT_QT_VERSION})
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets LinguistTools)
find_package(PkgConfig REQUIRED)
pkg_search_module(GLIB REQUIRED glib-2.0)
find_package(LibXml2 REQUIRED)
set(PROJECT_SOURCES
src/main.cpp
src/maindialog.ui
src/maindialog.cpp
src/maindialog.h
src/layoutmodel.cpp
src/layoutmodel.h
src/environment.cpp
src/environment.h
src/theme.c
src/theme.h
src/xml.c
src/xml.h
)
set(PROJECT_OTHER_FILES
.github/workflows/build.yml
README.md
)
file(GLOB PROJECT_TRANSLATION_SOURCES "${PROJECT_TRANSLATIONS_DIR}/*")
source_group("" FILES
${PROJECT_SOURCES}
${PROJECT_TRANSLATION_SOURCES}
)
#===================================================================================================
# Translations
#===================================================================================================
include(GNUInstallDirs)
include(LXQtTranslate)
lxqt_translate_ts(PROJECT_QM_FILES
SOURCES ${PROJECT_SOURCES}
TEMPLATE ${PROJECT_ID}
TRANSLATION_DIR "${PROJECT_TRANSLATIONS_DIR}"
UPDATE_TRANSLATIONS ${PROJECT_TRANSLATIONS_UPDATE}
INSTALL_DIR "${CMAKE_INSTALL_DATADIR}/${PROJECT_ID}/translations"
)
lxqt_translate_desktop(PROJECT_DESKTOP_FILES
SOURCES "${CMAKE_BINARY_DIR}/${PROJECT_APPSTREAM_ID}.desktop.in"
TRANSLATION_DIR "${PROJECT_TRANSLATIONS_DIR}"
USE_YAML
)
#===================================================================================================
# Tests
#===================================================================================================
include(CTest)
add_executable(t1000 tests/t1000-add-xpath-node.c tests/tap.c src/xml.c)
target_link_libraries(t1000 PRIVATE ${GLIB_LDFLAGS} ${LIBXML2_LIBRARIES})
target_include_directories(t1000 PRIVATE ${GLIB_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIR})
add_test(t1000 t1000)
add_executable(t1001 tests/t1001-nodenames.c tests/tap.c)
target_link_libraries(t1001 PRIVATE ${GLIB_LDFLAGS} ${LIBXML2_LIBRARIES})
target_include_directories(t1001 PRIVATE ${GLIB_INCLUDE_DIRS} ${LIBXML2_INCLUDE_DIR})
add_test(t1001 t1001)
#===================================================================================================
# Application
#===================================================================================================
qt_add_executable(${PROJECT_NAME} MANUAL_FINALIZATION
${PROJECT_SOURCES}
${PROJECT_DESKTOP_FILES}
${PROJECT_OTHER_FILES}
${PROJECT_QM_FILES}
${PROJECT_TRANSLATION_SOURCES}
)
set(PROJECT_ICON_SYSTEM_PATH "${CMAKE_INSTALL_FULL_DATADIR}/icons/hicolor/scalable/apps")
file(COPY_FILE "${CMAKE_SOURCE_DIR}/data/${PROJECT_APPSTREAM_ID}.svg"
"${CMAKE_BINARY_DIR}/${PROJECT_APPSTREAM_ID}.svg"
)
target_compile_definitions(${PROJECT_NAME} PRIVATE
APPLICATION_NAME="${PROJECT_NAME}"
APPLICATION_VERSION="${PROJECT_VERSION}"
PROJECT_ID="${PROJECT_ID}"
PROJECT_APPSTREAM_ID="${PROJECT_APPSTREAM_ID}"
PROJECT_DATA_DIR="${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}"
PROJECT_ICON_SYSTEM_PATH="${PROJECT_ICON_SYSTEM_PATH}"
PROJECT_TRANSLATION_TEST_ENABLED=${PROJECT_TRANSLATION_TEST_ENABLED}
PROJECT_TRANSLATION_TEST_LANGUAGE="${PROJECT_TRANSLATION_TEST_LANGUAGE}"
)
target_include_directories(${PROJECT_NAME} PRIVATE
${GLIB_INCLUDE_DIRS}
${LIBXML2_INCLUDE_DIR}
src
)
target_link_libraries(${PROJECT_NAME} PRIVATE
Qt${QT_VERSION_MAJOR}::Widgets
${GLIB_LDFLAGS}
${LIBXML2_LIBRARIES}
)
#target_link_options(${PROJECT_NAME} BEFORE PUBLIC -fsanitize=undefined PUBLIC -fsanitize=address)
#===================================================================================================
# Installation
#===================================================================================================
configure_file("${CMAKE_SOURCE_DIR}/data/${PROJECT_APPSTREAM_ID}.desktop.in"
"${CMAKE_BINARY_DIR}/${PROJECT_APPSTREAM_ID}.desktop.in" @ONLY
)
configure_file("${CMAKE_SOURCE_DIR}/data/${PROJECT_APPSTREAM_ID}.appdata.xml.in"
"${CMAKE_BINARY_DIR}/${PROJECT_APPSTREAM_ID}.appdata.xml" @ONLY
)
install(TARGETS ${PROJECT_NAME}
BUNDLE DESTINATION .
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(FILES "${CMAKE_BINARY_DIR}/${PROJECT_APPSTREAM_ID}.appdata.xml"
DESTINATION "${CMAKE_INSTALL_DATADIR}/metainfo"
)
install(FILES "${PROJECT_DESKTOP_FILES}"
DESTINATION "${CMAKE_INSTALL_DATADIR}/applications"
)
install(FILES "${CMAKE_BINARY_DIR}/${PROJECT_APPSTREAM_ID}.svg"
# Don't use PROJECT_ICON_SYSTEM_PATH here which is absolute and doesn't take prefixes into account
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps"
)
qt_finalize_executable(${PROJECT_NAME})
#===================================================================================================
# Configuration report
#===================================================================================================
message(STATUS "
Project name: ${PROJECT_NAME}
Version: ${PROJECT_VERSION}
Qt version: ${QT_VERSION}
Build type: ${CMAKE_BUILD_TYPE}
Install prefix: ${CMAKE_INSTALL_PREFIX}
Update translations before build: ${PROJECT_TRANSLATIONS_UPDATE}
")
07070100000006000081A400000000000000000000000167B64F290000072B000000000000000000000000000000000000003100000000labwc-tweaks-0~git.20250219.818c98b/Config.cmake#===============================================================================
# Editable project configuration
#
# Essential, non translatable application information (except DESCRIPTION).
# Translatable strings are passed via code.
#===============================================================================
set(PROJECT_ID "labwc-tweaks")
list(APPEND PROJECT_CATEGORIES "Qt;Settings;DesktopSettings") # Freedesktop menu categories
list(APPEND PROJECT_KEYWORDS "labwc;wayland;compositor")
set(PROJECT_AUTHOR_NAME "Labwc Team")
set(PROJECT_COPYRIGHT_YEAR "2024") # TODO: from git
set(PROJECT_DESCRIPTION "Labwc Wayland compositor settings")
set(PROJECT_ORGANIZATION_NAME "labwc")
set(PROJECT_ORGANIZATION_URL "${PROJECT_ORGANIZATION_NAME}.github.io")
set(PROJECT_ORGANIZATION_ID "io.github.${PROJECT_ORGANIZATION_NAME}")
set(PROJECT_REPOSITORY_URL "https://github.com/${PROJECT_ORGANIZATION_NAME}/${PROJECT_ID}")
set(PROJECT_REPOSITORY_BRANCH "master")
set(PROJECT_HOMEPAGE_URL ${PROJECT_REPOSITORY_URL}) # TODO: "https://${PROJECT_ORGANIZATION_URL}/${PROJECT_ID}"
set(PROJECT_SPDX_ID "GPL-2.0-only")
set(PROJECT_TRANSLATIONS_DIR "${CMAKE_SOURCE_DIR}/data/translations")
set(PROJECT_SCREENSHOT_URL "")
#===============================================================================
# Appstream
#===============================================================================
set(PROJECT_APPSTREAM_SPDX_ID "CC0-1.0")
set(PROJECT_APPSTREAM_ID "labwc_tweaks")
#===============================================================================
# Adapt to CMake variables
#===============================================================================
set(${PROJECT_NAME}_DESCRIPTION "${PROJECT_DESCRIPTION}")
set(${PROJECT_NAME}_HOMEPAGE_URL "${PROJECT_HOMEPAGE_URL}")
07070100000007000081A400000000000000000000000167B64F29000046AC000000000000000000000000000000000000002C00000000labwc-tweaks-0~git.20250219.818c98b/LICENSE GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. 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.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
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
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE 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.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This 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.
07070100000008000081A400000000000000000000000167B64F29000007FB000000000000000000000000000000000000002E00000000labwc-tweaks-0~git.20250219.818c98b/README.md# labwc-tweaks
[![CI]](https://github.com/labwc/labwc-tweaks/actions/workflows/build.yml)
This is a GUI 'Settings' application for labwc.
### dependencies
Runtime:
- Qt6 base
- libxml2
- glib2
Build:
- CMake
- Qt Linguist Tools
- Git (optional, to pull latest VCS checkouts)
### build
`CMAKE_BUILD_TYPE` is usually set to `Release`, though `None` might be a valid [alternative].<br>
`CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems.
```bash
cmake -B build -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr -W no-dev
cmake --build build --verbose
```
### test
```bash
ctest --verbose --force-new-ctest-process --test-dir build
```
### install
Using `sudo make install` is discouraged, instead use the system package manager where possible.
In this packaging simulation, CMake installs the binary to /usr/bin
and data files to their respective locations in a "package" directory.
```bash
DESTDIR="$(pwd)/package" cmake --install build
```
If you find it a useful tool and want to expand its scope, feel free.
### packages
[![Packaging status]](https://repology.org/project/labwc-tweaks/versions)
### translations
For contributing translations the [LXQt Weblate] platform can be used.
[![Translation status]](https://translate.lxqt-project.org/widgets/labwc/)
### licenses
- labwc-tweaks is licensed under the [GPL-2.0-only] license
- LXQt build tools cmake modules are licensed under the [BSD-3-Clause] license.
[alternative]: https://wiki.archlinux.org/title/CMake_package_guidelines#Fixing_the_automatic_optimization_flag_override
[BSD-3-Clause]: BSD-3-Clause
[CI]: https://github.com/labwc/labwc-tweaks/actions/workflows/build.yml/badge.svg
[GPL-2.0-only]: LICENSE
[LXQt Weblate]: https://translate.lxqt-project.org/projects/labwc/labwc-tweaks/
[Packaging status]: https://repology.org/badge/vertical-allrepos/labwc-tweaks.svg
[Translation status]: https://translate.lxqt-project.org/widgets/labwc/-/labwc-tweaks/multi-auto.svg
07070100000009000041ED00000000000000000000000267B64F2900000000000000000000000000000000000000000000002800000000labwc-tweaks-0~git.20250219.818c98b/bin0707010000000A000081ED00000000000000000000000167B64F2900000923000000000000000000000000000000000000003900000000labwc-tweaks-0~git.20250219.818c98b/bin/lxqt-transupdate#!/bin/sh
#=============================================================================
# Copyright 2018 Alf Gaida <agaida@siduction.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#=============================================================================
# lxqt-transupdate
# Update LXQt translation files.
# just to be sure - for distributions that user qtchooser
# Debian and derivatives, Fedora, FreeBSD, Mageia, OpenMandriva, PCLinuxOS
export QT_SELECT=6
TEMPLATES=$(find . -name \*.ts | grep -v '_')
for i in $TEMPLATES; do
echo "\n\n==== $i ====\n"
TRANSDIR=$(dirname $i)
SOURCEDIR=$(dirname $TRANSDIR)
# template-update
echo "== Template Update =="
echo "lupdate $SOURCEDIR -ts $i -locations absolute -no-obsolete\n"
lupdate $SOURCEDIR -ts $i -locations absolute -no-obsolete
echo
echo "== Language updates =="
echo "lupdate $SOURCEDIR -ts $TRANSDIR/*_*.ts -locations absolute -no-obsolete\n"
lupdate $SOURCEDIR -ts $TRANSDIR/*_*.ts -locations absolute -no-obsolete
done
0707010000000B000041ED00000000000000000000000267B64F2900000000000000000000000000000000000000000000002A00000000labwc-tweaks-0~git.20250219.818c98b/cmake0707010000000C000081A400000000000000000000000167B64F2900002142000000000000000000000000000000000000003E00000000labwc-tweaks-0~git.20250219.818c98b/cmake/LXQtTranslate.cmake#=============================================================================
# Copyright 2014 Luís Pereira <luis.artur.pereira@gmail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#=============================================================================
#
# funtion lxqt_translate_ts(qmFiles
# [UPDATE_TRANSLATIONS [Yes | No]]
# SOURCES <sources>
# [UPDATE_OPTIONS] update_options
# [TEMPLATE] translation_template
# [TRANSLATION_DIR] translation_directory
# [INSTALL_DIR] install_directory
# [COMPONENT] component
# )
# Output:
# qmFiles The generated compiled translations (.qm) files
#
# UPDATE_TRANSLATIONS Optional flag. Setting it to Yes, extracts and
# compiles the translations. Setting it No, only
# compiles them.
#
# UPDATE_OPTIONS Optional options to lupdate when UPDATE_TRANSLATIONS
# is True.
#
# TEMPLATE Optional translations files base name. Defaults to
# ${PROJECT_NAME}. An .ts extensions is added.
#
# TRANSLATION_DIR Optional path to the directory with the .ts files,
# relative to the CMakeList.txt. Defaults to
# "translations".
#
# INSTALL_DIR Optional destination of the file compiled files (qmFiles).
# If not present no installation is performed
#
# COMPONENT Optional install component. Only effective if INSTALL_DIR
# present. Defaults to "Runtime".
#
function(lxqt_translate_ts qmFiles)
set(oneValueArgs
UPDATE_TRANSLATIONS
TEMPLATE
TRANSLATION_DIR
INSTALL_DIR
COMPONENT
)
set(multiValueArgs SOURCES UPDATE_OPTIONS)
cmake_parse_arguments(TR "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
if (NOT DEFINED TR_UPDATE_TRANSLATIONS)
set(TR_UPDATE_TRANSLATIONS "No")
endif()
if (NOT DEFINED TR_UPDATE_OPTIONS)
set(TR_UPDATE_OPTIONS "")
endif()
if(NOT DEFINED TR_TEMPLATE)
set(TR_TEMPLATE "${PROJECT_NAME}")
endif()
if (NOT DEFINED TR_TRANSLATION_DIR)
set(TR_TRANSLATION_DIR "translations")
endif()
get_filename_component(TR_TRANSLATION_DIR "${TR_TRANSLATION_DIR}" ABSOLUTE)
if (EXISTS "${TR_TRANSLATION_DIR}")
file(GLOB tsFiles "${TR_TRANSLATION_DIR}/${TR_TEMPLATE}_*.ts")
set(templateFile "${TR_TRANSLATION_DIR}/${TR_TEMPLATE}.ts")
endif ()
if (TR_UPDATE_TRANSLATIONS)
qt6_create_translation(QMS
${TR_SOURCES}
${templateFile}
OPTIONS ${TR_UPDATE_OPTIONS}
)
qt6_create_translation(QM
${TR_SOURCES}
${tsFiles}
OPTIONS ${TR_UPDATE_OPTIONS}
)
else()
qt6_add_translation(QM ${tsFiles})
endif()
if(TR_UPDATE_TRANSLATIONS)
add_custom_target("update_${TR_TEMPLATE}_ts" ALL DEPENDS ${QMS})
endif()
if(DEFINED TR_INSTALL_DIR)
if(NOT DEFINED TR_COMPONENT)
set(TR_COMPONENT "Runtime")
endif()
install(FILES ${QM}
DESTINATION "${TR_INSTALL_DIR}"
COMPONENT "${TR_COMPONENT}"
)
endif()
set(${qmFiles} ${QM} PARENT_SCOPE)
endfunction()
#=============================================================================
# The lxqt_translate_desktop() function was copied from the
# LXQt LXQtTranslate.cmake
#
# Original Author: Alexander Sokolov <sokoloff.a@gmail.com>
#
# funtion lxqt_translate_desktop(_RESULT
# SOURCES <sources>
# [TRANSLATION_DIR] translation_directory
# [USE_YAML]
# )
# Output:
# _RESULT The generated .desktop (.desktop) files
#
# Input:
#
# SOURCES List of input desktop files (.destktop.in) to be translated
# (merged), relative to the CMakeList.txt.
#
# TRANSLATION_DIR Optional path to the directory with the .ts files,
# relative to the CMakeList.txt. Defaults to
# "translations".
#
# USE_YAML Flag if *.desktop.yaml translation should be used.
#=============================================================================
find_package(Perl REQUIRED)
function(lxqt_translate_desktop _RESULT)
# Parse arguments ***************************************
set(options USE_YAML)
set(oneValueArgs TRANSLATION_DIR)
set(multiValueArgs SOURCES)
cmake_parse_arguments(_ARGS "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
# check for unknown arguments
set(_UNPARSED_ARGS ${_ARGS_UNPARSED_ARGUMENTS})
if (NOT ${_UNPARSED_ARGS} STREQUAL "")
MESSAGE(FATAL_ERROR
"Unknown arguments '${_UNPARSED_ARGS}'.\n"
"See lxqt_translate_desktop() documentation for more information.\n"
)
endif()
if (NOT DEFINED _ARGS_SOURCES)
set(${_RESULT} "" PARENT_SCOPE)
return()
else()
set(_sources ${_ARGS_SOURCES})
endif()
if (NOT DEFINED _ARGS_TRANSLATION_DIR)
set(_translationDir "translations")
else()
set(_translationDir ${_ARGS_TRANSLATION_DIR})
endif()
get_filename_component (_translationDir ${_translationDir} ABSOLUTE)
foreach (_inFile ${_sources})
get_filename_component(_inFile ${_inFile} ABSOLUTE)
get_filename_component(_fileName ${_inFile} NAME_WE)
#Extract the real extension ............
get_filename_component(_fileExt ${_inFile} EXT)
string(REPLACE ".in" "" _fileExt ${_fileExt})
string(REGEX REPLACE "^\\.([^.].*)$" "\\1" _fileExt ${_fileExt})
#.......................................
set(_outFile "${CMAKE_CURRENT_BINARY_DIR}/${_fileName}.${_fileExt}")
if (_ARGS_USE_YAML)
add_custom_command(OUTPUT ${_outFile}
COMMAND ${PERL_EXECUTABLE} ${CMAKE_SOURCE_DIR}/cmake/LXQtTranslateDesktopYaml.pl ${_inFile} ${_fileName} ${_translationDir}/${_fileName}[_.]*${_fileExt}.yaml >> ${_outFile}
VERBATIM
COMMENT "Generating ${_fileName}.${_fileExt}"
)
else ()
file(GLOB _translations
${_translationDir}/${_fileName}[_.]*${_fileExt}
)
list(SORT _translations)
add_custom_command(OUTPUT ${_outFile}
COMMAND grep -v -a "#TRANSLATIONS_DIR=" ${_inFile} > ${_outFile}
VERBATIM
COMMENT "Generating ${_fileName}.${_fileExt}"
)
if (_translations)
add_custom_command(OUTPUT ${_outFile}
COMMAND grep -h -a "\\[.*]\\s*=" ${_translations} >> ${_outFile}
VERBATIM APPEND
)
endif ()
endif ()
set(__result ${__result} ${_outFile})
endforeach()
set(${_RESULT} ${__result} PARENT_SCOPE)
endfunction(lxqt_translate_desktop)
0707010000000D000081A400000000000000000000000167B64F2900000614000000000000000000000000000000000000004600000000labwc-tweaks-0~git.20250219.818c98b/cmake/LXQtTranslateDesktopYaml.pluse strict;
binmode(STDOUT, ":encoding(utf8)");
binmode(STDERR, ":encoding(utf8)");
my $desktop_in = $ARGV[0];
my $filename_base = $ARGV[1];
my @translation_files = glob($ARGV[2]);
my $section_re = qr/^\[([^\]]+)]/o;
my $lang_re = qr/^.*${filename_base}_([^.]+)\..+$/o;
my $strip_re = qr/#TRANSLATIONS_DIR=/o;
sub flush_translations {
my ($curr_section) = @_;
if (defined $curr_section) {
my $transl_yaml_re = qr/^${curr_section}\/([^: ]+) ?: *([^ ].*)$/;
foreach my $file (@translation_files) {
my $language = ($file =~ $lang_re ? "[$1]" : '');
open(my $trans_fh, '<:encoding(UTF-8)', $file) or next;
while (my $trans_l = <$trans_fh>) {
if ($trans_l =~ $transl_yaml_re)
{
my ($key, $value) = ($1, $2);
$value =~ s/^\s+|\s+$//; $value =~ s/^['"]//; $value =~ s/['"]$//;
if (length($value))
{
# Don't flush empty (untranslated) strings
print(STDOUT "$key$language=$value\n");
}
}
}
close($trans_fh);
}
}
}
open(my $fh, '<:encoding(UTF-8)', $desktop_in) or die "Could not open file '$desktop_in' $!";
my $curr_section = undef;
while (my $line = <$fh>) {
if ($line =~ $section_re) {
flush_translations($curr_section);
$curr_section = $1;
}
$line =~ $strip_re or print(STDOUT $line);
}
flush_translations($curr_section);
close($fh);
0707010000000E000041ED00000000000000000000000267B64F2900000000000000000000000000000000000000000000002900000000labwc-tweaks-0~git.20250219.818c98b/data0707010000000F000081A400000000000000000000000167B64F29000003A6000000000000000000000000000000000000004500000000labwc-tweaks-0~git.20250219.818c98b/data/labwc_tweaks.appdata.xml.in<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>@PROJECT_APPSTREAM_ID@</id>
<metadata_license>@PROJECT_APPSTREAM_SPDX_ID@</metadata_license>
<project_license>@PROJECT_SPDX_ID@</project_license>
<name>@PROJECT_NAME@</name>
<summary>@PROJECT_DESCRIPTION@</summary>
<content_rating type="oars-1.0" />
@PROJECT_DESCRIPTION_HTML@
<project_group>@PROJECT_ORGANIZATION_NAME@</project_group>
<developer id="@PROJECT_ORGANIZATION_ID@">
<name>@PROJECT_AUTHOR_NAME@</name>
</developer>
<url type="homepage">@PROJECT_HOMEPAGE_URL@</url>
<screenshots>
<screenshot type="default">
<caption>Screenshot</caption>
<image>@PROJECT_SCREENSHOT_URL@</image>
</screenshot>
</screenshots>
<provides>
<binary>@PROJECT_ID@</binary>
</provides>
<launchable type="desktop-id">@PROJECT_APPSTREAM_ID@.desktop</launchable>
@PROJECT_KEYWORDS_HTML@
@PROJECT_RELEASES_HTML@
</component>
07070100000010000081A400000000000000000000000167B64F2900000071000000000000000000000000000000000000004100000000labwc-tweaks-0~git.20250219.818c98b/data/labwc_tweaks.desktop.in[Desktop Entry]
Type=Application
Exec=@PROJECT_ID@
Icon=@PROJECT_APPSTREAM_ID@
Categories=@PROJECT_CATEGORIES@;
07070100000011000081A400000000000000000000000167B64F2900000332000000000000000000000000000000000000003A00000000labwc-tweaks-0~git.20250219.818c98b/data/labwc_tweaks.svg<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="256px" width="256px" viewBox="0 0 200 200">
<g transform="scale(1.75) translate(-48,-30)">
<path style="fill:#f0d70f;stroke:#f0d70f;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;" d="M 52.99991,52.999727 99.491162,79.999649 V 134.79246 L 60.748145,104.37905 Z"/>
<path style="fill:#d02f90;stroke:#d02f90;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;" d="m 156.56583,52.999727 -46.49129,26.999922 v 54.792811 l 38.74305,-30.41341 z"/>
</g>
<path style="fill:#757575;" d="m 92,40 0,16 a 20 20 0 0 0 16,0 l 0,-16 a 20 20 0 0 1 4,36 l 0,80 a 12 12 0 0 1 -24,0 l 0,-80 a 20 20 0 0 1 4,-36"/>
</svg>
07070100000012000041ED00000000000000000000000267B64F2900000000000000000000000000000000000000000000003600000000labwc-tweaks-0~git.20250219.818c98b/data/translations07070100000013000081A400000000000000000000000167B64F2900000ABC000000000000000000000000000000000000004600000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
07070100000014000081A400000000000000000000000167B64F2900000AEF000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_ar.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ar">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>المظهر</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>نصف قطر الأركان</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>سمة أوبن بوكس</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>السلوك</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>الفأرة و لوح اللمس</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>أسقط الظلال</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>سياسة الموضع</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>سمة المؤشر</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>حجم المؤشر</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>تمرير طبيعي</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>أضف</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>احذف</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>اللغة والمنطقة</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>تخطيط لوحة المفاتيح</translation>
</message>
</context>
</TS>
07070100000015000081A400000000000000000000000167B64F2900000AB2000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_ca.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ca">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Aspecte</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Radi de cantonada</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Tema de l’Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Comportament</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Ratolí i ratolí tàctil</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Ombres caigudes</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Política de col·locació</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Tema dels cursors</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Mida dels cursors</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Desplaçament natural</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Afegeix</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Elimina</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Llengua i regió</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Disposició del teclat</translation>
</message>
</context>
</TS>
07070100000016000081A400000000000000000000000167B64F2900000A76000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_da.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="da">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Udseende</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Hjørneradius</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openboxtema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Adfærd</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Mus & Touchpad</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Slagskygge</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Placeringspolitik</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Markørtema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Markørstørrelse</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Naturlig rul</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Tilføj</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Fjern</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Sprog & Region</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Tastaturlayout</translation>
</message>
</context>
</TS>
07070100000017000081A400000000000000000000000167B64F2900000AA3000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_de.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Erscheinungsbild</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Eckenradius</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox-Thema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Verhalten</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Maus & Tastfeld</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Schlagschatten</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Platzierungsrichtlinie</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Mauszeigerthema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Mauszeigergröße</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Natürlicher Bildlauf</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Hinzufügen</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Entfernen</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Sprache & Region</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Tastaturbelegung</translation>
</message>
</context>
</TS>
07070100000018000081A400000000000000000000000167B64F2900000B53000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_el.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="el">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Εμφάνιση</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Γωνιακή ακτίνα</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Θέμα Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Συμπεριφορά</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Ποντίκι & επιφάνεια αφής</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Δημιουργία εφέ σκιάς</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Πολιτική Τοποθέτησης</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Θέμα δρομέα</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Μέγεθος δρομέα</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Φυσική Κύληση</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Προσθήκη</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Αφαίρεση</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Γλώσσα & Τοποθεσία</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Διάταξη πληκτρολογίου</translation>
</message>
</context>
</TS>
07070100000019000081A400000000000000000000000167B64F2900000A80000000000000000000000000000000000000004C00000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_en_GB.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_GB">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Appearance</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Corner Radius</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox Theme</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Behaviour</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Mouse & Touchpad</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Drop Shadows</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Placement Policy</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Cursor Theme</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Cursor Size</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Natural Scroll</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Add</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Remove</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Language & Region</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Keyboard Layout</translation>
</message>
</context>
</TS>
0707010000001A000081A400000000000000000000000167B64F2900000ACD000000000000000000000000000000000000004C00000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_en_IE.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_IE">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
0707010000001B000081A400000000000000000000000167B64F2900000ACD000000000000000000000000000000000000004C00000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_en_US.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="en_US">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
0707010000001C000081A400000000000000000000000167B64F2900000AAC000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_es.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="es">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Apariencia</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Radio de esquina</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Tema de Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Comportamiento</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Ratón y panel táctil</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Tema de cursores</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Tamaño de cursores</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Desplazamiento natural</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Añadir</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Quitar</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Idioma y región</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Disposición de teclado</translation>
</message>
</context>
</TS>
0707010000001D000081A400000000000000000000000167B64F2900000A8C000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_et.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="et">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Välimus</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Nurga raadius</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox'i teema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Käitumine</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Hiir ja puuteplaat</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Ära kasuta varje</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Paigutuse kord</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Kursori teema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Kursori suurus</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Loomulik kerimine</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Lisa</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Eemalda</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Keel ja regioon</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Klaviatuuri paigutus</translation>
</message>
</context>
</TS>
0707010000001E000081A400000000000000000000000167B64F2900000A96000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_eu.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="eu">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Itxura</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Izkinako erradioa</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox Gaia</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Portaera</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Sagua eta Ukipen-panela</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Kokapen-politika</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Kurtsore Gaia</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Kurtsorearen tamaina</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Gehitu</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Kendu</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Teklatuaren Diseinua</translation>
</message>
</context>
</TS>
0707010000001F000081A400000000000000000000000167B64F2900000A90000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_fi.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fi">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Ulkoasu</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Kulman säde</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox-teema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Toiminta</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Hiiri & kosketuslevy</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Taustavarjot</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Sijoituskäytäntö</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Osoitinteema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Osoittimen koko</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Luonnollinen vieritys</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Lisää</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Poista</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Kieli & alue</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Näppäimistöasettelu</translation>
</message>
</context>
</TS>
07070100000020000081A400000000000000000000000167B64F2900000AA5000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_fr.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="fr">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Apparence</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Rayon des coins</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Thème Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Comportement</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Souris & Pavé tactile</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Contour ombré</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Politique de placement</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Thème curseur</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Taille curseur</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Défilement naturel</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Ajouter</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Enlever</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Langue & Région</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Disposition du clavier</translation>
</message>
</context>
</TS>
07070100000021000081A400000000000000000000000167B64F2900000ACA000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_gl.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="gl">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
07070100000022000081A400000000000000000000000167B64F2900000A8A000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_it.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Aspetto</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Raggio Angolo</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Tema Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Comportamento</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Mouse e Touchpad</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Abilita ombre</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Posizionamento</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Tema Puntatore</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Grandezza Puntatore</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Scorrimento Naturale</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Aggiungi</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Rimuovi</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Lingua e Paese</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Mappatura Tastiera</translation>
</message>
</context>
</TS>
07070100000023000081A400000000000000000000000167B64F2900000BC4000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_ka.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ka">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>გარეგნობა</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>კუთხის რადიუსი</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox-ის თემა</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>ქცევა</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>თაგუნა და თაჩპედი</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>ჩრდილები</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>მოთავსების პოლიტიკა</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>კურსორის თემა</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>კურსორის ზომა</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>ბუნებრივი გადახვევა</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>დამატება</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>წაშლა</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>ენა და რეგიონი</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>კლავიატურის განლაგება</translation>
</message>
</context>
</TS>
07070100000024000081A400000000000000000000000167B64F2900000AAE000000000000000000000000000000000000004A00000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_kab.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="kab">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Rnu</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Kkes</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
07070100000025000081A400000000000000000000000167B64F2900000A8F000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_ko.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ko">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>모양새</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>모서리 반지름</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox 테마</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>동작</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>마우스 & 터치패드</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>그림자</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>배치 방침</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>커서 테마</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>커서 크기</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>부드러운 스크롤</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>추가</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>제거</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>언어 & 지역</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>키보드 자판</translation>
</message>
</context>
</TS>
07070100000026000081A400000000000000000000000167B64F2900000AC0000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_lt.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="lt">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Išvaizda</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Kampų spindulys</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox apipavidalinimas</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Elgsena</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Pelė ir jutiklinis kilimėlis</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Mesti šešėlius</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Išdėstymo politika</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Žymeklio apipavidalinimas</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Žymeklio dydis</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Natūralus slinkimas</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Pridėti</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Šalinti</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Kalba ir regionas</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Klaviatūros išdėstymas</translation>
</message>
</context>
</TS>
07070100000027000081A400000000000000000000000167B64F2900000A79000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_nl.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="nl">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Vormgeving</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Hoekstraal</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox-thema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Gedrag</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Muis en touchpad</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Valschaduwen</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Plaatsing</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Cursorthema</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Cursorgrootte</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Natuurlijk scrollen</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Toevoegen</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Verwijderen</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Taal en regio</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Toetsenbordindeling</translation>
</message>
</context>
</TS>
07070100000028000081A400000000000000000000000167B64F2900000B2B000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_pa.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pa">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>ਦਿੱਖ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>ਕੋਨਾ ਦੇ ਵਿਆਸ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>ਓਪਨਬਾਕਸ ਥੀਮ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>ਰਵੱਈਆ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>ਮਾਊਸ ਤੇ ਟੱਚਪੈਡ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>ਸਥਾਪਨ ਨੀਤੀ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>ਕਰਸਰ ਥੀਮ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>ਕਰਸਰ ਦਾ ਆਕਾਰ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>ਕੁਦਰਤੀ ਸਕਰੋਲ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>ਜੋੜੋ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>ਹਟਾਓ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>ਭਾਸ਼ਾ ਤੇ ਖੇਤਰ</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>ਕੀਬੋਰਡ ਖਾਕਾ</translation>
</message>
</context>
</TS>
07070100000029000081A400000000000000000000000167B64F2900000A94000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_pl.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pl">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Wygląd</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Promień narożnika</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Motyw Openboksa</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Zachowanie</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Mysz i panel dotykowy</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Rzucanie cieni</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Zasady rozmieszczania</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Motyw kursora</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Rozmiar kursora</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Przewijanie naturalne</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Dodaj</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Usuń</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Język i region</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Układ klawiatury</translation>
</message>
</context>
</TS>
0707010000002A000081A400000000000000000000000167B64F2900000A9F000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_pt.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Aparência</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Raio do canto</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Tema Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Comportamento</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Rato e Painel tátil</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Sombras de gotas</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Política de colocação</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Tema do cursor</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Tamanho do cursor</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Deslocação natural</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Adicionar</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Remover</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Idioma e Região</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Esquema de teclado</translation>
</message>
</context>
</TS>
0707010000002B000081A400000000000000000000000167B64F2900000ABB000000000000000000000000000000000000004C00000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_pt_BR.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="pt_BR">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Aparência</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Arrendondamento dos Cantos</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Tema do Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Comportamento</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Mouse & Touchpad</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Sombreamento nas Janelas</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Política de Posicionamento</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Tema do Cursor</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Tamanho do Cursor</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Rolagem Natural</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Adicionar</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Remover</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Idioma & Região</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Idioma do Teclado</translation>
</message>
</context>
</TS>
0707010000002C000081A400000000000000000000000167B64F2900000AAE000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_ro.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ro">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Aspect</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Raza colțului</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Tema Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Mouse și tastatură</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Temă Cursor</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Dimensiune Cursor</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Derulare Naturală</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Limbă și Regiune</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Aspect tastatură</translation>
</message>
</context>
</TS>
0707010000002D000081A400000000000000000000000167B64F2900000B3D000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_ru.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ru">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Внешний вид</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Радиус углов</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Тема Openbox</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Поведение</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Мышь и сенсорная панель</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Тени</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Правила расположения</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>Тема курсора</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>Размер курсора</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Обратное направление прокрутки</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Добавить</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Убрать</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Язык и регион</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Раскладка клавиатура</translation>
</message>
</context>
</TS>
0707010000002E000081A400000000000000000000000167B64F2900000ACA000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_sl.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="sl">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
0707010000002F000081A400000000000000000000000167B64F2900000A94000000000000000000000000000000000000004900000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_tr.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="tr">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>Görünüş</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>Köşe Yuvarlatma</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox Teması</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>Davranış</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>Fare ve Dokunmatik Yüzey</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation>Alt Gölgeler</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation>Yerleştirme Politikası</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>İmleç Teması</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>İmleç Boyutu</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>Doğal Kaydırma</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>Ekle</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>Kaldır</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>Dil ve Bölge</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>Klavye Düzeni</translation>
</message>
</context>
</TS>
07070100000030000081A400000000000000000000000167B64F2900000A78000000000000000000000000000000000000004C00000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc-tweaks_zh_CN.ts<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh_CN">
<context>
<name>MainDialog</name>
<message>
<location filename="../../src/maindialog.ui" line="57"/>
<source>Appearance</source>
<translation>外观</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="118"/>
<source>Corner Radius</source>
<translation>边角半径</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="108"/>
<source>Openbox Theme</source>
<translation>Openbox 主题</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="65"/>
<source>Behaviour</source>
<translation>行为</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="73"/>
<source>Mouse & Touchpad</source>
<translation>鼠标与触摸板</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="128"/>
<source>Drop Shadows</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="154"/>
<source>Placement Policy</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="180"/>
<source>Cursor Theme</source>
<translation>光标主题</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="190"/>
<source>Cursor Size</source>
<translation>光标大小</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="200"/>
<source>Natural Scroll</source>
<translation>自然滚动</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="241"/>
<source>Add</source>
<translation>添加</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="248"/>
<source>Remove</source>
<translation>删除</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="81"/>
<source>Language & Region</source>
<translation>语言与地区</translation>
</message>
<message>
<location filename="../../src/maindialog.ui" line="226"/>
<source>Keyboard Layout</source>
<translation>键盘布局</translation>
</message>
</context>
</TS>
07070100000031000081A400000000000000000000000167B64F290000008F000000000000000000000000000000000000005000000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks.desktop.yamlDesktop Entry/Name: "Labwc Tweaks"
Desktop Entry/GenericName: "Compositor Settings"
Desktop Entry/Comment: "Labwc Wayland compositor settings"
07070100000032000081A400000000000000000000000167B64F29000000AE000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_ar.desktop.yamlDesktop Entry/Name: "تطويعات Labwc"
Desktop Entry/GenericName: "تكوين الإعدادات"
Desktop Entry/Comment: "تكوين إعدادات وايلاند Labwc"
07070100000033000081A400000000000000000000000167B64F29000000A5000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_ca.desktop.yamlDesktop Entry/Name: "Ajustos de Labwc"
Desktop Entry/GenericName: "Configuració del compositor"
Desktop Entry/Comment: "Configuració del compositor Labwc Wayland"
07070100000034000081A400000000000000000000000167B64F2900000097000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_da.desktop.yamlDesktop Entry/Name: "Labwc Tweaks"
Desktop Entry/GenericName: "Kompositorindstillinger"
Desktop Entry/Comment: "Labwc Wayland kompositorindstillinger"
07070100000035000081A400000000000000000000000167B64F29000000A0000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_de.desktop.yamlDesktop Entry/Name: "Labwc-Optimierungen"
Desktop Entry/GenericName: "Kompositor-Einstellungen"
Desktop Entry/Comment: "Labwc Wayland-Kompositor-Einstellungen"
07070100000036000081A400000000000000000000000167B64F29000000BF000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_el.desktop.yamlDesktop Entry/Name: "Τροποποιήσεις Labwc"
Desktop Entry/GenericName: "Ρυθμίσεις Συνθέτη"
Desktop Entry/Comment: "Ρυθμίσεις συνθέτη Labwc Wayland"
07070100000037000081A400000000000000000000000167B64F290000004F000000000000000000000000000000000000005600000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_en_US.desktop.yamlDesktop Entry/Name: ""
Desktop Entry/GenericName: ""
Desktop Entry/Comment: ""
07070100000038000081A400000000000000000000000167B64F29000000A3000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_et.desktop.yamlDesktop Entry/Name: "Labwc peenhäälestus"
Desktop Entry/GenericName: "Komposiitori seadistused"
Desktop Entry/Comment: "Labwc Waylandi komposiitori seadistused"
07070100000039000081A400000000000000000000000167B64F2900000092000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_fi.desktop.yamlDesktop Entry/Name: "Labwc-säädöt"
Desktop Entry/GenericName: "Koostimen asetukset"
Desktop Entry/Comment: "Labwc Wayland-koostimen asetukset"
0707010000003A000081A400000000000000000000000167B64F29000000A3000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_fr.desktop.yamlDesktop Entry/Name: "Réglages de Labwc"
Desktop Entry/GenericName: "Paramètres du Compositeur"
Desktop Entry/Comment: "Paramètres du compositeur Labwc Wayland"
0707010000003B000081A400000000000000000000000167B64F29000000C0000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_it.desktop.yamlDesktop Entry/Name: "Impostazioni Labwc"
Desktop Entry/GenericName: "Impostazioni del gestore finestre labwc"
Desktop Entry/Comment: "Impostazioni di Labwc, gestore delle finestre in Wayland"
0707010000003C000081A400000000000000000000000167B64F2900000102000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_ka.desktop.yamlDesktop Entry/Name: "Labwc-ის დეტალები"
Desktop Entry/GenericName: "კომპოზიტორის მორგება"
Desktop Entry/Comment: "Labwc Wayland კომპოზიტორის პარამეტრები"
0707010000003D000081A400000000000000000000000167B64F2900000098000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_ko.desktop.yamlDesktop Entry/Name: "Labwc 트윅"
Desktop Entry/GenericName: "컴포지터 설정"
Desktop Entry/Comment: "Labwc Wayland 컴포지터 설정입니다"
0707010000003E000081A400000000000000000000000167B64F29000000A0000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_lt.desktop.yamlDesktop Entry/Name: "Labwc patobulinimai"
Desktop Entry/GenericName: "Tvarkytojo nustatymai"
Desktop Entry/Comment: "Labwc „Wayland“ tvarkytojo nustatymai"
0707010000003F000081A400000000000000000000000167B64F2900000097000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_nl.desktop.yamlDesktop Entry/Name: "Labwc-afstellingen"
Desktop Entry/GenericName: "Vensterbeheerderinstellingen"
Desktop Entry/Comment: "Labwc Wayland-instellingen"
07070100000040000081A400000000000000000000000167B64F290000009B000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_pl.desktop.yamlDesktop Entry/Name: "Usprawnienia Labwc"
Desktop Entry/GenericName: "Ustawienia kompozytora"
Desktop Entry/Comment: "Ustawienia kompozytora Wayland Labwc"
07070100000041000081A400000000000000000000000167B64F290000009E000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_pt.desktop.yamlDesktop Entry/Name: "Ajustes Labwc"
Desktop Entry/GenericName: "Definições do Compositor"
Desktop Entry/Comment: "Definições do compositor Labwc Wayland"
07070100000042000081A400000000000000000000000167B64F290000009F000000000000000000000000000000000000005600000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_pt_BR.desktop.yamlDesktop Entry/Name: "Ajustes do Labwc"
Desktop Entry/GenericName: "Configurações do Compositor"
Desktop Entry/Comment: "Configurações do Compositor Labwc"
07070100000043000081A400000000000000000000000167B64F29000000BB000000000000000000000000000000000000005300000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_ru.desktop.yamlDesktop Entry/Name: "Labwc Tweaks"
Desktop Entry/GenericName: "Настройки композитора"
Desktop Entry/Comment: "Настройки композитора Labwc Wayland"
07070100000044000081A400000000000000000000000167B64F290000007B000000000000000000000000000000000000005600000000labwc-tweaks-0~git.20250219.818c98b/data/translations/labwc_tweaks_zh_CN.desktop.yamlDesktop Entry/Name: ""
Desktop Entry/GenericName: "混成器设置"
Desktop Entry/Comment: "Labwc Wayland 混成器设置"
07070100000045000041ED00000000000000000000000267B64F2900000000000000000000000000000000000000000000002800000000labwc-tweaks-0~git.20250219.818c98b/src07070100000046000081A400000000000000000000000167B64F2900000417000000000000000000000000000000000000003600000000labwc-tweaks-0~git.20250219.818c98b/src/.clang-formatBasedOnStyle: WebKit
Standard: c++20
ColumnLimit: 100
CommentPragmas: "^!|^:|^ SPDX-License-Identifier:"
PointerBindsToType: false
SpaceAfterTemplateKeyword: false
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 8
NamespaceIndentation: None
IndentPPDirectives: AfterHash
PPIndentWidth: 2
AlignAfterOpenBracket: true
AlwaysBreakTemplateDeclarations: true
AllowShortFunctionsOnASingleLine: Inline
SortIncludes: false
ForEachMacros: [ foreach, Q_FOREACH, forever, Q_FOREVER ]
BreakConstructorInitializers: BeforeColon
FixNamespaceComments: true
ShortNamespaceLines: 1
AlignEscapedNewlines: Left
SpaceBeforeCpp11BracedList: false
07070100000047000081A400000000000000000000000167B64F29000000B1000000000000000000000000000000000000003600000000labwc-tweaks-0~git.20250219.818c98b/src/.editorconfigroot = true
[*.{cpp,h}]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
max_line_length = 100
07070100000048000081A400000000000000000000000167B64F2900000803000000000000000000000000000000000000003800000000labwc-tweaks-0~git.20250219.818c98b/src/environment.cpp// SPDX-License-Identifier: GPL-2.0-only
#define _POSIX_C_SOURCE 200809L
#include <QDebug>
#include <QFile>
#include <QString>
#include <QTextStream>
#include <cstring>
QString environment_get(const char *key)
{
QString filename = qgetenv("HOME") + "/.config/labwc/environment";
QFile inputFile(filename);
inputFile.open(QIODevice::ReadOnly);
if (!inputFile.isOpen()) {
return nullptr;
}
QTextStream stream(&inputFile);
QString line;
while (stream.readLineInto(&line)) {
if (line.isEmpty() || line.startsWith("#")) {
continue;
}
QStringList elements = line.split('=');
if (elements.count() != 2) {
continue;
}
if (elements[0].trimmed() == QString(key)) {
return elements[1].trimmed();
}
}
return nullptr;
}
void environment_set(const char *key, const char *value)
{
if (!key || !*key) {
return;
}
if (!value || !*value) {
return;
}
/* set cursor for labwc - should cover 'replace' or 'append' */
char xcur[4096] = { 0 };
strcpy(xcur, key);
strcat(xcur, "=");
char filename[4096];
char bufname[4096];
char *home = getenv("HOME");
snprintf(filename, sizeof(filename), "%s/%s", home, ".config/labwc/environment");
snprintf(bufname, sizeof(bufname), "%s/%s", home, ".config/labwc/buf");
FILE *fe = fopen(filename, "r");
FILE *fw = fopen(bufname, "a");
if ((fe == NULL) || (fw == NULL)) {
perror("Unable to open file!");
return;
}
char chunk[128];
while (fgets(chunk, sizeof(chunk), fe) != NULL) {
if (strstr(chunk, xcur) != NULL) {
continue;
} else {
fprintf(fw, "%s", chunk);
}
}
fclose(fe);
if (value) {
fprintf(fw, "%s\n", strcat(xcur, value));
}
fclose(fw);
rename(bufname, filename);
}
void environment_set_num(const char *key, int value)
{
char buffer[255];
snprintf(buffer, 255, "%d", value);
environment_set(key, buffer);
}
07070100000049000081A400000000000000000000000167B64F2900000122000000000000000000000000000000000000003600000000labwc-tweaks-0~git.20250219.818c98b/src/environment.h/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef ENVIRONMENT_H
#define ENVIRONMENT_H
#include <QString>
QString environment_get(const char *key);
void environment_set(const char *key, const char *value);
void environment_set_num(const char *key, int value);
#endif /* ENVIRONMENT_H */
0707010000004A000081A400000000000000000000000167B64F2900006C64000000000000000000000000000000000000003C00000000labwc-tweaks-0~git.20250219.818c98b/src/evdev-lst-layouts.h#pragma once
#include <vector>
// Auto-generated based on "/usr/share/X11/xkb/rules/evdev.lst"
struct layout
{
const char *code;
const char *description;
};
static std::vector<struct layout> evdev_lst_layouts = {
{ "custom", "A user-defined custom Layout" },
{ "ru(ab)", "Abkhazian (Russia)" },
{ "gh(akan)", "Akan" },
{ "al", "Albanian" },
{ "al(plisi)", "Albanian (Plisi)" },
{ "al(veqilharxhi)", "Albanian (Veqilharxhi)" },
{ "et", "Amharic" },
{ "ara", "Arabic" },
{ "ara(azerty)", "Arabic (AZERTY)" },
{ "ara(azerty_digits)", "Arabic (AZERTY, Eastern Arabic numerals)" },
{ "dz(ar)", "Arabic (Algeria)" },
{ "ara(buckwalter)", "Arabic (Buckwalter)" },
{ "ara(digits)", "Arabic (Eastern Arabic numerals)" },
{ "eg", "Arabic (Egypt)" },
{ "iq", "Arabic (Iraq)" },
{ "ara(mac)", "Arabic (Macintosh)" },
{ "ara(mac-phonetic)", "Arabic (Macintosh, phonetic)" },
{ "ma", "Arabic (Morocco)" },
{ "ara(olpc)", "Arabic (OLPC)" },
{ "pk(ara)", "Arabic (Pakistan)" },
{ "sy", "Arabic (Syria)" },
{ "am", "Armenian" },
{ "am(eastern-alt)", "Armenian (alt. eastern)" },
{ "am(phonetic-alt)", "Armenian (alt. phonetic)" },
{ "am(eastern)", "Armenian (eastern)" },
{ "am(phonetic)", "Armenian (phonetic)" },
{ "am(western)", "Armenian (western)" },
{ "in(asm-kagapa)", "Assamese (KaGaPa, phonetic)" },
{ "es(ast)", "Asturian (Spain, with bottom-dot H and L)" },
{ "gh(avn)", "Avatime" },
{ "az", "Azerbaijani" },
{ "az(cyrillic)", "Azerbaijani (Cyrillic)" },
{ "ir(azb)", "Azerbaijani (Iran)" },
{ "ml", "Bambara" },
{ "bd", "Bangla" },
{ "in(ben)", "Bangla (India)" },
{ "in(ben_inscript)", "Bangla (India, Baishakhi InScript)" },
{ "in(ben_baishakhi)", "Bangla (India, Baishakhi)" },
{ "in(ben_bornona)", "Bangla (India, Bornona)" },
{ "in(ben_gitanjali)", "Bangla (India, Gitanjali)" },
{ "in(ben-kagapa)", "Bangla (India, KaGaPa, phonetic)" },
{ "in(ben_probhat)", "Bangla (India, Probhat)" },
{ "bd(probhat)", "Bangla (Probhat)" },
{ "ru(bak)", "Bashkirian" },
{ "by", "Belarusian" },
{ "by(latin)", "Belarusian (Latin)" },
{ "by(intl)", "Belarusian (intl.)" },
{ "by(legacy)", "Belarusian (legacy)" },
{ "by(phonetic)", "Belarusian (phonetic)" },
{ "be", "Belgian" },
{ "be(iso-alternate)", "Belgian (ISO, alt.)" },
{ "be(oss_latin9)", "Belgian (Latin-9 only, alt.)" },
{ "be(wang)", "Belgian (Wang 724 AZERTY)" },
{ "be(oss)", "Belgian (alt.)" },
{ "be(nodeadkeys)", "Belgian (no dead keys)" },
{ "dz", "Berber (Algeria, Latin)" },
{ "dz(ber)", "Berber (Algeria, Tifinagh)" },
{ "ma(tifinagh-alt)", "Berber (Morocco, Tifinagh alt.)" },
{ "ma(tifinagh-extended-phonetic)", "Berber (Morocco, Tifinagh extended phonetic)" },
{ "ma(tifinagh-extended)", "Berber (Morocco, Tifinagh extended)" },
{ "ma(tifinagh-phonetic)", "Berber (Morocco, Tifinagh phonetic)" },
{ "ma(tifinagh-alt-phonetic)", "Berber (Morocco, Tifinagh phonetic, alt.)" },
{ "ma(tifinagh)", "Berber (Morocco, Tifinagh)" },
{ "ba", "Bosnian" },
{ "ba(us)", "Bosnian (US)" },
{ "ba(unicodeus)", "Bosnian (US, with Bosnian digraphs)" },
{ "ba(unicode)", "Bosnian (with Bosnian digraphs)" },
{ "ba(alternatequotes)", "Bosnian (with guillemets)" },
{ "brai", "Braille" },
{ "brai(left_hand_invert)", "Braille (left-handed inverted thumb)" },
{ "brai(left_hand)", "Braille (left-handed)" },
{ "brai(right_hand_invert)", "Braille (right-handed inverted thumb)" },
{ "brai(right_hand)", "Braille (right-handed)" },
{ "fr(bre)", "Breton (France)" },
{ "bg", "Bulgarian" },
{ "bg(bekl)", "Bulgarian (enhanced)" },
{ "bg(bas_phonetic)", "Bulgarian (new phonetic)" },
{ "bg(phonetic)", "Bulgarian (traditional phonetic)" },
{ "mm", "Burmese" },
{ "mm(zawgyi)", "Burmese (Zawgyi)" },
{ "cm(azerty)", "Cameroon (AZERTY, intl.)" },
{ "cm(dvorak)", "Cameroon (Dvorak, intl.)" },
{ "cm(qwerty)", "Cameroon Multilingual (QWERTY, intl.)" },
{ "ca(multix)", "Canadian (CSA)" },
{ "es(cat)", "Catalan (Spain, with middle-dot L)" },
{ "us(chr)", "Cherokee" },
{ "cn", "Chinese" },
{ "ru(cv)", "Chuvash" },
{ "ru(cv_latin)", "Chuvash (Latin)" },
{ "ie(CloGaelach)", "CloGaelach" },
{ "ua(crh_alt)", "Crimean Tatar (Turkish Alt-Q)" },
{ "ua(crh_f)", "Crimean Tatar (Turkish F)" },
{ "ua(crh)", "Crimean Tatar (Turkish Q)" },
{ "hr", "Croatian" },
{ "hr(us)", "Croatian (US)" },
{ "hr(unicodeus)", "Croatian (US, with Croatian digraphs)" },
{ "hr(unicode)", "Croatian (with Croatian digraphs)" },
{ "hr(alternatequotes)", "Croatian (with guillemets)" },
{ "cz", "Czech" },
{ "cz(qwerty)", "Czech (QWERTY)" },
{ "cz(qwerty-mac)", "Czech (QWERTY, Macintosh)" },
{ "cz(winkeys-qwerty)", "Czech (QWERTY, Windows)" },
{ "cz(qwerty_bksl)", "Czech (QWERTY, extra backslash)" },
{ "cz(winkeys)", "Czech (QWERTZ, Windows)" },
{ "cz(ucw)", "Czech (UCW, only accented letters)" },
{ "cz(dvorak-ucw)", "Czech (US, Dvorak, UCW support)" },
{ "cz(bksl)", "Czech (extra backslash)" },
{ "dk", "Danish" },
{ "dk(dvorak)", "Danish (Dvorak)" },
{ "dk(mac)", "Danish (Macintosh)" },
{ "dk(mac_nodeadkeys)", "Danish (Macintosh, no dead keys)" },
{ "dk(winkeys)", "Danish (Windows)" },
{ "dk(nodeadkeys)", "Danish (no dead keys)" },
{ "af", "Dari" },
{ "af(fa-olpc)", "Dari (Afghanistan, OLPC)" },
{ "mv", "Dhivehi" },
{ "nl", "Dutch" },
{ "nl(mac)", "Dutch (Macintosh)" },
{ "nl(us)", "Dutch (US)" },
{ "nl(std)", "Dutch (standard)" },
{ "bt", "Dzongkha" },
{ "au", "English (Australia)" },
{ "cm", "English (Cameroon)" },
{ "ca(eng)", "English (Canada)" },
{ "us(colemak)", "English (Colemak)" },
{ "us(colemak_dh_iso)", "English (Colemak-DH ISO)" },
{ "us(colemak_dh_ortho)", "English (Colemak-DH Ortholinear)" },
{ "us(colemak_dh_wide_iso)", "English (Colemak-DH Wide ISO)" },
{ "us(colemak_dh_wide)", "English (Colemak-DH Wide)" },
{ "us(colemak_dh)", "English (Colemak-DH)" },
{ "us(dvorak)", "English (Dvorak)" },
{ "us(dvorak-mac)", "English (Dvorak, Macintosh)" },
{ "us(dvorak-alt-intl)", "English (Dvorak, alt. intl.)" },
{ "us(dvorak-intl)", "English (Dvorak, intl., with dead keys)" },
{ "us(dvorak-l)", "English (Dvorak, left-handed)" },
{ "us(dvorak-r)", "English (Dvorak, right-handed)" },
{ "gh", "English (Ghana)" },
{ "gh(gillbt)", "English (Ghana, GILLBT)" },
{ "gh(generic)", "English (Ghana, multilingual)" },
{ "in(eng)", "English (India, with rupee)" },
{ "us(mac)", "English (Macintosh)" },
{ "ml(us-mac)", "English (Mali, US, Macintosh)" },
{ "ml(us-intl)", "English (Mali, US, intl.)" },
{ "nz", "English (New Zealand)" },
{ "ng", "English (Nigeria)" },
{ "us(norman)", "English (Norman)" },
{ "za", "English (South Africa)" },
{ "gb", "English (UK)" },
{ "gb(colemak)", "English (UK, Colemak)" },
{ "gb(colemak_dh)", "English (UK, Colemak-DH)" },
{ "gb(dvorak)", "English (UK, Dvorak)" },
{ "gb(dvorakukp)", "English (UK, Dvorak, with UK punctuation)" },
{ "gb(mac)", "English (UK, Macintosh)" },
{ "gb(mac_intl)", "English (UK, Macintosh, intl.)" },
{ "gb(extd)", "English (UK, extended, Windows)" },
{ "gb(intl)", "English (UK, intl., with dead keys)" },
{ "us", "English (US)" },
{ "us(symbolic)", "English (US, Symbolic)" },
{ "us(alt-intl)", "English (US, alt. intl.)" },
{ "us(euro)", "English (US, euro on 5)" },
{ "us(intl)", "English (US, intl., with dead keys)" },
{ "us(workman)", "English (Workman)" },
{ "us(workman-intl)", "English (Workman, intl., with dead keys)" },
{ "us(dvorak-classic)", "English (classic Dvorak)" },
{ "us(altgr-intl)", "English (intl., with AltGr dead keys)" },
{ "us(dvp)", "English (programmer Dvorak)" },
{ "us(olpc2)", "English (the divide/multiply toggle the layout)" },
{ "epo", "Esperanto" },
{ "br(nativo-epo)", "Esperanto (Brazil, Nativo)" },
{ "pt(nativo-epo)", "Esperanto (Portugal, Nativo)" },
{ "epo(legacy)", "Esperanto (legacy)" },
{ "ee", "Estonian" },
{ "ee(dvorak)", "Estonian (Dvorak)" },
{ "ee(us)", "Estonian (US)" },
{ "ee(nodeadkeys)", "Estonian (no dead keys)" },
{ "gh(ewe)", "Ewe" },
{ "fo", "Faroese" },
{ "fo(nodeadkeys)", "Faroese (no dead keys)" },
{ "ph", "Filipino" },
{ "ph(capewell-dvorak-bay)", "Filipino (Capewell-Dvorak, Baybayin)" },
{ "ph(capewell-dvorak)", "Filipino (Capewell-Dvorak, Latin)" },
{ "ph(capewell-qwerf2k6-bay)", "Filipino (Capewell-QWERF 2006, Baybayin)" },
{ "ph(capewell-qwerf2k6)", "Filipino (Capewell-QWERF 2006, Latin)" },
{ "ph(colemak-bay)", "Filipino (Colemak, Baybayin)" },
{ "ph(colemak)", "Filipino (Colemak, Latin)" },
{ "ph(dvorak-bay)", "Filipino (Dvorak, Baybayin)" },
{ "ph(dvorak)", "Filipino (Dvorak, Latin)" },
{ "ph(qwerty-bay)", "Filipino (QWERTY, Baybayin)" },
{ "fi", "Finnish" },
{ "fi(mac)", "Finnish (Macintosh)" },
{ "fi(winkeys)", "Finnish (Windows)" },
{ "fi(classic)", "Finnish (classic)" },
{ "fi(nodeadkeys)", "Finnish (classic, no dead keys)" },
{ "fr", "French" },
{ "fr(azerty)", "French (AZERTY)" },
{ "fr(afnor)", "French (AZERTY, AFNOR)" },
{ "fr(bepo)", "French (BEPO)" },
{ "fr(bepo_afnor)", "French (BEPO, AFNOR)" },
{ "fr(bepo_latin9)", "French (BEPO, Latin-9 only)" },
{ "cm(french)", "French (Cameroon)" },
{ "ca", "French (Canada)" },
{ "ca(fr-dvorak)", "French (Canada, Dvorak)" },
{ "ca(fr-legacy)", "French (Canada, legacy)" },
{ "cd", "French (Democratic Republic of the Congo)" },
{ "fr(dvorak)", "French (Dvorak)" },
{ "fr(mac)", "French (Macintosh)" },
{ "ml(fr-oss)", "French (Mali, alt.)" },
{ "ma(french)", "French (Morocco)" },
{ "ch(fr)", "French (Switzerland)" },
{ "ch(fr_mac)", "French (Switzerland, Macintosh)" },
{ "ch(fr_nodeadkeys)", "French (Switzerland, no dead keys)" },
{ "tg", "French (Togo)" },
{ "fr(us)", "French (US)" },
{ "fr(oss)", "French (alt.)" },
{ "fr(oss_latin9)", "French (alt., Latin-9 only)" },
{ "fr(oss_nodeadkeys)", "French (alt., no dead keys)" },
{ "fr(latin9)", "French (legacy, alt.)" },
{ "fr(latin9_nodeadkeys)", "French (legacy, alt., no dead keys)" },
{ "fr(nodeadkeys)", "French (no dead keys)" },
{ "it(fur)", "Friulian (Italy)" },
{ "gh(fula)", "Fula" },
{ "gh(ga)", "Ga" },
{ "md(gag)", "Gagauz (Moldova)" },
{ "ge", "Georgian" },
{ "fr(geo)", "Georgian (France, AZERTY Tskapo)" },
{ "it(geo)", "Georgian (Italy)" },
{ "ge(mess)", "Georgian (MESS)" },
{ "ge(ergonomic)", "Georgian (ergonomic)" },
{ "de", "German" },
{ "at", "German (Austria)" },
{ "at(mac)", "German (Austria, Macintosh)" },
{ "at(nodeadkeys)", "German (Austria, no dead keys)" },
{ "de(dvorak)", "German (Dvorak)" },
{ "de(e1)", "German (E1)" },
{ "de(e2)", "German (E2)" },
{ "de(mac)", "German (Macintosh)" },
{ "de(mac_nodeadkeys)", "German (Macintosh, no dead keys)" },
{ "de(neo)", "German (Neo 2)" },
{ "de(qwerty)", "German (QWERTY)" },
{ "ch", "German (Switzerland)" },
{ "ch(de_mac)", "German (Switzerland, Macintosh)" },
{ "ch(legacy)", "German (Switzerland, legacy)" },
{ "ch(de_nodeadkeys)", "German (Switzerland, no dead keys)" },
{ "de(T3)", "German (T3)" },
{ "de(us)", "German (US)" },
{ "de(deadacute)", "German (dead acute)" },
{ "de(deadgraveacute)", "German (dead grave acute)" },
{ "de(deadtilde)", "German (dead tilde)" },
{ "de(nodeadkeys)", "German (no dead keys)" },
{ "gr", "Greek" },
{ "gr(nodeadkeys)", "Greek (no dead keys)" },
{ "gr(polytonic)", "Greek (polytonic)" },
{ "gr(simple)", "Greek (simple)" },
{ "in(guj)", "Gujarati" },
{ "in(guj-kagapa)", "Gujarati (KaGaPa, phonetic)" },
{ "cn(altgr-pinyin)", "Hanyu Pinyin Letters (with AltGr dead keys)" },
{ "gh(hausa)", "Hausa (Ghana)" },
{ "ng(hausa)", "Hausa (Nigeria)" },
{ "us(haw)", "Hawaiian" },
{ "il", "Hebrew" },
{ "il(biblical)", "Hebrew (Biblical, Tiro)" },
{ "il(si2)", "Hebrew (SI-1452-2)" },
{ "il(lyx)", "Hebrew (lyx)" },
{ "il(phonetic)", "Hebrew (phonetic)" },
{ "in(bolnagri)", "Hindi (Bolnagri)" },
{ "in(hin-kagapa)", "Hindi (KaGaPa, phonetic)" },
{ "in(hin-wx)", "Hindi (Wx)" },
{ "hu", "Hungarian" },
{ "hu(qwerty)", "Hungarian (QWERTY)" },
{ "hu(101_qwerty_comma_dead)", "Hungarian (QWERTY, 101-key, comma, dead keys)" },
{ "hu(101_qwerty_comma_nodead)", "Hungarian (QWERTY, 101-key, comma, no dead keys)" },
{ "hu(101_qwerty_dot_dead)", "Hungarian (QWERTY, 101-key, dot, dead keys)" },
{ "hu(101_qwerty_dot_nodead)", "Hungarian (QWERTY, 101-key, dot, no dead keys)" },
{ "hu(102_qwerty_comma_dead)", "Hungarian (QWERTY, 102-key, comma, dead keys)" },
{ "hu(102_qwerty_comma_nodead)", "Hungarian (QWERTY, 102-key, comma, no dead keys)" },
{ "hu(102_qwerty_dot_dead)", "Hungarian (QWERTY, 102-key, dot, dead keys)" },
{ "hu(102_qwerty_dot_nodead)", "Hungarian (QWERTY, 102-key, dot, no dead keys)" },
{ "hu(101_qwertz_comma_dead)", "Hungarian (QWERTZ, 101-key, comma, dead keys)" },
{ "hu(101_qwertz_comma_nodead)", "Hungarian (QWERTZ, 101-key, comma, no dead keys)" },
{ "hu(101_qwertz_dot_dead)", "Hungarian (QWERTZ, 101-key, dot, dead keys)" },
{ "hu(101_qwertz_dot_nodead)", "Hungarian (QWERTZ, 101-key, dot, no dead keys)" },
{ "hu(102_qwertz_comma_dead)", "Hungarian (QWERTZ, 102-key, comma, dead keys)" },
{ "hu(102_qwertz_comma_nodead)", "Hungarian (QWERTZ, 102-key, comma, no dead keys)" },
{ "hu(102_qwertz_dot_dead)", "Hungarian (QWERTZ, 102-key, dot, dead keys)" },
{ "hu(102_qwertz_dot_nodead)", "Hungarian (QWERTZ, 102-key, dot, no dead keys)" },
{ "hu(nodeadkeys)", "Hungarian (no dead keys)" },
{ "hu(standard)", "Hungarian (standard)" },
{ "is", "Icelandic" },
{ "is(dvorak)", "Icelandic (Dvorak)" },
{ "is(mac)", "Icelandic (Macintosh)" },
{ "is(mac_legacy)", "Icelandic (Macintosh, legacy)" },
{ "ng(igbo)", "Igbo" },
{ "in", "Indian" },
{ "in(iipa)", "Indic IPA" },
{ "id(melayu-phoneticx)", "Indonesian (Arab Melayu, extended phonetic)" },
{ "id(melayu-phonetic)", "Indonesian (Arab Melayu, phonetic)" },
{ "id(pegon-phonetic)", "Indonesian (Arab Pegon, phonetic)" },
{ "id", "Indonesian (Latin)" },
{ "ca(ike)", "Inuktitut" },
{ "ie", "Irish" },
{ "ie(UnicodeExpert)", "Irish (UnicodeExpert)" },
{ "it", "Italian" },
{ "it(ibm)", "Italian (IBM 142)" },
{ "it(mac)", "Italian (Macintosh)" },
{ "it(us)", "Italian (US)" },
{ "it(winkeys)", "Italian (Windows)" },
{ "it(nodeadkeys)", "Italian (no dead keys)" },
{ "jp", "Japanese" },
{ "jp(dvorak)", "Japanese (Dvorak)" },
{ "jp(kana86)", "Japanese (Kana 86)" },
{ "jp(kana)", "Japanese (Kana)" },
{ "jp(mac)", "Japanese (Macintosh)" },
{ "jp(OADG109A)", "Japanese (OADG 109A)" },
{ "id(javanese)", "Javanese" },
{ "dz(azerty-deadkeys)", "Kabyle (AZERTY, with dead keys)" },
{ "dz(qwerty-gb-deadkeys)", "Kabyle (QWERTY, UK, with dead keys)" },
{ "dz(qwerty-us-deadkeys)", "Kabyle (QWERTY, US, with dead keys)" },
{ "ru(xal)", "Kalmyk" },
{ "in(kan)", "Kannada" },
{ "in(kan-kagapa)", "Kannada (KaGaPa, phonetic)" },
{ "pl(csb)", "Kashubian" },
{ "kz", "Kazakh" },
{ "kz(latin)", "Kazakh (Latin)" },
{ "kz(ext)", "Kazakh (extended)" },
{ "kz(kazrus)", "Kazakh (with Russian)" },
{ "kh", "Khmer (Cambodia)" },
{ "ke(kik)", "Kikuyu" },
{ "ru(kom)", "Komi" },
{ "kr", "Korean" },
{ "kr(kr104)", "Korean (101/104-key compatible)" },
{ "ir(ku_ara)", "Kurdish (Iran, Arabic-Latin)" },
{ "ir(ku_f)", "Kurdish (Iran, F)" },
{ "ir(ku_alt)", "Kurdish (Iran, Latin Alt-Q)" },
{ "ir(ku)", "Kurdish (Iran, Latin Q)" },
{ "iq(ku_ara)", "Kurdish (Iraq, Arabic-Latin)" },
{ "iq(ku_f)", "Kurdish (Iraq, F)" },
{ "iq(ku_alt)", "Kurdish (Iraq, Latin Alt-Q)" },
{ "iq(ku)", "Kurdish (Iraq, Latin Q)" },
{ "sy(ku_f)", "Kurdish (Syria, F)" },
{ "sy(ku_alt)", "Kurdish (Syria, Latin Alt-Q)" },
{ "sy(ku)", "Kurdish (Syria, Latin Q)" },
{ "tr(ku_f)", "Kurdish (Turkey, F)" },
{ "tr(ku_alt)", "Kurdish (Turkey, Latin Alt-Q)" },
{ "tr(ku)", "Kurdish (Turkey, Latin Q)" },
{ "kg", "Kyrgyz" },
{ "kg(phonetic)", "Kyrgyz (phonetic)" },
{ "la", "Lao" },
{ "la(stea)", "Lao (STEA)" },
{ "lv", "Latvian" },
{ "lv(fkey)", "Latvian (F)" },
{ "lv(modern-cyr)", "Latvian (Modern Cyrillic)" },
{ "lv(modern)", "Latvian (Modern Latin)" },
{ "lv(adapted)", "Latvian (adapted)" },
{ "lv(apostrophe)", "Latvian (apostrophe)" },
{ "lv(ergonomic)", "Latvian (ergonomic, ŪGJRMV)" },
{ "lv(tilde)", "Latvian (tilde)" },
{ "lt", "Lithuanian" },
{ "lt(ibm)", "Lithuanian (IBM)" },
{ "lt(lekp)", "Lithuanian (LEKP)" },
{ "lt(lekpa)", "Lithuanian (LEKPa)" },
{ "lt(ratise)", "Lithuanian (Ratise)" },
{ "lt(us)", "Lithuanian (US)" },
{ "lt(std)", "Lithuanian (standard)" },
{ "de(dsb)", "Lower Sorbian" },
{ "de(dsb_qwertz)", "Lower Sorbian (QWERTZ)" },
{ "mk", "Macedonian" },
{ "mk(nodeadkeys)", "Macedonian (no dead keys)" },
{ "my", "Malay (Jawi, Arabic Keyboard)" },
{ "my(phonetic)", "Malay (Jawi, phonetic)" },
{ "in(mal)", "Malayalam" },
{ "in(mal_lalitha)", "Malayalam (Lalitha)" },
{ "in(mal_poorna)", "Malayalam (Poorna, extended InScript)" },
{ "in(mal_enhanced)", "Malayalam (enhanced InScript, with rupee)" },
{ "mt", "Maltese" },
{ "mt(alt-gb)", "Maltese (UK, with AltGr overrides)" },
{ "mt(us)", "Maltese (US)" },
{ "mt(alt-us)", "Maltese (US, with AltGr overrides)" },
{ "in(mni)", "Manipuri (Meitei)" },
{ "nz(mao)", "Maori" },
{ "in(mar-kagapa)", "Marathi (KaGaPa, phonetic)" },
{ "in(marathi)", "Marathi (enhanced InScript)" },
{ "ru(chm)", "Mari" },
{ "cm(mmuock)", "Mmuock" },
{ "md", "Moldavian" },
{ "mm(mnw)", "Mon" },
{ "mm(mnw-a1)", "Mon (A1)" },
{ "mn", "Mongolian" },
{ "cn(mon_trad)", "Mongolian (Bichig)" },
{ "cn(mon_trad_galik)", "Mongolian (Galik)" },
{ "cn(mon_manchu_galik)", "Mongolian (Manchu Galik)" },
{ "cn(mon_trad_manchu)", "Mongolian (Manchu)" },
{ "cn(mon_todo_galik)", "Mongolian (Todo Galik)" },
{ "cn(mon_trad_todo)", "Mongolian (Todo)" },
{ "cn(mon_trad_xibe)", "Mongolian (Xibe)" },
{ "me", "Montenegrin" },
{ "me(cyrillic)", "Montenegrin (Cyrillic)" },
{ "me(cyrillicyz)", "Montenegrin (Cyrillic, ZE and ZHE swapped)" },
{ "me(cyrillicalternatequotes)", "Montenegrin (Cyrillic, with guillemets)" },
{ "me(latinyz)", "Montenegrin (Latin, QWERTY)" },
{ "me(latinunicode)", "Montenegrin (Latin, Unicode)" },
{ "me(latinunicodeyz)", "Montenegrin (Latin, Unicode, QWERTY)" },
{ "me(latinalternatequotes)", "Montenegrin (Latin, with guillemets)" },
{ "gn", "N'Ko (AZERTY)" },
{ "np", "Nepali" },
{ "fi(smi)", "Northern Saami (Finland)" },
{ "no(smi)", "Northern Saami (Norway)" },
{ "no(smi_nodeadkeys)", "Northern Saami (Norway, no dead keys)" },
{ "se(smi)", "Northern Saami (Sweden)" },
{ "no", "Norwegian" },
{ "no(colemak)", "Norwegian (Colemak)" },
{ "no(colemak_dh_wide)", "Norwegian (Colemak-DH Wide)" },
{ "no(colemak_dh)", "Norwegian (Colemak-DH)" },
{ "no(dvorak)", "Norwegian (Dvorak)" },
{ "no(mac)", "Norwegian (Macintosh)" },
{ "no(mac_nodeadkeys)", "Norwegian (Macintosh, no dead keys)" },
{ "no(winkeys)", "Norwegian (Windows)" },
{ "no(nodeadkeys)", "Norwegian (no dead keys)" },
{ "fr(oci)", "Occitan" },
{ "ie(ogam)", "Ogham" },
{ "ie(ogam_is434)", "Ogham (IS434)" },
{ "in(ori)", "Oriya" },
{ "in(ori-bolnagri)", "Oriya (Bolnagri)" },
{ "in(ori-wx)", "Oriya (Wx)" },
{ "ge(os)", "Ossetian (Georgia)" },
{ "ru(os_winkeys)", "Ossetian (Windows)" },
{ "ru(os_legacy)", "Ossetian (legacy)" },
{ "rs(rue)", "Pannonian Rusyn" },
{ "af(ps)", "Pashto" },
{ "af(ps-olpc)", "Pashto (Afghanistan, OLPC)" },
{ "ir", "Persian" },
{ "ir(winkeys)", "Persian (Windows)" },
{ "ir(pes_keypad)", "Persian (with Persian keypad)" },
{ "pl", "Polish" },
{ "gb(pl)", "Polish (British keyboard)" },
{ "pl(dvorak)", "Polish (Dvorak)" },
{ "pl(dvorak_altquotes)", "Polish (Dvorak, with Polish quotes on key 1)" },
{ "pl(dvorak_quotes)", "Polish (Dvorak, with Polish quotes on quotemark key)" },
{ "pl(qwertz)", "Polish (QWERTZ)" },
{ "pl(legacy)", "Polish (legacy)" },
{ "pl(dvp)", "Polish (programmer Dvorak)" },
{ "pt", "Portuguese" },
{ "br", "Portuguese (Brazil)" },
{ "br(dvorak)", "Portuguese (Brazil, Dvorak)" },
{ "br(thinkpad)", "Portuguese (Brazil, IBM/Lenovo ThinkPad)" },
{ "br(nativo-us)", "Portuguese (Brazil, Nativo for US keyboards)" },
{ "br(nativo)", "Portuguese (Brazil, Nativo)" },
{ "br(nodeadkeys)", "Portuguese (Brazil, no dead keys)" },
{ "pt(mac)", "Portuguese (Macintosh)" },
{ "pt(mac_nodeadkeys)", "Portuguese (Macintosh, no dead keys)" },
{ "pt(nativo-us)", "Portuguese (Nativo for US keyboards)" },
{ "pt(nativo)", "Portuguese (Nativo)" },
{ "pt(nodeadkeys)", "Portuguese (no dead keys)" },
{ "in(jhelum)", "Punjabi (Gurmukhi Jhelum)" },
{ "in(guru)", "Punjabi (Gurmukhi)" },
{ "ro", "Romanian" },
{ "de(ro)", "Romanian (Germany)" },
{ "de(ro_nodeadkeys)", "Romanian (Germany, no dead keys)" },
{ "ro(winkeys)", "Romanian (Windows)" },
{ "ro(std)", "Romanian (standard)" },
{ "ru", "Russian" },
{ "by(ru)", "Russian (Belarus)" },
{ "br(rus)", "Russian (Brazil, phonetic)" },
{ "cz(rus)", "Russian (Czechia, phonetic)" },
{ "ru(dos)", "Russian (DOS)" },
{ "ge(ru)", "Russian (Georgia)" },
{ "de(ru)", "Russian (Germany, phonetic)" },
{ "kz(ruskaz)", "Russian (Kazakhstan, with Kazakh)" },
{ "ru(mac)", "Russian (Macintosh)" },
{ "pl(ru_phonetic_dvorak)", "Russian (Poland, phonetic Dvorak)" },
{ "se(rus)", "Russian (Sweden, phonetic)" },
{ "us(rus)", "Russian (US, phonetic)" },
{ "ru(ruchey_en)", "Russian (engineering, EN)" },
{ "ru(ruchey_ru)", "Russian (engineering, RU)" },
{ "ru(legacy)", "Russian (legacy)" },
{ "ru(phonetic)", "Russian (phonetic)" },
{ "ru(phonetic_azerty)", "Russian (phonetic, AZERTY)" },
{ "ru(phonetic_dvorak)", "Russian (phonetic, Dvorak)" },
{ "ru(phonetic_winkeys)", "Russian (phonetic, Windows)" },
{ "ru(phonetic_YAZHERTY)", "Russian (phonetic, YAZHERTY)" },
{ "ru(typewriter)", "Russian (typewriter)" },
{ "ru(typewriter-legacy)", "Russian (typewriter, legacy)" },
{ "tw(saisiyat)", "Saisiyat (Taiwan)" },
{ "lt(sgs)", "Samogitian" },
{ "in(san-kagapa)", "Sanskrit (KaGaPa, phonetic)" },
{ "in(sat)", "Santali (Ol Chiki)" },
{ "gb(gla)", "Scottish Gaelic" },
{ "rs", "Serbian" },
{ "rs(yz)", "Serbian (Cyrillic, ZE and ZHE swapped)" },
{ "rs(alternatequotes)", "Serbian (Cyrillic, with guillemets)" },
{ "rs(latin)", "Serbian (Latin)" },
{ "rs(latinyz)", "Serbian (Latin, QWERTY)" },
{ "rs(latinunicode)", "Serbian (Latin, Unicode)" },
{ "rs(latinunicodeyz)", "Serbian (Latin, Unicode, QWERTY)" },
{ "rs(latinalternatequotes)", "Serbian (Latin, with guillemets)" },
{ "ru(srp)", "Serbian (Russia)" },
{ "us(hbs)", "Serbo-Croatian (US)" },
{ "mm(shn)", "Shan" },
{ "mm(zgt)", "Shan (Zawgyi)" },
{ "it(scn)", "Sicilian" },
{ "pl(szl)", "Silesian" },
{ "pk(snd)", "Sindhi" },
{ "lk(us)", "Sinhala (US)" },
{ "lk", "Sinhala (phonetic)" },
{ "sk", "Slovak" },
{ "sk(qwerty)", "Slovak (QWERTY)" },
{ "sk(qwerty_bksl)", "Slovak (QWERTY, extra backslash)" },
{ "sk(bksl)", "Slovak (extra backslash)" },
{ "si", "Slovenian" },
{ "si(us)", "Slovenian (US)" },
{ "si(alternatequotes)", "Slovenian (with guillemets)" },
{ "es", "Spanish" },
{ "es(dvorak)", "Spanish (Dvorak)" },
{ "latam", "Spanish (Latin American)" },
{ "latam(colemak)", "Spanish (Latin American, Colemak)" },
{ "latam(dvorak)", "Spanish (Latin American, Dvorak)" },
{ "latam(deadtilde)", "Spanish (Latin American, dead tilde)" },
{ "latam(nodeadkeys)", "Spanish (Latin American, no dead keys)" },
{ "es(winkeys)", "Spanish (Windows)" },
{ "es(deadtilde)", "Spanish (dead tilde)" },
{ "es(nodeadkeys)", "Spanish (no dead keys)" },
{ "ke", "Swahili (Kenya)" },
{ "tz", "Swahili (Tanzania)" },
{ "se", "Swedish" },
{ "se(dvorak)", "Swedish (Dvorak)" },
{ "se(us_dvorak)", "Swedish (Dvorak, intl.)" },
{ "se(mac)", "Swedish (Macintosh)" },
{ "se(svdvorak)", "Swedish (Svdvorak)" },
{ "se(us)", "Swedish (US)" },
{ "se(nodeadkeys)", "Swedish (no dead keys)" },
{ "se(swl)", "Swedish Sign Language" },
{ "sy(syc)", "Syriac" },
{ "sy(syc_phonetic)", "Syriac (phonetic)" },
{ "tw", "Taiwanese" },
{ "tw(indigenous)", "Taiwanese (indigenous)" },
{ "tj", "Tajik" },
{ "tj(legacy)", "Tajik (legacy)" },
{ "in(tam)", "Tamil (InScript, with Arabic numerals)" },
{ "in(tam_tamilnumbers)", "Tamil (InScript, with Tamil numerals)" },
{ "lk(tam_unicode)", "Tamil (Sri Lanka, TamilNet '99)" },
{ "lk(tam_TAB)", "Tamil (Sri Lanka, TamilNet '99, TAB encoding)" },
{ "in(tamilnet_tamilnumbers)", "Tamil (TamilNet '99 with Tamil numerals)" },
{ "in(tamilnet)", "Tamil (TamilNet '99)" },
{ "in(tamilnet_TAB)", "Tamil (TamilNet '99, TAB encoding)" },
{ "in(tamilnet_TSCII)", "Tamil (TamilNet '99, TSCII encoding)" },
{ "ma(rif)", "Tarifit" },
{ "ru(tt)", "Tatar" },
{ "in(tel)", "Telugu" },
{ "in(tel-kagapa)", "Telugu (KaGaPa, phonetic)" },
{ "in(tel-sarala)", "Telugu (Sarala)" },
{ "th", "Thai" },
{ "th(pat)", "Thai (Pattachote)" },
{ "th(tis)", "Thai (TIS-820.2538)" },
{ "cn(tib)", "Tibetan" },
{ "cn(tib_asciinum)", "Tibetan (with ASCII numerals)" },
{ "bw", "Tswana" },
{ "tr", "Turkish" },
{ "tr(alt)", "Turkish (Alt-Q)" },
{ "tr(e)", "Turkish (E)" },
{ "tr(f)", "Turkish (F)" },
{ "de(tr)", "Turkish (Germany)" },
{ "tr(intl)", "Turkish (intl., with dead keys)" },
{ "tm", "Turkmen" },
{ "tm(alt)", "Turkmen (Alt-Q)" },
{ "ru(udm)", "Udmurt" },
{ "ua", "Ukrainian" },
{ "ua(winkeys)", "Ukrainian (Windows)" },
{ "ua(homophonic)", "Ukrainian (homophonic)" },
{ "ua(legacy)", "Ukrainian (legacy)" },
{ "ua(macOS)", "Ukrainian (macOS)" },
{ "ua(phonetic)", "Ukrainian (phonetic)" },
{ "ua(typewriter)", "Ukrainian (typewriter)" },
{ "pk", "Urdu (Pakistan)" },
{ "pk(urd-crulp)", "Urdu (Pakistan, CRULP)" },
{ "pk(urd-nla)", "Urdu (Pakistan, NLA)" },
{ "in(urd-winkeys)", "Urdu (Windows)" },
{ "in(urd-phonetic3)", "Urdu (alt. phonetic)" },
{ "in(urd-phonetic)", "Urdu (phonetic)" },
{ "cn(ug)", "Uyghur" },
{ "uz", "Uzbek" },
{ "af(uz)", "Uzbek (Afghanistan)" },
{ "af(uz-olpc)", "Uzbek (Afghanistan, OLPC)" },
{ "uz(latin)", "Uzbek (Latin)" },
{ "vn", "Vietnamese" },
{ "vn(fr)", "Vietnamese (France)" },
{ "vn(us)", "Vietnamese (US)" },
{ "sn", "Wolof" },
{ "ru(sah)", "Yakut" },
{ "ng(yoruba)", "Yoruba" },
};
0707010000004B000081ED00000000000000000000000167B64F2900000B81000000000000000000000000000000000000003800000000labwc-tweaks-0~git.20250219.818c98b/src/gen-layout-list#!/usr/bin/env python3
from enum import Enum
HEADER="""#pragma once
#include <vector>
// Auto-generated based on "/usr/share/X11/xkb/rules/evdev.lst"
struct layout
{
const char *code;
const char *description;
};
static std::vector<struct layout> evdev_lst_layouts = {"""
FOOTER="};"
class Layout():
def __init__(self, layout, variant, description):
self.layout=layout
self.variant=variant
self.description=description
def __lt__(self, other):
return self.description < other.description
def get_layout(self):
if not self.variant:
return self.layout
return f"{self.layout}({self.variant})"
def get_description(self):
return self.description
def generate_code(layouts):
print(HEADER)
for layout in layouts:
print(f' {{ "{layout.get_layout()}", "{layout.get_description()}" }},')
print(FOOTER)
def main():
with open("/usr/share/X11/xkb/rules/evdev.lst", 'r', encoding='UTF-8') as f:
lines = f.read().split('\n')
section_type=Enum('section_type', 'NONE LAYOUT VARIANT')
section = section_type.NONE
layouts = []
for line in lines:
if line.startswith('!'):
if line == "! layout":
section = section_type.LAYOUT
elif line == "! variant":
section = section_type.VARIANT
else:
section = section_type.NONE
continue
#
# The 'layout' section looks like this:
# ! layout
# al Albanian
# et Amharic
# am Armenian
# ara Arabic
# eg Arabic (Egypt)
# ...
#
if section == section_type.LAYOUT:
fields = line.strip().split(None, maxsplit=1)
if not fields:
continue
layout = fields[0]
description = fields[1]
layouts.append(Layout(layout, None, description))
#
# The 'variant' section looks like this:
# ! variant
# plisi al: Albanian (Plisi)
# veqilharxhi al: Albanian (Veqilharxhi)
# phonetic am: Armenian (phonetic)
# phonetic-alt am: Armenian (alt. phonetic)
# eastern am: Armenian (eastern)
#
if section == section_type.VARIANT:
fields = line.strip().split(None, maxsplit=1)
if not fields:
continue
variant = fields[0]
fields = fields[1].strip().split(':', maxsplit=1)
if not fields:
continue
layout = fields[0]
description = fields[1].strip()
layouts.append(Layout(layout, variant, description))
generate_code(sorted(layouts))
if __name__ == '__main__':
main()
0707010000004C000081A400000000000000000000000167B64F2900000B2D000000000000000000000000000000000000003800000000labwc-tweaks-0~git.20250219.818c98b/src/layoutmodel.cpp#include <QDebug>
#include <QVectorIterator>
#include "environment.h"
#include "layoutmodel.h"
#include "evdev-lst-layouts.h"
Layout::Layout(QString code, QString desc)
{
m_code = code;
m_desc = desc;
}
Layout::~Layout() { }
LayoutModel::LayoutModel(QObject *parent) : QAbstractListModel(parent)
{
QString xkb_default_layout = environment_get("XKB_DEFAULT_LAYOUT");
QStringList layoutElements = xkb_default_layout.split(',');
// We don't advise using XKB_DEFAULT_LAYOUT, but handle it just in case by adding it to the
// respective layouts, for example like "latam(deadtilde)"
QString xkb_default_variant = environment_get("XKB_DEFAULT_VARIANT");
QStringList variantElements = xkb_default_variant.split(',', Qt::KeepEmptyParts);
int i = 0;
foreach (QString element, variantElements) {
if (layoutElements.size() <= i) {
break;
}
// Let's not add another (variant) if one is already specified.
if (layoutElements[i].contains("(")) {
continue;
}
if (!element.isEmpty()) {
layoutElements[i] += "(" + element + ")";
}
++i;
}
foreach (QString element, layoutElements) {
for (auto layout : evdev_lst_layouts) {
if (element == QString(layout.code)) {
addLayout(QString(layout.code), QString(layout.description));
}
}
}
}
LayoutModel::~LayoutModel() { }
char *LayoutModel::getXkbDefaultLayout()
{
QString ret;
QVectorIterator<QSharedPointer<Layout>> iter(m_layouts);
while (iter.hasNext()) {
ret += iter.next().get()->code();
if (iter.hasNext()) {
ret += ",";
}
}
return ret.toLatin1().data();
}
int LayoutModel::rowCount(const QModelIndex &parent) const
{
return m_layouts.size();
}
QVariant LayoutModel::data(const QModelIndex &index, int role) const
{
if (!index.isValid()) {
return {};
}
const int row = index.row();
switch (role) {
case Qt::DisplayRole:
return m_layouts.at(row)->desc() + " [" + m_layouts.at(row)->code() + "]";
}
return {};
}
void LayoutModel::update(void)
{
QModelIndex topLeft = createIndex(0, 0);
emit dataChanged(topLeft, topLeft, { Qt::DisplayRole });
}
void LayoutModel::addLayout(const QString &code, const QString &desc)
{
QVectorIterator<QSharedPointer<Layout>> iter(m_layouts);
while (iter.hasNext()) {
if (iter.next().get()->code() == code) {
qDebug() << "cannot add the same layout twice";
return;
}
}
m_layouts.append(QSharedPointer<Layout>(new Layout(code, desc)));
update();
}
void LayoutModel::deleteLayout(int index)
{
if (index < 0 || index >= m_layouts.size()) {
return;
}
m_layouts.remove(index);
update();
}
0707010000004D000081A400000000000000000000000167B64F2900000310000000000000000000000000000000000000003600000000labwc-tweaks-0~git.20250219.818c98b/src/layoutmodel.h#pragma once
#include <QAbstractListModel>
class Layout
{
public:
Layout(QString code, QString desc);
~Layout();
private:
QString m_code;
QString m_desc;
public:
QString code() const { return m_code; }
QString desc() const { return m_desc; }
};
class LayoutModel : public QAbstractListModel
{
Q_OBJECT
public:
LayoutModel(QObject *parent = nullptr);
~LayoutModel();
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
void addLayout(const QString &code, const QString &desc);
void deleteLayout(int index);
char *getXkbDefaultLayout();
private:
void update(void);
QVector<QSharedPointer<Layout>> m_layouts;
};
0707010000004E000081A400000000000000000000000167B64F2900000846000000000000000000000000000000000000003100000000labwc-tweaks-0~git.20250219.818c98b/src/main.cpp#include "maindialog.h"
#include <QApplication>
#include <QLibraryInfo>
#include <QTranslator>
static void initLocale(QTranslator *qtTranslator, QTranslator *translator)
{
QApplication *app = qApp;
#if PROJECT_TRANSLATION_TEST_ENABLED
QLocale locale(QLocale(PROJECT_TRANSLATION_TEST_LANGUAGE));
QLocale::setDefault(locale);
#else
QLocale locale = QLocale::system();
#endif
// Qt translations (buttons text and the like)
QString translationsPath = QLibraryInfo::path(QLibraryInfo::TranslationsPath);
QString translationsFileName = QStringLiteral("qt_") + locale.name();
if (qtTranslator->load(translationsFileName, translationsPath))
app->installTranslator(qtTranslator);
translationsFileName = QString(PROJECT_ID) + '_' + locale.name(); // E.g. "<appname>_en"
// Try first in the same binary directory, in case we are building,
// otherwise read from system data
translationsPath = QCoreApplication::applicationDirPath();
bool isLoaded = translator->load(translationsFileName, translationsPath);
if (!isLoaded) {
// "/usr/share/<appname>/translations
isLoaded = translator->load(translationsFileName,
QStringLiteral(PROJECT_DATA_DIR)
+ QStringLiteral("/translations"));
}
app->installTranslator(translator);
}
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setApplicationName(PROJECT_ID);
QTranslator qtTranslator, translator;
initLocale(&qtTranslator, &translator);
MainDialog w;
w.show();
// Make work the window icon also when the application is not (yet) installed
QString iconSuffix = QString("%1%2%3").arg("/", PROJECT_APPSTREAM_ID, QStringLiteral(".svg"));
QString icoLocalPath = QCoreApplication::applicationDirPath() + iconSuffix;
QString icoSysPath = QStringLiteral(PROJECT_ICON_SYSTEM_PATH) + iconSuffix;
QIcon appIcon = QIcon(icoLocalPath);
if (appIcon.isNull())
appIcon = QIcon(icoSysPath);
w.setWindowIcon(appIcon);
return app.exec();
}
0707010000004F000081A400000000000000000000000167B64F2900001708000000000000000000000000000000000000003700000000labwc-tweaks-0~git.20250219.818c98b/src/maindialog.cpp#include <QDebug>
#include <string>
#include <unistd.h>
#include "environment.h"
#include "evdev-lst-layouts.h"
#include "layoutmodel.h"
#include "maindialog.h"
#include "./ui_maindialog.h"
extern "C" {
#include "theme.h"
#include "xml.h"
}
MainDialog::MainDialog(QWidget *parent) : QDialog(parent), ui(new Ui::MainDialog)
{
ui->setupUi(this);
ui->list->setFixedWidth(ui->list->sizeHintForColumn(0) + 2 * ui->list->frameWidth());
m_model = new LayoutModel(this);
ui->layoutView->setModel(m_model);
std::string config_dir =
std::getenv("LABWC_CONFIG_DIR") ?: std::getenv("HOME") + std::string("/.config/labwc");
std::string config_file = config_dir + "/rc.xml";
initConfig(config_file);
QObject::connect(ui->buttonBox, &QDialogButtonBox::clicked, [&](QAbstractButton *button) {
if (ui->buttonBox->standardButton(button) == QDialogButtonBox::Apply) {
onApply();
}
});
connect(ui->layoutAdd, &QPushButton::pressed, this, &MainDialog::addSelectedLayout);
connect(ui->layoutRemove, &QPushButton::pressed, this, &MainDialog::deleteSelectedLayout);
activate();
}
MainDialog::~MainDialog()
{
delete ui;
xml_finish();
}
void MainDialog::addSelectedLayout(void)
{
const char *description = ui->layoutCombo->currentText().toLatin1().data();
for (auto layout : evdev_lst_layouts) {
if (!strcmp(description, layout.description)) {
m_model->addLayout(QString(layout.code), QString(layout.description));
}
}
}
void MainDialog::deleteSelectedLayout(void)
{
m_model->deleteLayout(ui->layoutView->currentIndex().row());
}
void MainDialog::activate()
{
/* # APPEARANCE */
/* Openbox Theme */
struct themes openbox_themes = { 0 };
theme_find(&openbox_themes, "themes", "openbox-3/themerc");
int active = -1;
const char *active_id = xml_get("/labwc_config/theme/name");
for (int i = 0; i < openbox_themes.nr; ++i) {
struct theme *theme = openbox_themes.data + i;
if (active_id && !strcmp(theme->name, active_id)) {
active = i;
}
ui->openboxTheme->addItem(theme->name);
}
if (active != -1) {
ui->openboxTheme->setCurrentIndex(active);
}
theme_free_vector(&openbox_themes);
/* Corner Radius */
ui->cornerRadius->setValue(xml_get_int("/labwc_config/theme/cornerradius"));
/* Drop Shadows */
ui->dropShadows->addItem("no");
ui->dropShadows->addItem("yes");
ui->dropShadows->setCurrentIndex(xml_get_bool_text("/labwc_config/theme/dropShadows"));
/* # BEHAVIOUR */
std::vector policies = { "", "Automatic", "Cascade", "Center", "Cursor" };
active = -1;
active_id = xml_get("/labwc_config/placement/policy");
int i = 0;
for (auto policy : policies) {
if (active_id && !strcasecmp(policy, active_id)) {
active = i;
}
ui->placementPolicy->addItem(policy);
++i;
}
if (active != -1) {
ui->placementPolicy->setCurrentIndex(active);
}
/* # MOUSE & TOUCHPAD */
/* Cursor Theme */
struct themes cursor_themes = { 0 };
theme_find(&cursor_themes, "icons", "cursors");
active_id = getenv("XCURSOR_THEME") ?: (char *)"";
active = -1;
for (int i = 0; i < cursor_themes.nr; ++i) {
struct theme *theme = cursor_themes.data + i;
if (!strcmp(theme->name, active_id)) {
active = i;
}
ui->cursorTheme->addItem(theme->name);
}
if (active != -1) {
ui->cursorTheme->setCurrentIndex(active);
}
theme_free_vector(&cursor_themes);
/* Cursor Size */
ui->cursorSize->setValue(atoi(getenv("XCURSOR_SIZE") ?: "24"));
/* Natural Scroll */
ui->naturalScroll->addItem("no");
ui->naturalScroll->addItem("yes");
ui->naturalScroll->setCurrentIndex(
xml_get_bool_text("/labwc_config/libinput/device/naturalscroll"));
/* # LANGUAGE */
/* Keyboard Layout */
ui->layoutCombo->addItem(tr("Select layout to add..."));
for (auto layout : evdev_lst_layouts) {
ui->layoutCombo->addItem(QString(layout.description));
}
}
void MainDialog::initConfig(std::string &config_file)
{
xml_init(config_file.data());
/* Ensure all relevant nodes exist before we start getting/setting */
xpath_add_node("/labwc_config/theme/cornerRadius");
xpath_add_node("/labwc_config/theme/name");
xpath_add_node("/labwc_config/theme/dropShadows");
xpath_add_node("/labwc_config/placement/policy");
xpath_add_node("/labwc_config/libinput/device/naturalScroll");
xml_save();
}
void MainDialog::onApply()
{
/* ~/.config/labwc/rc.xml */
xml_set_num("/labwc_config/theme/cornerradius", ui->cornerRadius->value());
xml_set("/labwc_config/theme/name", ui->openboxTheme->currentText().toLatin1().data());
xml_set("/labwc_config/theme/dropShadows", ui->dropShadows->currentText().toLatin1().data());
xml_set("/labwc_config/libinput/device/naturalscroll",
ui->naturalScroll->currentText().toLatin1().data());
xml_set("/labwc_config/placement/policy", ui->placementPolicy->currentText().toLatin1().data());
xml_save();
/* ~/.config/labwc/environment */
environment_set("XCURSOR_THEME", ui->cursorTheme->currentText().toLatin1().data());
environment_set_num("XCURSOR_SIZE", ui->cursorSize->value());
/*
* We include variants in XKB_DEFAULT_LAYOUT, for example "latam(deadtilde),ru(phonetic),gr",
* so XKB_DEFAULT_VARIANT is set to empty.
*/
const char *layout = m_model->getXkbDefaultLayout();
if (layout && *layout) {
environment_set("XKB_DEFAULT_LAYOUT", layout);
environment_set("XKB_DEFAULT_VARIANT", "");
}
/* reconfigure labwc */
if (!fork()) {
execl("/bin/sh", "/bin/sh", "-c", "labwc -r", (void *)NULL);
}
}
07070100000050000081A400000000000000000000000167B64F290000021E000000000000000000000000000000000000003500000000labwc-tweaks-0~git.20250219.818c98b/src/maindialog.h#ifndef MAINDIALOG_H
#define MAINDIALOG_H
#include <QDialog>
#include "layoutmodel.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class MainDialog;
}
QT_END_NAMESPACE
class MainDialog : public QDialog
{
Q_OBJECT
public:
MainDialog(QWidget *parent = nullptr);
~MainDialog();
void activate();
private slots:
void addSelectedLayout(void);
void deleteSelectedLayout(void);
private:
LayoutModel *m_model;
void initConfig(std::string &config_file);
void onApply();
Ui::MainDialog *ui;
};
#endif // MAINDIALOG_H
07070100000051000081A400000000000000000000000167B64F290000284D000000000000000000000000000000000000003600000000labwc-tweaks-0~git.20250219.818c98b/src/maindialog.ui<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainDialog</class>
<widget class="QDialog" name="MainDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>640</width>
<height>480</height>
</rect>
</property>
<layout class="QVBoxLayout" name="layout">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item>
<widget class="QListWidget" name="list">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::SizeAdjustPolicy::AdjustToContents</enum>
</property>
<property name="currentRow">
<number>0</number>
</property>
<item>
<property name="text">
<string>Appearance</string>
</property>
<property name="icon">
<iconset theme="applications-graphics"/>
</property>
</item>
<item>
<property name="text">
<string>Behaviour</string>
</property>
<property name="icon">
<iconset theme="preferences-desktop"/>
</property>
</item>
<item>
<property name="text">
<string>Mouse & Touchpad</string>
</property>
<property name="icon">
<iconset theme="input-mouse"/>
</property>
</item>
<item>
<property name="text">
<string>Language & Region</string>
</property>
<property name="icon">
<iconset theme="preferences-desktop-locale"/>
</property>
</item>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="stack">
<widget class="QWidget" name="page1">
<layout class="QFormLayout" name="layPage1">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Labwc Theme</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="openboxTheme"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Corner Radius</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="cornerRadius"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Drop Shadows</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="dropShadows"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="page">
<layout class="QFormLayout" name="layPage">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Placement Policy</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="placementPolicy"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="page2">
<layout class="QFormLayout" name="layPage2">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Cursor Theme</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cursorTheme"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Cursor Size</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="cursorSize"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Natural Scroll</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="naturalScroll"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="page3">
<layout class="QFormLayout" name="layPage3">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Keyboard Layout</string>
</property>
</widget>
</item>
<item row="0" column="1">
<layout class="QVBoxLayout" name="multiKeyboardLayout">
<item>
<widget class="QListView" name="layoutView">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>72</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="layoutCombo"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="layoutAdd">
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="layoutRemove">
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Apply|QDialogButtonBox::StandardButton::Close</set>
</property>
<property name="centerButtons">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>MainDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>MainDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>list</sender>
<signal>currentRowChanged(int)</signal>
<receiver>stack</receiver>
<slot>setCurrentIndex(int)</slot>
<hints>
<hint type="sourcelabel">
<x>145</x>
<y>248</y>
</hint>
<hint type="destinationlabel">
<x>459</x>
<y>248</y>
</hint>
</hints>
</connection>
</connections>
</ui>
07070100000052000081A400000000000000000000000167B64F29000017CA000000000000000000000000000000000000003000000000labwc-tweaks-0~git.20250219.818c98b/src/theme.c// SPDX-License-Identifier: GPL-2.0-only
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <dirent.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/stat.h>
#include <unistd.h>
#include "theme.h"
static struct theme *
grow_vector_by_one_theme(struct themes *themes)
{
if (themes->nr == themes->alloc) {
themes->alloc = (themes->alloc + 16) * 2;
themes->data = realloc(themes->data, themes->alloc * sizeof(struct theme));
}
struct theme *theme = themes->data + themes->nr;
memset(theme, 0, sizeof(*theme));
themes->nr++;
return theme;
}
static bool
vector_contains(struct themes *themes, const char *needle)
{
assert(needle);
for (int i = 0; i < themes->nr; ++i) {
struct theme *theme = themes->data + i;
if (!theme || !theme->name) {
continue;
}
if ((!strcmp(theme->name, needle))) {
return true;
}
}
return false;
}
static bool
isdir(const char *path, const char *dirname)
{
char buf[4096];
snprintf(buf, sizeof(buf), "%s/%s", path, dirname);
struct stat st;
return (!stat(buf, &st) && S_ISDIR(st.st_mode));
}
/**
* add_theme_if_icon_theme - add theme iff it is a proper icon theme
* @themes: vector
* @path: path to directory to search in
* The criteria for deciding if a icon theme is a "proper icon theme" is to
* verify the existance of a subdirectory other than "cursors"
*/
static void
add_theme_if_icon_theme(struct themes *themes, const char *path)
{
struct dirent *entry;
DIR *dp;
struct stat st;
dp = opendir(path);
if (!dp) {
return;
}
while ((entry = readdir(dp))) {
if (entry->d_name[0] == '.' || !isdir(path, entry->d_name)) {
continue;
}
char buf[4096];
snprintf(buf, sizeof(buf), "%s/%s", path, entry->d_name);
/* filter 'hicolor' as it is not a complete icon set */
if (strstr(buf, "hicolor") != NULL) {
continue;
}
/* process subdirectories within the theme directory */
struct dirent *sub_entry;
DIR *sub_dp;
sub_dp = opendir(buf);
if (!sub_dp) {
return;
}
/*
* Add theme if directory other than 'cursors' exists.
* This could be "scalable", "22x22", or whatever...
*/
while ((sub_entry = readdir(sub_dp))) {
if (sub_entry->d_name[0] == '.' || !isdir(buf, sub_entry->d_name)) {
continue;
}
if (!strcmp(sub_entry->d_name, "cursors")) {
continue;
}
/* We've found a directory other than "cursors"! */
struct theme *theme = NULL;
if (!stat(buf, &st)) {
theme = grow_vector_by_one_theme(themes);
theme->name = strdup(entry->d_name);
theme->path = strdup(buf);
}
break;
}
closedir(sub_dp);
}
closedir(dp);
}
/**
* process_dir - find themes and store them in vector
* @themes: vector
* @path: path to directory to search in
* @filename: filename for which a successful stat will count as 'found theme',
* using the schema @path/<themename>/@filename
*
* For example, to find the Numix openbox theme at
* /usr/share/themes/Numix/openbox-3/themerc, the following parameters would
* be used:
* @path = "/usr/share/themes"
* @filename = "openbox-3/themerc"
*/
static void
process_dir(struct themes *themes, const char *path, const char *filename)
{
struct dirent *entry;
DIR *dp;
struct stat st;
struct theme *theme = NULL;
dp = opendir(path);
if (!dp) {
return;
}
while ((entry = readdir(dp))) {
if (entry->d_name[0] != '.' && isdir(path, entry->d_name)) {
char buf[4096];
snprintf(buf, sizeof(buf), "%s/%s/%s", path, entry->d_name, filename);
/* filter 'hicolor' as it is not a complete icon set */
if (strstr(buf, "hicolor") != NULL) {
continue;
}
if (!stat(buf, &st) && !vector_contains(themes, entry->d_name)) {
theme = grow_vector_by_one_theme(themes);
theme->name = strdup(entry->d_name);
theme->path = strdup(buf);
}
}
}
closedir(dp);
}
/* Sort system themes in alphabetical order */
static int
compare(const void *a, const void *b)
{
const struct theme *theme_a = (struct theme *)a;
const struct theme *theme_b = (struct theme *)b;
return strcasecmp(theme_a->name, theme_b->name);
}
static struct {
const char *prefix;
const char *path;
} dirs[] = {
{ "XDG_DATA_HOME", "" },
{ "HOME", ".local/share" },
{ "XDG_DATA_DIRS", "" },
{ NULL, "/usr/share" },
{ NULL, "/usr/local/share" },
{ NULL, "/opt/share" },
};
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
void
theme_find(struct themes *themes, const char *middle, const char *end)
{
struct theme *theme = NULL;
/*
* Always start with an empty entry to allow users to set it to nothing
* to use default values.
*/
theme = grow_vector_by_one_theme(themes);
theme->name = strdup("");
char path[4096];
for (uint32_t i = 0; i < ARRAY_SIZE(dirs); ++i) {
if (dirs[i].prefix) {
char *prefix = getenv(dirs[i].prefix);
if (!prefix) {
continue;
}
snprintf(path, sizeof(path), "%s/%s/%s", prefix, dirs[i].path, middle);
} else {
snprintf(path, sizeof(path), "%s/%s", dirs[i].path, middle);
}
if (end) {
/*
* Add theme <themename> if
* "$DATA_DIR/@middle/<themename>/@end" exists
*/
process_dir(themes, path, end);
} else {
/*
* Add icon theme iff "$DATA_DIR/@middle/<themename>/"
* contains a subdirectory other than "cursors".
* Note: searching for index.theme only is not good
* enough because some cursor themes contain the same
* file and some themes contain both cursors and icons.
*/
add_theme_if_icon_theme(themes, path);
}
}
/*
* In some distros Adwaita is built-in to gtk+-3.0 and subsequently no
* theme dir exists. In this case we add it manually.
*/
if (!vector_contains(themes, "Adwaita")) {
theme = grow_vector_by_one_theme(themes);
theme->name = strdup("Adwaita");
theme->path = NULL;
}
qsort(themes->data, themes->nr, sizeof(struct theme), compare);
}
void
theme_free_vector(struct themes *themes)
{
for (int i = 0; i < themes->nr; ++i) {
struct theme *theme = themes->data + i;
free(theme->name);
free(theme->path);
}
free(themes->data);
themes->data = NULL;
}
07070100000053000081A400000000000000000000000167B64F290000015A000000000000000000000000000000000000003000000000labwc-tweaks-0~git.20250219.818c98b/src/theme.h/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef THEME_H
#define THEME_H
#include <stdbool.h>
struct theme {
char *name;
char *path;
};
struct themes {
struct theme *data;
int nr, alloc;
};
void theme_find(struct themes *themes, const char *middle, const char *end);
void theme_free_vector(struct themes *themes);
#endif /* THEME_H */
07070100000054000081A400000000000000000000000167B64F2900001C42000000000000000000000000000000000000002E00000000labwc-tweaks-0~git.20250219.818c98b/src/xml.c// SPDX-License-Identifier: GPL-2.0-only
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <ctype.h>
#include <glib.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include "xml.h"
static struct ctx {
char *filename;
xmlDoc *doc;
xmlXPathContextPtr xpath_ctx_ptr;
const char *nodename;
const char *value;
xmlNode *node;
enum {
XML_MODE_SETTING = 0,
XML_MODE_GETTING,
} mode;
} ctx;
static void
entry(xmlNode *node, char *nodename, char *content)
{
if (!nodename)
return;
if (!strcasecmp(nodename, ctx.nodename)) {
if (ctx.mode == XML_MODE_SETTING) {
xmlNodeSetContent(node, (const xmlChar *)ctx.value);
} else if (ctx.mode == XML_MODE_GETTING) {
ctx.value = (char *)content;
ctx.node = node;
}
}
}
/**
* nodename - return simplistic xpath style nodename
* For example: <A><B><C></C></B></A> is represented by nodename /a/b/c
*/
static char *
nodename(xmlNode *node, char *buf, int len)
{
if (!node || !node->name) {
return NULL;
}
/* Ignore superflous '/text' in node name */
if (node->parent && !strcmp((char *)node->name, "text")) {
node = node->parent;
}
buf += len;
*--buf = 0;
len--;
for (;;) {
const char *name = (char *)node->name;
int i = strlen(name);
while (--i >= 0) {
unsigned char c = name[i];
*--buf = tolower(c);
if (!--len)
return buf;
}
node = node->parent;
if (!node || !node->name) {
*--buf = '/';
return buf;
}
*--buf = '/';
if (!--len)
return buf;
}
}
static void
process_node(xmlNode *node)
{
char *content;
static char buffer[256];
char *name;
content = (char *)node->content;
if (xmlIsBlankNode(node)) {
return;
}
name = nodename(node, buffer, sizeof(buffer));
entry(node, name, content);
}
static void xml_tree_walk(xmlNode *node);
static void
traverse(xmlNode *n)
{
process_node(n);
for (xmlAttr *attr = n->properties; attr; attr = attr->next) {
xml_tree_walk(attr->children);
}
xml_tree_walk(n->children);
}
static void
xml_tree_walk(xmlNode *node)
{
for (xmlNode *n = node; n && n->name; n = n->next) {
if (!strcasecmp((char *)n->name, "comment")) {
continue;
}
traverse(n);
}
}
static const char rcxml_template[] =
"<?xml version=\"1.0\"?>\n"
"<labwc_config>\n"
" <core>\n"
" </core>\n"
"</labwc_config>\n";
static void
create_basic_rcxml(const char *filename)
{
FILE *file = fopen(filename, "w");
if (!file) {
fprintf(stderr, "warn: fopen(%s) failed\n", filename);
return;
}
if (!fwrite(rcxml_template, sizeof(rcxml_template)-1, 1, file)) {
fprintf(stderr, "warn: error writing to %s", filename);
}
fclose(file);
}
void
xml_init(const char *filename)
{
LIBXML_TEST_VERSION
if (access(filename, F_OK)) {
create_basic_rcxml(filename);
}
/* Use XML_PARSE_NOBLANKS for xmlSaveFormatFile() to indent properly */
ctx.filename = strdup(filename);
ctx.doc = xmlReadFile(filename, NULL, XML_PARSE_NOBLANKS);
if (!ctx.doc) {
fprintf(stderr, "warn: xmlReadFile('%s')\n", filename);
}
ctx.xpath_ctx_ptr = xmlXPathNewContext(ctx.doc);
if (!ctx.xpath_ctx_ptr) {
fprintf(stderr, "warn: xmlXPathNewContext()\n");
xmlFreeDoc(ctx.doc);
}
}
void
xml_save(void)
{
xmlSaveFormatFile(ctx.filename, ctx.doc, 1);
}
void
xml_save_as(const char *filename)
{
xmlSaveFormatFile(filename, ctx.doc, 1);
}
void
xml_finish(void)
{
xmlXPathFreeContext(ctx.xpath_ctx_ptr);
xmlFreeDoc(ctx.doc);
xmlCleanupParser();
free(ctx.filename);
}
void
xml_set(const char *nodename, const char *value)
{
ctx.nodename = nodename;
ctx.value = value;
ctx.mode = XML_MODE_SETTING;
xml_tree_walk(xmlDocGetRootElement(ctx.doc));
}
void
xml_set_num(const char *nodename, double value)
{
char buf[64];
snprintf(buf, sizeof(buf), "%.0f", value);
ctx.nodename = nodename;
ctx.value = buf;
ctx.mode = XML_MODE_SETTING;
xml_tree_walk(xmlDocGetRootElement(ctx.doc));
}
const char *
xml_get(const char *nodename)
{
ctx.nodename = nodename;
ctx.mode = XML_MODE_GETTING;
xml_tree_walk(xmlDocGetRootElement(ctx.doc));
return ctx.value;
}
int
xml_get_int(const char *nodename)
{
ctx.nodename = nodename;
ctx.mode = XML_MODE_GETTING;
xml_tree_walk(xmlDocGetRootElement(ctx.doc));
return ctx.value ? atoi(ctx.value) : 0;
}
int
xml_get_bool_text(const char *nodename)
{
const char *value = xml_get(nodename);
/* handle <foo></foo> and <foo /> where no value has been specified */
if (!value || !*value) {
return -1;
}
if (!strcasecmp(value, "yes") || !strcasecmp(value, "true")) {
return 1;
} else if (!strcasecmp(value, "no") || !strcasecmp(value, "false")) {
return 0;
} else {
return -1;
}
}
/* case-insensitive */
static xmlNode *
xml_get_node(const char *nodename)
{
ctx.node = NULL;
ctx.nodename = nodename;
ctx.mode = XML_MODE_GETTING;
xml_tree_walk(xmlDocGetRootElement(ctx.doc));
return ctx.node;
}
char *
xpath_get_content(const char *xpath_expr)
{
xmlChar *ret = NULL;
xmlXPathObjectPtr object = xmlXPathEvalExpression((xmlChar *)xpath_expr, ctx.xpath_ctx_ptr);
if (!object) {
fprintf(stderr, "warn: xmlXPathEvalExpression()\n");
return NULL;
}
if (!object->nodesetval) {
fprintf(stderr, "warn: no nodesetval\n");
goto out;
}
for (int i = 0; i < object->nodesetval->nodeNr; i++) {
if (!object->nodesetval->nodeTab[i]) {
continue;
}
/* Just grab the first node and go */
ret = xmlNodeGetContent(object->nodesetval->nodeTab[i]);
goto out;
/*
* We could process the node here and do things like:
* xmlNode *children = object->nodesetval->nodeTab[i]->children;
* for (xmlNode *cur = children; cur; cur = cur->next) { }
*/
}
out:
xmlXPathFreeObject(object);
return (char *)ret;
}
/* case-sensitive */
static xmlNode *
xpath_get_node(xmlChar *expr)
{
xmlNode *ret = NULL;
xmlXPathObjectPtr object = xmlXPathEvalExpression(expr, ctx.xpath_ctx_ptr);
if (!object) {
fprintf(stderr, "warn: xmlXPathEvalExpression()\n");
return NULL;
}
if (!object->nodesetval) {
fprintf(stderr, "warn: no nodesetval\n");
goto out2;
}
for (int i = 0; i < object->nodesetval->nodeNr; i++) {
if (!object->nodesetval->nodeTab[i]) {
continue;
}
ret = object->nodesetval->nodeTab[i];
break;
}
out2:
xmlXPathFreeObject(object);
return ret;
}
void
xpath_add_node(const char *xpath_expr)
{
if (xml_get_node(xpath_expr)) {
return;
}
/* find existing parent */
char *parent_expr = strdup(xpath_expr);
xmlNode *parent_node = NULL;
while (parent_expr && *parent_expr) {
parent_node = xpath_get_node((xmlChar *)parent_expr);
if (parent_node) {
break;
}
char *p = strrchr(parent_expr, '/');
if (p && *p) {
*p = '\0';
} else {
break;
}
}
assert(parent_expr);
if (!*parent_expr) {
/* the whole xpath expression is new, so add to root */
parent_node = xmlDocGetRootElement(ctx.doc);
}
/* add new nodes */
gchar **nodes = g_strsplit(xpath_expr + strlen(parent_expr), "/", -1);
for (gchar **s = nodes; *s; s++) {
if (*s && **s) {
parent_node = xmlNewChild(parent_node, NULL, (xmlChar *)*s, NULL);
}
}
g_free(parent_expr);
g_strfreev(nodes);
}
07070100000055000081A400000000000000000000000167B64F2900000369000000000000000000000000000000000000002E00000000labwc-tweaks-0~git.20250219.818c98b/src/xml.h/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __XML_H
#define __XML_H
void xml_init(const char *filename);
void xml_save(void);
void xml_save_as(const char *filename);
void xml_finish(void);
void xml_set(const char *nodename, const char *value);
void xml_set_num(const char *nodename, double value);
const char *xml_get(const char *nodename);
int xml_get_int(const char *nodename);
int xml_get_bool_text(const char *nodename);
/**
* xpath_get_content() - Get content of node specified by xpath
* @xpath_expr: xpath expression for node
*/
char *xpath_get_content(const char *xpath_expr);
/**
* xpath_add_node - add xml nodes from xpath
* @xpath_expr: xpath expression for new node
* For example xpath_expr="/labwc_config/a/b/c" creates
* <labwc_config><a><b><c /></b></a></labwc_config>
*/
void xpath_add_node(const char *xpath_expr);
#endif /* __XML_H */
07070100000056000041ED00000000000000000000000267B64F2900000000000000000000000000000000000000000000002A00000000labwc-tweaks-0~git.20250219.818c98b/tests07070100000057000081A400000000000000000000000167B64F2900000A9B000000000000000000000000000000000000004100000000labwc-tweaks-0~git.20250219.818c98b/tests/t1000-add-xpath-node.c#define _POSIX_C_SOURCE 200809L
#include <glib.h>
#include <stdbool.h>
#include <stdio.h>
#include <unistd.h>
#include "tap.h"
#include "../src/xml.h"
static char template[] =
"<?xml version=\"1.0\"?>\n"
"<labwc_config>\n"
" <core>\n"
" <gap/>\n"
" </core>\n"
"</labwc_config>\n";
void show_diff(const char *filename, const char *buf, size_t size)
{
char cmd[1000];
snprintf(cmd, sizeof(cmd), "diff -u - %s >&2", filename);
FILE *f = popen(cmd, "w");
fwrite(buf, size, 1, f);
pclose(f);
}
void test(const char *filename, const char *expect)
{
gsize length; gchar *actual;
g_file_get_contents(filename, &actual, &length, NULL);
bool is_equal = strcmp(actual, expect) == 0;
ok1(is_equal);
if (!is_equal)
show_diff(filename, expect, strlen(expect));
g_free(actual);
}
int main(int argc, char **argv)
{
char in[] = "/tmp/t1000-expect_XXXXXX";
char out[] = "/tmp/t1000-actual";
plan(4);
int fd = mkstemp(in);
if (fd < 0)
exit(EXIT_FAILURE);
write(fd, template, sizeof(template) - 1);
/* test 1 */
diag("add node <theme><cornerradius> using xpath (lowercase)");
xml_init(in);
xpath_add_node("/labwc_config/theme/cornerradius");
xml_save_as(out);
xml_finish();
test(out,
"<?xml version=\"1.0\"?>\n"
"<labwc_config>\n"
" <core>\n"
" <gap/>\n"
" </core>\n"
" <theme>\n"
" <cornerradius/>\n"
" </theme>\n"
"</labwc_config>\n");
/* test 2 */
diag("add node <theme><cornerRadius> using xpath (camelCase)");
xml_init(in);
xpath_add_node("/labwc_config/theme/cornerRadius");
xml_save_as(out);
xml_finish();
test(out,
"<?xml version=\"1.0\"?>\n"
"<labwc_config>\n"
" <core>\n"
" <gap/>\n"
" </core>\n"
" <theme>\n"
" <cornerRadius/>\n"
" </theme>\n"
"</labwc_config>\n");
/* test 3 */
diag("check xpath does not add duplicate entries - when identical");
xml_init(in);
xpath_add_node("/labwc_config/theme/cornerradius");
xpath_add_node("/labwc_config/theme/cornerradius");
xml_save_as(out);
xml_finish();
test(out,
"<?xml version=\"1.0\"?>\n"
"<labwc_config>\n"
" <core>\n"
" <gap/>\n"
" </core>\n"
" <theme>\n"
" <cornerradius/>\n"
" </theme>\n"
"</labwc_config>\n");
/* test 4 */
diag("check xpath does not add duplicate entries - even if they have differing capitalisation");
xml_init(in);
xpath_add_node("/labwc_config/theme/cornerradius");
xpath_add_node("/labwc_config/theme/Cornerradius");
xml_save_as(out);
xml_finish();
test(out,
"<?xml version=\"1.0\"?>\n"
"<labwc_config>\n"
" <core>\n"
" <gap/>\n"
" </core>\n"
" <theme>\n"
" <cornerradius/>\n"
" </theme>\n"
"</labwc_config>\n");
unlink(in);
unlink(out);
return exit_status();
}
07070100000058000081A400000000000000000000000167B64F29000003E6000000000000000000000000000000000000003C00000000labwc-tweaks-0~git.20250219.818c98b/tests/t1001-nodenames.c#define _POSIX_C_SOURCE 200809L
#include <glib.h>
#include <stdbool.h>
#include <stdio.h>
#include <unistd.h>
#include "tap.h"
#include "../src/xml.c"
static char template[] =
"<?xml version=\"1.0\"?>\n"
"<labwc_config>\n"
" <core>\n"
" <gap/>\n"
" </core>\n"
"</labwc_config>\n";
void test(const char *nodename, const char *expect)
{
bool is_equal = strcmp(nodename, expect) == 0;
ok1(is_equal);
if (!is_equal)
fprintf(stderr, "%s\n%s\n", nodename, expect);
}
int main(int argc, char **argv)
{
char in[] = "/tmp/t1001-expect_XXXXXX";
static char buffer[256] = { 0 };
plan(1);
int fd = mkstemp(in);
if (fd < 0)
exit(EXIT_FAILURE);
write(fd, template, sizeof(template) - 1);
/* test 1 */
diag("generate simple xpath style nodename");
xml_init(in);
xmlNode *node = xpath_get_node((xmlChar *)"/labwc_config/core/gap");
char *name = nodename(node, buffer, sizeof(buffer));
xml_finish();
test(name, "/labwc_config/core/gap");
unlink(in);
return exit_status();
}
07070100000059000081A400000000000000000000000167B64F2900000518000000000000000000000000000000000000003000000000labwc-tweaks-0~git.20250219.818c98b/tests/tap.c#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include <unistd.h>
#include <stdbool.h>
#include "tap.h"
static int nr_tests_run;
static int nr_tests_expected;
static int nr_tests_failed;
void plan(int nr_tests)
{
static bool run_once;
if (run_once)
return;
run_once = true;
printf("1..%d\n", nr_tests);
nr_tests_expected = nr_tests;
}
void diag(const char *fmt, ...)
{
va_list params;
fprintf(stdout, "# ");
va_start(params, fmt);
vfprintf(stdout, fmt, params);
va_end(params);
fprintf(stdout, "\n");
}
int ok(int result, const char *testname, ...)
{
va_list params;
++nr_tests_run;
if (!result) {
printf("not ");
nr_tests_failed++;
}
printf("ok %d", nr_tests_run);
if (testname) {
printf(" - ");
va_start(params, testname);
vfprintf(stdout, testname, params);
va_end(params);
}
printf("\n");
if (!result)
diag(" Failed test");
return result ? 1 : 0;
}
int exit_status(void)
{
int ret;
if (nr_tests_expected != nr_tests_run) {
diag("expected=%d; run=%d; failed=%d", nr_tests_expected,
nr_tests_run, nr_tests_failed);
}
if (nr_tests_expected < nr_tests_run)
ret = nr_tests_run - nr_tests_expected;
else
ret = nr_tests_failed + nr_tests_expected - nr_tests_run;
if (ret > 255)
ret = 255;
return ret;
}
0707010000005A000081A400000000000000000000000167B64F2900000132000000000000000000000000000000000000003000000000labwc-tweaks-0~git.20250219.818c98b/tests/tap.h/*
* Minimalist, partial TAP implementation
*
* Copyright Johan Malm 2020
*/
#ifndef TAP_H
#define TAP_H
#define ok1(__x__) (ok(__x__, "%s", #__x__))
void plan(int nr_tests);
void diag(const char *fmt, ...);
int ok(int result, const char *test_name, ...);
int exit_status(void);
#endif /* TAP_H */
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000B00000000TRAILER!!!440 blocks