Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Nano
Commits
5acfef5e
Commit
5acfef5e
authored
Sep 04, 2019
by
Marco Martin
Browse files
rename to Plasma Nano
parent
c3b5bdfc
Changes
14
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5acfef5e
project
(
plasma-
mycroft-shell
)
project
(
plasma-
nano
)
# minimal requirements
cmake_minimum_required
(
VERSION 2.8.12 FATAL_ERROR
)
...
...
@@ -32,8 +32,7 @@ feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAG
include
(
CheckIncludeFiles
)
plasma_install_package
(
shell org.kde.plasma.
mini
shells
)
plasma_install_package
(
desktoptoolbox org.kde.plasma.
mini
.desktoptoolbox packages package
)
plasma_install_package
(
shell org.kde.plasma.
nano
shells
)
plasma_install_package
(
desktoptoolbox org.kde.plasma.
nano
.desktoptoolbox packages package
)
add_subdirectory
(
components
)
add_subdirectory
(
session
)
README.md
View file @
5acfef5e
p
lasma
-minishell
P
lasma
Nano
=======================
A minimal plasma shell package intended for embedded devices
...
...
@@ -6,4 +6,4 @@ A minimal plasma shell package intended for embedded devices
Test on a development machine
=======================
plasmashell -p org.kde.plasma.
mini
plasmashell -p org.kde.plasma.
nano
components/CMakeLists.txt
View file @
5acfef5e
project
(
mini
shellprivate
)
project
(
nano
shellprivate
)
set
(
mini
shellprivate_SRCS
mini
shellprivateplugin.cpp
set
(
nano
shellprivate_SRCS
nano
shellprivateplugin.cpp
fullscreenpanel.cpp
)
add_library
(
plasma
mini
shellprivateplugin SHARED
${
mini
shellprivate_SRCS
}
)
target_link_libraries
(
plasma
mini
shellprivateplugin Qt5::Core Qt5::Qml Qt5::Quick KF5::WindowSystem KF5::WaylandClient
)
add_library
(
plasma
nano
shellprivateplugin SHARED
${
nano
shellprivate_SRCS
}
)
target_link_libraries
(
plasma
nano
shellprivateplugin Qt5::Core Qt5::Qml Qt5::Quick KF5::WindowSystem KF5::WaylandClient
)
install
(
TARGETS plasma
mini
shellprivateplugin DESTINATION
${
KDE_INSTALL_QMLDIR
}
/org/kde/plasma/private/
mini
shell
)
install
(
TARGETS plasma
nano
shellprivateplugin DESTINATION
${
KDE_INSTALL_QMLDIR
}
/org/kde/plasma/private/
nano
shell
)
install
(
FILES qmldir DESTINATION
${
KDE_INSTALL_QMLDIR
}
/org/kde/plasma/private/
mini
shell
)
install
(
FILES qmldir DESTINATION
${
KDE_INSTALL_QMLDIR
}
/org/kde/plasma/private/
nano
shell
)
components/
mini
shellprivateplugin.cpp
→
components/
nano
shellprivateplugin.cpp
View file @
5acfef5e
...
...
@@ -20,7 +20,7 @@
THE SOFTWARE.
*/
#include
"
mini
shellprivateplugin.h"
#include
"
nano
shellprivateplugin.h"
#include
"fullscreenpanel.h"
#include
<QtQml>
...
...
@@ -28,7 +28,7 @@
void
PlasmaMiniShellPrivatePlugin
::
registerTypes
(
const
char
*
uri
)
{
Q_ASSERT
(
uri
==
QLatin1String
(
"org.kde.plasma.private.
mini
shell"
));
Q_ASSERT
(
uri
==
QLatin1String
(
"org.kde.plasma.private.
nano
shell"
));
qmlRegisterType
<
FullScreenPanel
>
(
uri
,
2
,
0
,
"FullScreenPanel"
);
}
components/
mini
shellprivateplugin.h
→
components/
nano
shellprivateplugin.h
View file @
5acfef5e
File moved
components/qmldir
View file @
5acfef5e
module org.kde.plasma.private.
mini
shell
plugin plasma
mini
shellprivateplugin
module org.kde.plasma.private.
nano
shell
plugin plasma
nano
shellprivateplugin
desktoptoolbox/Messages.sh
View file @
5acfef5e
#! /usr/bin/env bash
$EXTRACTRC
`
find
.
-name
\*
.rc
-o
-name
\*
.ui
-o
-name
\*
.kcfg
`
>>
rc.cpp
$XGETTEXT
`
find
.
-name
\*
.js
-o
-name
\*
.qml
-o
-name
\*
.cpp
`
-o
$podir
/plasma_toolbox_org.kde.plasma.
mini
.desktoptoolbox.pot
$XGETTEXT
`
find
.
-name
\*
.js
-o
-name
\*
.qml
-o
-name
\*
.cpp
`
-o
$podir
/plasma_toolbox_org.kde.plasma.
nano
.desktoptoolbox.pot
rm
-f
rc.cpp
desktoptoolbox/metadata.desktop
View file @
5acfef5e
[Desktop Entry]
Name=Minishell Toolbox
Comment=Manage Plasma
Comment[ar]=أدر بلازما
Comment[bs]=Upravljanje Plasmom
Comment[ca]=Gestió del Plasma
Comment[ca@valencia]=Gestió del Plasma
Comment[cs]=Spravovat Plasmu
Comment[da]=Håndtér Plasma
Comment[de]=Plasma verwalten
Comment[el]=Διαχείριση Plasma
Comment[en_GB]=Manage Plasma
Comment[es]=Gestión de Plasma
Comment[et]=Plasma haldamine
Comment[eu]=Kudeatu Plasma
Comment[fi]=Plasman hallinta
Comment[fr]=Gérer Plasma
Comment[gl]=Xestionar Plasma
Comment[he]=נהל את פלזמה
Comment[hu]=Plasma kezelése
Comment[ia]=Gere Plasma
Comment[id]=Kelola Plasma
Comment[is]=Sýsla með stillingar Plasma
Comment[it]=Gestisce Plasma
Comment[kk]=Plasma басқаруы
Comment[ko]=Plasma 관리
Comment[lt]=Tvarkyti Plasma
Comment[mr]=प्लाज्मा व्यवस्थापन
Comment[nb]=Håndter Plasma
Comment[nds]=Plasma plegen
Comment[nl]=Plasma beheren
Comment[nn]=Handsam Plasma
Comment[pa]=ਪਲਾਜ਼ਮਾ ਪਰਬੰਧ
Comment[pl]=Zarządzanie Plazmą
Comment[pt]=Gerir o Plasma
Comment[pt_BR]=Gerencia o Plasma
Comment[ro]=Gestionează Plasma
Comment[ru]=Настройка рабочей среды Plasma
Comment[sk]=Spravovať Plasmu
Comment[sl]=Upravljanje Plasme
Comment[sr]=Управљајте Плазмом
Comment[sr@ijekavian]=Управљајте Плазмом
Comment[sr@ijekavianlatin]=Upravljajte Plasmom
Comment[sr@latin]=Upravljajte Plasmom
Comment[sv]=Hantera Plasma
Comment[tr]=Plasma'yı Yönet
Comment[uk]=Керування Плазмою
Comment[vi]=Quản lý Plasma
Comment[x-test]=xxManage Plasmaxx
Comment[zh_CN]=管理 Plasma
Comment[zh_TW]=管理 Plasma
Name=Plasma Nano Toolbox
Comment=Manage Wallpaper and Widgets
Type=Service
Icon=plasma
...
...
@@ -57,7 +10,7 @@ X-KDE-ServiceTypes=Plasma/Generic
X-KDE-PluginInfo-Author=Marco MArtin
X-KDE-PluginInfo-Email=mart@kde.org
X-KDE-PluginInfo-Name=org.kde.plasma.
mini
.desktoptoolbox
X-KDE-PluginInfo-Name=org.kde.plasma.
nano
.desktoptoolbox
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=https://www.kde.org/plasma-desktop
X-KDE-PluginInfo-Category=Containments
...
...
session/CMakeLists.txt
deleted
100644 → 0
View file @
c3b5bdfc
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/plasma-minishell.desktop
DESTINATION
${
KDE_INSTALL_DATADIR
}
/xsessions
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/plasma-minishell-wayland.desktop
DESTINATION
${
KDE_INSTALL_DATADIR
}
/wayland-sessions
RENAME plasma-minishell.desktop
)
session/plasma-minishell-wayland.desktop
deleted
100644 → 0
View file @
c3b5bdfc
[Desktop Entry]
Exec=dbus-run-session /usr/bin/startplasmacompositor
TryExec=/usr/bin/startplasmacompositor
DesktopNames=KDE
Name=Plasma Minishell
X-KDE-PluginInfo-Version=5.13.3
session/plasma-minishell.desktop
deleted
100644 → 0
View file @
c3b5bdfc
[Desktop Entry]
Type=XSession
Exec=/usr/bin/startkde
TryExec=/usr/bin/startkde
DesktopNames=KDE
Name=Plasma Minishell
X-KDE-PluginInfo-Version=5.13.3
shell/contents/applet/CompactApplet.qml
View file @
5acfef5e
...
...
@@ -23,7 +23,7 @@ import org.kde.plasma.core 2.0 as PlasmaCore
import
org
.
kde
.
plasma
.
components
2.0
as
PlasmaComponents
import
org
.
kde
.
kquickcontrolsaddons
2.0
import
org
.
kde
.
plasma
.
private
.
mini
shell
2.0
as
Mini
Shell
import
org
.
kde
.
plasma
.
private
.
nano
shell
2.0
as
Nano
Shell
Item
{
id
:
root
...
...
@@ -84,7 +84,7 @@ Item {
}
}
Mini
Shell.FullScreenPanel
{
Nano
Shell.FullScreenPanel
{
id
:
expandedOverlay
color
:
Qt
.
rgba
(
0
,
0
,
0
,
0.5
)
visible
:
plasmoid
.
expanded
...
...
shell/contents/defaults
View file @
5acfef5e
# [kdeglobals][KDE]
# LookAndFeelPackage=org.kde.plasma.phone
[Desktop]
Containment=org.kde.mycroft.fullscreen
ToolBox=org.kde.plasma.mini.desktoptoolbox
ToolBox=org.kde.plasma.nano.desktoptoolbox
[Panel]
ToolBox=null
[Desktop][ContainmentActions]
# [plasmarc][Theme]
# name=breeze-dark
shell/metadata.desktop
View file @
5acfef5e
[Desktop Entry]
Name=Plasma
Mini
Name=Plasma
Nano
Type=Service
X-KDE-ServiceTypes=Plasma/Shell
...
...
@@ -8,7 +8,7 @@ X-KDE-PluginInfo-Author=Marco Martin
X-KDE-PluginInfo-Category=
X-KDE-PluginInfo-Email=mart@kde.org
X-KDE-PluginInfo-License=GPLv2+
X-KDE-PluginInfo-Name=org.kde.plasma.
mini
X-KDE-PluginInfo-Name=org.kde.plasma.
nano
X-KDE-PluginInfo-Version=0.1
X-KDE-PluginInfo-Website=
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment