commit 1d96dee67a7c313e2c3e3a64dd9a0e513441e579 Author: Andrew Lee (李健秋) Date: Wed Aug 12 05:28:41 2015 +0800 Adding upstream version 0.9.0. Signed-off-by: Andrew Lee (李健秋) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..190d298 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,10 @@ +Upstream Authors: + LXQt team: http://lxqt.org + Razor team: http://razor-qt.org + +Copyright: + Copyright (c) 2010-2012 Razor team + Copyright (c) 2012-2014 LXQt team + +License: GPL-2 and LGPL-2.1+ +The full text of the licenses can be found in the 'COPYING' file. diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..35d3ae2 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,43 @@ +cmake_minimum_required(VERSION 2.8.11) + +project(lxqt-session) + +option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF) + +# additional cmake files +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) +set(CMAKE_POSITION_INDEPENDENT_CODE ON) +set(CMAKE_AUTOMOC ON) + +find_package(KF5WindowSystem REQUIRED) +find_package(Qt5Widgets REQUIRED QUIET) +find_package(Qt5DBus REQUIRED QUIET) +find_package(Qt5X11Extras REQUIRED QUIET) +find_package(Qt5LinguistTools REQUIRED QUIET) +find_package(Qt5Xdg REQUIRED QUIET) + +find_package(lxqt REQUIRED QUIET) +include(${LXQT_USE_FILE}) + +include(LXQtTranslate) + +find_package(PkgConfig REQUIRED QUIET) +pkg_check_modules(XCB REQUIRED xcb) +find_package(X11 REQUIRED) + +add_subdirectory(lxqt-session) +add_subdirectory(lxqt-config-session) +add_subdirectory(lxqtleave) + +# building tarball with CPack ------------------------------------------------- +include(InstallRequiredSystemLibraries) +set(CPACK_PACKAGE_VERSION_MAJOR ${LXQT_MAJOR_VERSION}) +set(CPACK_PACKAGE_VERSION_MINOR ${LXQT_MINOR_VERSION}) +set(CPACK_PACKAGE_VERSION_PATCH ${LXQT_PATCH_VERSION}) +set(CPACK_GENERATOR TBZ2) +set(CPACK_SOURCE_GENERATOR TBZ2) +set(CPACK_SOURCE_IGNORE_FILES /build/;.gitignore;.*~;.git;.kdev4;temp) +include(CPack) + diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..a8dd823 --- /dev/null +++ b/COPYING @@ -0,0 +1,461 @@ + + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, 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. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations +below. + + When we speak of free software, we are referring to freedom of use, +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 and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it +becomes a de-facto standard. To achieve this, non-free programs must +be allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, 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 library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete 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 distribute a copy of this License along with the +Library. + + 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 Library or any portion +of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +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 Library, 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 Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you 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. + + If distribution of 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 satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least + three years, to give the same user the materials specified in + Subsection 6a, above, for a charge no more than the cost of + performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be 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. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library 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. + + 9. 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 Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +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 with +this License. + + 11. 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 Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library 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 Library. + +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. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library 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. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser 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 Library +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 Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +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 + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "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 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. 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 LIBRARY 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 +LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/cmake/LxQtLibSuffix.cmake b/cmake/LxQtLibSuffix.cmake new file mode 100644 index 0000000..def4427 --- /dev/null +++ b/cmake/LxQtLibSuffix.cmake @@ -0,0 +1,28 @@ +# some system (rpm builds) setup LIB_SUFFIX for cmake. If there is no set, try to get it from system +if(NOT DEFINED LIB_SUFFIX AND NOT DEFINED LIB_SUFFIX_ALREADY_SET) + MESSAGE(STATUS "*********************************************************************") + MESSAGE(STATUS "LIB_SUFFIX variable is not defined. It will be autodetected now") + MESSAGE(STATUS "You can set it manually with -DLIB_SUFFIX= (64 for example)") + + # All 32bit system have empty lib suffix + if(CMAKE_SIZEOF_VOID_P EQUAL 8) + # If there is lib64 dir, set suffix to 64 + if(IS_DIRECTORY ${CMAKE_INSTALL_PREFIX}/lib64) + set(LIB_SUFFIX 64) + elseif(IS_DIRECTORY ${CMAKE_INSTALL_PREFIX}/lib) + set(LIB_SUFFIX "") + else() + message(WARNING "LIB_SUFFIX cannot be autodetected. No ${CMAKE_INSTALL_PREFIX}/lib neither ${CMAKE_INSTALL_PREFIX}/lib64 found.") + set(LIB_SUFFIX "") + endif() + else() + set(LIB_SUFFIX "") + endif() + + set(LIB_SUFFIX_ALREADY_SET 1) + + message(STATUS "LIB_SUFFIX autodetected as '${LIB_SUFFIX}', libraries will be installed into ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}") + MESSAGE(STATUS "*********************************************************************") +else() + message(STATUS "LIB_SUFFIX already set: ${LIB_SUFFIX}") +endif() diff --git a/lxqt-config-session/CMakeLists.txt b/lxqt-config-session/CMakeLists.txt new file mode 100644 index 0000000..d128c31 --- /dev/null +++ b/lxqt-config-session/CMakeLists.txt @@ -0,0 +1,81 @@ +project(lxqt-config-session) + +include_directories( + "${CMAKE_SOURCE_DIR}" + "${CMAKE_CURRENT_BINARY_DIR}" + "${CMAKE_CURRENT_SOURCE_DIR}" +) + +set(lxqt-sessioncfg_HDRS + sessionconfigwindow.h + basicsettings.h + modulemodel.h + autostartpage.h + autostartmodel.h + autostartitem.h + autostartedit.h + defaultappspage.h + environmentpage.h +) + +set(lxqt-sessioncfg_SRCS + main.cpp + sessionconfigwindow.cpp + basicsettings.cpp + modulemodel.cpp + autostartpage.cpp + autostartmodel.cpp + autostartitem.cpp + autostartedit.cpp + defaultappspage.cpp + environmentpage.cpp + ../lxqt-session/src/windowmanager.cpp +) + +set(lxqt-sessioncfg_UI_FILES + basicsettings.ui + autostartpage.ui + autostartedit.ui + defaultappspage.ui + environmentpage.ui +) + +qt5_wrap_ui(lxqt-sessioncfg_UIS ${lxqt-sessioncfg_UI_FILES}) + +# Translations +lxqt_translate_ts(lxqt-sessioncfg_QM_FILES + UPDATE_TRANSLATIONS + ${UPDATE_TRANSLATIONS} + SOURCES + ${lxqt-sessioncfg_HDRS} + ${lxqt-sessioncfg_SRCS} + ${lxqt-sessioncfg_UI_FILES} + INSTALL_DIR + "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" +) + +lxqt_app_translation_loader(lxqt-sessioncfg_QM_LOADER ${PROJECT_NAME}) +lxqt_translate_desktop(lxqt-sessioncfg_DESKTOP_FILES SOURCES lxqt-config-session.desktop.in) + +add_executable(lxqt-config-session + ${lxqt-sessioncfg_SRCS} + ${lxqt-sessioncfg_UIS} + ${lxqt-sessioncfg_DESKTOP_FILES} + ${lxqt-sessioncfg_QM_FILES} + ${lxqt-sessioncfg_QM_LOADER}) + +target_link_libraries(lxqt-config-session + KF5::WindowSystem + Qt5::Widgets + Qt5::DBus + Qt5::X11Extras + ${LXQT_LIBRARIES} + ${QTXDG_LIBRARIES} +) + +INSTALL(TARGETS lxqt-config-session RUNTIME DESTINATION bin) +install(FILES + ${lxqt-sessioncfg_DESKTOP_FILES} + DESTINATION + ${CMAKE_INSTALL_PREFIX}/share/applications +) diff --git a/lxqt-config-session/autostartedit.cpp b/lxqt-config-session/autostartedit.cpp new file mode 100644 index 0000000..f7d66a7 --- /dev/null +++ b/lxqt-config-session/autostartedit.cpp @@ -0,0 +1,67 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2011 Alec Moskvin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include + +#include "autostartedit.h" +#include "ui_autostartedit.h" + +AutoStartEdit::AutoStartEdit(QString name, QString command, bool needTray, QWidget *parent) : + QDialog(parent), + ui(new Ui::AutoStartEdit) +{ + ui->setupUi(this); + ui->nameEdit->setFocus(); + ui->nameEdit->setText(name); + ui->commandEdit->setText(command); + ui->trayCheckBox->setChecked(needTray); + connect(ui->browseButton, SIGNAL(clicked()), SLOT(browse())); +} + +QString AutoStartEdit::name() +{ + return ui->nameEdit->text(); +} + +QString AutoStartEdit::command() +{ + return ui->commandEdit->text(); +} + +bool AutoStartEdit::needTray() +{ + return ui->trayCheckBox->isChecked(); +} + +void AutoStartEdit::browse() +{ + QString filePath = QFileDialog::getOpenFileName(this, tr("Select Application"), "/usr/bin/"); + if (!filePath.isEmpty()) + ui->commandEdit->setText(filePath); +} + +AutoStartEdit::~AutoStartEdit() +{ + delete ui; +} diff --git a/lxqt-config-session/autostartedit.h b/lxqt-config-session/autostartedit.h new file mode 100644 index 0000000..c83cf73 --- /dev/null +++ b/lxqt-config-session/autostartedit.h @@ -0,0 +1,52 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2011 Alec Moskvin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef AUTOSTARTEDIT_H +#define AUTOSTARTEDIT_H + +#include + +namespace Ui { +class AutoStartEdit; +} + +class AutoStartEdit : public QDialog +{ + Q_OBJECT + +public: + explicit AutoStartEdit(QString name, QString command, bool needTray, QWidget* parent = 0); + ~AutoStartEdit(); + QString name(); + QString command(); + bool needTray(); + +private slots: + void browse(); + +private: + Ui::AutoStartEdit *ui; +}; + +#endif // AUTOSTARTEDIT_H diff --git a/lxqt-config-session/autostartedit.ui b/lxqt-config-session/autostartedit.ui new file mode 100644 index 0000000..16f14f8 --- /dev/null +++ b/lxqt-config-session/autostartedit.ui @@ -0,0 +1,105 @@ + + + AutoStartEdit + + + + 0 + 0 + 296 + 118 + + + + Edit + + + + + + Name: + + + + + + + Search... + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + + Command: + + + + + + + + + + Wait for system tray + + + + + + + nameEdit + commandEdit + trayCheckBox + buttonBox + browseButton + + + + + buttonBox + accepted() + AutoStartEdit + accept() + + + 254 + 96 + + + 157 + 102 + + + + + buttonBox + rejected() + AutoStartEdit + reject() + + + 322 + 96 + + + 286 + 102 + + + + + diff --git a/lxqt-config-session/autostartitem.cpp b/lxqt-config-session/autostartitem.cpp new file mode 100644 index 0000000..9999af6 --- /dev/null +++ b/lxqt-config-session/autostartitem.cpp @@ -0,0 +1,75 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2012 Alec Moskvin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include "autostartitem.h" +#include +#include +#include + +AutostartItem::AutostartItem() : + LxQt::AutostartEntry() +{ +} + +AutostartItem::AutostartItem(const XdgDesktopFile& systemFile) : + LxQt::AutostartEntry() +{ + mSystemFile = systemFile; + mSystem = true; +} + +void AutostartItem::setLocalFromFile(const XdgDesktopFile& file) +{ + mLocalFile = file; + mLocalState = StateExists; +} + +QMap AutostartItem::createItemMap() +{ + QMap items; + + XdgDesktopFileList systemList = XdgAutoStart::desktopFileList(XdgDirs::autostartDirs(), false); + foreach (const XdgDesktopFile& file, systemList) + { + QString name = QFileInfo(file.fileName()).fileName(); + items.insert(name, AutostartItem(file)); + } + + XdgDesktopFileList localList = XdgAutoStart::desktopFileList(QStringList(XdgDirs::autostartHome()), false); + foreach (const XdgDesktopFile& file, localList) + { + QString name = QFileInfo(file.fileName()).fileName(); + if (items.contains(name)) + { + items[name].setLocalFromFile(file); + } + else + { + AutostartItem item; + item.setLocalFromFile(file); + items.insert(name, item); + } + } + return items; +} diff --git a/lxqt-config-session/autostartitem.h b/lxqt-config-session/autostartitem.h new file mode 100644 index 0000000..b3dc2d8 --- /dev/null +++ b/lxqt-config-session/autostartitem.h @@ -0,0 +1,77 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2012 Alec Moskvin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef AUTOSTARTITEM_H +#define AUTOSTARTITEM_H + +#include + +/*! \brief The AutostartItem class provides an interface for staging configuration of individual +autostart items. All changes are made in memory until commit() is called. + + - "system" file refers to a read-only file in /etc/xdg/autostart (or a directory in $XDG_CONFIG_DIRS) + - "local" file refers to the file in user's ~/.config/autostart (or in $XDG_CONFIG_HOME/autostart) + +When a "local" file has the same name as the "system" file, the local one overrides it. This class +tries to ensure that the "local" file is deleted if it's the same as the "system" file. +*/ + +class AutostartItem : public LxQt::AutostartEntry +{ +public: + //! \brief Default constructor + AutostartItem(); + + /*! Creates an autostart item with a "system" file + * \param systemFile + */ + AutostartItem(const XdgDesktopFile& systemFile); + + //! Returns the "system" file + const XdgDesktopFile& systemfile() const { return mSystemFile; } + + /*! Sets the local version that exists on disk + * \param file the desktop file, must already exist in user's autostart directory + */ + void setLocalFromFile(const XdgDesktopFile &file); + + /*! Removes the "local" version of the file + * \return true if there is no "system" version left (i.e. the item was entirely deleted) + */ + bool removeLocal() { return LxQt::AutostartEntry::removeLocal(); } + + //! Returns true if both the "local" and "system" versions exist + bool overrides() const { return mSystem && isLocal(); } + + //! Returns true if the local version exists + bool isLocal() const { return LxQt::AutostartEntry::isLocal(); } + + //! Returns true if the local file does not exist on disk + bool isTransient() const { return mLocalState == StateTransient; } + + //! Creates a mapping of file name (a unique ID) to AutostartItem for the running system + static QMap createItemMap(); +}; + +#endif // AUTOSTARTITEM_H diff --git a/lxqt-config-session/autostartmodel.cpp b/lxqt-config-session/autostartmodel.cpp new file mode 100644 index 0000000..07d26d5 --- /dev/null +++ b/lxqt-config-session/autostartmodel.cpp @@ -0,0 +1,286 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LXQt - The Lightweight Desktop Environment + * http://lxqt.org + * + * Copyright (C) 2011 Alec Moskvin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include +#include +#include + +#include "autostartmodel.h" + +AutoStartItemModel::AutoStartItemModel(QObject* parent) : + QAbstractItemModel(parent), + mItemMap(AutostartItem::createItemMap()), + mGlobalIndex(QAbstractItemModel::createIndex(0, 0)), + mLXQtIndex(QAbstractItemModel::createIndex(1, 0)) +{ + QMap::iterator iter; + for (iter = mItemMap.begin(); iter != mItemMap.end(); ++iter) + { + if (!iter.value().file().value("X-LXQt-Module", false).toBool()) + { + if (showOnlyInLXQt(iter.value().file())) + mLXQtItems.append(iter.key()); + else + mGlobalItems.append(iter.key()); + } + } +} + +AutoStartItemModel::~AutoStartItemModel() +{ +} + +/* + * All actual file operations are perfomed here when the window is closed. + */ +bool AutoStartItemModel::writeChanges() +{ + foreach (AutostartItem item, mItemMap.values()) + item.commit(); + return true; +} + +/* + * Creates or replaces an autostart entry + */ +bool AutoStartItemModel::setEntry(const QModelIndex& index, XdgDesktopFile entry, bool overwrite) +{ + QModelIndex parent; + if (index.parent().isValid()) + parent = index.parent(); + else if (index.isValid()) + parent = index; + else + parent = mGlobalIndex; + + QString fileName = QFileInfo(entry.fileName()).fileName(); + bool replacing = mItemMap.contains(fileName); + if (!overwrite && replacing) + return false; + + if (parent == mLXQtIndex) + entry.setValue("OnlyShowIn", "LXQt;"); + + mItemMap[fileName].setFile(entry); + + if (replacing) + { + emit dataChanged(index, index); + return true; + } + + beginInsertRows(parent, 0, 0); + if (parent == mGlobalIndex) + mGlobalItems.append(fileName); + else + mLXQtItems.append(fileName); + endInsertRows(); + + return true; +} + +bool AutoStartItemModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ + if (role == Qt::CheckStateRole) + { + QString name; + if (index.parent() == mGlobalIndex) + name = mGlobalItems.value(index.row()); + else + name = mLXQtItems.value(index.row()); + + mItemMap[name].setEnabled(value == Qt::Checked); + emit dataChanged(index, index); + return true; + } + return false; +} + +/* + * When user clicks "Delete", removes the local item. If there is a "system" item, + * it replaces it. + */ +bool AutoStartItemModel::removeRow(int row, const QModelIndex& parent) +{ + if (!parent.isValid()) + return false; + QString item; + + if (parent == mGlobalIndex) + item = mGlobalItems[row]; + else + item = mLXQtItems[row]; + + if (!mItemMap[item].removeLocal()) + { + QModelIndex index = parent.child(row, 0); + emit dataChanged(index, index); + return false; + } + + beginRemoveRows(parent, row, row); + if (parent == mGlobalIndex) + mGlobalItems.removeAt(row); + else + mLXQtItems.removeAt(row); + endRemoveRows(); + + if (mItemMap.value(item).isEmpty()) + mItemMap.remove(item); + return true; +} + +QModelIndex AutoStartItemModel::index(int row, int column, const QModelIndex& parent) const +{ + if (!parent.isValid()) + { + if (row == 0) + return mGlobalIndex; + else if (row == 1) + return mLXQtIndex; + } + else if (parent == mGlobalIndex && row < mGlobalItems.size()) + return QAbstractItemModel::createIndex(row, column, (void*)&mGlobalItems[row]); + else if (parent == mLXQtIndex && row < mLXQtItems.size()) + return QAbstractItemModel::createIndex(row, column, (void*)&mLXQtItems[row]); + return QModelIndex(); +} + +QVariant AutoStartItemModel::data(const QModelIndex& index, int role) const +{ + if (!index.parent().isValid()) + { + if (role == Qt::DisplayRole) + { + if (index.row() == 0) + return QString(tr("Global Autostart")); + else if (index.row() == 1) + return QString(tr("LXQt Autostart")); + } + return QVariant(); + } + + QString name = indexToName(index); + const AutostartItem& item = mItemMap.value(name); + if (role == Qt::DisplayRole) + { + QString title = item.file().name(); + if (title.isEmpty()) + return name; + return title; + } + else if (role == Qt::ToolTipRole) + { + QStringList tooltip; + if (!item.isTransient()) + tooltip << tr("Location: %1").arg(item.file().fileName()); + if (item.overrides()) + tooltip << tr("Overrides: %1").arg(item.systemfile().fileName()); + return tooltip.join("\n"); + } + else if (role == Qt::DecorationRole) + { + if (item.overrides()) + return XdgIcon::fromTheme("dialog-warning"); + else if (!item.isLocal()) + return XdgIcon::fromTheme("computer"); + } + else if (role == Qt::CheckStateRole) + { + return item.isEnabled() ? Qt::Checked : Qt::Unchecked; + } + return QVariant(); +} + +Qt::ItemFlags AutoStartItemModel::flags(const QModelIndex& index) const +{ + if (index.parent().isValid()) + return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable; + if (index.isValid()) + return Qt::ItemIsEnabled | Qt::ItemIsSelectable; + return 0; +} + +/* + * Controls which buttons are enabled/disabled based on the selecton. + */ +AutoStartItemModel::ActiveButtons AutoStartItemModel::activeButtons(const QModelIndex& selection) const +{ + if (!selection.isValid() || !selection.parent().isValid()) + return AddButton; + else if (!mItemMap.value(indexToName(selection)).isLocal()) + return AddButton | EditButton; + else + return AddButton | EditButton | DeleteButton; +} + +QModelIndex AutoStartItemModel::parent(const QModelIndex& child) const +{ + QString name = indexToName(child); + if (!name.isEmpty()) + { + if (showOnlyInLXQt(mItemMap.value(name).file())) + return mLXQtIndex; + return mGlobalIndex; + } + return QModelIndex(); +} + +int AutoStartItemModel::columnCount(const QModelIndex& parent) const +{ + Q_UNUSED(parent); + return 1; +} + +int AutoStartItemModel::rowCount(const QModelIndex& parent) const +{ + if (!parent.isValid()) + return 2; + if (parent == mGlobalIndex) + return mGlobalItems.size(); + if (parent == mLXQtIndex) + return mLXQtItems.size(); + return 0; +} + +bool AutoStartItemModel::showOnlyInLXQt(const XdgDesktopFile& file) +{ + return file.value("OnlyShowIn") == "LXQt;"; +} + +/* + * Maps the index to file name + */ +QString AutoStartItemModel::indexToName(const QModelIndex& index) +{ + QString* data = static_cast(index.internalPointer()); + if (data) + return *data; + return QString(); +} + +XdgDesktopFile AutoStartItemModel::desktopFile(const QModelIndex& index) const +{ + return mItemMap.value(indexToName(index)).file(); +} diff --git a/lxqt-config-session/autostartmodel.h b/lxqt-config-session/autostartmodel.h new file mode 100644 index 0000000..d509822 --- /dev/null +++ b/lxqt-config-session/autostartmodel.h @@ -0,0 +1,75 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2011 Alec Moskvin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef AUTOSTARTMODEL_H +#define AUTOSTARTMODEL_H + +#include +#include + +#include "autostartitem.h" + +class AutoStartItemModel : public QAbstractItemModel +{ + Q_OBJECT +public: + enum ActiveButton + { + AddButton = 1, + EditButton = 2, + DeleteButton = 4 + }; + Q_DECLARE_FLAGS(ActiveButtons, ActiveButton) + + explicit AutoStartItemModel(QObject* parent = 0); + ~AutoStartItemModel(); + int columnCount(const QModelIndex& parent = QModelIndex()) const; + int rowCount(const QModelIndex& parent = QModelIndex()) const; + QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; + Qt::ItemFlags flags(const QModelIndex& index) const; + QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; + QModelIndex parent(const QModelIndex &child) const; + bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); + bool removeRow(int row, const QModelIndex& parent = QModelIndex()); + bool setEntry(const QModelIndex& index, XdgDesktopFile entry, bool overwrite=false); + ActiveButtons activeButtons(const QModelIndex& selection) const; + XdgDesktopFile desktopFile(const QModelIndex& index) const; + +public slots: + bool writeChanges(); + +private: + QMap mItemMap; + QPersistentModelIndex mGlobalIndex; + QPersistentModelIndex mLXQtIndex; + QStringList mGlobalItems; + QStringList mLXQtItems; + + static QString indexToName(const QModelIndex& index); + static bool showOnlyInLXQt(const XdgDesktopFile& file); +}; + +Q_DECLARE_OPERATORS_FOR_FLAGS(AutoStartItemModel::ActiveButtons) + +#endif // AUTOSTARTMODEL_H diff --git a/lxqt-config-session/autostartpage.cpp b/lxqt-config-session/autostartpage.cpp new file mode 100644 index 0000000..e3b73c8 --- /dev/null +++ b/lxqt-config-session/autostartpage.cpp @@ -0,0 +1,121 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2012 Alec Moskvin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include "autostartpage.h" +#include "ui_autostartpage.h" + +#include "autostartedit.h" + +#include + +AutoStartPage::AutoStartPage(QWidget* parent) : + QWidget(parent), + ui(new Ui::AutoStartPage) +{ + ui->setupUi(this); + + connect(ui->addButton, SIGNAL(clicked()), SLOT(addButton_clicked())); + connect(ui->editButton, SIGNAL(clicked()), SLOT(editButton_clicked())); + connect(ui->deleteButton, SIGNAL(clicked()), SLOT(deleteButton_clicked())); + + restoreSettings(); +} + +AutoStartPage::~AutoStartPage() +{ + delete ui; +} + +void AutoStartPage::restoreSettings() +{ + QAbstractItemModel* oldModel = ui->autoStartView->model(); + mXdgAutoStartModel = new AutoStartItemModel(ui->autoStartView); + ui->autoStartView->setModel(mXdgAutoStartModel); + delete oldModel; + ui->autoStartView->setExpanded(mXdgAutoStartModel->index(0, 0), true); + ui->autoStartView->setExpanded(mXdgAutoStartModel->index(1, 0), true); + updateButtons(); + connect(mXdgAutoStartModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), SLOT(updateButtons())); + connect(ui->autoStartView->selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)), + SLOT(selectionChanged(QModelIndex))); +} + +void AutoStartPage::save() +{ + mXdgAutoStartModel->writeChanges(); +} + +void AutoStartPage::addButton_clicked() +{ + AutoStartEdit edit(QString(), QString(), false); + bool success = false; + while (!success && edit.exec() == QDialog::Accepted) + { + QModelIndex index = ui->autoStartView->selectionModel()->currentIndex(); + XdgDesktopFile file(XdgDesktopFile::ApplicationType, edit.name(), edit.command()); + if (edit.needTray()) + file.setValue("X-LXQt-Need-Tray", true); + if (mXdgAutoStartModel->setEntry(index, file)) + success = true; + else + QMessageBox::critical(this, tr("Error"), tr("File '%1' already exists!").arg(file.fileName())); + } +} + +void AutoStartPage::editButton_clicked() +{ + QModelIndex index = ui->autoStartView->selectionModel()->currentIndex(); + XdgDesktopFile file = mXdgAutoStartModel->desktopFile(index); + AutoStartEdit edit(file.name(), file.value("Exec").toString(), file.contains("X-LXQt-Need-Tray")); + if (edit.exec() == QDialog::Accepted) + { + file.setLocalizedValue("Name", edit.name()); + file.setValue("Exec", edit.command()); + if (edit.needTray()) + file.setValue("X-LXQt-Need-Tray", true); + else + file.removeEntry("X-LXQt-Need-Tray"); + + mXdgAutoStartModel->setEntry(index, file, true); + } +} + +void AutoStartPage::deleteButton_clicked() +{ + QModelIndex index = ui->autoStartView->selectionModel()->currentIndex(); + mXdgAutoStartModel->removeRow(index.row(), index.parent()); +} + +void AutoStartPage::selectionChanged(QModelIndex curr) +{ + AutoStartItemModel::ActiveButtons active = mXdgAutoStartModel->activeButtons(curr); + ui->addButton->setEnabled(active & AutoStartItemModel::AddButton); + ui->editButton->setEnabled(active & AutoStartItemModel::EditButton); + ui->deleteButton->setEnabled(active & AutoStartItemModel::DeleteButton); +} + +void AutoStartPage::updateButtons() +{ + selectionChanged(ui->autoStartView->selectionModel()->currentIndex()); +} diff --git a/lxqt-config-session/autostartpage.h b/lxqt-config-session/autostartpage.h new file mode 100644 index 0000000..43884ee --- /dev/null +++ b/lxqt-config-session/autostartpage.h @@ -0,0 +1,60 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2012 Alec Moskvin + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef AUTOSTARTPAGE_H +#define AUTOSTARTPAGE_H + +#include +#include +#include "autostartmodel.h" + +namespace Ui { +class AutoStartPage; +} + +class AutoStartPage : public QWidget +{ + Q_OBJECT + +public: + explicit AutoStartPage(QWidget* parent = 0); + ~AutoStartPage(); + +public slots: + void save(); + void restoreSettings(); + +private: + AutoStartItemModel* mXdgAutoStartModel; + Ui::AutoStartPage* ui; + +private slots: + void addButton_clicked(); + void editButton_clicked(); + void deleteButton_clicked(); + void selectionChanged(QModelIndex curr); + void updateButtons(); +}; + +#endif // AUTOSTARTPAGE_H diff --git a/lxqt-config-session/autostartpage.ui b/lxqt-config-session/autostartpage.ui new file mode 100644 index 0000000..a6ff280 --- /dev/null +++ b/lxqt-config-session/autostartpage.ui @@ -0,0 +1,72 @@ + + + AutoStartPage + + + + 0 + 0 + 320 + 240 + + + + + + + Delete + + + + + + + Add + + + + + + + Edit + + + + + + + + 75 + true + + + + Application Autostart + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + false + + + + + + + + diff --git a/lxqt-config-session/basicsettings.cpp b/lxqt-config-session/basicsettings.cpp new file mode 100644 index 0000000..2c4e25a --- /dev/null +++ b/lxqt-config-session/basicsettings.cpp @@ -0,0 +1,96 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2012 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include "basicsettings.h" +#include "ui_basicsettings.h" + +#include "../lxqt-session/src/windowmanager.h" +#include "sessionconfigwindow.h" + +BasicSettings::BasicSettings(LxQt::Settings *settings, QWidget *parent) : + QWidget(parent), + m_settings(settings), + m_moduleModel(new ModuleModel()), + ui(new Ui::BasicSettings) +{ + ui->setupUi(this); + connect(ui->findWmButton, SIGNAL(clicked()), this, SLOT(findWmButton_clicked())); + connect(ui->startButton, SIGNAL(clicked()), this, SLOT(startButton_clicked())); + connect(ui->stopButton, SIGNAL(clicked()), this, SLOT(stopButton_clicked())); + connect(ui->wmComboBox, SIGNAL(currentIndexChanged(int)), parent, SLOT(setRestart())); + connect(ui->wmComboBox, SIGNAL(editTextChanged(const QString&)), SIGNAL(needRestart())); + connect(ui->leaveConfirmationCheckBox, SIGNAL(toggled(bool)), SIGNAL(needRestart())); + restoreSettings(); + + ui->moduleView->setModel(m_moduleModel); + ui->moduleView->header()->setSectionResizeMode(0, QHeaderView::Stretch); + ui->moduleView->header()->setSectionResizeMode(1, QHeaderView::ResizeToContents); +} + +BasicSettings::~BasicSettings() +{ + delete ui; +} + +void BasicSettings::restoreSettings() +{ + QStringList knownWMs; + foreach (WindowManager wm, getWindowManagerList(true)) + { + knownWMs << wm.command; + } + + QString wm = m_settings->value("window_manager", "openbox").toString(); + SessionConfigWindow::handleCfgComboBox(ui->wmComboBox, knownWMs, wm); + m_moduleModel->reset(); + + ui->leaveConfirmationCheckBox->setChecked(m_settings->value("leave_confirmation", true).toBool()); +} + +void BasicSettings::save() +{ + m_settings->setValue("window_manager", ui->wmComboBox->currentText()); + m_moduleModel->writeChanges(); + + m_settings->setValue("leave_confirmation", ui->leaveConfirmationCheckBox->isChecked()); +} + +void BasicSettings::findWmButton_clicked() +{ + SessionConfigWindow::updateCfgComboBox(ui->wmComboBox, tr("Select a window manager")); + emit needRestart(); +} + +void BasicSettings::startButton_clicked() +{ + m_moduleModel->toggleModule(ui->moduleView->selectionModel()->currentIndex(), true); +} + +void BasicSettings::stopButton_clicked() +{ + m_moduleModel->toggleModule(ui->moduleView->selectionModel()->currentIndex(), false); +} diff --git a/lxqt-config-session/basicsettings.h b/lxqt-config-session/basicsettings.h new file mode 100644 index 0000000..7ef86c5 --- /dev/null +++ b/lxqt-config-session/basicsettings.h @@ -0,0 +1,66 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2012 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef BASICSETTINGS_H +#define BASICSETTINGS_H + +#include +#include + +#include "modulemodel.h" + +namespace Ui { +class BasicSettings; +} + +class BasicSettings : public QWidget +{ + Q_OBJECT + +public: + explicit BasicSettings(LxQt::Settings *settings, QWidget *parent = 0); + ~BasicSettings(); + +signals: + void needRestart(); + +public slots: + void restoreSettings(); + void save(); + +private: + LxQt::Settings* m_settings; + ModuleModel* m_moduleModel; + Ui::BasicSettings* ui; + +private slots: + void findWmButton_clicked(); + void startButton_clicked(); + void stopButton_clicked(); +}; + +#endif // BASICSETTINGS_H diff --git a/lxqt-config-session/basicsettings.ui b/lxqt-config-session/basicsettings.ui new file mode 100644 index 0000000..fb9d451 --- /dev/null +++ b/lxqt-config-session/basicsettings.ui @@ -0,0 +1,128 @@ + + + BasicSettings + + + + 0 + 0 + 320 + 380 + + + + + + + + 75 + true + + + + Basic Settings + + + + + + + Window Manager + + + + + + + 0 + 0 + + + + true + + + + + + + Search... + + + + + + + + + + LXQt Modules + + + + + + Start + + + + + + + Stop + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + true + + + false + + + true + + + false + + + + + + + + + + Leave Session + + + + + + Ask confirmation to leave session + + + + + + + + + + + diff --git a/lxqt-config-session/defaultappspage.cpp b/lxqt-config-session/defaultappspage.cpp new file mode 100644 index 0000000..f3fce99 --- /dev/null +++ b/lxqt-config-session/defaultappspage.cpp @@ -0,0 +1,88 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2012 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include + +#include "defaultappspage.h" +#include "ui_defaultappspage.h" + +#include "sessionconfigwindow.h" + +DefaultApps::DefaultApps(QWidget *parent) : + QWidget(parent), + ui(new Ui::DefaultAppsPage) +{ + ui->setupUi(this); + + connect(ui->terminalButton, SIGNAL(clicked()), this, SLOT(terminalButton_clicked())); + connect(ui->terminalComboBox->lineEdit(), SIGNAL(editingFinished()), + SLOT(terminalChanged())); + connect(ui->browserButton, SIGNAL(clicked()), this, SLOT(browserButton_clicked())); + connect(ui->browserComboBox->lineEdit(), SIGNAL(editingFinished()), + SLOT(browserChanged())); +} + +DefaultApps::~DefaultApps() +{ + delete ui; +} + +void DefaultApps::updateEnvVar(const QString& var, const QString& val) +{ + if (var == "BROWSER") + { + QStringList knownBrowsers; + knownBrowsers << "firefox" << "qupzilla" << "arora" << "konqueror" << "opera"; + SessionConfigWindow::handleCfgComboBox(ui->browserComboBox, knownBrowsers, val); + } + else if (var == "TERM") + { + QStringList knownTerms; + knownTerms << "qterminal" << "xterm" << "konsole" << "uterm"; + SessionConfigWindow::handleCfgComboBox(ui->terminalComboBox, knownTerms, val); + } +} + +void DefaultApps::terminalButton_clicked() +{ + SessionConfigWindow::updateCfgComboBox(ui->terminalComboBox, tr("Select a terminal emulator")); +} + +void DefaultApps::browserButton_clicked() +{ + SessionConfigWindow::updateCfgComboBox(ui->browserComboBox, tr("Select a web browser")); +} + +void DefaultApps::terminalChanged() +{ + emit defaultAppChanged("TERM", ui->terminalComboBox->lineEdit()->text()); +} + +void DefaultApps::browserChanged() +{ + emit defaultAppChanged("BROWSER", ui->browserComboBox->lineEdit()->text()); +} diff --git a/lxqt-config-session/defaultappspage.h b/lxqt-config-session/defaultappspage.h new file mode 100644 index 0000000..fdc2364 --- /dev/null +++ b/lxqt-config-session/defaultappspage.h @@ -0,0 +1,61 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2012 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef DEFAULTAPPS_H +#define DEFAULTAPPS_H + +#include + +namespace Ui { +class DefaultAppsPage; +} + +class DefaultApps : public QWidget +{ + Q_OBJECT + +public: + explicit DefaultApps(QWidget *parent = 0); + ~DefaultApps(); + +signals: + void defaultAppChanged(const QString&, const QString&); + +public slots: + void updateEnvVar(const QString &var, const QString &val); + +private: + Ui::DefaultAppsPage *ui; + +private slots: + void browserButton_clicked(); + void terminalButton_clicked(); + void browserChanged(); + void terminalChanged(); +}; + +#endif // DEFAULTAPPS_H diff --git a/lxqt-config-session/defaultappspage.ui b/lxqt-config-session/defaultappspage.ui new file mode 100644 index 0000000..dbd9545 --- /dev/null +++ b/lxqt-config-session/defaultappspage.ui @@ -0,0 +1,102 @@ + + + DefaultAppsPage + + + + 0 + 0 + 340 + 135 + + + + + + + + 75 + true + + + + Default Applications + + + + + + + + + Terminal Emulation: + + + + + + + + 0 + 0 + + + + true + + + + + + + Search... + + + + + + + Web Browser: + + + + + + + + 0 + 0 + + + + true + + + + + + + Search... + + + + + + + Qt::Vertical + + + + 118 + 186 + + + + + + + + + + + diff --git a/lxqt-config-session/environmentpage.cpp b/lxqt-config-session/environmentpage.cpp new file mode 100644 index 0000000..2f448ee --- /dev/null +++ b/lxqt-config-session/environmentpage.cpp @@ -0,0 +1,131 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2012 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include "environmentpage.h" +#include "ui_environmentpage.h" + +EnvironmentPage::EnvironmentPage(LxQt::Settings *settings, QWidget *parent) : + QWidget(parent), + m_settings(settings), + ui(new Ui::EnvironmentPage) +{ + ui->setupUi(this); + + connect(ui->addButton, SIGNAL(clicked()), SLOT(addButton_clicked())); + connect(ui->deleteButton, SIGNAL(clicked()), SLOT(deleteButton_clicked())); + connect(ui->treeWidget, SIGNAL(itemChanged(QTreeWidgetItem*,int)), + SLOT(itemChanged(QTreeWidgetItem*,int))); + + /* restoreSettings() is called from SessionConfigWindow + after connections with DefaultApps have been set up */ +} + +EnvironmentPage::~EnvironmentPage() +{ + delete ui; +} + +void EnvironmentPage::restoreSettings() +{ + m_settings->beginGroup("Environment"); + QString value; + ui->treeWidget->clear(); + foreach (const QString& i, m_settings->childKeys()) + { + value = m_settings->value(i).toString(); + QTreeWidgetItem *item = new QTreeWidgetItem(ui->treeWidget, QStringList() << i << value); + item->setFlags(item->flags() | Qt::ItemIsEditable); + ui->treeWidget->addTopLevelItem(item); + emit envVarChanged(i, value); + } + + if (m_settings->value("BROWSER").isNull()) + emit envVarChanged("BROWSER", ""); + if (m_settings->value("TERM").isNull()) + emit envVarChanged("TERM", ""); + + m_settings->endGroup(); +} + +void EnvironmentPage::save() +{ + m_settings->beginGroup("Environment"); + m_settings->remove(""); + for(int i = 0; i < ui->treeWidget->topLevelItemCount(); ++i) + { + QTreeWidgetItem *item = ui->treeWidget->topLevelItem(i); + m_settings->setValue(item->text(0), item->text(1)); + } + m_settings->endGroup(); +} + +void EnvironmentPage::addButton_clicked() +{ + QTreeWidgetItem *item = new QTreeWidgetItem(ui->treeWidget, QStringList() << "" << ""); + item->setFlags(item->flags() | Qt::ItemIsEditable); + ui->treeWidget->addTopLevelItem(item); + ui->treeWidget->setCurrentItem(item); + emit needRestart(); +} + +void EnvironmentPage::deleteButton_clicked() +{ + foreach (QTreeWidgetItem* item, ui->treeWidget->selectedItems()) + { + emit envVarChanged(item->text(0), ""); + delete item; + } + emit needRestart(); +} + +void EnvironmentPage::itemChanged(QTreeWidgetItem *item, int column) +{ + Q_UNUSED(column); + emit envVarChanged(item->text(0), item->text(1)); + emit needRestart(); +} + +void EnvironmentPage::updateItem(const QString& var, const QString& val) +{ + QList itemList = ui->treeWidget->findItems(var, Qt::MatchExactly); + if (itemList.isEmpty()) + { + QTreeWidgetItem *item = new QTreeWidgetItem(ui->treeWidget, QStringList() << var << val); + item->setFlags(item->flags() | Qt::ItemIsEditable); + ui->treeWidget->addTopLevelItem(item); + return; + } + + foreach (QTreeWidgetItem* item, itemList) + { + if (!val.isEmpty()) + item->setText(1, val); + else + delete item; + } + emit needRestart(); +} diff --git a/lxqt-config-session/environmentpage.h b/lxqt-config-session/environmentpage.h new file mode 100644 index 0000000..b3bd519 --- /dev/null +++ b/lxqt-config-session/environmentpage.h @@ -0,0 +1,65 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2012 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef ENVIRONMENTPAGE_H +#define ENVIRONMENTPAGE_H + +#include +#include + +namespace Ui { +class EnvironmentPage; +} + +class EnvironmentPage : public QWidget +{ + Q_OBJECT + +public: + explicit EnvironmentPage(LxQt::Settings *settings, QWidget *parent = 0); + ~EnvironmentPage(); + +signals: + void needRestart(); + void envVarChanged(const QString&, const QString&); + +public slots: + void restoreSettings(); + void save(); + void updateItem(const QString &var, const QString &val); + +private: + LxQt::Settings *m_settings; + Ui::EnvironmentPage *ui; + +private slots: + void addButton_clicked(); + void deleteButton_clicked(); + void itemChanged(QTreeWidgetItem *item, int column); +}; + +#endif // ENVIRONMENTPAGE_H diff --git a/lxqt-config-session/environmentpage.ui b/lxqt-config-session/environmentpage.ui new file mode 100644 index 0000000..0f6932f --- /dev/null +++ b/lxqt-config-session/environmentpage.ui @@ -0,0 +1,75 @@ + + + EnvironmentPage + + + + 0 + 0 + 400 + 320 + + + + + + + Add + + + + + + + Delete + + + + + + + Qt::Vertical + + + + 59 + 96 + + + + + + + + + 75 + true + + + + Environment Variables (Advanced) + + + + + + + true + + + + Variable Name + + + + + Value + + + + + + + + + diff --git a/lxqt-config-session/lxqt-config-session.desktop.in b/lxqt-config-session/lxqt-config-session.desktop.in new file mode 100644 index 0000000..eb6526f --- /dev/null +++ b/lxqt-config-session/lxqt-config-session.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Session Settings +GenericName=LXQt Session Settings +Comment=Configuration for LXQt sessions +Exec=lxqt-config-session +Icon=preferences-system-session-services +Categories=Settings;DesktopSettings;Qt;LXQt; +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=translations diff --git a/lxqt-config-session/main.cpp b/lxqt-config-session/main.cpp new file mode 100644 index 0000000..148b573 --- /dev/null +++ b/lxqt-config-session/main.cpp @@ -0,0 +1,44 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include + +#include +#include + +#include "sessionconfigwindow.h" + +int main(int argc, char** argv) +{ + LxQt::SingleApplication a(argc, argv); + + SessionConfigWindow w; + a.setActivationWindow(&w); + w.show(); + + return a.exec(); +} diff --git a/lxqt-config-session/man/lxqt-config-session.1 b/lxqt-config-session/man/lxqt-config-session.1 new file mode 100644 index 0000000..d0efda7 --- /dev/null +++ b/lxqt-config-session/man/lxqt-config-session.1 @@ -0,0 +1,43 @@ +.TH lxqt-config-session "1" "September 2012" "LXQt\ 0.7.0" "LXQt\ Application" +.SH NAME +lxqt-config-session \- Session settings of \fBLXQt\fR, the Lightweight Desktop Environment +.SH SYNOPSIS +.B lxqt-config-session +.br +.SH DESCRIPTION +This application handle settings and configurations around autostart applications on \fBLxQt\-qt\fR desktop environment. +.P +Throught this applicaton u can manage and setting applications startup and witch modules of lxqt will be enableds. +.P +\fBLxQt\-qt\fR is an advanced, easy-to-use, and fast desktop environment based on Qt +technologies, ships several core desktop components, all of which are optional: +.P + * Panel + * Desktop + * Application launcher + * Settings center + * Session handler \fI(related to this)\fR + * Polkit handler + * SSYH password access + * Display manager handler +.P +These components perform similar actions to those available in other desktop +environments, and their names are self-descriptive. They are usually not launched +by hand but automatically, when choosing a \fBLXQt\fR session in the Display +Manager. +.SH "REPORTING BUGS" +Report bugs to https://github.com/LXQt/LXQt/issues +.SH "SEE ALSO" +LXQt it has been tailored for users who value simplicity, speed, and +an intuitive interface, also intended for less powerful machines. See: +.\" any module must refers to session app, for more info on start it +.P +\fBlxqt-config.1\fR LXQt application for manage configurations and settings +.P +\fBlxqt-session.1\fR LXQt module for manage LXQt autostart session applications +.P +\fBstart-lxqt.1\fR LXQt display management independient starup. +.P +.SH AUTHOR +This manual page was created by \fBPICCORO Lenz McKAY\fR \fI\fR +for \fBLXQt\fR project and VENENUX GNU/Linux but can be used by others. diff --git a/lxqt-config-session/modulemodel.cpp b/lxqt-config-session/modulemodel.cpp new file mode 100644 index 0000000..a5c0d62 --- /dev/null +++ b/lxqt-config-session/modulemodel.cpp @@ -0,0 +1,140 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2012 Alec Moskvin + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include +#include +#include +#include +#include "modulemodel.h" + +ModuleModel::ModuleModel(QObject* parent) + : QAbstractListModel(parent) +{ + mInterface = new QDBusInterface("org.lxqt.session", "/LxQtSession", "", + QDBusConnection::sessionBus(), this); + connect(mInterface, SIGNAL(moduleStateChanged(QString,bool)), SLOT(updateModuleState(QString,bool))); +} + +ModuleModel::~ModuleModel() +{ + delete mInterface; +} + +void ModuleModel::reset() +{ + mKeyList.clear(); + mStateMap.clear(); + mItemMap = AutostartItem::createItemMap(); + + QMap::iterator iter; + for (iter = mItemMap.begin(); iter != mItemMap.end(); ++iter) + { + if (iter.value().file().value("X-LXQt-Module", false).toBool()) + mKeyList.append(iter.key()); + } + + QDBusReply reply = mInterface->call("listModules"); + QStringList moduleList = reply.value().toStringList(); + foreach (const QString& moduleName, moduleList) + { + if (mItemMap.contains(moduleName)) + mStateMap[moduleName] = true; + } +} + +QVariant ModuleModel::data(const QModelIndex& index, int role) const +{ + QString name = mKeyList.at(index.row()); + if (index.column() == 0) + { + switch (role) + { + case Qt::DisplayRole: + return mItemMap.value(name).file().name(); + case Qt::CheckStateRole: + return mItemMap.value(name).isEnabled() ? Qt::Checked : Qt::Unchecked; + case Qt::ToolTipRole: + return mItemMap.value(name).file().value("Comment"); + } + } + else if (index.column() == 1 && (role == Qt::DisplayRole || role == Qt::DecorationRole)) + { + if (role == Qt::DisplayRole && mStateMap[name] == true) + return tr("Running") + " "; + } + return QVariant(); +} + +bool ModuleModel::setData(const QModelIndex& index, const QVariant& value, int role) +{ + if (role == Qt::CheckStateRole) + { + QString key = mKeyList.at(index.row()); + mItemMap[key].setEnabled(value == Qt::Checked); + emit dataChanged(index, index); + return true; + } + return false; +} + +Qt::ItemFlags ModuleModel::flags(const QModelIndex& index) const +{ + Q_UNUSED(index); + return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable; +} + +int ModuleModel::rowCount(const QModelIndex& parent) const +{ + Q_UNUSED(parent); + return mKeyList.size(); +} + +void ModuleModel::writeChanges() +{ + foreach (const QString& key, mKeyList) + mItemMap[key].commit(); +} + +void ModuleModel::updateModuleState(QString moduleName, bool state) +{ + if (mItemMap.contains(moduleName)) + { + mStateMap[moduleName] = state; + QModelIndex i = index(mKeyList.indexOf(moduleName), 1); + emit dataChanged(i, i); + } +} + +void ModuleModel::toggleModule(const QModelIndex &index, bool status) +{ + if (!index.isValid()) + return; + + QList arg; + arg.append(mKeyList.at(index.row())); + mInterface->callWithArgumentList(QDBus::NoBlock, + status ? "startModule" : "stopModule", + arg); +} diff --git a/lxqt-config-session/modulemodel.h b/lxqt-config-session/modulemodel.h new file mode 100644 index 0000000..8a259ad --- /dev/null +++ b/lxqt-config-session/modulemodel.h @@ -0,0 +1,59 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright (C) 2012 Alec Moskvin + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef MODULEMODEL_H +#define MODULEMODEL_H + +#include +#include +#include "autostartitem.h" + +class ModuleModel : public QAbstractListModel +{ + Q_OBJECT +public: + ModuleModel(QObject *parent = 0); + ~ModuleModel(); + void reset(); + void writeChanges(); + void toggleModule(const QModelIndex &index, bool status); + + QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; + bool setData(const QModelIndex& index, const QVariant& value, int role); + int rowCount(const QModelIndex& parent) const; + int columnCount(const QModelIndex&) const { return 2; } + Qt::ItemFlags flags(const QModelIndex& index) const; + +private slots: + void updateModuleState(QString moduleName, bool state); + +private: + QMap mItemMap; + QMap mStateMap; + QStringList mKeyList; + QDBusInterface* mInterface; +}; + +#endif // MODULEMODEL_H diff --git a/lxqt-config-session/sessionconfigwindow.cpp b/lxqt-config-session/sessionconfigwindow.cpp new file mode 100644 index 0000000..e505d2f --- /dev/null +++ b/lxqt-config-session/sessionconfigwindow.cpp @@ -0,0 +1,136 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include +#include +#include + +#include + +#include "sessionconfigwindow.h" +#include "../lxqt-session/src/windowmanager.h" +#include "basicsettings.h" +#include "autostartpage.h" +#include "defaultappspage.h" +#include "environmentpage.h" + + +SessionConfigWindow::SessionConfigWindow() : + LxQt::ConfigDialog(tr("LXQt Session Settings"), new LxQt::Settings("session"), 0) +{ + BasicSettings* basicSettings = new BasicSettings(mSettings, this); + addPage(basicSettings, tr("Basic Settings"), "preferences-desktop-display-color"); + connect(basicSettings, SIGNAL(needRestart()), SLOT(setRestart())); + connect(this, SIGNAL(reset()), basicSettings, SLOT(restoreSettings())); + connect(this, SIGNAL(save()), basicSettings, SLOT(save())); + + DefaultApps* defaultApps = new DefaultApps(this); + addPage(defaultApps, tr("Default Applications"), "preferences-desktop-filetype-association"); + + AutoStartPage* autoStart = new AutoStartPage(this); + addPage(autoStart, tr("Autostart"), "preferences-desktop-launch-feedback"); + connect(this, SIGNAL(reset()), autoStart, SLOT(restoreSettings())); + connect(this, SIGNAL(save()), autoStart, SLOT(save())); + + EnvironmentPage* environmentPage = new EnvironmentPage(mSettings, this); + addPage(environmentPage, tr("Environment (Advanced)"), "preferences-system-session-services"); + connect(environmentPage, SIGNAL(needRestart()), SLOT(setRestart())); + connect(this, SIGNAL(reset()), environmentPage, SLOT(restoreSettings())); + connect(this, SIGNAL(save()), environmentPage, SLOT(save())); + + // sync Default Apps and Environment + connect(environmentPage, SIGNAL(envVarChanged(QString,QString)), + defaultApps, SLOT(updateEnvVar(QString,QString))); + connect(defaultApps, SIGNAL(defaultAppChanged(QString,QString)), + environmentPage, SLOT(updateItem(QString,QString))); + environmentPage->restoreSettings(); + connect(this, SIGNAL(reset()), SLOT(clearRestart())); + m_restart = false; +} + +SessionConfigWindow::~SessionConfigWindow() +{ + delete mSettings; +} + +void SessionConfigWindow::closeEvent(QCloseEvent * event) +{ + LxQt::ConfigDialog::closeEvent(event); + if (m_restart) { + QMessageBox::information(this, tr("Session Restart Required"), + tr("You need to restart desktop session (lxqt-session) " + "to reload settings. Use logout from the main menu." + ) + ); + } +} + +void SessionConfigWindow::handleCfgComboBox(QComboBox * cb, + const QStringList &availableValues, + const QString &value + ) +{ + QStringList realValues; + foreach (QString s, availableValues) + { + if (findProgram(s)) + realValues << s; + } + cb->clear(); + cb->addItems(realValues); + + int ix = cb->findText(value); + if (ix == -1) + cb->lineEdit()->setText(value); + else + cb->setCurrentIndex(ix); +} + +void SessionConfigWindow::updateCfgComboBox(QComboBox * cb, + const QString &prompt + ) +{ + QString fname = QFileDialog::getOpenFileName(cb, prompt, "/usr/bin/"); + if (fname.isEmpty()) + return; + + QFileInfo fi(fname); + if (!fi.exists() || !fi.isExecutable()) + return; + + cb->lineEdit()->setText(fname); +} + +void SessionConfigWindow::setRestart() +{ + m_restart = true; +} + +void SessionConfigWindow::clearRestart() +{ + m_restart = false; +} diff --git a/lxqt-config-session/sessionconfigwindow.h b/lxqt-config-session/sessionconfigwindow.h new file mode 100644 index 0000000..f881b1b --- /dev/null +++ b/lxqt-config-session/sessionconfigwindow.h @@ -0,0 +1,63 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef SESSIONCONFIGWINDOW_H +#define SESSIONCONFIGWINDOW_H + +#include +#include + + +class SessionConfigWindow : public LxQt::ConfigDialog +{ + Q_OBJECT + +public: + SessionConfigWindow(); + ~SessionConfigWindow(); + + static void handleCfgComboBox(QComboBox * cb, + const QStringList &availableValues, + const QString &value + ); + + static void updateCfgComboBox(QComboBox * cb, const QString &prompt); + + void closeEvent(QCloseEvent * event); + +public slots: + void setRestart(); + +private: + // display restart warning + bool m_restart; + +private slots: + void clearRestart(); +}; + +#endif diff --git a/lxqt-config-session/translations/lxqt-config-session.ts b/lxqt-config-session/translations/lxqt-config-session.ts new file mode 100644 index 0000000..38096d8 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Basic Settings + + + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ar.desktop b/lxqt-config-session/translations/lxqt-config-session_ar.desktop new file mode 100644 index 0000000..81928d9 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ar.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[ar]=تهيئة وحدة جلسة ريزركيوت +GenericName[ar]=أداة تهيئة جلسة ريزر +Name[ar]=أداة تهيئة جلسة ريزر diff --git a/lxqt-config-session/translations/lxqt-config-session_ar.ts b/lxqt-config-session/translations/lxqt-config-session_ar.ts new file mode 100644 index 0000000..d5f647a --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ar.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + تنقيح + + + + Name: + الاسم: + + + + Search... + بحث... + + + + Command: + اﻷمر: + + + + Wait for system tray + بانتظار صفيحة النِّظام + + + + Select Application + اختيار التطبيق + + + + AutoStartItemModel + + + Global Autostart + التشغيل التلقائي العام + + + LxQt Autostart + التشغيل التلقائي لنظام ريزر + + + + LXQt Autostart + + + + + Location: %1 + الموقع: %1 + + + + Overrides: %1 + التَّجاوزات: %1 + + + + AutoStartPage + + + Delete + حذف + + + + Add + إضافة + + + + Edit + تنقيح + + + + Application Autostart + البدء التِّلقائيُّ للتطبيق + + + + Error + خطأ + + + + File '%1' already exists! + الملفُّ `%1` موجودٌ مسبقاً + + + + BasicSettings + + + Window Manager + مدير النَّوافذ + + + + Search... + بحث... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + اﻹعدادات اﻷساسيَّة + + + LxQt Modules + أقسام نظام ريزر + + + + Start + + + + + Stop + + + + + Select a window manager + اختيار مدير النَّوافذ + + + + DefaultApps + + + Select a terminal emulator + اختيار محاكي سطر اﻷوامر + + + + Select a web browser + اختيار المتصفِّح + + + + DefaultAppsPage + + + Default Applications + التطبيقات الافتراضيَّة + + + + Terminal Emulation: + محاكي سطر اﻷوامر: + + + + + Search... + بحث... + + + + Web Browser: + المتصفِّح: + + + + EnvironmentPage + + + Add + إضافة + + + + Delete + حذف + + + + Environment Variables (Advanced) + متحوِّلات البيئة (متقدِّم) + + + + Variable Name + اسم المتحوِّل + + + + Value + القيمة + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + LxQt Session Configuration + تهيئة جلسة نظام ريزر + + + + LXQt Session Settings + + + + + Basic Settings + اﻹعدادات اﻷساسيَّة + + + + Default Applications + التطبيقات الافتراضيَّة + + + + Autostart + البدء التِّلقائيّ + + + + Environment (Advanced) + البيئة (متقدِّم) + + + + Session Restart Required + من الضِّروريِّ إعادة التَّشغيل + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + يجب إعادة تشغيل جلسة سطح المكتب -جلسة ريزر- من أجل إعادة تحميل الإعدادات. استخدم خيار الخروج من القائمة الرَّئيسيَّة.. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ca.ts b/lxqt-config-session/translations/lxqt-config-session_ca.ts new file mode 100644 index 0000000..75c4761 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ca.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_cs.desktop b/lxqt-config-session/translations/lxqt-config-session_cs.desktop new file mode 100644 index 0000000..03a0bb2 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_cs.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[cs]=Nastavit modul sezení LxQt-Qt +GenericName[cs]=Nastavení sezení LxQt-Qt +Name[cs]=Nastavení sezení LxQt-Qt diff --git a/lxqt-config-session/translations/lxqt-config-session_cs.ts b/lxqt-config-session/translations/lxqt-config-session_cs.ts new file mode 100644 index 0000000..48ca9b8 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_cs.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Upravit + + + + Name: + Název: + + + + Search... + Hledat... + + + + Command: + Příkaz: + + + + Wait for system tray + Počkat na oznamovací oblast panelu + + + + Select Application + Vybrat program + + + + AutoStartItemModel + + + Global Autostart + Celkové automatické spuštění + + + LxQt Autostart + Automatické spuštění LxQt + + + + LXQt Autostart + + + + + Location: %1 + Umístění: %1 + + + + Overrides: %1 + Zruší: %1 + + + + AutoStartPage + + + Delete + Smazat + + + + Add + Přidat + + + + Edit + Upravit + + + + Application Autostart + Automatické spuštění programu + + + + Error + Chyba + + + + File '%1' already exists! + Soubor '%1' již existuje! + + + + BasicSettings + + + Window Manager + Správce oken + + + + Search... + Hledat... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Základní nastavení + + + LxQt Modules + Moduly LxQtu + + + + Start + Spustit + + + + Stop + Zastavit + + + + Select a window manager + Vybrat správce oken + + + + DefaultApps + + + Select a terminal emulator + Vybrat emulátor terminálu + + + + Select a web browser + Vybrat prohlížeč internetu + + + + DefaultAppsPage + + + Default Applications + Výchozí programy + + + + Terminal Emulation: + Emulace terminálu: + + + + + Search... + Hledat... + + + + Web Browser: + Prohlížeč internetu: + + + + EnvironmentPage + + + Add + Přidat + + + + Delete + Smazat + + + + Environment Variables (Advanced) + Proměnné prostředí (pokročilé) + + + + Variable Name + Název proměnné + + + + Value + Hodnota + + + + ModuleModel + + + Running + Běží + + + + SessionConfigWindow + + LxQt Session Configuration + Nastavení sezení + + + + LXQt Session Settings + + + + + Basic Settings + Základní nastavení + + + + Default Applications + Výchozí programy + + + + Autostart + Automatické spuštění + + + + Environment (Advanced) + Prostředí (pokročilé) + + + + Session Restart Required + Požadováno opětovné spuštění sezení + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Je třeba spustit sezení plochy znovu (lxqt-session) pro znovunahrání nastavení. Použijte odhlášení v hlavní nabídce. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_cs_CZ.desktop b/lxqt-config-session/translations/lxqt-config-session_cs_CZ.desktop new file mode 100644 index 0000000..05ac71b --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_cs_CZ.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[cs_CZ]=Nastavit modul sezení LxQtu +GenericName[cs_CZ]=Nastavení sezení LxQtu +Name[cs_CZ]=Nastavení sezení LxQtu diff --git a/lxqt-config-session/translations/lxqt-config-session_cs_CZ.ts b/lxqt-config-session/translations/lxqt-config-session_cs_CZ.ts new file mode 100644 index 0000000..e055cad --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_cs_CZ.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Upravit + + + + Name: + Název: + + + + Search... + Hledat... + + + + Command: + Příkaz: + + + + Wait for system tray + Počkat na oznamovací oblast panelu + + + + Select Application + Vybrat program + + + + AutoStartItemModel + + + Global Autostart + Celkové automatické spuštění + + + LxQt Autostart + Automatické spuštění LxQt + + + + LXQt Autostart + + + + + Location: %1 + Umístění: %1 + + + + Overrides: %1 + Zruší: %1 + + + + AutoStartPage + + + Delete + Smazat + + + + Add + Přidat + + + + Edit + Upravit + + + + Application Autostart + Automatické spuštění programu + + + + Error + Chyba + + + + File '%1' already exists! + Soubor '%1' již existuje! + + + + BasicSettings + + + Window Manager + Správce oken + + + + Search... + Hledat... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Základní nastavení + + + LxQt Modules + Moduly LxQtu + + + + Start + Spustit + + + + Stop + Zastavit + + + + Select a window manager + Vybrat správce oken + + + + DefaultApps + + + Select a terminal emulator + Vybrat emulátor terminálu + + + + Select a web browser + Vybrat prohlížeč internetu + + + + DefaultAppsPage + + + Default Applications + Výchozí programy + + + + Terminal Emulation: + Emulace terminálu: + + + + + Search... + Hledat... + + + + Web Browser: + Prohlížeč internetu: + + + + EnvironmentPage + + + Add + Přidat + + + + Delete + Smazat + + + + Environment Variables (Advanced) + Proměnné prostředí (pokročilé) + + + + Variable Name + Název proměnné + + + + Value + Hodnota + + + + ModuleModel + + + Running + Běží + + + + SessionConfigWindow + + LxQt Session Configuration + Nastavení sezení + + + + LXQt Session Settings + + + + + Basic Settings + Základní nastavení + + + + Default Applications + Výchozí programy + + + + Autostart + Automatické spuštění + + + + Environment (Advanced) + Prostředí (pokročilé) + + + + Session Restart Required + Požadováno opětovné spuštění sezení + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Je třeba spustit sezení plochy znovu kvůli znovunahrání nastavení. Použijte odhlášení v hlavní nabídce. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_da.desktop b/lxqt-config-session/translations/lxqt-config-session_da.desktop new file mode 100644 index 0000000..dc0575a --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_da.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[da]=Indstil LxQt-Qt Sessionsmodul +GenericName[da]=Indstilling af LxQt-sessioner +Name[da]=Indstilling af LxQt-sessioner diff --git a/lxqt-config-session/translations/lxqt-config-session_da.ts b/lxqt-config-session/translations/lxqt-config-session_da.ts new file mode 100644 index 0000000..1a8a402 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_da.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_da_DK.desktop b/lxqt-config-session/translations/lxqt-config-session_da_DK.desktop new file mode 100644 index 0000000..75e77ec --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_da_DK.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[da_DK]=Indstilling af LxQt-Qt sessionsmodul +GenericName[da_DK]=Indstilling af LxQt Session +Name[da_DK]=Indstilling af LxQt Session diff --git a/lxqt-config-session/translations/lxqt-config-session_da_DK.ts b/lxqt-config-session/translations/lxqt-config-session_da_DK.ts new file mode 100644 index 0000000..e4ff79e --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_da_DK.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Rediger + + + + Name: + Navn: + + + + Search... + Søg... + + + + Command: + Kommando: + + + + Wait for system tray + Vent på system bakke + + + + Select Application + Vælg program + + + + AutoStartItemModel + + + Global Autostart + Global Autostart + + + LxQt Autostart + LxQt Autostart + + + + LXQt Autostart + + + + + Location: %1 + Placering:%1 + + + + Overrides: %1 + Tilsidesætter: %1 + + + + AutoStartPage + + + Delete + Slet + + + + Add + Tilføj + + + + Edit + Rediger + + + + Application Autostart + Program Autostart + + + + Error + Fejl + + + + File '%1' already exists! + Fil '%1' eksisterer allerede! + + + + BasicSettings + + + Window Manager + Window Manager + + + + Search... + Søg... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Basale Indstillinger + + + LxQt Modules + LxQt Moduler + + + + Start + Start + + + + Stop + Stop + + + + Select a window manager + Vælg en window manager + + + + DefaultApps + + + Select a terminal emulator + Vælg en terminal emulator + + + + Select a web browser + Vælg en web browser + + + + DefaultAppsPage + + + Default Applications + Standardprogrammer + + + + Terminal Emulation: + Terminal Emulation: + + + + + Search... + Søg... + + + + Web Browser: + Web Browser: + + + + EnvironmentPage + + + Add + Tilføj + + + + Delete + Slet + + + + Environment Variables (Advanced) + Miljøvariabler (Advanceret) + + + + Variable Name + Variabelnavn + + + + Value + Værdi + + + + ModuleModel + + + Running + Kører + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt Sessionsindstillinger + + + + LXQt Session Settings + + + + + Basic Settings + Basale Indstillinger + + + + Default Applications + Standardprogrammer + + + + Autostart + Autostart + + + + Environment (Advanced) + Miljø (Advanceret) + + + + Session Restart Required + Genstart Af Session Er Påkrævet + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + For at genindlæse indstillinger skal skrivebordssessionen genstartes. Brug log Ud fra hovedmenuen. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_de.desktop b/lxqt-config-session/translations/lxqt-config-session_de.desktop new file mode 100644 index 0000000..556e32d --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_de.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[de]=Konfiguriere die LxQt-Qt Sitzungsmodule +GenericName[de]=LxQt Sitzungskonfiguration +Name[de]=LxQt Sitzungskonfiguration diff --git a/lxqt-config-session/translations/lxqt-config-session_de.ts b/lxqt-config-session/translations/lxqt-config-session_de.ts new file mode 100644 index 0000000..3e348df --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_de.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_de_DE.desktop b/lxqt-config-session/translations/lxqt-config-session_de_DE.desktop new file mode 100644 index 0000000..b9fb0bf --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_de_DE.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[de_DE]=LxQt-Qt Sitzungsmodul konfigurieren +GenericName[de_DE]=LxQt Sitzungskonfigurator +Name[de_DE]=LxQt Sitzungskonfigurator diff --git a/lxqt-config-session/translations/lxqt-config-session_de_DE.ts b/lxqt-config-session/translations/lxqt-config-session_de_DE.ts new file mode 100644 index 0000000..d43165e --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_de_DE.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Bearbeiten + + + + Name: + Name: + + + + Search... + Suche... + + + + Command: + Befehl: + + + + Wait for system tray + Warte auf System Tray + + + + Select Application + Anwendung auswählen + + + + AutoStartItemModel + + + Global Autostart + Globaler Autostart + + + LxQt Autostart + LxQt Autostart + + + + LXQt Autostart + + + + + Location: %1 + Ort: %1 + + + + Overrides: %1 + Überschreibung: %1 + + + + AutoStartPage + + + Delete + Löschen + + + + Add + Hinzufügen + + + + Edit + Bearbeiten + + + + Application Autostart + Anwendung-Autostart + + + + Error + Fehler + + + + File '%1' already exists! + Datei '%1' existiert bereits! + + + + BasicSettings + + + Window Manager + Fenstermanager + + + + Search... + Suchen... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Grundeinstellungen + + + LxQt Modules + LxQt-Module + + + + Start + Start + + + + Stop + Stopp + + + + Select a window manager + Fenstermanager auswählen + + + + DefaultApps + + + Select a terminal emulator + Terminal-Emulator auswählen + + + + Select a web browser + Web Browser auswählen + + + + DefaultAppsPage + + + Default Applications + Standardanwendungen + + + + Terminal Emulation: + Terminal-Emulator: + + + + + Search... + Suche... + + + + Web Browser: + Web Browser: + + + + EnvironmentPage + + + Add + Hinzufügen + + + + Delete + Löschen + + + + Environment Variables (Advanced) + Umgebungsvariablen (Erweitert) + + + + Variable Name + Variablenname + + + + Value + Wert + + + + ModuleModel + + + Running + Läuft + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt Sitzungs-Konfiguration + + + + LXQt Session Settings + + + + + Basic Settings + Grundeinstellungen + + + + Default Applications + Standardanwendungen + + + + Autostart + Autostart + + + + Environment (Advanced) + Umgebung (Erweitert) + + + + Session Restart Required + Erneute Anmeldung erforderlich + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Sie müssen sich erneut anmelden (lxqt-session), damit Ihre Änderungen aktiv werden. Klicken Sie dafür auf "Abmelden" im Hauptmenü. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_el_GR.desktop b/lxqt-config-session/translations/lxqt-config-session_el_GR.desktop new file mode 100644 index 0000000..a5d09ad --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_el_GR.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[el_GR]=Άρθρωμα διαμόρφωσης συνεδρίας LxQt-Qt +GenericName[el_GR]=Διαμόρφωση συνεδρίας LxQt +Name[el_GR]=Διαμόρφωση συνεδρίας LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_el_GR.ts b/lxqt-config-session/translations/lxqt-config-session_el_GR.ts new file mode 100644 index 0000000..d44736f --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_el_GR.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Επεξεργασία + + + + Name: + Όνομα: + + + + Search... + Αναζήτηση... + + + + Command: + Εντολή: + + + + Wait for system tray + Αναμονή για το πλαίσιο συστήματος + + + + Select Application + Επιλογή εφαρμογής + + + + AutoStartItemModel + + + Global Autostart + Καθολική αυτόματη εκκίνηση + + + LxQt Autostart + Αυτόματη εκκίνηση LxQt + + + + LXQt Autostart + + + + + Location: %1 + Τοποθεσία: %1 + + + + Overrides: %1 + Αντικατάσταση: %1 + + + + AutoStartPage + + + Delete + Διαγραφή + + + + Add + Προσθήκη + + + + Edit + Επεξεργασία + + + + Application Autostart + Αυτόματη εκκίνηση εφαρμογής + + + + Error + Σφάλμα + + + + File '%1' already exists! + Το αρχείο "%1" υπάρχει ήδη! + + + + BasicSettings + + + Window Manager + Διαχειριστής παραθύρων + + + + Search... + Αναζήτηση... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Βασικές ρυθμίσεις + + + LxQt Modules + Αρθρώματα LxQt + + + + Start + Εκκίνηση + + + + Stop + Διακοπή + + + + Select a window manager + Επιλογή διαχειριστή παραθύρων + + + + DefaultApps + + + Select a terminal emulator + Επιλογή εξομοιωτή τερματικού + + + + Select a web browser + Επιλογή περιηγητή ιστού + + + + DefaultAppsPage + + + Default Applications + Προεπιλεγμένες εφαρμογές + + + + Terminal Emulation: + Εξομοιωτής τερματικού: + + + + + Search... + Αναζήτηση... + + + + Web Browser: + Περιηγητής ιστού: + + + + EnvironmentPage + + + Add + Προσθήκη + + + + Delete + Διαγραφή + + + + Environment Variables (Advanced) + Μεταβλητές περιβάλλοντος (για προχωρημένους) + + + + Variable Name + Όνομα μεταβλητής + + + + Value + Τιμή + + + + ModuleModel + + + Running + Εκτελείται + + + + SessionConfigWindow + + LxQt Session Configuration + Διαμόρφωση συνεδρίας LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Βασικές ρυθμίσεις + + + + Default Applications + Προεπιλεγμένες εφαρμογές + + + + Autostart + Αυτόματη εκκίνηση + + + + Environment (Advanced) + Περιβάλλον (για προχωρημένους) + + + + Session Restart Required + Απαιτείται επανεκκίνηση συνεδρίας + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Πρέπει να επανεκκινήσετε τη συνεδρία lxqt για να φορτώσετε τις ρυθμίσεις. Χρησιμοποιήστε την αποσύνδεση από το κυρίως μενού. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_eo.desktop b/lxqt-config-session/translations/lxqt-config-session_eo.desktop new file mode 100644 index 0000000..6f21bc5 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_eo.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[eo]=Agordi modulon de seanco de LxQt-Qt +GenericName[eo]=Agordilo de seanco de LxQt +Name[eo]=Agordilo de seanco de LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_eo.ts b/lxqt-config-session/translations/lxqt-config-session_eo.ts new file mode 100644 index 0000000..ecbc6bc --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_eo.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Redakti + + + + Name: + Nomo: + + + + Search... + Serĉi... + + + + Command: + Komando: + + + + Wait for system tray + Atendado de sistempleto + + + + Select Application + Elektu aplikaĵon + + + + AutoStartItemModel + + + Global Autostart + Ĉiea aŭtomata starto + + + LxQt Autostart + Aŭtomata starto de LxQto + + + + LXQt Autostart + + + + + Location: %1 + Loko: %1 + + + + Overrides: %1 + Ĝi anstataŭigas: %1 + + + + AutoStartPage + + + Delete + Forigi + + + + Add + Aldoni + + + + Edit + Redakti + + + + Application Autostart + Aŭtomata startigo de aplikaĵoj + + + + Error + Eraro + + + + File '%1' already exists! + Dosiero '%1' jam ekzistas! + + + + BasicSettings + + + Window Manager + Fenestra mastrumilo + + + + Search... + Serĉi... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Bazaj agordoj + + + LxQt Modules + Moduloj de LxQto + + + + Start + + + + + Stop + + + + + Select a window manager + Elektu fenestran mastrumilon + + + + DefaultApps + + + Select a terminal emulator + Elektu simulilon de terminalo + + + + Select a web browser + Elektu retumilon + + + + DefaultAppsPage + + + Default Applications + Aprioraj aplikaĵoj + + + + Terminal Emulation: + Simulilo de terminalo: + + + + + Search... + Serĉi... + + + + Web Browser: + Retumilo: + + + + EnvironmentPage + + + Add + Aldoni + + + + Delete + Forigi + + + + Environment Variables (Advanced) + Ĉirkaŭaĵaj variabloj (progresinta) + + + + Variable Name + Nomo de variablo + + + + Value + Valoro + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + LxQt Session Configuration + Agordoj de seanco de LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Bazaj agordoj + + + + Default Applications + Aprioraj aplikaĵoj + + + + Autostart + Aŭtomata startigo + + + + Environment (Advanced) + Ĉirkaŭaĵo (progresinta) + + + + Session Restart Required + Postulata restartigo de seanco + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Vi devas restartigi la seancon de labortablo (lxqt-session) por reŝargi agordojn. Uzu ensaluton en la ĉefa menuo. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_es.desktop b/lxqt-config-session/translations/lxqt-config-session_es.desktop new file mode 100644 index 0000000..6dea6c8 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_es.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[es]=Configura el módulo de sesiones de LxQt-Qt +GenericName[es]=Configuración de sesiones LxQt +Name[es]=Configuración de sesiones LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_es.ts b/lxqt-config-session/translations/lxqt-config-session_es.ts new file mode 100644 index 0000000..93349c3 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_es.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Editar + + + + Name: + Nombre: + + + + Search... + Buscar... + + + + Command: + Comando: + + + + Wait for system tray + Espere al área de notificaciones + + + + Select Application + Seleccionar aplicación + + + + AutoStartItemModel + + + Global Autostart + Autoinicio global + + + LxQt Autostart + Autoinicio de LxQt + + + + LXQt Autostart + + + + + Location: %1 + Lugar: %1 + + + + Overrides: %1 + Sobreescrito: %1 + + + + AutoStartPage + + + Delete + Eliminar + + + + Add + Añadir + + + + Edit + Editar + + + + Application Autostart + Aplicaciones de inicio automático + + + + Error + Error + + + + File '%1' already exists! + !Archivo '%1' actualmente existe¡ + + + + BasicSettings + + + Window Manager + Gestor de ventanas + + + + Search... + Buscar... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Configuración básica + + + LxQt Modules + Módulos de LxQt + + + + Start + Iniciar + + + + Stop + Detener + + + + Select a window manager + Seleccione un gestor de ventanas + + + + DefaultApps + + + Select a terminal emulator + Seleccione un emulador de terminal + + + + Select a web browser + Seleccione un navegador web + + + + DefaultAppsPage + + + Default Applications + Aplicaciones predeterminadas + + + + Terminal Emulation: + Emulación de terminal: + + + + + Search... + Buscar... + + + + Web Browser: + Navegador web: + + + + EnvironmentPage + + + Add + Añadir + + + + Delete + Eliminar + + + + Environment Variables (Advanced) + Variables de entorno (avanzado) + + + + Variable Name + Nombre de la variable + + + + Value + Valor + + + + ModuleModel + + + Running + Ejecutandose + + + + SessionConfigWindow + + LxQt Session Configuration + Configuración de la sesión de LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Configuración básica + + + + Default Applications + Aplicaciones predeterminadas + + + + Autostart + Inicio automático + + + + Environment (Advanced) + Entorno (avanzado) + + + + Session Restart Required + Se requiere un reinicio de sesión + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Necesita reiniciar la sesión de escritorio (lxqt-session) para recargar la configuración. Cierre la sesión desde el menú principal. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_es_UY.ts b/lxqt-config-session/translations/lxqt-config-session_es_UY.ts new file mode 100644 index 0000000..2c822ad --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_es_UY.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_es_VE.desktop b/lxqt-config-session/translations/lxqt-config-session_es_VE.desktop new file mode 100644 index 0000000..74ff140 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_es_VE.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[es_VE]=Configuracion de modulo de LxQt-Qt +GenericName[es_VE]=Configuracion de sesion de LxQt +Name[es_VE]=Configuracion de sesion de LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_es_VE.ts b/lxqt-config-session/translations/lxqt-config-session_es_VE.ts new file mode 100644 index 0000000..7966e57 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_es_VE.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Editar + + + + Name: + Nombre: + + + + Search... + Buscar... + + + + Command: + Comando: + + + + Wait for system tray + Esperar aparezca la barra tray + + + + Select Application + Seleccionar programa + + + + AutoStartItemModel + + + Global Autostart + Autoarranque Global + + + LxQt Autostart + Autoarranque en LxQt + + + + LXQt Autostart + + + + + Location: %1 + Localización %1 + + + + Overrides: %1 + Sobreescribe %1 + + + + AutoStartPage + + + Delete + Borrar + + + + Add + Agregar + + + + Edit + Editar + + + + Application Autostart + Autoejecutar aplicacion + + + + Error + Error + + + + File '%1' already exists! + Archivo %1 ya existe! + + + + BasicSettings + + + Window Manager + Manejador de Ventanas + + + + Search... + Buscar... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Configuracion Basica + + + LxQt Modules + Modulos lxqt a habilitar en el inicio + + + + Start + Arrancar + + + + Stop + Detener + + + + Select a window manager + Seleccione un manejador de ventanas + + + + DefaultApps + + + Select a terminal emulator + Seleccione un emulador de terminal + + + + Select a web browser + Seleccione un navegador web + + + + DefaultAppsPage + + + Default Applications + Aplicaciones por defecto + + + + Terminal Emulation: + Emulador de terminal: + + + + + Search... + Buscar... + + + + Web Browser: + Navegador web: + + + + EnvironmentPage + + + Add + Agregar + + + + Delete + Borrar + + + + Environment Variables (Advanced) + Entorno de variables (Avanzado) + + + + Variable Name + Nombre de variable + + + + Value + Valor + + + + ModuleModel + + + Running + Corriendo + + + + SessionConfigWindow + + LxQt Session Configuration + Configuracion de sesion de LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Configuraciones básicas + + + + Default Applications + Aplicaciones por defecto + + + + Autostart + Autoinicio + + + + Environment (Advanced) + Entorno (Avanzado) + + + + Session Restart Required + Reinicio de sesion es requerido + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Tu necesitas reiniciar la sesion (lxqt-session) para recargar los ajustes. Usa el formulario de salida desde el menu principal. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_eu.desktop b/lxqt-config-session/translations/lxqt-config-session_eu.desktop new file mode 100644 index 0000000..e4c74fd --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_eu.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[eu]=Konfiguratu LxQt-Qt saioaren modulua +GenericName[eu]=LxQt saioaren konfiguratzailea +Name[eu]=LxQt saioaren konfiguratzailea diff --git a/lxqt-config-session/translations/lxqt-config-session_eu.ts b/lxqt-config-session/translations/lxqt-config-session_eu.ts new file mode 100644 index 0000000..23be4eb --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_eu.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Editatu + + + + Name: + Izena: + + + + Search... + Bilatu... + + + + Command: + Komandoa: + + + + Wait for system tray + Itxaron ataza-barrari + + + + Select Application + Hautatu aplikazioa + + + + AutoStartItemModel + + + Global Autostart + Autoabio globala + + + LxQt Autostart + LxQt autoabioa + + + + LXQt Autostart + + + + + Location: %1 + Kokalekua: %1 + + + + Overrides: %1 + Indargabetu: %1 + + + + AutoStartPage + + + Delete + Ezabatu + + + + Add + Gehitu + + + + Edit + Editatu + + + + Application Autostart + Aplikazioaren autoabioa + + + + Error + Errorea + + + + File '%1' already exists! + '%1' fitxategia dagoeneko existitzen da! + + + + BasicSettings + + + Window Manager + Leiho-kudeatzailea + + + + Search... + Bilatu... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Oinarrizko ezarpenak + + + LxQt Modules + LxQt moduluak + + + + Start + Abiatu + + + + Stop + Gelditu + + + + Select a window manager + Hautatu leiho-kudeatzaile bat + + + + DefaultApps + + + Select a terminal emulator + Hautatu terminal-emuladore bat + + + + Select a web browser + Hautatu web-arakatzaile bat + + + + DefaultAppsPage + + + Default Applications + Aplikazio lehenetsiak + + + + Terminal Emulation: + Terminal emulazioa: + + + + + Search... + Bilatu... + + + + Web Browser: + Web-arakatzailea: + + + + EnvironmentPage + + + Add + Gehitu + + + + Delete + Ezabatu + + + + Environment Variables (Advanced) + Ingurune-aldagaiak (aurreratua) + + + + Variable Name + Aldagaiaren izena + + + + Value + Balioa + + + + ModuleModel + + + Running + Martxan + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt saioaren konfigurazioa + + + + LXQt Session Settings + + + + + Basic Settings + Oinarrizko ezarpenak + + + + Default Applications + Aplikazio lehenetsiak + + + + Autostart + Autoabioa + + + + Environment (Advanced) + Ingurunea (aurreratua) + + + + Session Restart Required + Saioa berrabiarazi behar da + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Mahaigaineko saioa (lxqt saioa) berrabiarazi behar duzu ezarpenak birkargatzeko. Erabili menu nagusiko 'Amaitu saioa' aukera. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_fi.desktop b/lxqt-config-session/translations/lxqt-config-session_fi.desktop new file mode 100644 index 0000000..f964cbc --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_fi.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[fi]=Hallinnoi LxQt-Qt:n istuntomoduulia +GenericName[fi]=LxQtin istunnonhallinta +Name[fi]=LxQtin istunnonhallinta diff --git a/lxqt-config-session/translations/lxqt-config-session_fi.ts b/lxqt-config-session/translations/lxqt-config-session_fi.ts new file mode 100644 index 0000000..4e45a9d --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_fi.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Muokkaa + + + + Name: + Nimi: + + + + Search... + Etsi... + + + + Command: + Komento: + + + + Wait for system tray + + + + + Select Application + Valitse sovellus + + + + AutoStartItemModel + + + Global Autostart + Yleinen automaattikäynnistys + + + LxQt Autostart + LxQtin automaattikäynnistys + + + + LXQt Autostart + + + + + Location: %1 + Sijainti: %1 + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + Poista + + + + Add + Lisää + + + + Edit + Muokkaa + + + + Application Autostart + Sovellusten automaattikäynnistys + + + + Error + Virhe + + + + File '%1' already exists! + Tiedosto "%1" on jo olemassa! + + + + BasicSettings + + + Window Manager + Ikkunahallinta + + + + Search... + Etsi... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Perusasetukset + + + LxQt Modules + LxQt-moduulit + + + + Start + Käynnistä + + + + Stop + Pysäytä + + + + Select a window manager + Valitse ikkunahallinta + + + + DefaultApps + + + Select a terminal emulator + Valitse pääte + + + + Select a web browser + Valitse nettiselain + + + + DefaultAppsPage + + + Default Applications + Oletussovellukset + + + + Terminal Emulation: + Pääte: + + + + + Search... + Etsi... + + + + Web Browser: + Nettiselain: + + + + EnvironmentPage + + + Add + Lisää + + + + Delete + Poista + + + + Environment Variables (Advanced) + Ympäristömuuttujat (lisäasetukset) + + + + Variable Name + Muuttujan nimi + + + + Value + Arvo + + + + ModuleModel + + + Running + Käynnissä + + + + SessionConfigWindow + + LxQt Session Configuration + LxQtin istuntohallinta + + + + LXQt Session Settings + + + + + Basic Settings + Perusasetukset + + + + Default Applications + Oletussovellukset + + + + Autostart + Automaattikäynnistys + + + + Environment (Advanced) + Ympäristö (lisäasetukset) + + + + Session Restart Required + Istunnon uudelleenkäynnistys vaaditaan + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Asetusten voimaantulo vaatii työpöytäistunnon (lxqt-session) uudelleenkäynnistyksen. Kirjaudu ulos päävalikkoa käyttäen. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_fr_FR.desktop b/lxqt-config-session/translations/lxqt-config-session_fr_FR.desktop new file mode 100644 index 0000000..e752c66 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_fr_FR.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[fr_FR]=Configurer le module 'session' de LxQt-Qt +GenericName[fr_FR]=Paramétreur de session LxQt +Name[fr_FR]=Paramétreur de session LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_fr_FR.ts b/lxqt-config-session/translations/lxqt-config-session_fr_FR.ts new file mode 100644 index 0000000..776f42e --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_fr_FR.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Éditer + + + + Name: + Nom : + + + + Search... + Chercher... + + + + Command: + Commande : + + + + Wait for system tray + En attente de la boîte à miniatures + + + + Select Application + Choisir l'application + + + + AutoStartItemModel + + + Global Autostart + Lancement automatique global + + + LxQt Autostart + Lancement automatique de LxQt + + + + LXQt Autostart + + + + + Location: %1 + Emplacement : %1 + + + + Overrides: %1 + Ignorer : %1 + + + + AutoStartPage + + + Delete + Supprimer + + + + Add + Ajouter + + + + Edit + Éditer + + + + Application Autostart + Lancement automatique de l'application + + + + Error + Erreur + + + + File '%1' already exists! + Le fichier '%1' existe déjà ! + + + + BasicSettings + + + Window Manager + Gestionnaire de fenêtres + + + + Search... + Chercher... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Paramètres de base + + + LxQt Modules + Modules de LxQt + + + + Start + Démarrer + + + + Stop + Arrêter + + + + Select a window manager + Choisir un gestionnaire de fenêtres + + + + DefaultApps + + + Select a terminal emulator + Choisir un émulateur de terminal + + + + Select a web browser + Choisir un navigateur de bureau + + + + DefaultAppsPage + + + Default Applications + Applications par défaut + + + + Terminal Emulation: + Émulateur de terminal : + + + + + Search... + Chercher... + + + + Web Browser: + Navigateur web : + + + + EnvironmentPage + + + Add + Ajouter + + + + Delete + Supprimer + + + + Environment Variables (Advanced) + Variables d'environnement (avancé) + + + + Variable Name + Nom de la variable + + + + Value + Valeur + + + + ModuleModel + + + Running + Lancé + + + + SessionConfigWindow + + LxQt Session Configuration + Configuration de la session LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Paramètres de base + + + + Default Applications + Applications par défaut + + + + Autostart + Lancement automatique + + + + Environment (Advanced) + Environnement (avancé) + + + + Session Restart Required + Redémarrage de session requis + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Vous devez redémarrer votre session de bureau (lxqt-session) pour recharger les paramètres. Déconnectez-vous depuis le menu principal. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_hu.desktop b/lxqt-config-session/translations/lxqt-config-session_hu.desktop new file mode 100644 index 0000000..bca79fc --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_hu.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[hu]=A LxQt-Qt munkamenetmodul beállítása +GenericName[hu]=LxQt munkamenetbeállíó +Name[hu]=LxQt munkamenetbeállíó diff --git a/lxqt-config-session/translations/lxqt-config-session_hu.ts b/lxqt-config-session/translations/lxqt-config-session_hu.ts new file mode 100644 index 0000000..470cca1 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_hu.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Szerkesztés + + + + Name: + Név: + + + + Search... + Keresés… + + + + Command: + Parancs: + + + + Wait for system tray + Várakozás a paneltálcára + + + + Select Application + Alkalmazás kiválasztása + + + + AutoStartItemModel + + + Global Autostart + Automatikus indítás + + + LxQt Autostart + LxQt automatikus indítás + + + + LXQt Autostart + + + + + Location: %1 + Hely: %1 + + + + Overrides: %1 + Felülbírálások: %1 + + + + AutoStartPage + + + Delete + Törlés + + + + Add + Hozzáadás + + + + Edit + Szerkesztés + + + + Application Autostart + Alkalmazás automatikus indítása + + + + Error + Hiba + + + + File '%1' already exists! + A(z) „%1” fájl már létezik. + + + + BasicSettings + + + Window Manager + Ablakkezelő + + + + Search... + Keresés… + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Alapbeállítások + + + LxQt Modules + LxQt modulok + + + + Start + Indítás + + + + Stop + Leállítás + + + + Select a window manager + Ablakkezelő választása + + + + DefaultApps + + + Select a terminal emulator + Terminálemulátor választása + + + + Select a web browser + Webböngésző választása + + + + DefaultAppsPage + + + Default Applications + Alapértelmezett alkalmazások + + + + Terminal Emulation: + Terminálemuláció: + + + + + Search... + Keresés… + + + + Web Browser: + Webböngésző: + + + + EnvironmentPage + + + Add + Hozzáadás + + + + Delete + Törlés + + + + Environment Variables (Advanced) + Környezeti változók (speciális) + + + + Variable Name + Változónév + + + + Value + Érték + + + + ModuleModel + + + Running + Futó + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt munkamenet-beállítás + + + + LXQt Session Settings + + + + + Basic Settings + Alapbeállítások + + + + Default Applications + Alapértelmezett alkalmazások + + + + Autostart + Automatikus indítás + + + + Environment (Advanced) + Környezet (speciális) + + + + Session Restart Required + A munkamenet újraindítása szükséges + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Újra kell indítania a munkamenetet (lxqt-session) a beállítások újratöltéséhez. Használja a főmenü kijelentkezés pontját. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_hu_HU.ts b/lxqt-config-session/translations/lxqt-config-session_hu_HU.ts new file mode 100644 index 0000000..6b18a29 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_hu_HU.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ia.desktop b/lxqt-config-session/translations/lxqt-config-session_ia.desktop new file mode 100644 index 0000000..26b0d99 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ia.desktop @@ -0,0 +1 @@ +# Translations diff --git a/lxqt-config-session/translations/lxqt-config-session_ia.ts b/lxqt-config-session/translations/lxqt-config-session_ia.ts new file mode 100644 index 0000000..eb7d146 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ia.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_id_ID.desktop b/lxqt-config-session/translations/lxqt-config-session_id_ID.desktop new file mode 100644 index 0000000..ef7800d --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_id_ID.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[id_ID]=Konfigurasi modul sesi LxQt-Qt +GenericName[id_ID]=Konfigurator Sesi LxQt +Name[id_ID]=Konfigurator Sesi LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_id_ID.ts b/lxqt-config-session/translations/lxqt-config-session_id_ID.ts new file mode 100644 index 0000000..dca14f0 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_id_ID.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_it.desktop b/lxqt-config-session/translations/lxqt-config-session_it.desktop new file mode 100644 index 0000000..be453cb --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_it.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[it]=Configura la sessione LxQt +GenericName[it]=Impostazioni della sessione LxQt +Name[it]=Impostazioni della sessione LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_it_IT.desktop b/lxqt-config-session/translations/lxqt-config-session_it_IT.desktop new file mode 100644 index 0000000..f15f6fc --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_it_IT.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[it_IT]=Configura il modulo sessione di LxQt-Qt +GenericName[it_IT]=Strumento di configurazione della sessione di LxQt +Name[it_IT]=Strumento di configurazione della sessione di LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_it_IT.ts b/lxqt-config-session/translations/lxqt-config-session_it_IT.ts new file mode 100644 index 0000000..26e402d --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_it_IT.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Modifica + + + + Name: + Nome: + + + + Search... + Cerca... + + + + Command: + Comando: + + + + Wait for system tray + Attendi il vassoio di sistema + + + + Select Application + Seleziona applicazione + + + + AutoStartItemModel + + + Global Autostart + Avvio automatico globale + + + LxQt Autostart + Avvio automatico di LxQt + + + + LXQt Autostart + + + + + Location: %1 + Posizione: %1 + + + + Overrides: %1 + Sostituisce: %1 + + + + AutoStartPage + + + Delete + Cancella + + + + Add + Aggiungi + + + + Edit + Modifica + + + + Application Autostart + Avvio automatico delle applicazioni + + + + Error + Errore + + + + File '%1' already exists! + Il file '%1' esiste già! + + + + BasicSettings + + + Window Manager + Gestore delle finestre + + + + Search... + Cerca... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Impostazioni di base + + + LxQt Modules + Moduli di LxQt + + + + Start + Avvia + + + + Stop + Ferma + + + + Select a window manager + Seleziona un gestore delle finestre + + + + DefaultApps + + + Select a terminal emulator + Seleziona un emulatore di terminale + + + + Select a web browser + Seleziona un browser web + + + + DefaultAppsPage + + + Default Applications + Applicazioni predefinite + + + + Terminal Emulation: + Emulatore di terminale: + + + + + Search... + Cerca... + + + + Web Browser: + Browser web: + + + + EnvironmentPage + + + Add + Aggiungi + + + + Delete + Cancella + + + + Environment Variables (Advanced) + Variabili dell'ambiente (avanzato) + + + + Variable Name + Nome variabile + + + + Value + Valore + + + + ModuleModel + + + Running + In esecuzione + + + + SessionConfigWindow + + LxQt Session Configuration + Configurazione della sessione di LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Impostazioni di base + + + + Default Applications + Applicazioni predefinite + + + + Autostart + Avvio automatico + + + + Environment (Advanced) + Ambiente (avanzato) + + + + Session Restart Required + Necessario riavvio della sessione + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Devi riavviare la sessione desktop (lxqt-session) per ricaricare le impostazioni. Termina la sessione tramite il menu principale. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ja.desktop b/lxqt-config-session/translations/lxqt-config-session_ja.desktop new file mode 100644 index 0000000..88d49b5 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ja.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[ja]=LxQt-Qtセッションもジュールを設定 +GenericName[ja]=LxQtセッションの設定 +Name[ja]=LxQtセッションの設定 diff --git a/lxqt-config-session/translations/lxqt-config-session_ja.ts b/lxqt-config-session/translations/lxqt-config-session_ja.ts new file mode 100644 index 0000000..50d3404 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ja.ts @@ -0,0 +1,260 @@ + + + + + AutoStartEdit + + + Edit + 編集 + + + + Name: + 名称: + + + + Search... + 検索... + + + + Command: + コマンド: + + + + Wait for system tray + システムトレイを待つ + + + + Select Application + アプリケーションの選択 + + + + AutoStartItemModel + + + Global Autostart + 全体的な自動起動 + + + LxQt Autostart + LxQt自動起動 + + + + LXQt Autostart + + + + + Location: %1 + 位置:%1 + + + + Overrides: %1 + 上書き:%1 + + + + AutoStartPage + + + Delete + 削除 + + + + Add + 追加 + + + + Edit + 編集 + + + + Application Autostart + アプリケーション自動起動 + + + + Error + エラー + + + + File '%1' already exists! + File'%1'は既にあります! + + + + BasicSettings + + + Window Manager + ウィンドウマネージャ + + + + Search... + 検索... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + 基本的な設定 + + + + Start + + + + + Stop + + + + + Select a window manager + ウィンドウマネージャの選択 + + + + DefaultApps + + + Select a terminal emulator + ターミナルエミュレータの選択 + + + + Select a web browser + ウェブブラウザの選択 + + + + DefaultAppsPage + + + Default Applications + 既定のアプリケーション + + + + Terminal Emulation: + ターミネルのエミュレーション + + + + + Search... + 検索... + + + + Web Browser: + ウェブブラウザ: + + + + EnvironmentPage + + + Add + 追加 + + + + Delete + 削除 + + + + Environment Variables (Advanced) + 環境変数(詳細) + + + + Variable Name + 変数名 + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + LxQt Session Configuration + LxQtセッションの設定 + + + + LXQt Session Settings + + + + + Basic Settings + 基本設定 + + + + Default Applications + 既定のアプリケーション + + + + Autostart + 自動起動 + + + + Environment (Advanced) + 環境(詳細) + + + + Session Restart Required + セッション再起動の要求 + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + デスクトップセッション(lxqt-session)を再起動する必要があります。メインメニューからログアウトしてください。 + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ja_JP.ts b/lxqt-config-session/translations/lxqt-config-session_ja_JP.ts new file mode 100644 index 0000000..e6d3a95 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ja_JP.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ko.desktop b/lxqt-config-session/translations/lxqt-config-session_ko.desktop new file mode 100644 index 0000000..26b0d99 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ko.desktop @@ -0,0 +1 @@ +# Translations diff --git a/lxqt-config-session/translations/lxqt-config-session_ko.ts b/lxqt-config-session/translations/lxqt-config-session_ko.ts new file mode 100644 index 0000000..ca8a90d --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ko.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_lt.desktop b/lxqt-config-session/translations/lxqt-config-session_lt.desktop new file mode 100644 index 0000000..5985c62 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_lt.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[lt]=Konfigūruoti LxQt-Qt sesijų modulį +GenericName[lt]=LxQt sesijų konfigūravimas +Name[lt]=LxQt sesijų konfigūravimas diff --git a/lxqt-config-session/translations/lxqt-config-session_lt.ts b/lxqt-config-session/translations/lxqt-config-session_lt.ts new file mode 100644 index 0000000..bb05b77 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_lt.ts @@ -0,0 +1,260 @@ + + + + + AutoStartEdit + + + Edit + Keisti + + + + Name: + Pavadinimas: + + + + Search... + Ieškoti... + + + + Command: + Komanda: + + + + Wait for system tray + Laukti sistemos dėklo + + + + Select Application + Pasirinkite programą + + + + AutoStartItemModel + + + Global Autostart + Nuo aplinkos nepriklausomas programų paleidimas + + + LxQt Autostart + LxQt automatinis programų paleidimas + + + + LXQt Autostart + + + + + Location: %1 + Vieta: %1 + + + + Overrides: %1 + Nustelbia: %1 + + + + AutoStartPage + + + Delete + Šalinti + + + + Add + Pridėti + + + + Edit + Keisti + + + + Application Autostart + Automatinis programų paleidimas + + + + Error + Klaida + + + + File '%1' already exists! + Failas „%1“ jau yra! + + + + BasicSettings + + + Window Manager + Langų tvarkyklė + + + + Search... + Ieškoti... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Pagrindinės nuostatos + + + + Start + + + + + Stop + + + + + Select a window manager + Pasirinkite langų tvarkyklę + + + + DefaultApps + + + Select a terminal emulator + Pasirinkite terminalo emuliatorių + + + + Select a web browser + Pasirinkite saityno naršyklę + + + + DefaultAppsPage + + + Default Applications + Numatytosios programos + + + + Terminal Emulation: + Terminalo emuliatorius: + + + + + Search... + Ieškoti... + + + + Web Browser: + Saityno naršyklė: + + + + EnvironmentPage + + + Add + Pridėti + + + + Delete + Šalinti + + + + Environment Variables (Advanced) + Aplinkos kintamieji (sudėtingiau) + + + + Variable Name + Kintamasis + + + + Value + Reikšmė + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt sesijų konfigūravimas + + + + LXQt Session Settings + + + + + Basic Settings + Pagrindinės nuostatos + + + + Default Applications + Numatytosios programos + + + + Autostart + Automatinis paleidimas + + + + Environment (Advanced) + Aplinka (sudėtingiau) + + + + Session Restart Required + Reikia iš naujo paleisti sesiją + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Tam, kad įsigaliotų pakeitimai, iš naujo paleiskite darbalaukio sesiją (lxqt-session). Atsijungti galite naudodamiesi pagrindiniu meniu. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_nl.desktop b/lxqt-config-session/translations/lxqt-config-session_nl.desktop new file mode 100644 index 0000000..f4f3376 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_nl.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[nl]=Configureer LxQt-Qt sessie module +GenericName[nl]=LxQt sessie Configurator +Name[nl]=LxQt sessie Configurator diff --git a/lxqt-config-session/translations/lxqt-config-session_nl.ts b/lxqt-config-session/translations/lxqt-config-session_nl.ts new file mode 100644 index 0000000..d181fa7 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_nl.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Bewerken + + + + Name: + Naam: + + + + Search... + Zoek... + + + + Command: + Uitvoeren: + + + + Wait for system tray + Wacht op systeemvak. + + + + Select Application + Selecteer Programma + + + + AutoStartItemModel + + + Global Autostart + Algemene Autostart + + + LxQt Autostart + LxQt Autostart + + + + LXQt Autostart + + + + + Location: %1 + Locatie: %1 + + + + Overrides: %1 + Overschrijvingen: %1 + + + + AutoStartPage + + + Delete + Verwijder + + + + Add + Toevoegen + + + + Edit + Bewerken + + + + Application Autostart + Autostart Programma + + + + Error + Fout + + + + File '%1' already exists! + Bestand '%1' bestaat al! + + + + BasicSettings + + + Window Manager + Venster Beheer + + + + Search... + Zoek... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Basis Instellingen + + + LxQt Modules + LxQt Modules + + + + Start + + + + + Stop + + + + + Select a window manager + Selecteer een window manager + + + + DefaultApps + + + Select a terminal emulator + Selecteer een terminal + + + + Select a web browser + Selecteer een web browser + + + + DefaultAppsPage + + + Default Applications + Standaard Programma's + + + + Terminal Emulation: + Terminal emulatie: + + + + + Search... + Zoek... + + + + Web Browser: + Web Browser: + + + + EnvironmentPage + + + Add + Toevoegen + + + + Delete + Verwijder + + + + Environment Variables (Advanced) + Omgevings Variabelen (geavanceerd) + + + + Variable Name + Variabele Naam + + + + Value + Waarde + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt Sessie Configuratie + + + + LXQt Session Settings + + + + + Basic Settings + Basis Instellingen + + + + Default Applications + Standaard Programma's + + + + Autostart + Autostart + + + + Environment (Advanced) + Omgeving (geavanceerd) + + + + Session Restart Required + Sessie herstart vereist + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + U moet de Sessie herstarten (LxQt-sessie) om de instellingen op te slaan. Gebruik hiervoor "uitloggen" vanuit het hoofd menu. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_pl.desktop b/lxqt-config-session/translations/lxqt-config-session_pl.desktop new file mode 100644 index 0000000..ca8a54e --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_pl.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[pl]=Ustawienia sesji LxQt-Qt +GenericName[pl]=Ustawienia sesji LxQt +Name[pl]=Ustawienia sesji LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_pl_PL.desktop b/lxqt-config-session/translations/lxqt-config-session_pl_PL.desktop new file mode 100644 index 0000000..c67a344 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_pl_PL.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[pl_PL]=Konfiguruj moduł sesji LxQt +GenericName[pl_PL]=Konfigurator sesji LxQt +Name[pl_PL]=Konfigurator sesji LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_pl_PL.ts b/lxqt-config-session/translations/lxqt-config-session_pl_PL.ts new file mode 100644 index 0000000..65a271d --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_pl_PL.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Edytuj + + + + Name: + Nazwa: + + + + Search... + Szukaj... + + + + Command: + Polecenie: + + + + Wait for system tray + Czekaj na systemowy tray + + + + Select Application + Wybierz program + + + + AutoStartItemModel + + + Global Autostart + Ogólne + + + LxQt Autostart + LxQt + + + + LXQt Autostart + + + + + Location: %1 + Położenie:%1 + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + Usuń + + + + Add + Dodaj + + + + Edit + Edytuj + + + + Application Autostart + Automatyczne uruchamianie + + + + Error + Błąd + + + + File '%1' already exists! + Plik'%1' już istnieje! + + + + BasicSettings + + + Window Manager + Menedżer okien + + + + Search... + Szukaj... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Ogólne + + + LxQt Modules + Moduły LxQt + + + + Start + Start + + + + Stop + Stop + + + + Select a window manager + Wybierz menedżer okien + + + + DefaultApps + + + Select a terminal emulator + Wybór emulatora terminala + + + + Select a web browser + Wybór przedlądarki internetowej + + + + DefaultAppsPage + + + Default Applications + Domyślne programy + + + + Terminal Emulation: + Emulator terminala: + + + + + Search... + Szukaj... + + + + Web Browser: + Przeglądarka internetowa: + + + + EnvironmentPage + + + Add + Dodaj + + + + Delete + Usuń + + + + Environment Variables (Advanced) + Zmienne środowiskowe (zaawansowane) + + + + Variable Name + Nazwa zmiennej + + + + Value + Wartość + + + + ModuleModel + + + Running + Uruchomiony + + + + SessionConfigWindow + + LxQt Session Configuration + Konfiguracja sesji LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Ogólne + + + + Default Applications + Domyślne programy + + + + Autostart + Automatyczne uruchamianie + + + + Environment (Advanced) + Środowisko (zaawansowane) + + + + Session Restart Required + Wymagane ponowne uruchomienie sesji + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Należy ponownie uruchomić sesję (lxqt-session), aby wprowadzić zmiany. W tym celu proszę wylogować i ponownie zalogować użytkownika. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_pt.desktop b/lxqt-config-session/translations/lxqt-config-session_pt.desktop new file mode 100644 index 0000000..fc58792 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_pt.desktop @@ -0,0 +1,5 @@ +# Translations +Name[pt]=Definições da sessão +GenericName[pt]=Definições da sessão LxQt +Comment[pt]=Configuração das sessões do LxQt + diff --git a/lxqt-config-session/translations/lxqt-config-session_pt.ts b/lxqt-config-session/translations/lxqt-config-session_pt.ts new file mode 100644 index 0000000..156f823 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_pt.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Editar + + + + Name: + Nome: + + + + Search... + Procurar... + + + + Command: + Comando: + + + + Wait for system tray + Esperar pela bandeja do sistema + + + + Select Application + Escolha a aplicação + + + + AutoStartItemModel + + + Global Autostart + Arranque automático global + + + LxQt Autostart + Arranque automático do LxQt + + + + LXQt Autostart + Arranque automático do LxQt + + + + Location: %1 + Localização: %1 + + + + Overrides: %1 + Substitui: %1 + + + + AutoStartPage + + + Delete + Eliminar + + + + Add + Adicionar + + + + Edit + Editar + + + + Application Autostart + Aplicações com arranque automático + + + + Error + Erro + + + + File '%1' already exists! + O ficheiro "%1" já existe! + + + + BasicSettings + + + Window Manager + Gestor de janelas + + + + Search... + Procurar... + + + + LXQt Modules + Módulos do LxQt + + + + Leave Session + Sair da sessão + + + + Ask confirmation to leave session + Confirmar ao sair da sessão + + + + Basic Settings + Definições básicas + + + LxQt Modules + Módulos do LxQt + + + + Start + Iniciar + + + + Stop + Parar + + + + Select a window manager + Escolha um gestor de janelas + + + + DefaultApps + + + Select a terminal emulator + Escolha o emulador de terminal + + + + Select a web browser + Escolha o navegador web + + + + DefaultAppsPage + + + Default Applications + Aplicações pré-definidas + + + + Terminal Emulation: + Emulador de terminal: + + + + + Search... + Procurar... + + + + Web Browser: + Navegador web: + + + + EnvironmentPage + + + Add + Adicionar + + + + Delete + Eliminar + + + + Environment Variables (Advanced) + Variáveis de ambiente (avançado) + + + + Variable Name + Nome da variável + + + + Value + Valor + + + + ModuleModel + + + Running + Em execução + + + + SessionConfigWindow + + LxQt Session Configuration + Configuração da sessão LxQt + + + + LXQt Session Settings + Definições da sessão LxQt + + + + Basic Settings + Definições básicas + + + + Default Applications + Aplicações pré-definidas + + + + Autostart + Arranque automático + + + + Environment (Advanced) + Ambiente (avançado) + + + + Session Restart Required + Tem que reiniciar a sessão + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Tem que reiniciar a sessão (lxqt-session) para carregar as novas definições. Utilize "Terminar sessão" no menu principal. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_pt_BR.desktop b/lxqt-config-session/translations/lxqt-config-session_pt_BR.desktop new file mode 100644 index 0000000..6f7798d --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_pt_BR.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[pt_BR]=Módulo de configurador de sessão do LxQt-Qt +GenericName[pt_BR]=Configurador de sessão do LxQt +Name[pt_BR]=Configurador de sessão do LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_pt_BR.ts b/lxqt-config-session/translations/lxqt-config-session_pt_BR.ts new file mode 100644 index 0000000..69fa0db --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_pt_BR.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Editar + + + + Name: + Nome: + + + + Search... + Pesquisar... + + + + Command: + Comando: + + + + Wait for system tray + Esperar pela área de notificação + + + + Select Application + Selecionar aplicativo + + + + AutoStartItemModel + + + Global Autostart + Iniciar automaticamente global + + + LxQt Autostart + Iniciar automaticamente do LxQt + + + + LXQt Autostart + + + + + Location: %1 + Localização: %1 + + + + Overrides: %1 + Sobrescreve: %1 + + + + AutoStartPage + + + Delete + Excluir + + + + Add + Adicionar + + + + Edit + Editar + + + + Application Autostart + Início automático dos aplicativos + + + + Error + Erro + + + + File '%1' already exists! + O arquivo '%1' já existe! + + + + BasicSettings + + + Window Manager + Gerenciador de janelas + + + + Search... + Pesquisar... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Configurações básicas + + + LxQt Modules + Módulos do LxQt + + + + Start + Iniciar + + + + Stop + Parar + + + + Select a window manager + Selecionar um gerenciador de janelas + + + + DefaultApps + + + Select a terminal emulator + Selecionar um emulador de terminal + + + + Select a web browser + Selecionar um navegador de internet + + + + DefaultAppsPage + + + Default Applications + Aplicativos padrão + + + + Terminal Emulation: + Emulador de terminal: + + + + + Search... + Pesquisar... + + + + Web Browser: + Navegador de internet: + + + + EnvironmentPage + + + Add + Adicionar + + + + Delete + Excluir + + + + Environment Variables (Advanced) + Variáveis de ambiente (avançado) + + + + Variable Name + Nome da variável + + + + Value + Valor + + + + ModuleModel + + + Running + Em execução + + + + SessionConfigWindow + + LxQt Session Configuration + Configuração da sessão do LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Configurações básicas + + + + Default Applications + Aplicativos padrão + + + + Autostart + Iniciar automaticamente + + + + Environment (Advanced) + Ambiente (avançado) + + + + Session Restart Required + Reinício de sessão necessário + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Você precisa reiniciar a sessão da área de trabalho (lxqt-session) para recarregar as configurações. Use encerrar sessão a partir do menu principal. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ro_RO.desktop b/lxqt-config-session/translations/lxqt-config-session_ro_RO.desktop new file mode 100644 index 0000000..72b9880 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ro_RO.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[ro_RO]=Configurează modulul sesiune LxQt-Qt +GenericName[ro_RO]=Configurare sesiune LxQt +Name[ro_RO]=Configurare sesiune LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_ro_RO.ts b/lxqt-config-session/translations/lxqt-config-session_ro_RO.ts new file mode 100644 index 0000000..06a6bbd --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ro_RO.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Editează + + + + Name: + Nume: + + + + Search... + Se caută... + + + + Command: + Comandă: + + + + Wait for system tray + Așteaptă după tava sistem + + + + Select Application + Selectează aplicația + + + + AutoStartItemModel + + + Global Autostart + Autostart global + + + LxQt Autostart + Autostart LxQt + + + + LXQt Autostart + + + + + Location: %1 + Locație: %1 + + + + Overrides: %1 + Înlocuiri: %1 + + + + AutoStartPage + + + Delete + Șterge + + + + Add + Adaugă + + + + Edit + Editează + + + + Application Autostart + Autostart aplicație + + + + Error + Eroare + + + + File '%1' already exists! + Fișierul '%1' există deja! + + + + BasicSettings + + + Window Manager + Gestiune ferestre + + + + Search... + Se caută... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Setări de bază + + + LxQt Modules + Module LxQt + + + + Start + Pornire + + + + Stop + Oprire + + + + Select a window manager + Selectați un administrator de ferestre + + + + DefaultApps + + + Select a terminal emulator + Selectați un emulator de terminal + + + + Select a web browser + Selectați un navigator web + + + + DefaultAppsPage + + + Default Applications + Aplicații implicite + + + + Terminal Emulation: + Emulatoare de terminal: + + + + + Search... + Se caută... + + + + Web Browser: + Navigator web: + + + + EnvironmentPage + + + Add + Adaugă + + + + Delete + Șterge + + + + Environment Variables (Advanced) + Variabile de mediu (mod avansat) + + + + Variable Name + Nume variabilă + + + + Value + Valoare + + + + ModuleModel + + + Running + Rulează + + + + SessionConfigWindow + + LxQt Session Configuration + Configurare sesiune LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Setări de bază + + + + Default Applications + Aplicații implicite + + + + Autostart + Autostart + + + + Environment (Advanced) + Mediu (mod avansat) + + + + Session Restart Required + Se necesită repornirea sesiunii + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Trebuie să reporniți sesiunea (lxqt-session) pentru a reîncărca setările. Utilizați opțiunea de ieșire din meniul principal. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ru.desktop b/lxqt-config-session/translations/lxqt-config-session_ru.desktop new file mode 100644 index 0000000..5966628 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ru.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[ru]=Настройка для сеансов LXQt +GenericName[ru]=Настройка сеанса LXQt +Name[ru]=Настройка сеанса \ No newline at end of file diff --git a/lxqt-config-session/translations/lxqt-config-session_ru.ts b/lxqt-config-session/translations/lxqt-config-session_ru.ts new file mode 100644 index 0000000..a2514b1 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ru.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + Изменить + + + + Name: + Имя: + + + + Search... + Искать… + + + + Command: + Команда: + + + + Wait for system tray + Ожидание системного лотка + + + + Select Application + Выбрать программу + + + + AutoStartItemModel + + + Global Autostart + Общие программы + + + + LXQt Autostart + Автозапуск только для LXQt + + + + Location: %1 + Расположение: %1 + + + + Overrides: %1 + Переопределяет: %1 + + + + AutoStartPage + + + Delete + Удалить + + + + Add + Добавить + + + + Edit + Редактировать + + + + Application Autostart + Автозапуск приложений + + + + Error + Ошибка + + + + File '%1' already exists! + Файл '%1' уже существует! + + + + BasicSettings + + + Window Manager + Оконный менеджер + + + + Search... + Выбрать… + + + + Basic Settings + Основные настройки + + + + LXQt Modules + Модули LXQt + + + + Start + Старт + + + + Stop + Стоп + + + + Leave Session + Завершить сеанс + + + + Ask confirmation to leave session + Спрашивать подтверждение завершения сеанса + + + + Select a window manager + Укажите менеджер окон + + + + DefaultApps + + + Select a terminal emulator + Укажите эмулятор терминала + + + + Select a web browser + Укажите браузер + + + + DefaultAppsPage + + + Default Applications + Программы по умолчанию + + + + Terminal Emulation: + Терминал: + + + + + Search... + Выбрать… + + + + Web Browser: + Браузер: + + + + EnvironmentPage + + + Add + Добавить + + + + Delete + Удалить + + + + Environment Variables (Advanced) + Переменные среды (для опытных) + + + + Variable Name + Переменная + + + + Value + Значение + + + + ModuleModel + + + Running + Запущено + + + + SessionConfigWindow + + + LXQt Session Settings + Настройки сессии LxQt + + + + Basic Settings + Основные настройки + + + + Default Applications + Программы по умолчанию + + + + Autostart + Автозапуск + + + + Environment (Advanced) + Окружение (для опытных) + + + + Session Restart Required + Понадобится перезапуск сессии + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Изменения вступят в силу только после перезапуска сессии (lxqt-session). Используйте пункт «Завершить сеанс» в главном меню. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_ru_RU.desktop b/lxqt-config-session/translations/lxqt-config-session_ru_RU.desktop new file mode 100644 index 0000000..1bbd69c --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ru_RU.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[ru_RU]=Настройка для сеансов LXQt +GenericName[ru_RU]=Настройка сеанса LXQt +Name[ru_RU]=Настройка сеанса \ No newline at end of file diff --git a/lxqt-config-session/translations/lxqt-config-session_ru_RU.ts b/lxqt-config-session/translations/lxqt-config-session_ru_RU.ts new file mode 100644 index 0000000..e61bdf3 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_ru_RU.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + Изменить + + + + Name: + Имя: + + + + Search... + Искать… + + + + Command: + Команда: + + + + Wait for system tray + Ожидание системного лотка + + + + Select Application + Выбрать программу + + + + AutoStartItemModel + + + Global Autostart + Общие программы + + + + LXQt Autostart + Автозапуск только для LXQt + + + + Location: %1 + Расположение: %1 + + + + Overrides: %1 + Переопределяет: %1 + + + + AutoStartPage + + + Delete + Удалить + + + + Add + Добавить + + + + Edit + Редактировать + + + + Application Autostart + Автозапуск приложений + + + + Error + Ошибка + + + + File '%1' already exists! + Файл '%1' уже существует! + + + + BasicSettings + + + Window Manager + Оконный менеджер + + + + Search... + Выбрать… + + + + Basic Settings + Основные настройки + + + + LXQt Modules + Модули LXQt + + + + Start + Старт + + + + Stop + Стоп + + + + Leave Session + Завершить сеанс + + + + Ask confirmation to leave session + Спрашивать подтверждение завершения сеанса + + + + Select a window manager + Укажите менеджер окон + + + + DefaultApps + + + Select a terminal emulator + Укажите эмулятор терминала + + + + Select a web browser + Укажите браузер + + + + DefaultAppsPage + + + Default Applications + Программы по умолчанию + + + + Terminal Emulation: + Терминал: + + + + + Search... + Выбрать… + + + + Web Browser: + Браузер: + + + + EnvironmentPage + + + Add + Добавить + + + + Delete + Удалить + + + + Environment Variables (Advanced) + Переменные среды (для опытных) + + + + Variable Name + Переменная + + + + Value + Значение + + + + ModuleModel + + + Running + Запущено + + + + SessionConfigWindow + + + LXQt Session Settings + Настройки сессии LxQt + + + + Basic Settings + Основные настройки + + + + Default Applications + Программы по умолчанию + + + + Autostart + Автозапуск + + + + Environment (Advanced) + Окружение (для опытных) + + + + Session Restart Required + Понадобится перезапуск сессии + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Изменения вступят в силу только после перезапуска сессии (lxqt-session). Используйте пункт «Завершить сеанс» в главном меню. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_sk.desktop b/lxqt-config-session/translations/lxqt-config-session_sk.desktop new file mode 100644 index 0000000..32f623f --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sk.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[sk]=Nastavenie relácie prostredia LxQt-Qt +GenericName[sk]=Nastavenie relácie prostredia LxQt +Name[sk]=Nastavenie relácie diff --git a/lxqt-config-session/translations/lxqt-config-session_sk_SK.ts b/lxqt-config-session/translations/lxqt-config-session_sk_SK.ts new file mode 100644 index 0000000..33c9d2a --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sk_SK.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_sl.desktop b/lxqt-config-session/translations/lxqt-config-session_sl.desktop new file mode 100644 index 0000000..34ecd90 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sl.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[sl]=Nastavite modul seje za LxQt +GenericName[sl]=Nastavitev seje +Name[sl]=Nastavitev seje diff --git a/lxqt-config-session/translations/lxqt-config-session_sl.ts b/lxqt-config-session/translations/lxqt-config-session_sl.ts new file mode 100644 index 0000000..9b5754e --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sl.ts @@ -0,0 +1,260 @@ + + + + + AutoStartEdit + + + Edit + Urejanje + + + + Name: + Ime: + + + + Search... + Iskanje ... + + + + Command: + Ukaz: + + + + Wait for system tray + Počakaj na sistemsko vrstico + + + + Select Application + Izberite program + + + + AutoStartItemModel + + + Global Autostart + Globalni samodejni zagon + + + LxQt Autostart + Samodejni zagon za lxqt + + + + LXQt Autostart + + + + + Location: %1 + Lokacija: %1 + + + + Overrides: %1 + Povozi: %1 + + + + AutoStartPage + + + Delete + Izbriši + + + + Add + Dodaj + + + + Edit + Urejanje + + + + Application Autostart + Samodejni zagon programa + + + + Error + Napaka + + + + File '%1' already exists! + Datoteka »%1« že obstaja. + + + + BasicSettings + + + Window Manager + Upravljalnik oken + + + + Search... + Iskanje ... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Osnovne nastavitve + + + + Start + + + + + Stop + + + + + Select a window manager + Izberite upravljalnika oken + + + + DefaultApps + + + Select a terminal emulator + Izberite posnemovalnika terminala + + + + Select a web browser + Izberite spletni brskalnik + + + + DefaultAppsPage + + + Default Applications + Privzeti programi + + + + Terminal Emulation: + Posnemovalnik termina: + + + + + Search... + Iskanje ... + + + + Web Browser: + Spletni brskalnik: + + + + EnvironmentPage + + + Add + Dodaj + + + + Delete + Izbriši + + + + Environment Variables (Advanced) + Okoljske spremenljivke (napredno) + + + + Variable Name + Ime spremenljivke + + + + Value + Vrednost + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + LxQt Session Configuration + Nastavitve seje LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Osnovne nastavitve + + + + Default Applications + Privzeti programi + + + + Autostart + Samodejni zagon + + + + Environment (Advanced) + Okolje (napredno) + + + + Session Restart Required + Potreben je ponoven zagon seje + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Za ponovno naložitev nastavitev morate znova zagnati sejo namizja (lxqt-session). Iz glavnega menija izberite Odjavi. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_sr.desktop b/lxqt-config-session/translations/lxqt-config-session_sr.desktop new file mode 100644 index 0000000..e187025 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sr.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[sr]=Подесите Рејзоров модул сесије +GenericName[sr]=Подешавање сесије +Name[sr]=Подешавање сесије Рејзора diff --git a/lxqt-config-session/translations/lxqt-config-session_sr@ijekavian.desktop b/lxqt-config-session/translations/lxqt-config-session_sr@ijekavian.desktop new file mode 100644 index 0000000..810eb9a --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sr@ijekavian.desktop @@ -0,0 +1,3 @@ +Name[sr@ijekavian]=Подешавање сесије Рејзора +Comment[sr@ijekavian]=Подесите Рејзоров модул сесије +GenericName[sr@ijekavian]=Подешавање сесије diff --git a/lxqt-config-session/translations/lxqt-config-session_sr@ijekavianlatin.desktop b/lxqt-config-session/translations/lxqt-config-session_sr@ijekavianlatin.desktop new file mode 100644 index 0000000..2885405 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sr@ijekavianlatin.desktop @@ -0,0 +1,3 @@ +Name[sr@ijekavianlatin]=Podešavanje sesije Rejzora +Comment[sr@ijekavianlatin]=Podesite Rejzorov modul sesije +GenericName[sr@ijekavianlatin]=Podešavanje sesije diff --git a/lxqt-config-session/translations/lxqt-config-session_sr@latin.desktop b/lxqt-config-session/translations/lxqt-config-session_sr@latin.desktop new file mode 100644 index 0000000..78fcd6a --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sr@latin.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[sr@latin]=Podesite Rejzorov modul sesije +GenericName[sr@latin]=Podešavanje sesije +Name[sr@latin]=Podešavanje sesije Rejzora diff --git a/lxqt-config-session/translations/lxqt-config-session_sr@latin.ts b/lxqt-config-session/translations/lxqt-config-session_sr@latin.ts new file mode 100644 index 0000000..7fd8b53 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sr@latin.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_sr_RS.ts b/lxqt-config-session/translations/lxqt-config-session_sr_RS.ts new file mode 100644 index 0000000..59f743a --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_sr_RS.ts @@ -0,0 +1,256 @@ + + + + + AutoStartEdit + + + Edit + Уреди + + + + Name: + Име: + + + + Search... + Тражи... + + + + Command: + Наредба: + + + + Wait for system tray + + + + + Select Application + Изабери програм + + + + AutoStartItemModel + + + Global Autostart + Глобално аутопокретање + + + LxQt Autostart + Рејзорово аутопокретање + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + Обриши + + + + Add + + + + + Edit + Уреди + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + Тражи... + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + Тражи... + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + Обриши + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_th_TH.desktop b/lxqt-config-session/translations/lxqt-config-session_th_TH.desktop new file mode 100644 index 0000000..9321f40 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_th_TH.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[th_TH]=ตั้งค่ามอดูลวาระงาน LxQt-Qt +GenericName[th_TH]=ตัวตั้งค่าวาระงาน LxQt +Name[th_TH]=ตัวตั้งค่าวาระงาน LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_th_TH.ts b/lxqt-config-session/translations/lxqt-config-session_th_TH.ts new file mode 100644 index 0000000..936b88d --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_th_TH.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + แก้ไข + + + + Name: + ชื่อ: + + + + Search... + ค้นหา... + + + + Command: + คำสั่ง: + + + + Wait for system tray + รอสำหรับถาดระบบ + + + + Select Application + เลือกโปแกรม + + + + AutoStartItemModel + + + Global Autostart + การเริ่มโปรแกรมอัตโนมัติ (ส่วนกลาง) + + + LxQt Autostart + เริ่มโปรแกรมอัตโนมัติ LxQt + + + + LXQt Autostart + + + + + Location: %1 + สถานที่: %1 + + + + Overrides: %1 + ล้มเลิก: %1 + + + + AutoStartPage + + + Delete + ลบ + + + + Add + เพิ่ม + + + + Edit + แก้ไข + + + + Application Autostart + การเริ่มโปรแกรมอัตโนมัติ + + + + Error + ขัดข้อง + + + + File '%1' already exists! + มีแฟ้ม '%1' อยู่ก่อนแล้ว + + + + BasicSettings + + + Window Manager + ตัวจัดการหน้าต่าง + + + + Search... + ค้นหา... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + การตั้งค่าพื้นฐาน + + + LxQt Modules + มอดูลต่างๆ LxQt + + + + Start + เริ่ม + + + + Stop + หยุด + + + + Select a window manager + เลือกตัวจัดการหน้าต่าง + + + + DefaultApps + + + Select a terminal emulator + เลือกโปรแกรมจำลองเทอร์มินัล + + + + Select a web browser + เลือกโปรแกรมท่องเว็บ + + + + DefaultAppsPage + + + Default Applications + โปรแกรมปริยาย + + + + Terminal Emulation: + โปรแกรมจำลองเทอร์มินัล: + + + + + Search... + ค้นหา... + + + + Web Browser: + โปรแกรมท่องเว็บ + + + + EnvironmentPage + + + Add + เพิ่ม + + + + Delete + ลบ + + + + Environment Variables (Advanced) + ตัวแปรสภาพแวดล้อม (ขั้นสูง) + + + + Variable Name + ชื่อตัวแปร + + + + Value + ค่า + + + + ModuleModel + + + Running + กำลังทำงาน + + + + SessionConfigWindow + + LxQt Session Configuration + การตั้งค่าวาระงาน LxQt + + + + LXQt Session Settings + + + + + Basic Settings + ค่าตั้งพื้นฐาน + + + + Default Applications + โปรแกรมปริยาย + + + + Autostart + การเริ่มโปรแกรมอัตโนมัติ + + + + Environment (Advanced) + สภวาดแวดล้อม (ขั้นสูง) + + + + Session Restart Required + จำเป็นต้องทำการเริ่มวาระงานใหม่ + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + คุณจำเป็นต้องทำการเริ่มวาระงานพื้นโต๊ะ(วาระงาน-lxqt)ใหม่ เพื่อโหลดค่าตั้ง ใช้การออกระบบจากเมนูหลัก + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_tr.desktop b/lxqt-config-session/translations/lxqt-config-session_tr.desktop new file mode 100644 index 0000000..3a419ba --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_tr.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[tr]=LxQt-Qt oturum modülünü yapılandır +GenericName[tr]=LxQt Oturum Yapılandırıcı +Name[tr]=LxQt Oturum Yapılandırıcı diff --git a/lxqt-config-session/translations/lxqt-config-session_tr.ts b/lxqt-config-session/translations/lxqt-config-session_tr.ts new file mode 100644 index 0000000..51ce0e6 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_tr.ts @@ -0,0 +1,260 @@ + + + + + AutoStartEdit + + + Edit + Düzenle + + + + Name: + İsim: + + + + Search... + Ara... + + + + Command: + Komut: + + + + Wait for system tray + Sistem çekmecesi için bekleyin + + + + Select Application + Uygulama Seç + + + + AutoStartItemModel + + + Global Autostart + Genel Kendiliğinden Başlatma + + + LxQt Autostart + LxQt Kendilğinden Başlatma + + + + LXQt Autostart + + + + + Location: %1 + Konum: %1 + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + Sil + + + + Add + Ekle + + + + Edit + Düzenle + + + + Application Autostart + Uygulama Kendiliğinden Çalıştırıcı + + + + Error + Hata + + + + File '%1' already exists! + '%1' dosyası zaten var! + + + + BasicSettings + + + Window Manager + Pencere Yönetici + + + + Search... + Ara... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Temel Ayarlar + + + + Start + + + + + Stop + + + + + Select a window manager + Bir pencere yöneticisi seçin + + + + DefaultApps + + + Select a terminal emulator + Bir terminal öykünücü seçin + + + + Select a web browser + Bir web tarayıcı seçin + + + + DefaultAppsPage + + + Default Applications + Öntanımlı Uygulamalar + + + + Terminal Emulation: + Terminal Öykünümü: + + + + + Search... + Ara... + + + + Web Browser: + Web Tarayıcı: + + + + EnvironmentPage + + + Add + Ekle + + + + Delete + Sil + + + + Environment Variables (Advanced) + Ortam Değişkenleri (Gelişmiş) + + + + Variable Name + Değişken Adı + + + + Value + Değer + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt Oturum Yapılandırma + + + + LXQt Session Settings + + + + + Basic Settings + Temel Ayarlar + + + + Default Applications + Öntanımlı Uygulamalar + + + + Autostart + Kendilğinden Başlatma + + + + Environment (Advanced) + Ortam (Gelişmiş) + + + + Session Restart Required + Oturumun yeniden başlatılması gerekli + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Ayarların etkin olması için masaüstü oturumunu (lxqt-session) yeniden başlatmanız gerekli. Ana menüden çıkış işlevini kullanın. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_uk.desktop b/lxqt-config-session/translations/lxqt-config-session_uk.desktop new file mode 100644 index 0000000..def1026 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_uk.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[uk]=Налаштувати модуль сеансу LxQt-Qt +GenericName[uk]=Налаштування сеансу LxQt +Name[uk]=Налаштування сеансу LxQt diff --git a/lxqt-config-session/translations/lxqt-config-session_uk.ts b/lxqt-config-session/translations/lxqt-config-session_uk.ts new file mode 100644 index 0000000..6784086 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_uk.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + Редагувати + + + + Name: + Ім’я: + + + + Search... + Пошук... + + + + Command: + Команда: + + + + Wait for system tray + Очікувати на системний лоток + + + + Select Application + Обрати програму + + + + AutoStartItemModel + + + Global Autostart + Глобальний автозапуск + + + LxQt Autostart + Автозапуск LxQt + + + + LXQt Autostart + + + + + Location: %1 + Місце: %1 + + + + Overrides: %1 + Перекриває: %1 + + + + AutoStartPage + + + Delete + Вилучити + + + + Add + Додати + + + + Edit + Редагувати + + + + Application Autostart + Автозапуск програм + + + + Error + Помилка + + + + File '%1' already exists! + Файл '%1' вже існує! + + + + BasicSettings + + + Window Manager + Менеджер вікон + + + + Search... + Пошук... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + Базові налаштування + + + LxQt Modules + Модулі LxQt + + + + Start + Запустити + + + + Stop + Зупинити + + + + Select a window manager + Оберіть менеджер вікон + + + + DefaultApps + + + Select a terminal emulator + Оберіть емулятор терміналу + + + + Select a web browser + Оберіть веб-переглядач + + + + DefaultAppsPage + + + Default Applications + Типові програми + + + + Terminal Emulation: + Емуляція терміналу: + + + + + Search... + Пошук... + + + + Web Browser: + Веб-переглядач: + + + + EnvironmentPage + + + Add + Додати + + + + Delete + Вилучити + + + + Environment Variables (Advanced) + Змінні середовища (розширено) + + + + Variable Name + Назва змінної + + + + Value + Значення + + + + ModuleModel + + + Running + Запущено + + + + SessionConfigWindow + + LxQt Session Configuration + Налаштування сеансу LxQt + + + + LXQt Session Settings + + + + + Basic Settings + Базові налаштування + + + + Default Applications + Типові програми + + + + Autostart + Автозапуск + + + + Environment (Advanced) + Середовище (розширено) + + + + Session Restart Required + Необхідно перезапустити сеанс + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + Нові налаштування діятимуть у новому сеансі (lxqt-session). Вийдіть із поточного через головне меню. + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_zh_CN.GB2312.desktop b/lxqt-config-session/translations/lxqt-config-session_zh_CN.GB2312.desktop new file mode 100644 index 0000000..26b0d99 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_zh_CN.GB2312.desktop @@ -0,0 +1 @@ +# Translations diff --git a/lxqt-config-session/translations/lxqt-config-session_zh_CN.GB2312.ts b/lxqt-config-session/translations/lxqt-config-session_zh_CN.GB2312.ts new file mode 100644 index 0000000..fc32d89 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_zh_CN.GB2312.ts @@ -0,0 +1,252 @@ + + + + + AutoStartEdit + + + Edit + + + + + Name: + + + + + Search... + + + + + Command: + + + + + Wait for system tray + + + + + Select Application + + + + + AutoStartItemModel + + + Global Autostart + + + + + LXQt Autostart + + + + + Location: %1 + + + + + Overrides: %1 + + + + + AutoStartPage + + + Delete + + + + + Add + + + + + Edit + + + + + Application Autostart + + + + + Error + + + + + File '%1' already exists! + + + + + BasicSettings + + + Window Manager + + + + + Search... + + + + + LXQt Modules + + + + + Start + + + + + Stop + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + + + + + Select a window manager + + + + + DefaultApps + + + Select a terminal emulator + + + + + Select a web browser + + + + + DefaultAppsPage + + + Default Applications + + + + + Terminal Emulation: + + + + + + Search... + + + + + Web Browser: + + + + + EnvironmentPage + + + Add + + + + + Delete + + + + + Environment Variables (Advanced) + + + + + Variable Name + + + + + Value + + + + + ModuleModel + + + Running + + + + + SessionConfigWindow + + + LXQt Session Settings + + + + + Basic Settings + + + + + Default Applications + + + + + Autostart + + + + + Environment (Advanced) + + + + + Session Restart Required + + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_zh_CN.desktop b/lxqt-config-session/translations/lxqt-config-session_zh_CN.desktop new file mode 100644 index 0000000..9314200 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_zh_CN.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[zh_CN]=配置 LxQt-Qt 会话模块 +GenericName[zh_CN]=LxQt 会话配置 +Name[zh_CN]=LxQt 会话配置 diff --git a/lxqt-config-session/translations/lxqt-config-session_zh_CN.ts b/lxqt-config-session/translations/lxqt-config-session_zh_CN.ts new file mode 100644 index 0000000..d542c04 --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_zh_CN.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + 编辑 + + + + Name: + 名称: + + + + Search... + 查找... + + + + Command: + 命令: + + + + Wait for system tray + 等待系统托盘 + + + + Select Application + 选择程序 + + + + AutoStartItemModel + + + Global Autostart + 全局自动启动 + + + LxQt Autostart + LxQt 自动启动 + + + + LXQt Autostart + + + + + Location: %1 + 位置:%1 + + + + Overrides: %1 + 覆盖:%1 + + + + AutoStartPage + + + Delete + 删除 + + + + Add + 添加 + + + + Edit + 编辑 + + + + Application Autostart + 程序自动启动 + + + + Error + 错误 + + + + File '%1' already exists! + 文件 '%1' 已存在! + + + + BasicSettings + + + Window Manager + 窗口管理器 + + + + Search... + 查找... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + 基本设置 + + + LxQt Modules + LxQt 模块 + + + + Start + 启动 + + + + Stop + 停止 + + + + Select a window manager + 选择窗口管理器 + + + + DefaultApps + + + Select a terminal emulator + 选择终端模拟器 + + + + Select a web browser + 选择网页浏览器 + + + + DefaultAppsPage + + + Default Applications + 默认程序 + + + + Terminal Emulation: + 终端模拟器: + + + + + Search... + 查找... + + + + Web Browser: + 网页浏览器: + + + + EnvironmentPage + + + Add + 添加 + + + + Delete + 删除 + + + + Environment Variables (Advanced) + 环境变量(高级) + + + + Variable Name + 变量名 + + + + Value + + + + + ModuleModel + + + Running + 正在运行 + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt 会话配置 + + + + LXQt Session Settings + + + + + Basic Settings + 基本设置 + + + + Default Applications + 默认程序 + + + + Autostart + 自动启动 + + + + Environment (Advanced) + 环境(高级) + + + + Session Restart Required + 需要重启会话 + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + 需要重启桌面会话(lxqt-session)才能重新装入新设置。使用主菜单的登出按钮。 + + + diff --git a/lxqt-config-session/translations/lxqt-config-session_zh_TW.desktop b/lxqt-config-session/translations/lxqt-config-session_zh_TW.desktop new file mode 100644 index 0000000..bf78cbd --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_zh_TW.desktop @@ -0,0 +1,4 @@ +# Translations +Comment[zh_TW]=LXDE-Qt會話模組設定 +GenericName[zh_TW]=LxQt會話設定 +Name[zh_TW]=LxQt會話設定 diff --git a/lxqt-config-session/translations/lxqt-config-session_zh_TW.ts b/lxqt-config-session/translations/lxqt-config-session_zh_TW.ts new file mode 100644 index 0000000..616e76b --- /dev/null +++ b/lxqt-config-session/translations/lxqt-config-session_zh_TW.ts @@ -0,0 +1,264 @@ + + + + + AutoStartEdit + + + Edit + 編輯 + + + + Name: + 名稱: + + + + Search... + 搜尋... + + + + Command: + 命令: + + + + Wait for system tray + 等候系統欄 + + + + Select Application + 選擇應用程式 + + + + AutoStartItemModel + + + Global Autostart + 系統自動啟動 + + + LxQt Autostart + LxQt自動啟動 + + + + LXQt Autostart + + + + + Location: %1 + 位置 :%1 + + + + Overrides: %1 + 覆蓋 : %1 + + + + AutoStartPage + + + Delete + 移除 + + + + Add + 新增 + + + + Edit + 編輯 + + + + Application Autostart + 自動啟動程式 + + + + Error + 錯誤 + + + + File '%1' already exists! + 檔案 '%1' 已經存在! + + + + BasicSettings + + + Window Manager + 視窗管理員 + + + + Search... + 搜尋... + + + + LXQt Modules + + + + + Leave Session + + + + + Ask confirmation to leave session + + + + + Basic Settings + 基本設定 + + + LxQt Modules + LxQt模組 + + + + Start + 啟動 + + + + Stop + 停止 + + + + Select a window manager + 選擇一個視窗管理員 + + + + DefaultApps + + + Select a terminal emulator + 選擇一個終端模擬機 + + + + Select a web browser + 選擇一個網頁瀏覽器 + + + + DefaultAppsPage + + + Default Applications + 預設程式 + + + + Terminal Emulation: + 終端模擬機 : + + + + + Search... + 搜尋... + + + + Web Browser: + 網頁瀏覽器 : + + + + EnvironmentPage + + + Add + 新增 + + + + Delete + 移除 + + + + Environment Variables (Advanced) + 環境參數(進階) + + + + Variable Name + 參數名稱 + + + + Value + 數值 + + + + ModuleModel + + + Running + 運行中 + + + + SessionConfigWindow + + LxQt Session Configuration + LxQt會話設定 + + + + LXQt Session Settings + + + + + Basic Settings + 基本設定 + + + + Default Applications + 預設程式 + + + + Autostart + 自動啟動程式 + + + + Environment (Advanced) + 環境參數(進階) + + + + Session Restart Required + 重新啟動會話請求 + + + + You need to restart desktop session (lxqt-session) to reload settings. Use logout from the main menu. + 您需要重新啟動桌面會話(lxqt-session)來重新載入設定。使用主選單裡的登出。 + + + diff --git a/lxqt-session/CMakeLists.txt b/lxqt-session/CMakeLists.txt new file mode 100644 index 0000000..dd6c2e0 --- /dev/null +++ b/lxqt-session/CMakeLists.txt @@ -0,0 +1,66 @@ +project(lxqt-session) + +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Release) +endif() + +include(LxQtLibSuffix) + +include_directories( + ${CMAKE_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${XCB_INCLUDE_DIRS} + ${X11_INCLUDE_DIR} + src +) + +set(lxqt-session_HDRS "") + +set(lxqt-session_SRCS + src/main.cpp + src/lxqtmodman.cpp + src/wmselectdialog.cpp + src/windowmanager.cpp + src/sessionapplication.cpp + src/sessiondbusadaptor.h +) + +set(lxqt-session_UI + src/wmselectdialog.ui +) + +# Translations +lxqt_translate_ts(lxqt-session_QM_FILES + UPDATE_TRANSLATIONS + ${UPDATE_TRANSLATIONS} + SOURCES + ${lxqt-session_HDRS} + ${lxqt-session_SRCS} + ${lxqt-session_UI} + INSTALL_DIR + "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" +) +lxqt_app_translation_loader(lxqt-session_QM_LOADER ${PROJECT_NAME}) + +qt5_wrap_ui(UIS ${lxqt-session_UI}) + +add_executable(lxqt-session + ${lxqt-session_SRCS} + ${UIS} + ${RSCS} + ${lxqt-session_QM_FILES} + ${lxqt-session_QM_LOADER} +) + +target_link_libraries(lxqt-session + Qt5::Widgets + Qt5::DBus + Qt5::X11Extras + ${XCB_LIBRARIES} + ${X11_LIBRARIES} + ${LXQT_LIBRARIES} + ${QTXDG_LIBRARIES} + KF5::WindowSystem +) +INSTALL(TARGETS lxqt-session RUNTIME DESTINATION bin) diff --git a/lxqt-session/man/lxqt-session.1 b/lxqt-session/man/lxqt-session.1 new file mode 100644 index 0000000..9983064 --- /dev/null +++ b/lxqt-session/man/lxqt-session.1 @@ -0,0 +1,51 @@ +.TH lxqt-session "1" "September 2012" "LXQt\ 0.7.0" "LXQt\ Module" +.SH NAME +lxqt-session \- Session manager of \fBLXQt\fR, the Lightweight Desktop Environment +.SH SYNOPSIS +.B lxqt-session +.br +.SH DESCRIPTION +This module handle session autostart application over \fBLXQt\fR desktop environment startup. +.P +The \fBLXQt modules\fR are desktop independent tools, +and operate as daemons for the local user for desktop specific operations. +.P +\fBLXQt\fR ships several core desktop components, all of which are optional: +.P + * Panel + * Desktop + * Application launcher + * Settings center + * Session handler \fI(this)\fR + * Polkit handler + * SSH password access + * Display manager handler +.P +These components perform similar actions to those available in other desktop +environments, and their names are self-descriptive. They are usually not launched +by hand but automatically, when choosing a \fBLxQt\-qt\fR session in the Display +Manager. +.SH BEHAVIOR +Through this application \fBLXQt\fR desktop environment manage the session desktop behavior, +module loading and related starup programs before user gets a working area. By default this module +load the panel, desktop and power modules of \fBLXQt\fR environment, such then this its a +important module for a working lxqt sesion. +.P +Each of any desktop environment has any way to configure applications need or want to start at logon, +so user can manage manualy in the \fBlxqt-config-session\fR application. +.SH "REPORTING BUGS" +Report bugs to https://github.com/lxde/lxde-qt/issues +.SH "SEE ALSO" +\fBLXQt\fR it has been tailored for users who value simplicity, speed, and +an intuitive interface, also intended for less powerful machines. See also: +.\" any module must refers to session app, for more info on start it +.P +\fBlxqt-config.1\fR LXQt application for manage configurations and settings +.P +\fBlxqt-config-session.1\fR LXQt module for manage LXQt autostart session applications +.P +\fBstart-lxqt.1\fR LXQt display management independient starup. +.P +.SH AUTHOR +This manual page was created by \fBPICCORO Lenz McKAY\fR \fI\fR +for \fBLXQt\fR project and VENENUX GNU/Linux but can be used by others. diff --git a/lxqt-session/src/lxqtmodman.cpp b/lxqt-session/src/lxqtmodman.cpp new file mode 100644 index 0000000..465bdf6 --- /dev/null +++ b/lxqt-session/src/lxqtmodman.cpp @@ -0,0 +1,455 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Petr Vanek + * Hong Jen Yee (PCMan) + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include "lxqtmodman.h" +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include "wmselectdialog.h" +#include "windowmanager.h" +#include + +#include +#include + +#include + +#define MAX_CRASHES_PER_APP 5 + +using namespace LxQt; + +/** + * @brief the constructor, needs a valid modules.conf + */ +LxQtModuleManager::LxQtModuleManager(const QString & windowManager, QObject* parent) + : QObject(parent), + mWindowManager(windowManager), + mWmProcess(new QProcess(this)), + mThemeWatcher(new QFileSystemWatcher(this)), + mWmStarted(false), + mTrayStarted(false), + mWaitLoop(NULL) +{ + connect(mThemeWatcher, SIGNAL(directoryChanged(QString)), SLOT(themeFolderChanged(QString))); + connect(LxQt::Settings::globalSettings(), SIGNAL(lxqtThemeChanged()), SLOT(themeChanged())); + + qApp->installNativeEventFilter(this); +} + +void LxQtModuleManager::startup(LxQt::Settings& s) +{ + // The lxqt-confupdate can update the settings of the WM, so run it first. + startConfUpdate(); + + // Start window manager + startWm(&s); + + startAutostartApps(); + + QStringList paths; + paths << XdgDirs::dataHome(false); + paths << XdgDirs::dataDirs(); + + foreach(QString path, paths) + { + QFileInfo fi(QString("%1/lxqt/themes").arg(path)); + if (fi.exists()) + mThemeWatcher->addPath(fi.absoluteFilePath()); + } + + themeChanged(); +} + +void LxQtModuleManager::startAutostartApps() +{ + // XDG autostart + XdgDesktopFileList fileList = XdgAutoStart::desktopFileList(); + QList trayApps; + for (XdgDesktopFileList::iterator i = fileList.begin(); i != fileList.end(); ++i) + { + if (i->value("X-LXQt-Need-Tray", false).toBool()) + trayApps.append(&(*i)); + else + { + startProcess(*i); + qDebug() << "start" << i->fileName(); + } + } + + if (!trayApps.isEmpty()) + { + mTrayStarted = QSystemTrayIcon::isSystemTrayAvailable(); + if(!mTrayStarted) + { + QEventLoop waitLoop; + mWaitLoop = &waitLoop; + // add a timeout to avoid infinite blocking if a WM fail to execute. + QTimer::singleShot(60 * 1000, &waitLoop, SLOT(quit())); + waitLoop.exec(); + mWaitLoop = NULL; + } + foreach (XdgDesktopFile* f, trayApps) + { + qDebug() << "start tray app" << f->fileName(); + startProcess(*f); + } + } +} + +void LxQtModuleManager::themeFolderChanged(const QString& /*path*/) +{ + QString newTheme; + if (!QFileInfo(mCurrentThemePath).exists()) + { + const QList &allThemes = lxqtTheme.allThemes(); + if (!allThemes.isEmpty()) + newTheme = allThemes[0].name(); + else + return; + } + else + newTheme = lxqtTheme.currentTheme().name(); + + LxQt::Settings settings("lxqt"); + if (newTheme == settings.value("theme")) + { + // force the same theme to be updated + settings.setValue("__theme_updated__", QDateTime::currentMSecsSinceEpoch()); + } + else + settings.setValue("theme", newTheme); + + sync(); +} + +void LxQtModuleManager::themeChanged() +{ + if (!mCurrentThemePath.isEmpty()) + mThemeWatcher->removePath(mCurrentThemePath); + + if (lxqtTheme.currentTheme().isValid()) + { + mCurrentThemePath = lxqtTheme.currentTheme().path(); + mThemeWatcher->addPath(mCurrentThemePath); + } +} + +void LxQtModuleManager::startWm(LxQt::Settings *settings) +{ + // if the WM is active do not run WM. + // all window managers must set their name according to the spec + if (!QString(NETRootInfo(QX11Info::connection(), NET::SupportingWMCheck).wmName()).isEmpty()) + { + mWmStarted = true; + return; + } + + if (mWindowManager.isEmpty()) + { + mWindowManager = settings->value("window_manager").toString(); + } + + // If previuos WM was removed, we show dialog. + if (mWindowManager.isEmpty() || ! findProgram(mWindowManager.split(' ')[0])) + { + mWindowManager = showWmSelectDialog(); + settings->setValue("window_manager", mWindowManager); + settings->sync(); + } + + mWmProcess->start(mWindowManager); + // other autostart apps will be handled after the WM becomes available + + // Wait until the WM loads + QEventLoop waitLoop; + mWaitLoop = &waitLoop; + // add a timeout to avoid infinite blocking if a WM fail to execute. + QTimer::singleShot(30 * 1000, &waitLoop, SLOT(quit())); + waitLoop.exec(); + mWaitLoop = NULL; + // FIXME: blocking is a bad idea. We need to start as many apps as possible and + // only wait for the start of WM when it's absolutely needed. + // Maybe we can add a X-Wait-WM=true key in the desktop entry file? +} + +void LxQtModuleManager::startProcess(const XdgDesktopFile& file) +{ + if (!file.value("X-LXQt-Module", false).toBool()) + { + file.startDetached(); + return; + } + QStringList args = file.expandExecString(); + if (args.isEmpty()) + { + qWarning() << "Wrong desktop file" << file.fileName(); + return; + } + LxQtModule* proc = new LxQtModule(file, this); + connect(proc, SIGNAL(moduleStateChanged(QString,bool)), this, SIGNAL(moduleStateChanged(QString,bool))); + proc->start(); + + QString name = QFileInfo(file.fileName()).fileName(); + mNameMap[name] = proc; + + connect(proc, SIGNAL(finished(int, QProcess::ExitStatus)), + this, SLOT(restartModules(int, QProcess::ExitStatus))); +} + +void LxQtModuleManager::startProcess(const QString& name) +{ + if (!mNameMap.contains(name)) + { + foreach (const XdgDesktopFile& file, XdgAutoStart::desktopFileList(false)) + { + if (QFileInfo(file.fileName()).fileName() == name) + { + startProcess(file); + return; + } + } + } +} + +void LxQtModuleManager::stopProcess(const QString& name) +{ + if (mNameMap.contains(name)) + mNameMap[name]->terminate(); +} + +QStringList LxQtModuleManager::listModules() const +{ + return QStringList(mNameMap.keys()); +} + +void LxQtModuleManager::startConfUpdate() +{ + XdgDesktopFile desktop(XdgDesktopFile::ApplicationType, ":lxqt-confupdate", "lxqt-confupdate --watch"); + desktop.setValue("Name", "LXQt config updater"); + desktop.setValue("X-LXQt-Module", true); + startProcess(desktop); +} + +void LxQtModuleManager::restartModules(int exitCode, QProcess::ExitStatus exitStatus) +{ + LxQtModule* proc = qobject_cast(sender()); + Q_ASSERT(proc); + + if (!proc->isTerminating()) + { + QString procName = proc->file.name(); + switch (exitStatus) + { + case QProcess::NormalExit: + qDebug() << "Process" << procName << "(" << proc << ") exited correctly."; + break; + case QProcess::CrashExit: + { + qDebug() << "Process" << procName << "(" << proc << ") has to be restarted"; + time_t now = time(NULL); + mCrashReport[proc].prepend(now); + while (now - mCrashReport[proc].back() > 60) + mCrashReport[proc].pop_back(); + if (mCrashReport[proc].length() >= MAX_CRASHES_PER_APP) + { + QMessageBox::warning(0, tr("Crash Report"), + tr("%1 crashed too many times. Its autorestart has been disabled until next login.").arg(procName)); + } + else + { + proc->start(); + return; + } + break; + } + } + } + mNameMap.remove(proc->fileName); + proc->deleteLater(); +} + + +LxQtModuleManager::~LxQtModuleManager() +{ + qApp->removeNativeEventFilter(this); + qDeleteAll(mNameMap); + delete mWmProcess; +} + +/** +* @brief this logs us out by terminating our session +**/ +void LxQtModuleManager::logout() +{ + // modules + ModulesMapIterator i(mNameMap); + while (i.hasNext()) + { + i.next(); + qDebug() << "Module logout" << i.key(); + LxQtModule* p = i.value(); + p->terminate(); + } + i.toFront(); + while (i.hasNext()) + { + i.next(); + LxQtModule* p = i.value(); + if (p->state() != QProcess::NotRunning && !p->waitForFinished()) + { + qWarning() << QString("Module '%1' won't terminate ... killing.").arg(i.key()); + p->kill(); + } + } + + mWmProcess->terminate(); + if (mWmProcess->state() != QProcess::NotRunning && !mWmProcess->waitForFinished()) + { + qWarning() << QString("Window Manager won't terminate ... killing."); + mWmProcess->kill(); + } + + QCoreApplication::exit(0); +} + +QString LxQtModuleManager::showWmSelectDialog() +{ + WindowManagerList availableWM = getWindowManagerList(true); + if (availableWM.count() == 1) + return availableWM.at(0).command; + + WmSelectDialog dlg(availableWM); + dlg.exec(); + return dlg.windowManager(); +} + +void LxQtModuleManager::resetCrashReport() +{ + mCrashReport.clear(); +} + +bool LxQtModuleManager::nativeEventFilter(const QByteArray & eventType, void * message, long * result) +{ + if (eventType != "xcb_generic_event_t") // We only want to handle XCB events + return false; + + if(!mWmStarted && mWaitLoop) + { + // all window managers must set their name according to the spec + if (!QString(NETRootInfo(QX11Info::connection(), NET::SupportingWMCheck).wmName()).isEmpty()) + { + qDebug() << "Window Manager started"; + mWmStarted = true; + if (mWaitLoop->isRunning()) + mWaitLoop->exit(); + } + } + + if (!mTrayStarted && QSystemTrayIcon::isSystemTrayAvailable() && mWaitLoop) + { + qDebug() << "System Tray started"; + mTrayStarted = true; + if (mWaitLoop->isRunning()) + mWaitLoop->exit(); + + // window manager and system tray have started + qApp->removeNativeEventFilter(this); + } + + return false; +} + +void lxqt_setenv(const char *env, const QByteArray &value) +{ + wordexp_t p; + wordexp(value, &p, 0); + if (p.we_wordc == 1) + { + + qDebug() << "Environment variable" << env << "=" << p.we_wordv[0]; + qputenv(env, p.we_wordv[0]); + } + else + { + qWarning() << "Error expanding environment variable" << env << "=" << value; + qputenv(env, value); + } + wordfree(&p); +} + +void lxqt_setenv_prepend(const char *env, const QByteArray &value, const QByteArray &separator) +{ + QByteArray orig(qgetenv(env)); + orig = orig.prepend(separator); + orig = orig.prepend(value); + qDebug() << "Setting special" << env << " variable:" << orig; + lxqt_setenv(env, orig); +} + +LxQtModule::LxQtModule(const XdgDesktopFile& file, QObject* parent) : + QProcess(parent), + file(file), + fileName(QFileInfo(file.fileName()).fileName()), + mIsTerminating(false) +{ + connect(this, SIGNAL(stateChanged(QProcess::ProcessState)), SLOT(updateState(QProcess::ProcessState))); +} + +void LxQtModule::start() +{ + mIsTerminating = false; + QStringList args = file.expandExecString(); + QString command = args.takeFirst(); + QProcess::start(command, args); +} + +void LxQtModule::terminate() +{ + mIsTerminating = true; + QProcess::terminate(); +} + +bool LxQtModule::isTerminating() +{ + return mIsTerminating; +} + +void LxQtModule::updateState(QProcess::ProcessState newState) +{ + if (newState != QProcess::Starting) + emit moduleStateChanged(fileName, (newState == QProcess::Running)); +} diff --git a/lxqt-session/src/lxqtmodman.h b/lxqt-session/src/lxqtmodman.h new file mode 100644 index 0000000..d3c5282 --- /dev/null +++ b/lxqt-session/src/lxqtmodman.h @@ -0,0 +1,208 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LXQt - a lightweight, Qt based, deskop environment + * http://razor-qt.org, http://lxqt.org/ + * + * Copyright: 2010-2011 LXQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef LXQTMODMAN_H +#define LXQTMODMAN_H + +#include +#include +#include +#include +#include +#include +#include +#include + +class LxQtModule; +namespace LxQt { +class Settings; +} +class QFileSystemWatcher; + +typedef QMap ModulesMap; +typedef QMapIterator ModulesMapIterator; +typedef QList ModuleCrashReport; +typedef QMap ModulesCrashReport; + +/*! \brief LxQtModuleManager manages the processes of the session +and which modules of lxqt are about to load. + +LxQtModuleManager handles the session management (logout/restart/shutdown) +as well. + +Also it watches the current theme to react if it was removed or modified. + +Processes in LxQtModuleManager are started as follows: + - run lxqt-confupdate + - start the window manager and wait until it's active + - start all normal autostart items (including LxQt modules) + - if there are any applications that need a system tray, wait until a system tray + implementation becomes active, and then start those + +Potential process recovering is done in \see restartModules() +*/ + +class LxQtModuleManager : public QObject, public QAbstractNativeEventFilter +{ + Q_OBJECT + +public: + //! \brief Construct LxQtModuleManager + LxQtModuleManager(const QString& windowManager, QObject* parent = 0); + virtual ~LxQtModuleManager(); + + //! \brief Start a module given its file name (e.g. "lxqt-panel.desktop") + void startProcess(const QString& name); + + //! \brief Stop a running module + void stopProcess(const QString& name); + + //! \brief List the running modules, identified by their file names + QStringList listModules() const; + + //! \brief Read configuration and start processes + void startup(LxQt::Settings& s); + + // Qt5 uses native event filter + virtual bool nativeEventFilter(const QByteArray & eventType, void * message, long * result); + +public slots: + /*! \brief Exit LXQt session. + It tries to terminate processes from procMap and autostartList + gracefully (to kill it if it is not possible). Then the session + exits - it returns to the kdm/gdm in most cases. + */ + void logout(); + +signals: + void moduleStateChanged(QString moduleName, bool state); + +private: + //! \brief Start Window Manager + void startWm(LxQt::Settings *settings); + void wmStarted(); + + void startAutostartApps(); + + //! \brief Show Window Manager select dialog + QString showWmSelectDialog(); + + //! \brief Start a process described in a desktop file + void startProcess(const XdgDesktopFile &file); + + //! \brief Start the lxqt-confupdate. + void startConfUpdate(); + + //! \brief Window manager command + QString mWindowManager; + + //! \brief map file names to module processes + ModulesMap mNameMap; + + //! \brief the window manager + QProcess* mWmProcess; + + /*! \brief Keep creashes for given process to raise a message in the + case of repeating crashes + */ + ModulesCrashReport mCrashReport; + + //! \brief file system watcher to react on theme modifications + QFileSystemWatcher *mThemeWatcher; + QString mCurrentThemePath; + + bool mWmStarted; + bool mTrayStarted; + QEventLoop* mWaitLoop; + +private slots: + + /*! \brief this slot is called by the QProcesses if they end. + \warning The slot *has* to be called as a slot only due sender() cast. + + There are 2 types of handling in this slot. + + If the process has ended correctly (no crash or kill) nothing happens + except when the process is *not* specified with doespower in the + configuration. If there is no "doespower" (window manager mainly) + entire session performs logout. (Handling of the window manager 3rd + party "logout") + + If the process crashed and is set as "doespower" it's tried to + be restarted automatically. + */ + void restartModules(int exitCode, QProcess::ExitStatus exitStatus); + + /*! Clear m_crashReport after some amount of time + */ + void resetCrashReport(); + + void themeFolderChanged(const QString&); + + void themeChanged(); +}; + + +/*! \brief platform independent way how to set up an environment variable. +It sets env variable for all lxqt-session childs. +\param env a raw string variable name (PATH, TERM, ...) +\param value a QByteArray with the value. Variable will use this new value only + - no appending/prepending is performed. +See lxqt_setenv_prepend. +*/ +void lxqt_setenv(const char *env, const QByteArray &value); +/*! \brief Set up a environment variable with original value with new value prepending. +\param env a raw string with variable name +\param value a QByteArray value to be pre-pend to original content of the variable +\param separator an optional string with separator character. Eg. ":" for PATH. +See lxqt_setenv. +*/ +void lxqt_setenv_prepend(const char *env, const QByteArray &value, const QByteArray &separator=":"); + +class LxQtModule : public QProcess +{ + Q_OBJECT +public: + LxQtModule(const XdgDesktopFile& file, QObject *parent = 0); + void start(); + void terminate(); + bool isTerminating(); + + const XdgDesktopFile file; + const QString fileName; + +signals: + void moduleStateChanged(QString name, bool state); + +private slots: + void updateState(QProcess::ProcessState newState); + +private: + bool mIsTerminating; +}; + +#endif diff --git a/lxqt-session/src/main.cpp b/lxqt-session/src/main.cpp new file mode 100644 index 0000000..6fefad3 --- /dev/null +++ b/lxqt-session/src/main.cpp @@ -0,0 +1,54 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include "sessionapplication.h" + +/** +* @file main.cpp +* @author Christopher "VdoP" Regali +* @brief just starts the sub-apps and in future maybe saves the windowstates + +lxqt-session can be called as is (without any argument) - it will start +"failback" session (sessionf.conf). When there will be used -c foo argument +lxqt-session -c foo +it will use foo.conf. Currently there are launchers for windowmanagers: +session-openbox.conf +session-eggwm.conf +*/ + + +/** +* @brief our main function doing the loading +*/ +int main(int argc, char **argv) +{ + SessionApplication app(argc, argv); + //qDebug() << "LxQt Session start"; + app.setQuitOnLastWindowClosed(false); + return app.exec(); +} + diff --git a/lxqt-session/src/sessionapplication.cpp b/lxqt-session/src/sessionapplication.cpp new file mode 100644 index 0000000..f152435 --- /dev/null +++ b/lxqt-session/src/sessionapplication.cpp @@ -0,0 +1,271 @@ +/* + * Copyright (C) 2014 Hong Jen Yee (PCMan) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include "sessionapplication.h" +#include "sessiondbusadaptor.h" +#include "lxqtmodman.h" +#include +#include +#include +#include + +#include +// XKB, this should be disabled in Wayland? +#include + +SessionApplication::SessionApplication(int& argc, char** argv) : LxQt::Application(argc, argv) +{ + char* winmanager = NULL; + int c; + while ((c = getopt (argc, argv, "c:w:")) != -1) + { + if (c == 'c') + { + configName = optarg; + break; + } + else if (c == 'w') + { + winmanager = optarg; + break; + } + } + + if(configName.isEmpty()) + configName = "session"; + + // tell the world which config file we're using. + qputenv("LXQT_SESSION_CONFIG", configName.toUtf8()); + + modman = new LxQtModuleManager(winmanager); + new SessionDBusAdaptor(modman); + // connect to D-Bus and register as an object: + QDBusConnection::sessionBus().registerService("org.lxqt.session"); + QDBusConnection::sessionBus().registerObject("/LxQtSession", modman); + + // Wait until the event loop starts + QTimer::singleShot(0, this, SLOT(startup())); +} + +SessionApplication::~SessionApplication() +{ + delete modman; +} + +bool SessionApplication::startup() +{ + LxQt::Settings settings(configName); + qDebug() << __FILE__ << ":" << __LINE__ << "Session" << configName << "about to launch (default 'session')"; + + loadEnvironmentSettings(settings); + // loadFontSettings(settings); + loadKeyboardSettings(settings); + loadMouseSettings(settings); + + // launch module manager and autostart apps + modman->startup(settings); + + return true; +} + +void SessionApplication::mergeXrdb(const char* content, int len) +{ + qDebug() << "xrdb:" << content; + QProcess xrdb; + xrdb.start("xrdb -merge -"); + xrdb.write(content, len); + xrdb.closeWriteChannel(); + xrdb.waitForFinished(); +} + +void SessionApplication::loadEnvironmentSettings(LxQt::Settings& settings) +{ + // first - set some user defined environment variables (like TERM...) + settings.beginGroup("Environment"); + QByteArray envVal; + Q_FOREACH (QString i, settings.childKeys()) + { + envVal = settings.value(i).toByteArray(); + lxqt_setenv(i.toUtf8().constData(), envVal); + } + settings.endGroup(); +} + +// FIXME: how to set keyboard layout in Wayland? +void SessionApplication::setxkbmap(QString layout, QString variant, QString model, QStringList options) { + QString command = "setxkbmap"; + if(!model.isEmpty()) { + command += " -model "; + command += model; + } + if(!layout.isEmpty()) { + command += " -layout "; + command += layout; + + if(!variant.isEmpty()) { + command += " -variant "; + command += variant; + } + } + if(!options.isEmpty()) { + Q_FOREACH(const QString& option, options) { + command += " -option "; + command += option; + } + } + // execute the command line + QProcess setxkbmap; + setxkbmap.startDetached(command); +} + +void SessionApplication::loadKeyboardSettings(LxQt::Settings& settings) +{ + qDebug() << settings.fileName(); + settings.beginGroup("Keyboard"); + XKeyboardControl values; + /* Keyboard settings */ + unsigned int delay, interval; + if(XkbGetAutoRepeatRate(QX11Info::display(), XkbUseCoreKbd, (unsigned int*) &delay, (unsigned int*) &interval)) + { + delay = settings.value("delay", delay).toUInt(); + interval = settings.value("interval", interval).toUInt(); + XkbSetAutoRepeatRate(QX11Info::display(), XkbUseCoreKbd, delay, interval); + } + + bool beep = settings.value("beep").toBool(); + values.bell_percent = beep ? -1 : 0; + XChangeKeyboardControl(QX11Info::display(), KBBellPercent, &values); + + // keyboard layout support using setxkbmap + QString layout = settings.value("layout").toString(); + QString variant = settings.value("variant").toString(); + QString model = settings.value("model").toString(); + QStringList options = settings.value("options").toStringList(); + setxkbmap(layout, variant, model, options); + + settings.endGroup(); +} + +void SessionApplication::loadMouseSettings(LxQt::Settings& settings) +{ + settings.beginGroup("Mouse"); + + // mouse cursor (does this work?) + QString cursorTheme = settings.value("cursor_theme").toString(); + int cursorSize = settings.value("cursor_size").toInt(); + QByteArray buf; + if(!cursorTheme.isEmpty()) { + buf += "Xcursor.theme:"; + buf += cursorTheme; + buf += '\n'; + } + if(cursorSize > 0) { + buf += "Xcursor.size:"; + buf += QString("%1").arg(cursorSize); + buf += '\n'; + } + if(!buf.isEmpty()) { + buf += "Xcursor.theme_core:true\n"; + mergeXrdb(buf.constData(), buf.length()); + } + + // other mouse settings + int accel_factor = settings.value("accel_factor").toInt(); + int accel_threshold = settings.value("accel_threshold").toInt(); + if(accel_factor || accel_threshold) + XChangePointerControl(QX11Info::display(), accel_factor != 0, accel_threshold != 0, accel_factor, 10, accel_threshold); + + // left handed mouse? + bool left_handed = settings.value("left_handed", false).toBool(); + setLeftHandedMouse(left_handed); + + settings.endGroup(); +} + +# if 0 +// already deprecated by direct fontconfig support of lxqt-config + +void SessionApplication::loadFontSettings(LxQt::Settings& settings) +{ + // set some Xft config values, such as antialiasing & subpixel + // may call mergeXrdb() to do it. (will this work?) + // font settings of gtk+ programs are controlled by gtkrc and settings.ini files. + settings.beginGroup("Font"); + QByteArray buf; + bool antialias = settings.value("antialias", true).toBool(); + buf += "Xft.antialias:"; + buf += antialias ? "true" : "false"; + buf += '\n'; + + buf += "Xft.rgba:"; + buf += settings.value("subpixel", "none").toByteArray(); + buf += '\n'; + + bool hinting = settings.value("hinting", true).toBool(); + buf += "Xft.hinting:"; + buf += hinting ? "true" : "false"; + buf += '\n'; + + buf += "Xft.hintstyle:hint"; + buf += settings.value("hint_style", "none").toByteArray(); + buf += '\n'; + + int dpi = settings.value("dpi", 96).toInt(); + buf += "Xft.dpi:"; + buf += QString("%1").arg(dpi); + buf += '\n'; + + mergeXrdb(buf.constData(), buf.length()); + settings.endGroup(); +} +#endif + +/* This function is taken from Gnome's control-center 2.6.0.3 (gnome-settings-mouse.c) and was modified*/ +#define DEFAULT_PTR_MAP_SIZE 128 +void SessionApplication::setLeftHandedMouse(bool mouse_left_handed) +{ + unsigned char *buttons; + int n_buttons, i; + int idx_1 = 0, idx_3 = 1; + + buttons = (unsigned char*)malloc(DEFAULT_PTR_MAP_SIZE); + n_buttons = XGetPointerMapping(QX11Info::display(), buttons, DEFAULT_PTR_MAP_SIZE); + if (n_buttons > DEFAULT_PTR_MAP_SIZE) + { + buttons = (unsigned char*)realloc(buttons, n_buttons); + n_buttons = XGetPointerMapping(QX11Info::display(), buttons, n_buttons); + } + + for (i = 0; i < n_buttons; i++) + { + if (buttons[i] == 1) + idx_1 = i; + else if (buttons[i] == ((n_buttons < 3) ? 2 : 3)) + idx_3 = i; + } + + if ((mouse_left_handed && idx_1 < idx_3) || + (!mouse_left_handed && idx_1 > idx_3)) + { + buttons[idx_1] = ((n_buttons < 3) ? 2 : 3); + buttons[idx_3] = 1; + XSetPointerMapping(QX11Info::display(), buttons, n_buttons); + } + free(buttons); +} diff --git a/lxqt-session/src/sessionapplication.h b/lxqt-session/src/sessionapplication.h new file mode 100644 index 0000000..f35ae6a --- /dev/null +++ b/lxqt-session/src/sessionapplication.h @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2014 Hong Jen Yee (PCMan) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef SESSIONAPPLICATION_H +#define SESSIONAPPLICATION_H + +#include +#include + +class LxQtModuleManager; + +class SessionApplication : public LxQt::Application +{ + Q_OBJECT +public: + SessionApplication(int& argc, char** argv); + ~SessionApplication(); + +private Q_SLOTS: + bool startup(); + +private: + void loadEnvironmentSettings(LxQt::Settings& settings); + void loadKeyboardSettings(LxQt::Settings& settings); + void loadMouseSettings(LxQt::Settings& settings); + // void loadFontSettings(LxQt::Settings& settings); + + void setxkbmap(QString layout, QString variant, QString model, QStringList options); + + void mergeXrdb(const char* content, int len); + void setLeftHandedMouse(bool mouse_left_handed); +private: + LxQtModuleManager* modman; + QString configName; +}; + +#endif // SESSIONAPPLICATION_H diff --git a/lxqt-session/src/sessiondbusadaptor.h b/lxqt-session/src/sessiondbusadaptor.h new file mode 100644 index 0000000..8319fe1 --- /dev/null +++ b/lxqt-session/src/sessiondbusadaptor.h @@ -0,0 +1,90 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef SESSIONDBUS_H +#define SESSIONDBUS_H + +#include + +#include "lxqtmodman.h" + + +/*! \brief Simple DBus adaptor for LxQtSession. +It allows 3rd party apps/lxqt modules to logout from session. +It's a part of "LxQt Power Management" - see liblxqt. +\author Petr Vanek +*/ +class SessionDBusAdaptor : public QDBusAbstractAdaptor +{ + Q_OBJECT + Q_CLASSINFO("D-Bus Interface", "org.lxqt.session") + +public: + SessionDBusAdaptor(LxQtModuleManager * manager) + : QDBusAbstractAdaptor(manager), + m_manager(manager) + { + connect(m_manager, SIGNAL(moduleStateChanged(QString,bool)), SIGNAL(moduleStateChanged(QString,bool))); + } + +signals: + void moduleStateChanged(QString moduleName, bool state); + +public slots: + + // there can be a situation when is the session asked for availability. + // And the lxqt-session is not always required to be started... + bool canLogout() + { + return true; + } + + Q_NOREPLY void logout() + { + m_manager->logout(); + } + + QDBusVariant listModules() + { + return QDBusVariant(m_manager->listModules()); + } + + Q_NOREPLY void startModule(const QString& name) + { + m_manager->startProcess(name); + } + + Q_NOREPLY void stopModule(const QString& name) + { + m_manager->stopProcess(name); + } + +private: + LxQtModuleManager * m_manager; +}; + +#endif diff --git a/lxqt-session/src/windowmanager.cpp b/lxqt-session/src/windowmanager.cpp new file mode 100644 index 0000000..fda7eec --- /dev/null +++ b/lxqt-session/src/windowmanager.cpp @@ -0,0 +1,79 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include "windowmanager.h" + +#include +#include +#include +#include +#include +#include + + +bool findProgram(const QString &program) +{ + QFileInfo fi(program); + if (fi.isExecutable()) + return true; + + QString path = qgetenv("PATH"); + foreach(QString dir, path.split(":")) + { + QFileInfo fi= QFileInfo(dir + QDir::separator() + program); + if (fi.isExecutable() ) + return true; + } + return false; +} + +WindowManagerList getWindowManagerList(bool onlyAvailable) +{ + LxQt::Settings cfg("windowmanagers"); + cfg.beginGroup("KnownManagers"); + QStringList names = cfg.childGroups(); + + WindowManagerList ret; + + foreach (QString name, names) + { + bool exists = findProgram(name); + if (!onlyAvailable || exists) + { + cfg.beginGroup(name); + WindowManager wm; + wm.command = name; + wm.name = cfg.localizedValue("Name", wm.command).toString(); + wm.comment = cfg.localizedValue("Comment").toString(); + wm.exists = exists; + ret << wm; + cfg.endGroup(); + } + } + + return ret; +} diff --git a/lxqt-session/src/windowmanager.h b/lxqt-session/src/windowmanager.h new file mode 100644 index 0000000..0f6ade2 --- /dev/null +++ b/lxqt-session/src/windowmanager.h @@ -0,0 +1,49 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef WINDOWMANAGER_H +#define WINDOWMANAGER_H + +#include +#include + +struct WindowManager +{ + QString name; + QString command; + QString comment; + bool exists; +}; + +typedef QList WindowManagerList; + +/*! Helper functions for window manager detection */ +WindowManagerList getWindowManagerList(bool onlyAvailable=true); + +bool findProgram(const QString &program); + +#endif diff --git a/lxqt-session/src/wmselectdialog.cpp b/lxqt-session/src/wmselectdialog.cpp new file mode 100644 index 0000000..4e86973 --- /dev/null +++ b/lxqt-session/src/wmselectdialog.cpp @@ -0,0 +1,137 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Alexander Sokoloff + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + + +#include "wmselectdialog.h" +#include "ui_wmselectdialog.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define TYPE_ROLE Qt::UserRole + 1 +#define SELECT_DLG_TYPE 12345 + +WmSelectDialog::WmSelectDialog(const WindowManagerList &availableWindowManagers, QWidget *parent) : + QDialog(parent), + ui(new Ui::WmSelectDialog) +{ + qApp->setStyle("plastique"); + ui->setupUi(this); + setModal(true); + connect(ui->wmList, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(accept())); + connect(ui->wmList, SIGNAL(clicked(QModelIndex)), this, SLOT(selectFileDialog(QModelIndex))); + connect(ui->wmList, SIGNAL(activated(QModelIndex)), this, SLOT(changeBtnStatus(QModelIndex))); + + foreach (WindowManager wm, availableWindowManagers) + { + addWindowManager(wm); + } + + + QTreeWidgetItem *item = new QTreeWidgetItem(); + item->setText(0, tr("Other ...")); + item->setText(1, tr("Choose your favorite one.")); + item->setData(1, TYPE_ROLE, SELECT_DLG_TYPE); + + ui->wmList->setCurrentItem(ui->wmList->topLevelItem(0)); + ui->wmList->addTopLevelItem(item); +} + + +WmSelectDialog::~WmSelectDialog() +{ + delete ui; +} + + +void WmSelectDialog::done( int r ) +{ + QString wm = windowManager(); + if (r==1 && !wm.isEmpty() && findProgram(wm)) + { + QDialog::done( r ); + close(); + } +} + + +QString WmSelectDialog::windowManager() const +{ + QTreeWidgetItem *item = ui->wmList->currentItem(); + if (item) + return item->data(0, Qt::UserRole).toString(); + + return QString(); +} + + +void WmSelectDialog::addWindowManager(const WindowManager &wm) +{ + QTreeWidgetItem *item = new QTreeWidgetItem(); + + item->setText(0, wm.name); + item->setText(1, wm.comment); + item->setData(0, Qt::UserRole, wm.command); + + ui->wmList->addTopLevelItem(item); +} + + +void WmSelectDialog::selectFileDialog(const QModelIndex &index) +{ + QTreeWidget *wmList = ui->wmList; + QTreeWidgetItem *item = wmList->currentItem(); + if (item->data(1, TYPE_ROLE) != SELECT_DLG_TYPE) + return; + + QString fname = QFileDialog::getOpenFileName(this, "", "/usr/bin/"); + if (fname.isEmpty()) + return; + + QFileInfo fi(fname); + if (!fi.exists() || !fi.isExecutable()) + return; + + QTreeWidgetItem *wmItem = new QTreeWidgetItem(); + + wmItem->setText(0, fi.baseName()); + wmItem->setData(0, Qt::UserRole, fi.absoluteFilePath()); + wmList->insertTopLevelItem(wmList->topLevelItemCount() -1, wmItem); + ui->wmList->setCurrentItem(wmItem); +} + +void WmSelectDialog::changeBtnStatus(const QModelIndex &index) +{ + QString wm = windowManager(); + ui->buttonBox->setEnabled(!wm.isEmpty() && findProgram(wm)); +} diff --git a/lxqt-session/src/wmselectdialog.h b/lxqt-session/src/wmselectdialog.h new file mode 100644 index 0000000..1ffa857 --- /dev/null +++ b/lxqt-session/src/wmselectdialog.h @@ -0,0 +1,62 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LxQt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org, http://lxde.org/ + * + * Copyright: 2010-2011 LxQt team + * Authors: + * Alexander Sokoloff + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#ifndef WMSELECTDIALOG_H +#define WMSELECTDIALOG_H + +#include +#include "windowmanager.h" +class QModelIndex; + +namespace Ui { + class WmSelectDialog; +} + +class WmSelectDialog : public QDialog +{ + Q_OBJECT + +public: + explicit WmSelectDialog(const WindowManagerList &availableWindowManagers, + QWidget *parent = 0); + ~WmSelectDialog(); + QString windowManager() const; + +public slots: + void done(int); + +private slots: + void selectFileDialog(const QModelIndex &index); + void changeBtnStatus(const QModelIndex &index); + +private: + Ui::WmSelectDialog *ui; + + void addWindowManager(const WindowManager &wm); +}; + +#endif // WMSELECTDIALOG_H diff --git a/lxqt-session/src/wmselectdialog.ui b/lxqt-session/src/wmselectdialog.ui new file mode 100644 index 0000000..63d9c75 --- /dev/null +++ b/lxqt-session/src/wmselectdialog.ui @@ -0,0 +1,125 @@ + + + WmSelectDialog + + + + 0 + 0 + 352 + 276 + + + + Welcome to LXQt + + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + true + + + + + + + + 50 + false + + + + QAbstractItemView::NoEditTriggers + + + true + + + false + + + true + + + true + + + 2 + + + false + + + + 1 + + + + + 2 + + + + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + true + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + WmSelectDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + WmSelectDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff --git a/lxqt-session/translations/lxqt-session.ts b/lxqt-session/translations/lxqt-session.ts new file mode 100644 index 0000000..66e5c2b --- /dev/null +++ b/lxqt-session/translations/lxqt-session.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + + Other ... + + + + + Choose your favorite one. + + + + diff --git a/lxqt-session/translations/lxqt-session_ar.ts b/lxqt-session/translations/lxqt-session_ar.ts new file mode 100644 index 0000000..b1d4a32 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ar.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + تقرير انهيار جلسة ريزر + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + انهار التطبيق %1 عدَّة مرَّاتٍ وتم ابطال بدئه التَّلقائيِّ لهذه الجلسة.. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + أهلاً بكم في ريزركيوت + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>أهلاً بكم في ريزركيوت</b> +<p> +قد تودُّ اختيار مدير النَّوافذ قبل الشُّروع باستخدام ريزركيوت: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + يمكنك تغيير مدير النَّوافذ في أيِّ وقتٍ ﻻحقاً باستخدام أداة تهيئة جلسة ريزر. + + + + Other ... + أُخرى... + + + + Choose your favorite one. + اختر المفضَّلة لديك. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_ca.ts b/lxqt-session/translations/lxqt-session_ca.ts new file mode 100644 index 0000000..db52bb0 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ca.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_cs.ts b/lxqt-session/translations/lxqt-session_cs.ts new file mode 100644 index 0000000..9378649 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_cs.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Zpráva o pádu sezení LxQtu + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Program '%1' spadl příliš mnohokrát. Jeho automatické spuštění bylo pro nynější sezení zakázáno. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Vítejte v LxQt-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Vítejte v LxQt-Qt</b> +<p> +Před započetím s prací byste mohl chtít vybrat si správce oken: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Správce oken můžete později změnit v nastavení sezení pro LxQt. + + + + Other ... + Jiné... + + + + Choose your favorite one. + Vyberte oblíbené. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_cs_CZ.ts b/lxqt-session/translations/lxqt-session_cs_CZ.ts new file mode 100644 index 0000000..7a3dc4a --- /dev/null +++ b/lxqt-session/translations/lxqt-session_cs_CZ.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Zpráva o pádu sezení LxQtu + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Program '%1' spadl příliš mnohokrát. Jeho automatické spuštění bylo pro nynější sezení zakázáno. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Vítejte v LxQtu + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Vítejte v prostředí LXDE-Qt</b> +<p> +Než LXDE-Qt začnete používat, vyberte si správce oken: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Správce oken můžete později změnit v nastavení sezení. + + + + Other ... + Jiné... + + + + Choose your favorite one. + Vyberte oblíbené. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_da.ts b/lxqt-session/translations/lxqt-session_da.ts new file mode 100644 index 0000000..0573683 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_da.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_da_DK.ts b/lxqt-session/translations/lxqt-session_da_DK.ts new file mode 100644 index 0000000..d3645c1 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_da_DK.ts @@ -0,0 +1,70 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQt-session Nedbrudsrapport + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Program '%1' har haft nedbrud for mange gange. Programmets autostart er blevet slået fra i denne session. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Velkommen til LxQt-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Velkommen til LxQt-Qt</b> +<p> +Før du starter LxQt-Qt, skal du vælge window manager: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Du kan ændre valget af window manager på et vilkårligt tidspunkt. + + + + Other ... + Andre ... + + + + + Choose your favorite one. + Vælg din favorit. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_de.ts b/lxqt-session/translations/lxqt-session_de.ts new file mode 100644 index 0000000..3c10961 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_de.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_de_DE.ts b/lxqt-session/translations/lxqt-session_de_DE.ts new file mode 100644 index 0000000..aa346bc --- /dev/null +++ b/lxqt-session/translations/lxqt-session_de_DE.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQt Sitzungs-Absturzbericht + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Anwendung '%1' stürzte zu oft ab. Ihr automatischer Neustart wurde für die aktuelle Sitzung deaktiviert. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Willkommen zu LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Willkommen zu LXDE-Qt</b>⏎ +<p>⏎ +Bevor Sie LXDE-Qt starten, möchten Sie vielleicht einen Fenstermanager auswählen: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Sie können den Fenstermanager später durch die LxQt Sitzungs-Konfiguration jederzeit wieder ändern. + + + + Other ... + Andere... + + + + Choose your favorite one. + Wähle was dir am Besten gefällt. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_el_GR.ts b/lxqt-session/translations/lxqt-session_el_GR.ts new file mode 100644 index 0000000..f2b765a --- /dev/null +++ b/lxqt-session/translations/lxqt-session_el_GR.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Αναφορά κατάρρευσης συνεδρίας LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Η εφαρμογή "%1" κατέρρευσε πολλές φορές. Η αυτόματη εκκίνησή της έχει απενεργοποιηθεί για την τρέχουσα συνεδρία. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Καλως ήλθατε στο LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Καλως ήλθατε στο LXDE-Qt</b> +<p> +Πριν ξεκινήσετε να χρησιμοποιείτε το LXDE-Qt, ίσως θέλετε να επιλέξετε ένα διαχειριστή παραθύρων: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Μπορείτε να αλλάξετε τον διαχειριστή παραθύρων αργότερα μέσω της διαμόρφωσης συνεδρίας LxQt. + + + + Other ... + Άλλο... + + + + Choose your favorite one. + Επιλέξτε το αγαπημένο σας. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_eo.ts b/lxqt-session/translations/lxqt-session_eo.ts new file mode 100644 index 0000000..a322c34 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_eo.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Raporto de kolapsoj de LxQt-seancoj + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Aplikaĵo '%1' kolapsis tro ofte. Sia aŭtomata restarto estis malŝaltita por ĉi tiu seanco. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Bonvenon en LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Bonvenon en LXDE-Qt</b> +<p> +Antaŭ startigi uzadon de LXDE-Qt, vi eble volas elekti la fenestran mastrumilon: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Vi povas ŝanĝi la fenestran mastrumilon poste iam ajn per la agordilo de seanco de LxQt. + + + + Other ... + Alia... + + + + Choose your favorite one. + Elektu vian preferatan fenestran mastrumilon. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_es.ts b/lxqt-session/translations/lxqt-session_es.ts new file mode 100644 index 0000000..8ec64db --- /dev/null +++ b/lxqt-session/translations/lxqt-session_es.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Reporte de errores de sesión de LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + La aplicación '%1' ha fallado demasiadas veces. Su reinicio automático se ha deshabilitado para la sesión actual. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Bienvenido a LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Bienvenido a LXDE-Qt</b> +<p> +Antes de comenzar a usar LXDE-Qt, podría desear seleccionar el gestor de ventanas: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Puede cambiar el gestor de ventanas posteriormente en cualquier momento mediante el configurador de sesiones de LxQt. + + + + Other ... + Otros ... + + + + Choose your favorite one. + Seleccione su favorito + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_es_UY.ts b/lxqt-session/translations/lxqt-session_es_UY.ts new file mode 100644 index 0000000..d62cbfe --- /dev/null +++ b/lxqt-session/translations/lxqt-session_es_UY.ts @@ -0,0 +1,61 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Bienvenido a LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Bienvenido a LXDE-Qt</b> +<p> +Antes de empezar a usar LXDE-Qt puede querer seleccionar el administrador de ventanas: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Puede cambiar el administrador de ventanas más adelante en cualquier momento usando el Configurador de Sesiones de LxQt. + + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_es_VE.ts b/lxqt-session/translations/lxqt-session_es_VE.ts new file mode 100644 index 0000000..1657358 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_es_VE.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Reporte de fallos de LxQt Session + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Aplicacion '%1' se reinicio demasiadas veces, Su reinicio en si se ha desabilitado para la sesion en curso. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Bienvenido a LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Bienvenido a LXDE-Qt</b> +<p> +Antes de empezar a usar LXDE-Qt puede querer seleccionar el administrador de ventanas: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Puede cambiar el administrador de ventanas más adelante en cualquier momento usando el Configurador de Sesiones de LxQt. + + + + Other ... + Otro.. + + + + Choose your favorite one. + Escoja su favorito. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_eu.ts b/lxqt-session/translations/lxqt-session_eu.ts new file mode 100644 index 0000000..0fbda22 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_eu.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQt saioaren kraskatze-txostena + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + '%1' aplikazioa gehiegitan kraskatu da. Bere berrabio-automatikoa desgaitu da uneko saiorako. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Ongi etorri LXDE-Qt-ra + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Ongi etorri LXDE-Qt-ra</b> +<p> +LXDE-Qt erabiltzen hasi aurretik, leiho-kudeatzailea aukera dezakezu: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Leiho-kudeatzailea alda dezakezu geroago LxQt saio-konfiguratzailea erabiliz. + + + + Other ... + Beste bat... + + + + Choose your favorite one. + Aukeratu gogokoena. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_fi.ts b/lxqt-session/translations/lxqt-session_fi.ts new file mode 100644 index 0000000..d7a545f --- /dev/null +++ b/lxqt-session/translations/lxqt-session_fi.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQtin kaatumisraportti + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Sovellus '%1' kaatui liian monta kertaa. Sen automaattikäynnistys on estetty nykyisen istunnon ajaksi. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Tervetuloa LXDE-Qt-työpöytäympäristöön + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Tervetuloa LXDE-Qt-työpöytäympäristöön</b> +<p> +Ennen kuin alat käyttää LXDE-Qt-työpöytäympäristöä, halunnet määrittää ikkunahallinnan: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Voit vaihtaa ikkunahallintaa milloin tahansa käyttäen LxQtin istunnonhallintaa. + + + + Other ... + Muu... + + + + Choose your favorite one. + Valitse suosikkisi + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_fr_FR.ts b/lxqt-session/translations/lxqt-session_fr_FR.ts new file mode 100644 index 0000000..8c46adf --- /dev/null +++ b/lxqt-session/translations/lxqt-session_fr_FR.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Rapport de plantage de session LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + L'application '%1' a planté trop souvent. Son redémarrage automatique a été désactivé pour la session courante. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Bienvenue sur LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Bienvenue sur LXDE-Qt</b> +<p> +Avant de commencer à utiliser LXDE-Qt, vous voulez peut-être choisir un gestionnaire de fenêtres : + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Vous pouvez changer de gestionnaire de fenêtres à tout moment dans le paneau de configuration de LxQt. + + + + Other ... + Autre… + + + + Choose your favorite one. + Choisissez votre préféré. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_hu.ts b/lxqt-session/translations/lxqt-session_hu.ts new file mode 100644 index 0000000..b4c888e --- /dev/null +++ b/lxqt-session/translations/lxqt-session_hu.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_hu_HU.ts b/lxqt-session/translations/lxqt-session_hu_HU.ts new file mode 100644 index 0000000..214e51b --- /dev/null +++ b/lxqt-session/translations/lxqt-session_hu_HU.ts @@ -0,0 +1,61 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Üdvözli a LXDE-Qt! + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Üdvözli a LXDE-Qt!</b> +<p> +Mielőtt elkezdené a LXDE-Qt használatát, válasszon ablakkezelőt: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Az ablakkezelőt később bármikor megváltoztathatja a LxQt munkamenetbeállítóban. + + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_ia.ts b/lxqt-session/translations/lxqt-session_ia.ts new file mode 100644 index 0000000..d1e9022 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ia.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_id_ID.ts b/lxqt-session/translations/lxqt-session_id_ID.ts new file mode 100644 index 0000000..e76d8e3 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_id_ID.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_it_IT.ts b/lxqt-session/translations/lxqt-session_it_IT.ts new file mode 100644 index 0000000..2e22ee6 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_it_IT.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Resoconto di errori della sessione di LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + L'applicazione '%1' si è chiusa per errore troppe volte. Il suo riavvio automatico è stato disattivato per l'attuale sessione. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Benvenuto in LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Benvenuto in LXDE-Qt</b> +<p> +Prima di iniziare a usare LXDE-Qt dovresti selezionare il gestore delle finestre: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Puoi cambiare il gestore delle finestre quando vuoi tramite lo strumento di configurazione della sessione di LxQt. + + + + Other ... + Altro... + + + + Choose your favorite one. + Scegli il tuo preferito + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_ja.ts b/lxqt-session/translations/lxqt-session_ja.ts new file mode 100644 index 0000000..bfe9a8f --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ja.ts @@ -0,0 +1,68 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQtセッションのクラッシュ報告 + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + アプリケーション'%1'はクラッシュしすぎました。現在のセッションにおける自動起動は無効化されました。 + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + LXDE-Qtにようこそ + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>LXDE-Qtへようこそ</b> +<p>LXDE-Qtを使い始める前に、ウィンドウマネージャを選択することもできます: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + ウィンドウマネージャは後からいつでもLxQtセッション設定で変更することができます。 + + + + Other ... + その他... + + + + Choose your favorite one. + お好みのものを選んでください。 + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_ja_JP.ts b/lxqt-session/translations/lxqt-session_ja_JP.ts new file mode 100644 index 0000000..5a06386 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ja_JP.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_ko.ts b/lxqt-session/translations/lxqt-session_ko.ts new file mode 100644 index 0000000..02e9421 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ko.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_lt.ts b/lxqt-session/translations/lxqt-session_lt.ts new file mode 100644 index 0000000..44cd40e --- /dev/null +++ b/lxqt-session/translations/lxqt-session_lt.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Pranešimas apie LxQt sesijų lūžimus + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Programa „%1“ dažnai nulūžta. Jos automatinis paleidimas išjungiamas šiai sesijai. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Jus sveikina LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Jus sveikina LXDE-Qt</b> +<p> +Prieš pradėdami dirbti LXDE-Qt aplinkoje, pasirinkite norimą langų tvarkyklę. + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Langų tvarkyklę bet kada vėliau galėsite pasikeisti LxQt sesijų konfigūracijoje. + + + + Other ... + Kita ... + + + + Choose your favorite one. + Pasirinkite norimą. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_nl.ts b/lxqt-session/translations/lxqt-session_nl.ts new file mode 100644 index 0000000..1310dca --- /dev/null +++ b/lxqt-session/translations/lxqt-session_nl.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQt Sessie Fout Rapport + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Programma '%1' is te vaak gecrashed. De autorestart functie is uitgeschakeld voor deze sessie. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Welkom bij LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Welkom bij LXDE-Qt</b>⏎ +<p>⏎ +Voordat u gebruik maakt van LxQt-Qt, wilt u wellicht een Window Manager selecteren: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + U kunt ook op een later tijdstip van Window Manager wisselen, via de LxQt Sessie Configurator. + + + + Other ... + Overige ... + + + + Choose your favorite one. + Kies uw favoriete. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_pl_PL.ts b/lxqt-session/translations/lxqt-session_pl_PL.ts new file mode 100644 index 0000000..1587c06 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_pl_PL.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Zgłoszenie błędu sesji LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Aplikacja '%1' uległa awarii zbyt wiele razy. Automatyczne uruchamianie aplikacji zostało wyłączone w bieżącej sesji. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Witamy w LxQt-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Witamy w LxQt-Qt</b> +<p> +Przed rozpoczęciem korzystania z komputera, proszę wybrać menedżer okien: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Można zmienić menedżer okien w oknie konfiguracji sesji LxQt. + + + + Other ... + Inne ... + + + + Choose your favorite one. + Wybierz swój ulubiony. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_pt.ts b/lxqt-session/translations/lxqt-session_pt.ts new file mode 100644 index 0000000..2ca20f1 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_pt.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Relatório de erros do LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + A aplicação '%1' terminou muitas vezes. O seu arranque automático foi desativado nesta sessão. + + + + Crash Report + Relatório de erros + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + <b>%1</b> terminou muitas vezes. O seu arranque automático foi desativado até à próxima sessão. + + + + WmSelectDialog + + Welcome to LXDE-Qt + Bem-vindo ao LxQt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Bem-vindo ao LxQt</b> +<p> +Antes de começar a utilizar o LxQt, deve escolher o seu gestor de janelas: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Posteriormente, pode mudar o gestor de janelas através do configurador de sessões do LxQt. + + + + Other ... + Outro... + + + + Choose your favorite one. + Escolha o seu preferido. + + + + Welcome to LXQt + Bem-vindo ao LxQt + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + <html><head/><body><p><span style=" font-weight:600;">Bem-vindo ao LXQt</span></p><p>Por favor escolha o seu gestor de janelas.</p></body></html> + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + Posteriormente, pode mudar o gestor de janelas em Preferências -> Definiçoes da sessão -> Definições básicas. + + + diff --git a/lxqt-session/translations/lxqt-session_pt_BR.ts b/lxqt-session/translations/lxqt-session_pt_BR.ts new file mode 100644 index 0000000..04a1ec2 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_pt_BR.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Relatar falha da sessão do LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + O aplicativo '%1' falhou muitas vezes. Sua inicialização automática foi desativada para a sessão atual. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Bem-vindo ao LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Bem-vindo ao LXDE-Qt</b> +<p> +Antes de iniciar o uso do LXDE-Qt, você pode querer selecionar o gerenciador de janelas: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Você pode alterar o gerenciador de janelas mais tarde, a qualquer momento através do configurador de sessão do LxQt. + + + + Other ... + Outro... + + + + Choose your favorite one. + Escolha o seu favorito. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_ro_RO.ts b/lxqt-session/translations/lxqt-session_ro_RO.ts new file mode 100644 index 0000000..f67248e --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ro_RO.ts @@ -0,0 +1,61 @@ + + + + + LxQtModuleManager + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Aplicația '%1' a eșuat de prea multe ori. Repornirea automată a acestei aplicații a fost dezactivată pentru sesiunea curentă. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Bine ați venit în LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Bine ați venit în LXDE-Qt</b> +<p> +Înainte de a utiliza LXDE-Qt, selectați un administrator de ferestre: + + + + Other ... + Altele... + + + + Choose your favorite one. + Alegeți favoritul dvs. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_ru.ts b/lxqt-session/translations/lxqt-session_ru.ts new file mode 100644 index 0000000..a3669e6 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ru.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + Отчёт о падении + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + <b>%1</b> упало слишком много раз. его автозапуск был отменён до следующего входа в систему. + + + + WmSelectDialog + + + Welcome to LXQt + Добро пожаловать в LXQt + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + <html><head/><body><p><span style=" font-weight:600;">Добро пожаловать в LXQt</span></p><p>Выберите оконный менеджер по-умолчанию.</p></body></html> + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + Вы можете изменить это в любое время через Настройки -> Настройки сесии -> Основные настройки. + + + + Other ... + Другое… + + + + Choose your favorite one. + Выберите то, что вам больше нравится. + + + diff --git a/lxqt-session/translations/lxqt-session_ru_RU.ts b/lxqt-session/translations/lxqt-session_ru_RU.ts new file mode 100644 index 0000000..96f7ac0 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_ru_RU.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + Отчёт о падении + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + <b>%1</b> упало слишком много раз. его автозапуск был отменён до следующего входа в систему. + + + + WmSelectDialog + + + Welcome to LXQt + Добро пожаловать в LXQt + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + <html><head/><body><p><span style=" font-weight:600;">Добро пожаловать в LXQt</span></p><p>Выберите оконный менеджер по-умолчанию.</p></body></html> + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + Вы можете изменить это в любое время через Настройки -> Настройки сесии -> Основные настройки. + + + + Other ... + Другое… + + + + Choose your favorite one. + Выберите то, что вам больше нравится. + + + diff --git a/lxqt-session/translations/lxqt-session_sk_SK.ts b/lxqt-session/translations/lxqt-session_sk_SK.ts new file mode 100644 index 0000000..24ab8bb --- /dev/null +++ b/lxqt-session/translations/lxqt-session_sk_SK.ts @@ -0,0 +1,61 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Víta vás LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Víta vás LXDE-Qt</b> +<p> +Predtým, než začnete používať LXDE-Qt si možno budete chcieť zvoliť správcu okien: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Správcu okien môžete kedykoľvek neskôr zmeniť prostredníctvom Konfigurácie relácie LxQt. + + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_sl.ts b/lxqt-session/translations/lxqt-session_sl.ts new file mode 100644 index 0000000..6a12aae --- /dev/null +++ b/lxqt-session/translations/lxqt-session_sl.ts @@ -0,0 +1,67 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Poročilo o sesutju seje LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Program »%1« se je sesul prevečkrat. Njegov samodejni zagon za trenutno sejo je bil onemogočen. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Dobrodošli v LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Dobrodošli v LXDE-Qt</b>
<p>
Preden začnete uporabljati LXDE-Qt si verjetno želite izbrati upravljalnika oken: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Upravljalnika oken lahko kadarkoli spremenite iz nastavitev seje LxQt. + + + + Other ... + Drugo ... + + + + Choose your favorite one. + Izberite priljubljenega upravljalnika oken. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_sr@latin.ts b/lxqt-session/translations/lxqt-session_sr@latin.ts new file mode 100644 index 0000000..5cde7ad --- /dev/null +++ b/lxqt-session/translations/lxqt-session_sr@latin.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_sr_BA.ts b/lxqt-session/translations/lxqt-session_sr_BA.ts new file mode 100644 index 0000000..4558372 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_sr_BA.ts @@ -0,0 +1,130 @@ + + + + + AutoStartEdit + + Edit + Уреди + + + Name: + Име: + + + Search... + Тражи... + + + Command: + Наредба: + + + Select Application + Изабери програм + + + + AutoStartItemModel + + Global Autostart + Глобално аутопокретање + + + LxQt Autostart + Рејзорово аутопокретање + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + QObject + + Openbox - light-weight window manager + Опенбокс - лагани менаџер прозора + + + KWin - window manager of the KDE Software Compilation + КВин - менаџер прозора за КДЕ + + + Metacity - window manager of the GNOME desktop environment + Метасити - менаџер прозора за ГНОМ + + + Windowmaker - a classical lightweight window manager + Виндоумејкер - класични лагани менаџер прозора + + + Enlightenement 16 + Enlightenement 16 + + + Fvwm2 - a classical lightweight window manager + Fvwm2 - класични лагани менаџер прозора + + + Xfwm4 - a window manager for the Xfce desktop environment + Xfwm4 - менаџер прозора за Иксфце + + + Sawfish - a lightweight, flexible window manager + Софиш - лагани, прилагодиви менаџер прозора + + + + WmSelectDialog + + Welcome to LXDE-Qt + Добро дошли у Рејзор-кјут + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Добро дошли у Рејзор-кјут</b> +<p> +Прије него почнете да користите Рејзор-кјут морате да изаберете менаџер прозора: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Можете да промијените менаџера прозора касније помоћу Рејзоровог Подешавања сесије. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + + Other ... + + + + + Choose your favorite one. + + + + diff --git a/lxqt-session/translations/lxqt-session_sr_RS.ts b/lxqt-session/translations/lxqt-session_sr_RS.ts new file mode 100644 index 0000000..bb4a44f --- /dev/null +++ b/lxqt-session/translations/lxqt-session_sr_RS.ts @@ -0,0 +1,61 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Добро дошли у Рејзор-кјут + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Добро дошли у Рејзор-кјут</b> +<p> +Пре него почнете да користите Рејзор-кјут морате да изаберете менаџер прозора: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Можете да промените менаџера прозора касније помоћу Рејзоровог Подешавања сесије. + + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_th_TH.ts b/lxqt-session/translations/lxqt-session_th_TH.ts new file mode 100644 index 0000000..b2bb3aa --- /dev/null +++ b/lxqt-session/translations/lxqt-session_th_TH.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + รายงานความเสียหายของวาระงาน LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + โปรแกรม '%1' เสียหายหลายครั้งมาก การเริ่มงานอัตโนมัติของมันจะถูกปิดใช้งาานสำหรับวาระงานปัจจุบัน + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + ยินดีต้อนรับเข้าสู่ LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>ยินดีต้อนรับสู่ LXDE-Qt</b> +<p> +ก่อนเริ่มการใช้งาน LXDE-Qt คุณจะต้องเลือกโปรแกรมจัดการหน้าต่าง: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + คุณสามารถเปลี่ยนโปรแกรมจัดการหน้าต่างทีหลังในเวลาใดก็ได้ทางตัวตั้งค่าวาระงาน LxQt + + + + Other ... + อย่างอื่น ... + + + + Choose your favorite one. + เลื่อกที่คุณชอบมาหนึ่งอย่าง + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_tr.ts b/lxqt-session/translations/lxqt-session_tr.ts new file mode 100644 index 0000000..0bac1b3 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_tr.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQt Oturum Çökme Bildirimi + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + '%1' uygulaması çok kere çöktü. Geçerli oturum için bu uygulamanın kendiliğinden yeniden başlatma işlevi devre dışı bırakıldı. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + LXDE-Qt' ye hoş geldiniz + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>LXDE-Qt' ye hoş geldiniz</b> +<p> +LXDE-Qt' yi kullanmaya başlamadan önce, Pencere Yöneticisini seçiniz: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Pencere Yöneticisini istediğiniz zaman LxQt Oturum Yapılandırıcıyı kullanarak değiştirebilirsiniz. + + + + Other ... + Diğer ... + + + + Choose your favorite one. + Sık kullandığınızı seçin. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_uk.ts b/lxqt-session/translations/lxqt-session_uk.ts new file mode 100644 index 0000000..0a6a963 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_uk.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + Звіт про крах сеансу LxQt + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + Програма "%1" зазнала краху забагато разів, тож для цього сеансу її автоматичний перезапуск вимкнено. + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + Вітаємо в LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>Вітаємо в LXDE-Qt!</b> +<p> +Перед тим, як почати користуватись LXDE-Qt, будь ласка, оберіть менеджер вікон: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + Ви можете обрати менеджер вікон пізніше через налаштування сеансу LxQt. + + + + Other ... + Інший ... + + + + Choose your favorite one. + Оберіть Ваш улюблений. + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_zh_CN.GB2312.ts b/lxqt-session/translations/lxqt-session_zh_CN.GB2312.ts new file mode 100644 index 0000000..c84c2ae --- /dev/null +++ b/lxqt-session/translations/lxqt-session_zh_CN.GB2312.ts @@ -0,0 +1,45 @@ + + + + + LxQtModuleManager + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + + Other ... + + + + + Choose your favorite one. + + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_zh_CN.ts b/lxqt-session/translations/lxqt-session_zh_CN.ts new file mode 100644 index 0000000..edb11d3 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_zh_CN.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQt 会话崩溃报告 + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + 程序 '%1' 崩溃了很多次,当前会话禁止其自动启动。 + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + 欢迎来到 LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>欢迎来到 LXDE-Qt</b> +<p> +在开始使用LXDE-Qt之前,也许你想选择窗口管理器: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + 你可以在任何时候通过LxQt会话配置器更改窗口管理器。 + + + + Other ... + 其它... + + + + Choose your favorite one. + 选择最喜欢的。 + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqt-session/translations/lxqt-session_zh_TW.ts b/lxqt-session/translations/lxqt-session_zh_TW.ts new file mode 100644 index 0000000..9fe79f5 --- /dev/null +++ b/lxqt-session/translations/lxqt-session_zh_TW.ts @@ -0,0 +1,69 @@ + + + + + LxQtModuleManager + + LxQt Session Crash Report + LxQt會話錯誤回報 + + + Application '%1' crashed too many times. Its autorestart has been disabled for current session. + 應用程式 '%1' 不正常結束過於頻繁。所以它在此會話中的自動啟動將被取消。 + + + + Crash Report + + + + + <b>%1</b> crashed too many times. Its autorestart has been disabled until next login. + + + + + WmSelectDialog + + Welcome to LXDE-Qt + 歡迎使用 LXDE-Qt + + + <b>Welcome to LXDE-Qt</b> +<p> +Before starting to use the LXDE-Qt, you might want to select the Windows Manager: + <b>歡迎使用 LXDE-Qt</b> +<p> +在開始探索LXDE-Qt之前,您也許會想先選擇視窗管理器: + + + You can change the Window Manager later at any time via LxQt Session Configurator. + 您以在任何時間透過LxQt會話設定更改視窗管理員。 + + + + Other ... + 其他... + + + + Choose your favorite one. + 選擇您最喜愛的。 + + + + Welcome to LXQt + + + + + <html><head/><body><p><span style=" font-weight:600;">Welcome to LXQt</span></p><p>Please select your default Window Manager.</p></body></html> + + + + + You will be able to change this at any time through Preferences -> Session Settings -> Basic Settings. + + + + diff --git a/lxqtleave/CMakeLists.txt b/lxqtleave/CMakeLists.txt new file mode 100644 index 0000000..6932b57 --- /dev/null +++ b/lxqtleave/CMakeLists.txt @@ -0,0 +1,35 @@ +cmake_minimum_required(VERSION 2.8.11) +project(lxqt-leave) + +set(CPP_FILES + main.cpp +) + + +# Translations ********************************** +include(LXQtTranslate) +lxqt_translate_desktop(DESKTOP_FILES + SOURCES + resources/lxqt-hibernate.desktop.in + resources/lxqt-lockscreen.desktop.in + resources/lxqt-logout.desktop.in + resources/lxqt-reboot.desktop.in + resources/lxqt-shutdown.desktop.in + resources/lxqt-suspend.desktop.in +) +#************************************************ + + +add_executable(lxqt-leave + ${CPP_FILES} + ${DESKTOP_FILES} +) + +target_link_libraries(lxqt-leave + ${LXQT_LIBRARIES} + ${LXQT_LIBRARY_NAME} +) + +install(TARGETS lxqt-leave RUNTIME DESTINATION bin) +install(FILES ${DESKTOP_FILES} DESTINATION share/applications) + diff --git a/lxqtleave/main.cpp b/lxqtleave/main.cpp new file mode 100644 index 0000000..2732017 --- /dev/null +++ b/lxqtleave/main.cpp @@ -0,0 +1,77 @@ +/* BEGIN_COMMON_COPYRIGHT_HEADER + * (c)LGPL2+ + * + * LXDE-Qt - a lightweight, Qt based, desktop toolset + * http://razor-qt.org + * + * Copyright: 2010-2011 Razor team + * Authors: + * Petr Vanek + * + * This program or library is free software; you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + + * You should have received a copy of the GNU Lesser General + * Public License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * END_COMMON_COPYRIGHT_HEADER */ + +#include +#include +#include +#include + +int main(int argc, char *argv[]) +{ + LxQt::Application a(argc,argv); + LxQt::Translator::translateApplication(); + + LxQt::PowerManager powermanager(&a); + LxQt::ScreenSaver screensaver(&a); + for (int i=1; i < argc; ++i) + { + QString arg = QString::fromLocal8Bit(argv[i]); + + if (arg == "--logout") + { + powermanager.logout(); + return 0; + } + if (arg == "--suspend") + { + powermanager.suspend(); + return 0; + } + if (arg == "--hibernate") + { + powermanager.hibernate(); + return 0; + } + if (arg == "--shutdown") + { + powermanager.shutdown(); + return 0; + } + if (arg == "--reboot") + { + powermanager.reboot(); + return 0; + } + if (arg == "--lockscreen") + { + a.connect(&screensaver,SIGNAL(done()),&a,SLOT(quit())); + screensaver.lockScreen(); + a.exec(); + return 0; + } + } +} diff --git a/lxqtleave/resources/lxqt-hibernate.desktop.in b/lxqtleave/resources/lxqt-hibernate.desktop.in new file mode 100644 index 0000000..140db64 --- /dev/null +++ b/lxqtleave/resources/lxqt-hibernate.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Hibernate +GenericName=Hibernate +Comment=hibernate the machine +Exec=lxqt-leave --hibernate +Icon=system-suspend-hibernate +Categories=LXQt;X-Leave +OnlyShowIn=LXQt + +#TRANSLATIONS_DIR=../translations diff --git a/lxqtleave/resources/lxqt-lockscreen.desktop.in b/lxqtleave/resources/lxqt-lockscreen.desktop.in new file mode 100644 index 0000000..b94f67f --- /dev/null +++ b/lxqtleave/resources/lxqt-lockscreen.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Lock Screen +GenericName=Lock Screen +Comment=Lock the current session +Exec=lxqt-leave --lockscreen +Icon=system-lock-screen +Categories=LXQt;Screensaver +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations diff --git a/lxqtleave/resources/lxqt-logout.desktop.in b/lxqtleave/resources/lxqt-logout.desktop.in new file mode 100644 index 0000000..fda3a95 --- /dev/null +++ b/lxqtleave/resources/lxqt-logout.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Logout +GenericName=Logout +Comment=Logout from the current session +Exec=lxqt-leave --logout +Icon=system-log-out +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations diff --git a/lxqtleave/resources/lxqt-reboot.desktop.in b/lxqtleave/resources/lxqt-reboot.desktop.in new file mode 100644 index 0000000..5b0e160 --- /dev/null +++ b/lxqtleave/resources/lxqt-reboot.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Reboot +GenericName=Reboot +Comment=reboot the machine +Exec=lxqt-leave --reboot +Icon=system-reboot +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations diff --git a/lxqtleave/resources/lxqt-shutdown.desktop.in b/lxqtleave/resources/lxqt-shutdown.desktop.in new file mode 100644 index 0000000..57eb60b --- /dev/null +++ b/lxqtleave/resources/lxqt-shutdown.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Shutdown +GenericName=Shutdown +Comment=shutdown the machine +Exec=lxqt-leave --shutdown +Icon=system-shutdown +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations diff --git a/lxqtleave/resources/lxqt-suspend.desktop.in b/lxqtleave/resources/lxqt-suspend.desktop.in new file mode 100644 index 0000000..ac0d2f3 --- /dev/null +++ b/lxqtleave/resources/lxqt-suspend.desktop.in @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Name=Suspend +GenericName=Suspend +Comment=suspend the machine +Exec=lxqt-leave --suspend +Icon=system-suspend +Categories=LXQt;X-Leave +OnlyShowIn=LXQt + +#TRANSLATIONS_DIR=../translations diff --git a/lxqtleave/translations/lxqt-hibernate_de.desktop b/lxqtleave/translations/lxqt-hibernate_de.desktop new file mode 100644 index 0000000..74e3dbf --- /dev/null +++ b/lxqtleave/translations/lxqt-hibernate_de.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Hibernate +GenericName=Hibernate +Comment=hibernate the machine +Exec=lxqt-leave --hibernate +Icon=system-suspend-hibernate +Categories=LXQt;X-Leave +OnlyShowIn=LXQt + +#TRANSLATIONS_DIR=../translations + +# Translations +Comment[de]=Rechner in Tiefschlaf versetzen +Name[de]=Tiefschlaf diff --git a/lxqtleave/translations/lxqt-hibernate_pt.desktop b/lxqtleave/translations/lxqt-hibernate_pt.desktop new file mode 100644 index 0000000..38370d9 --- /dev/null +++ b/lxqtleave/translations/lxqt-hibernate_pt.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Hibernate +GenericName=Hibernate +Comment=hibernate the machine +Exec=lxqt-leave --hibernate +Icon=system-suspend-hibernate +Categories=LXQt;X-Leave +OnlyShowIn=LXQt + +#TRANSLATIONS_DIR=../translations + +# Translations +Name[pt]=Hibernar +Comment[pt]=Hibernar o computador diff --git a/lxqtleave/translations/lxqt-lockscreen_de.desktop b/lxqtleave/translations/lxqt-lockscreen_de.desktop new file mode 100644 index 0000000..448d934 --- /dev/null +++ b/lxqtleave/translations/lxqt-lockscreen_de.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Type=Application +Name=Lock Screen +GenericName=Lock Screen +Comment=Lock the current session +Exec=lxqt-leave --lockscreen +Icon=system-lock-screen +Categories=LXQt;Screensaver +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations + + +# Translations +Comment[de]=aktuelle Sitzung sperren +Name[de]=Bildschirm sperren diff --git a/lxqtleave/translations/lxqt-lockscreen_pt.desktop b/lxqtleave/translations/lxqt-lockscreen_pt.desktop new file mode 100644 index 0000000..d3d1626 --- /dev/null +++ b/lxqtleave/translations/lxqt-lockscreen_pt.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Lock Screen +GenericName=Lock Screen +Comment=Lock the current session +Exec=lxqt-leave --lockscreen +Icon=system-lock-screen +Categories=LXQt;Screensaver +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations + +# Translations +Name[pt]=Bloquear +Comment[pt]=Bloquear a sessão atual diff --git a/lxqtleave/translations/lxqt-logout_de.desktop b/lxqtleave/translations/lxqt-logout_de.desktop new file mode 100644 index 0000000..65e57f6 --- /dev/null +++ b/lxqtleave/translations/lxqt-logout_de.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Logout +GenericName=Logout +Comment=Logout from the current session +Exec=lxqt-leave --logout +Icon=system-log-out +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations + +# Translations +Comment[de]=Sitzung beenden +Name[de]=Abmelden diff --git a/lxqtleave/translations/lxqt-logout_pt.desktop b/lxqtleave/translations/lxqt-logout_pt.desktop new file mode 100644 index 0000000..b36769a --- /dev/null +++ b/lxqtleave/translations/lxqt-logout_pt.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Logout +GenericName=Logout +Comment=Logout from the current session +Exec=lxqt-leave --logout +Icon=system-log-out +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations + +# Translations +Name[pt]=Sair +Comment[pt]=Sair da sessão \ No newline at end of file diff --git a/lxqtleave/translations/lxqt-reboot_de.desktop b/lxqtleave/translations/lxqt-reboot_de.desktop new file mode 100644 index 0000000..4c0d386 --- /dev/null +++ b/lxqtleave/translations/lxqt-reboot_de.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Reboot +GenericName=Reboot +Comment=reboot the machine +Exec=lxqt-leave --reboot +Icon=system-reboot +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations + +# Translations +Comment[de]=Rechner neustarten +Name[de]=Neustart diff --git a/lxqtleave/translations/lxqt-reboot_pt.desktop b/lxqtleave/translations/lxqt-reboot_pt.desktop new file mode 100644 index 0000000..b75ec62 --- /dev/null +++ b/lxqtleave/translations/lxqt-reboot_pt.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Reboot +GenericName=Reboot +Comment=reboot the machine +Exec=lxqt-leave --reboot +Icon=system-reboot +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations + +# Translations +Name[pt]=Reiniciar +Comment[pt]=Reiniciar o computador diff --git a/lxqtleave/translations/lxqt-shutdown_de.desktop b/lxqtleave/translations/lxqt-shutdown_de.desktop new file mode 100644 index 0000000..d656d3d --- /dev/null +++ b/lxqtleave/translations/lxqt-shutdown_de.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Shutdown +GenericName=Shutdown +Comment=shutdown the machine +Exec=lxqt-leave --shutdown +Icon=system-shutdown +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations + +# Translations +Comment[de]=Rechner herunterfahren +Name[de]=Herunterfahren diff --git a/lxqtleave/translations/lxqt-shutdown_pt.desktop b/lxqtleave/translations/lxqt-shutdown_pt.desktop new file mode 100644 index 0000000..3d6c229 --- /dev/null +++ b/lxqtleave/translations/lxqt-shutdown_pt.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Shutdown +GenericName=Shutdown +Comment=shutdown the machine +Exec=lxqt-leave --shutdown +Icon=system-shutdown +Categories=LXQt;X-Leave +OnlyShowIn=LXQt; + +#TRANSLATIONS_DIR=../translations + +# Translations +Name[pt]=Desligar +Comment[pt]=Desligar o computador diff --git a/lxqtleave/translations/lxqt-suspend_de.desktop b/lxqtleave/translations/lxqt-suspend_de.desktop new file mode 100644 index 0000000..21906e2 --- /dev/null +++ b/lxqtleave/translations/lxqt-suspend_de.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Suspend +GenericName=Suspend +Comment=suspend the machine +Exec=lxqt-leave --suspend +Icon=system-suspend +Categories=LXQt;X-Leave +OnlyShowIn=LXQt + +#TRANSLATIONS_DIR=../translations + +# Translations +Comment[de]=Rechner in Bereitschaftsmodus versetzen +Name[de]=Bereitschaft diff --git a/lxqtleave/translations/lxqt-suspend_pt.desktop b/lxqtleave/translations/lxqt-suspend_pt.desktop new file mode 100644 index 0000000..713b2cc --- /dev/null +++ b/lxqtleave/translations/lxqt-suspend_pt.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +Name=Suspend +GenericName=Suspend +Comment=suspend the machine +Exec=lxqt-leave --suspend +Icon=system-suspend +Categories=LXQt;X-Leave +OnlyShowIn=LXQt + +#TRANSLATIONS_DIR=../translations + +# Translations +Name[pt]=Suspender +Comment[pt]=Suspender o computador