diff options
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 9 | ||||
-rw-r--r-- | src-qt5/core/lumina-desktop/i18n/lumina-desktop_lt.ts | 56 | ||||
-rw-r--r-- | src-qt5/core/lumina-desktop/lumina-desktop.pro | 4 |
3 files changed, 35 insertions, 34 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index 0387555a..a4cc12a7 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -16,6 +16,7 @@ //LibLumina X11 class #include <LuminaX11.h> #include <LUtils.h> +#include <ExternalProcess.h> #include <unistd.h> //for usleep() usage @@ -276,8 +277,9 @@ void LSession::launchStartupApps(){ LOS::setScreenBrightness( tmp ); qDebug() << " - - Screen Brightness:" << QString::number(tmp)+"%"; } - QProcess::startDetached("nice lumina-open -autostart-apps"); - + //QProcess::startDetached("nice lumina-open -autostart-apps"); + ExternalProcess::launch("nice lumina-open -autostart-apps"); + //Re-load the screen brightness and volume settings from the previous session // Wait until after the XDG-autostart functions, since the audio system might be started that way qDebug() << " - Loading previous settings"; @@ -524,7 +526,8 @@ void LSession::SessionEnding(){ //=============== void LSession::LaunchApplication(QString cmd){ LSession::setOverrideCursor(QCursor(Qt::BusyCursor)); - QProcess::startDetached(cmd); + ExternalProcess::launch(cmd); + //QProcess::startDetached(cmd); } QFileInfoList LSession::DesktopFiles(){ diff --git a/src-qt5/core/lumina-desktop/i18n/lumina-desktop_lt.ts b/src-qt5/core/lumina-desktop/i18n/lumina-desktop_lt.ts index ab552ad9..8b1f9f3b 100644 --- a/src-qt5/core/lumina-desktop/i18n/lumina-desktop_lt.ts +++ b/src-qt5/core/lumina-desktop/i18n/lumina-desktop_lt.ts @@ -146,12 +146,12 @@ <message> <location filename="../BootSplash.ui" line="94"/> <source>Starting the Lumina Desktop...</source> - <translation type="unfinished"></translation> + <translation>Paleidžiamas Lumina darbalaukis...</translation> </message> <message> <location filename="../BootSplash.cpp" line="15"/> <source>Version %1</source> - <translation type="unfinished"></translation> + <translation>Versija %1</translation> </message> <message> <location filename="../BootSplash.cpp" line="39"/> @@ -171,7 +171,7 @@ <message> <location filename="../BootSplash.cpp" line="45"/> <source>Want to change the interface? Everything is customizable in the desktop configuration!</source> - <translation type="unfinished"></translation> + <translation>Norite pakeisti sąsają? Viskas yra tinkinama darbalaukio konfigūracijoje!</translation> </message> <message> <location filename="../BootSplash.cpp" line="47"/> @@ -181,7 +181,7 @@ <message> <location filename="../BootSplash.cpp" line="49"/> <source>This desktop is generously sponsored by iXsystems</source> - <translation type="unfinished"></translation> + <translation>Šį darbalaukį dosniai remia iXsystems</translation> </message> <message> <location filename="../BootSplash.cpp" line="51"/> @@ -196,12 +196,12 @@ <message> <location filename="../BootSplash.cpp" line="55"/> <source>Everything has its beauty but not everyone sees it.</source> - <translation type="unfinished"></translation> + <translation>Viskas turi savo grožį, tačiau ne visi tai mato.</translation> </message> <message> <location filename="../BootSplash.cpp" line="57"/> <source>Before God we are all equally wise - and equally foolish.</source> - <translation type="unfinished"></translation> + <translation>Prieš Dievą mes visi esame vienodai išmintingi - ir vienodai kvaili.</translation> </message> <message> <location filename="../BootSplash.cpp" line="59"/> @@ -215,13 +215,13 @@ </message> <message> <location filename="../BootSplash.cpp" line="63"/> - <source>Don't expect to build up the weak by pulling down the strong.</source> + <source>Don't expect to build up the weak by pulling down the strong.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../BootSplash.cpp" line="65"/> - <source>You can't know too much, but you can say too much.</source> - <translation type="unfinished"></translation> + <source>You can't know too much, but you can say too much.</source> + <translation>Negali per daug žinoti, tačiau gali per daug pasakyti.</translation> </message> <message> <location filename="../BootSplash.cpp" line="67"/> @@ -236,7 +236,7 @@ <message> <location filename="../BootSplash.cpp" line="71"/> <source>Never trust a computer you can’t throw out a window.</source> - <translation type="unfinished"></translation> + <translation>Niekada nepasitikėk kompiuteriu, kurio negali išmesti pro langą.</translation> </message> <message> <location filename="../BootSplash.cpp" line="73"/> @@ -256,7 +256,7 @@ <message> <location filename="../BootSplash.cpp" line="79"/> <source>Start where you are. Use what you have. Do what you can.</source> - <translation type="unfinished"></translation> + <translation>Pradėk ten, kur esi. Naudok tai, ką turi. Daryk tai, ką gali.</translation> </message> <message> <location filename="../BootSplash.cpp" line="81"/> @@ -271,7 +271,7 @@ <message> <location filename="../BootSplash.cpp" line="85"/> <source>Do what you can, where you are, with what you have.</source> - <translation type="unfinished"></translation> + <translation>Daryk tai, ką gali, ten, kur esi, tuo, ką turi.</translation> </message> <message> <location filename="../BootSplash.cpp" line="87"/> @@ -300,7 +300,7 @@ </message> <message> <location filename="../BootSplash.cpp" line="97"/> - <source>Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.</source> + <source>Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.</source> <translation type="unfinished"></translation> </message> <message> @@ -310,13 +310,13 @@ </message> <message> <location filename="../BootSplash.cpp" line="101"/> - <source>Do, or do not. There is no 'try'.</source> + <source>Do, or do not. There is no 'try'.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../BootSplash.cpp" line="103"/> <source>A mathematician is a device for turning coffee into theorems.</source> - <translation type="unfinished"></translation> + <translation>Matematikas yra įrenginys, skirtas paversti kavą į teoremas.</translation> </message> <message> <location filename="../BootSplash.cpp" line="105"/> @@ -330,13 +330,13 @@ </message> <message> <location filename="../BootSplash.cpp" line="109"/> - <source>It's kind of fun to do the impossible.</source> + <source>It's kind of fun to do the impossible.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../BootSplash.cpp" line="111"/> <source>Knowledge speaks, but wisdom listens.</source> - <translation type="unfinished"></translation> + <translation>Žinios kalba, tačiau išmintis klauso.</translation> </message> <message> <location filename="../BootSplash.cpp" line="113"/> @@ -366,7 +366,7 @@ <message> <location filename="../BootSplash.cpp" line="123"/> <source>Well done is better than well said.</source> - <translation type="unfinished"></translation> + <translation>Puikiai atlikta yra geriau nei puikiai pasakyta.</translation> </message> <message> <location filename="../BootSplash.cpp" line="125"/> @@ -376,7 +376,7 @@ <message> <location filename="../BootSplash.cpp" line="127"/> <source>The truth is more important than the facts.</source> - <translation type="unfinished"></translation> + <translation>Tiesa yra svarbesnė nei faktai.</translation> </message> <message> <location filename="../BootSplash.cpp" line="129"/> @@ -738,7 +738,7 @@ <message> <location filename="../LDesktop.cpp" line="292"/> <source>Lock Session</source> - <translation type="unfinished"></translation> + <translation>Užrakinti seansą</translation> </message> <message> <location filename="../LDesktop.cpp" line="293"/> @@ -987,32 +987,32 @@ <message> <location filename="../panel-plugins/audioplayer/PPlayerWidget.cpp" line="69"/> <source>Clear Playlist</source> - <translation type="unfinished">Išvalyti grojaraštį</translation> + <translation>Išvalyti grojaraštį</translation> </message> <message> <location filename="../panel-plugins/audioplayer/PPlayerWidget.cpp" line="70"/> <source>Shuffle Playlist</source> - <translation type="unfinished">Maišyti grojaraštį</translation> + <translation>Maišyti grojaraštį</translation> </message> <message> <location filename="../panel-plugins/audioplayer/PPlayerWidget.cpp" line="72"/> <source>Add Files</source> - <translation type="unfinished">Pridėti failus</translation> + <translation>Pridėti failus</translation> </message> <message> <location filename="../panel-plugins/audioplayer/PPlayerWidget.cpp" line="73"/> <source>Add Directory</source> - <translation type="unfinished">Pridėti katalogą</translation> + <translation>Pridėti katalogą</translation> </message> <message> <location filename="../panel-plugins/audioplayer/PPlayerWidget.cpp" line="74"/> <source>Add URL</source> - <translation type="unfinished">Pridėti URL</translation> + <translation>Pridėti URL</translation> </message> <message> <location filename="../panel-plugins/audioplayer/PPlayerWidget.cpp" line="102"/> <source>Multimedia Files</source> - <translation type="unfinished">Multimedijos failai</translation> + <translation>Multimedijos failai</translation> </message> <message> <location filename="../panel-plugins/audioplayer/PPlayerWidget.cpp" line="103"/> @@ -1264,7 +1264,7 @@ <message> <location filename="../SettingsMenu.cpp" line="33"/> <source>Wallpaper</source> - <translation type="unfinished"></translation> + <translation>Darbalaukio fonas</translation> </message> <message> <location filename="../SettingsMenu.cpp" line="36"/> @@ -1274,7 +1274,7 @@ <message> <location filename="../SettingsMenu.cpp" line="39"/> <source>All Desktop Settings</source> - <translation type="unfinished"></translation> + <translation>Visi darbalaukio nustatymai</translation> </message> <message> <location filename="../SettingsMenu.cpp" line="54"/> diff --git a/src-qt5/core/lumina-desktop/lumina-desktop.pro b/src-qt5/core/lumina-desktop/lumina-desktop.pro index 4b725288..1d60f7d3 100644 --- a/src-qt5/core/lumina-desktop/lumina-desktop.pro +++ b/src-qt5/core/lumina-desktop/lumina-desktop.pro @@ -15,9 +15,7 @@ include(../libLumina/LuminaXDG.pri) include(../libLumina/LuminaX11.pri) include(../libLumina/LuminaSingleApplication.pri) include(../libLumina/LuminaThemes.pri) - -#LIBS += -lLuminaUtils -lxcb -lxcb-damage -#DEPENDPATH += ../libLumina +include(../libLumina/ExternalProcess.pri) TEMPLATE = app |