[Blends-commit] [SCM] ezgo branch, master, updated. ba02fd79a4f45ed1f34684b0657d548cc5b77d59

Franklin franklin at goodhorse.idv.tw
Tue Mar 22 15:54:24 UTC 2016


The following commit has been merged in the master branch:
commit 19a5688186b31b2929eef0dfa5515e1dc1ae00fe
Author: Franklin <franklin at goodhorse.idv.tw>
Date:   Tue Mar 22 22:20:25 2016 +0800

    Add files for kde plasma 5 in ezgo

diff --git a/ezgo-kde/kde-profile/dolphinrc b/ezgo-kde5/kde-profile/config/dolphinrc
similarity index 100%
copy from ezgo-kde/kde-profile/dolphinrc
copy to ezgo-kde5/kde-profile/config/dolphinrc
diff --git a/ezgo-kde/kde-profile/gtkrc b/ezgo-kde5/kde-profile/config/gtkrc
similarity index 100%
copy from ezgo-kde/kde-profile/gtkrc
copy to ezgo-kde5/kde-profile/config/gtkrc
diff --git a/ezgo-kde/kde-profile/gtkrc-2.0 b/ezgo-kde5/kde-profile/config/gtkrc-2.0
similarity index 100%
copy from ezgo-kde/kde-profile/gtkrc-2.0
copy to ezgo-kde5/kde-profile/config/gtkrc-2.0
diff --git a/ezgo-kde/kde-profile/kalziumrc b/ezgo-kde5/kde-profile/config/kalziumrc
similarity index 100%
copy from ezgo-kde/kde-profile/kalziumrc
copy to ezgo-kde5/kde-profile/config/kalziumrc
diff --git a/ezgo-kde/kde-profile/kdeglobals b/ezgo-kde5/kde-profile/config/kdeglobals
similarity index 100%
copy from ezgo-kde/kde-profile/kdeglobals
copy to ezgo-kde5/kde-profile/config/kdeglobals
diff --git a/ezgo-kde/kde-profile/kglobalshortcutsrc b/ezgo-kde5/kde-profile/config/kglobalshortcutsrc
similarity index 100%
copy from ezgo-kde/kde-profile/kglobalshortcutsrc
copy to ezgo-kde5/kde-profile/config/kglobalshortcutsrc
diff --git a/ezgo-kde/kde-profile/khotkeysrc b/ezgo-kde5/kde-profile/config/khotkeysrc
similarity index 100%
copy from ezgo-kde/kde-profile/khotkeysrc
copy to ezgo-kde5/kde-profile/config/khotkeysrc
diff --git a/ezgo-kde5/kde-profile/config/kickoffrc b/ezgo-kde5/kde-profile/config/kickoffrc
new file mode 100644
index 0000000..2aea482
--- /dev/null
+++ b/ezgo-kde5/kde-profile/config/kickoffrc
@@ -0,0 +1,5 @@
+[Favorites]
+FavoriteURLs=/usr/share/ezgo/ezgo-menu/applications/org.kde.konsole.desktop,/usr/share/ezgo/ezgo-menu/applications/firefox.desktop,/usr/share/ezgo/ezgo-menu/applications/org.kde.kate.desktop,/usr/share/ezgo/ezgo-menu/applications/kde4/amarok.desktop
+
+[SystemApplications]
+DesktopFiles=/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/kde4/muon-installer.desktop
diff --git a/ezgo-kde/kde-profile/kstarsrc b/ezgo-kde5/kde-profile/config/kstarsrc
similarity index 100%
copy from ezgo-kde/kde-profile/kstarsrc
copy to ezgo-kde5/kde-profile/config/kstarsrc
diff --git a/ezgo-kde/kde-profile/kwalletrc b/ezgo-kde5/kde-profile/config/kwalletrc
similarity index 100%
copy from ezgo-kde/kde-profile/kwalletrc
copy to ezgo-kde5/kde-profile/config/kwalletrc
diff --git a/ezgo-kde/kde-profile/kwinrc b/ezgo-kde5/kde-profile/config/kwinrc
similarity index 100%
copy from ezgo-kde/kde-profile/kwinrc
copy to ezgo-kde5/kde-profile/config/kwinrc
diff --git a/ezgo-kde/kde-profile/nepomukserverrc b/ezgo-kde5/kde-profile/config/nepomukserverrc
similarity index 100%
copy from ezgo-kde/kde-profile/nepomukserverrc
copy to ezgo-kde5/kde-profile/config/nepomukserverrc
diff --git a/ezgo-kde/kde-profile/oxygenrc b/ezgo-kde5/kde-profile/config/oxygenrc
similarity index 100%
copy from ezgo-kde/kde-profile/oxygenrc
copy to ezgo-kde5/kde-profile/config/oxygenrc
diff --git a/ezgo-kde/kde-profile/powermanagementprofilesrc b/ezgo-kde5/kde-profile/config/powermanagementprofilesrc
similarity index 100%
copy from ezgo-kde/kde-profile/powermanagementprofilesrc
copy to ezgo-kde5/kde-profile/config/powermanagementprofilesrc
diff --git a/ezgo-kde/kde/30ezgo-artwork b/ezgo-kde5/kde/30ezgo-artwork
similarity index 100%
copy from ezgo-kde/kde/30ezgo-artwork
copy to ezgo-kde5/kde/30ezgo-artwork
diff --git a/ezgo-kde/kde/bookmarks.xml b/ezgo-kde5/kde/bookmarks.xml
similarity index 100%
copy from ezgo-kde/kde/bookmarks.xml
copy to ezgo-kde5/kde/bookmarks.xml
diff --git a/ezgo-kde5/kde/defaultPanel.layout.js b/ezgo-kde5/kde/defaultPanel.layout.js
new file mode 100644
index 0000000..aa62ec6
--- /dev/null
+++ b/ezgo-kde5/kde/defaultPanel.layout.js
@@ -0,0 +1,60 @@
+var panel = new Panel
+var panelScreen = panel.screen
+var freeEdges = {"bottom": true, "top": true, "left": true, "right": true}
+
+for (i = 0; i < panelIds.length; ++i) {
+    var tmpPanel = panelById(panelIds[i])
+    if (tmpPanel.screen == panelScreen) {
+        // Ignore the new panel
+        if (tmpPanel.id != panel.id) {
+            freeEdges[tmpPanel.location] = false;
+        }
+    }
+}
+
+if (freeEdges["bottom"] == true) {
+    panel.location = "bottom";
+} else if (freeEdges["top"] == true) {
+    panel.location = "top";
+} else if (freeEdges["left"] == true) {
+    panel.location = "left";
+} else if (freeEdges["right"] == true) {
+    panel.location = "right";
+} else {
+    // There is no free edge, so leave the default value
+    panel.location = "top";
+}
+
+panel.height = screenGeometry(panel.screen).height > 1024 ? 35 : 27
+
+var kickoff = panel.addWidget("org.kde.plasma.kicker")
+kickoff.currentConfigGroup = ["General"]
+kickoff.writeConfig("useCustomButtonImage", "true")
+kickoff.writeConfig("customButtonImage", "/usr/share/ezgo/icons/start_menu.png")
+kickoff.currentConfigGroup = ["Shortcuts"]
+kickoff.writeConfig("global", "Alt+F1")
+
+panel.addWidget("org.kde.plasma.showActivityManager")
+//panel.addWidget("org.kde.plasma.pager")
+firefox = panel.addWidget("org.kde.plasma.icon")
+firefox.currentConfigGroup = ["General"]
+firefox.writeConfig("iconName", "firefox")
+firefox.writeConfig("url", "/usr/share/ezgo/ezgo-menu/applications/firefox.desktop")
+firefox.writeConfig("applicationName", "網頁瀏覽_firefox")
+
+systemsettings = panel.addWidget("org.kde.plasma.icon")
+systemsettings.currentConfigGroup = ["General"]
+systemsettings.writeConfig("iconName", "preferences-system")
+systemsettings.writeConfig("url", "/usr/share/ezgo/ezgo-menu/applications/systemsettings.desktop")
+systemsettings.writeConfig("applicationName", "系統設定_systemsettings")
+
+dolphin = panel.addWidget("org.kde.plasma.icon")
+dolphin.currentConfigGroup = ["General"]
+dolphin.writeConfig("iconName", "system-file-manager")
+dolphin.writeConfig("url", "/usr/share/ezgo/ezgo-menu/applications/org.kde.dolphin.desktop")
+dolphin.writeConfig("applicationName", "檔案總管_dolphin")
+
+panel.addWidget("org.kde.plasma.taskmanager")
+panel.addWidget("org.kde.plasma.systemtray")
+panel.addWidget("org.kde.plasma.digitalclock")
+
diff --git a/ezgo-kde5/kde/desktop.layout.js b/ezgo-kde5/kde/desktop.layout.js
new file mode 100644
index 0000000..94adcea
--- /dev/null
+++ b/ezgo-kde5/kde/desktop.layout.js
@@ -0,0 +1,29 @@
+
+loadTemplate("org.kde.plasma.desktop.defaultPanel")
+
+for (var i = 0; i < screenCount; ++i) {
+    var id = createActivity("Desktop", "org.kde.plasma.folder");
+    if (setCurrentActivity(id)) {
+        //setActivityName(id, "ezgo");
+        var desktopsArray = desktopsForActivity(id);
+        print(desktopsArray.length);
+        for( var j = 0; j < desktopsArray.length; j++) {
+            var a = desktopsArray[j];
+            a.wallpaperPlugin = 'org.kde.image';
+
+            //firefox = a.addWidget("org.kde.plasma.icon")
+            //firefox.currentConfigGroup = ["General"]
+            //firefox.writeConfig("iconName", "firefox")
+            //firefox.writeConfig("url", "/usr/share/ezgo/ezgo-menu/applications/firefox.desktop")
+            //firefox.writeConfig("applicationName", "網頁瀏覽_firefox")
+
+            trash = a.addWidget("org.kde.plasma.trash");
+            trash.geometry = QRectF(screenGeometry(desktop.screen).width - 200,450,174,104)
+            trash.writeConfig("immutability", 1)
+            trash.writeConfig("zvalue", 0)
+
+            //desktopsArray[j].wallpaperPlugin = 'org.kde.image';
+            //var clock = desktopsArray[j].addWidget("org.kde.plasma.analogclock");
+        }
+    }
+}
diff --git a/ezgo-kde/kde/open_as_root.desktop b/ezgo-kde5/kde/open_as_root.desktop
similarity index 100%
copy from ezgo-kde/kde/open_as_root.desktop
copy to ezgo-kde5/kde/open_as_root.desktop
diff --git a/ezgo-kde/kim4/AUTHORS b/ezgo-kde5/kim4/AUTHORS
similarity index 100%
copy from ezgo-kde/kim4/AUTHORS
copy to ezgo-kde5/kim4/AUTHORS
diff --git a/ezgo-kde/kim4/COPYING b/ezgo-kde5/kim4/COPYING
similarity index 100%
copy from ezgo-kde/kim4/COPYING
copy to ezgo-kde5/kim4/COPYING
diff --git a/ezgo-kde/kim4/README b/ezgo-kde5/kim4/README
similarity index 100%
copy from ezgo-kde/kim4/README
copy to ezgo-kde5/kim4/README
diff --git a/ezgo-kde/kim4/manual/index.html b/ezgo-kde5/kim4/manual/index.html
similarity index 100%
copy from ezgo-kde/kim4/manual/index.html
copy to ezgo-kde5/kim4/manual/index.html
diff --git a/ezgo-kde/kim4/manual/work.css b/ezgo-kde5/kim4/manual/work.css
similarity index 100%
copy from ezgo-kde/kim4/manual/work.css
copy to ezgo-kde5/kim4/manual/work.css
diff --git a/ezgo-kde/kim4/src/bin/kim_album b/ezgo-kde5/kim4/src/bin/kim_album
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_album
copy to ezgo-kde5/kim4/src/bin/kim_album
diff --git a/ezgo-kde/kim4/src/bin/kim_compress b/ezgo-kde5/kim4/src/bin/kim_compress
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_compress
copy to ezgo-kde5/kim4/src/bin/kim_compress
diff --git a/ezgo-kde/kim4/src/bin/kim_convert b/ezgo-kde5/kim4/src/bin/kim_convert
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_convert
copy to ezgo-kde5/kim4/src/bin/kim_convert
diff --git a/ezgo-kde/kim4/src/bin/kim_flipflop b/ezgo-kde5/kim4/src/bin/kim_flipflop
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_flipflop
copy to ezgo-kde5/kim4/src/bin/kim_flipflop
diff --git a/ezgo-kde/kim4/src/bin/kim_galery b/ezgo-kde5/kim4/src/bin/kim_galery
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_galery
copy to ezgo-kde5/kim4/src/bin/kim_galery
diff --git a/ezgo-kde/kim4/src/bin/kim_multiburst b/ezgo-kde5/kim4/src/bin/kim_multiburst
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_multiburst
copy to ezgo-kde5/kim4/src/bin/kim_multiburst
diff --git a/ezgo-kde/kim4/src/bin/kim_other b/ezgo-kde5/kim4/src/bin/kim_other
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_other
copy to ezgo-kde5/kim4/src/bin/kim_other
diff --git a/ezgo-kde/kim4/src/bin/kim_pelemele b/ezgo-kde5/kim4/src/bin/kim_pelemele
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_pelemele
copy to ezgo-kde5/kim4/src/bin/kim_pelemele
diff --git a/ezgo-kde/kim4/src/bin/kim_print b/ezgo-kde5/kim4/src/bin/kim_print
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_print
copy to ezgo-kde5/kim4/src/bin/kim_print
diff --git a/ezgo-kde/kim4/src/bin/kim_record b/ezgo-kde5/kim4/src/bin/kim_record
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_record
copy to ezgo-kde5/kim4/src/bin/kim_record
diff --git a/ezgo-kde/kim4/src/bin/kim_record_mpg b/ezgo-kde5/kim4/src/bin/kim_record_mpg
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_record_mpg
copy to ezgo-kde5/kim4/src/bin/kim_record_mpg
diff --git a/ezgo-kde/kim4/src/bin/kim_rename b/ezgo-kde5/kim4/src/bin/kim_rename
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_rename
copy to ezgo-kde5/kim4/src/bin/kim_rename
diff --git a/ezgo-kde/kim4/src/bin/kim_resize b/ezgo-kde5/kim4/src/bin/kim_resize
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_resize
copy to ezgo-kde5/kim4/src/bin/kim_resize
diff --git a/ezgo-kde/kim4/src/bin/kim_resizeandsend b/ezgo-kde5/kim4/src/bin/kim_resizeandsend
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_resizeandsend
copy to ezgo-kde5/kim4/src/bin/kim_resizeandsend
diff --git a/ezgo-kde/kim4/src/bin/kim_rotate b/ezgo-kde5/kim4/src/bin/kim_rotate
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_rotate
copy to ezgo-kde5/kim4/src/bin/kim_rotate
diff --git a/ezgo-kde/kim4/src/bin/kim_rotatewithexif b/ezgo-kde5/kim4/src/bin/kim_rotatewithexif
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_rotatewithexif
copy to ezgo-kde5/kim4/src/bin/kim_rotatewithexif
diff --git a/ezgo-kde/kim4/src/bin/kim_slideshow b/ezgo-kde5/kim4/src/bin/kim_slideshow
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_slideshow
copy to ezgo-kde5/kim4/src/bin/kim_slideshow
diff --git a/ezgo-kde/kim4/src/bin/kim_sortbydate b/ezgo-kde5/kim4/src/bin/kim_sortbydate
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_sortbydate
copy to ezgo-kde5/kim4/src/bin/kim_sortbydate
diff --git a/ezgo-kde/kim4/src/bin/kim_treatment b/ezgo-kde5/kim4/src/bin/kim_treatment
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_treatment
copy to ezgo-kde5/kim4/src/bin/kim_treatment
diff --git a/ezgo-kde/kim4/src/bin/kim_webexport b/ezgo-kde5/kim4/src/bin/kim_webexport
similarity index 100%
copy from ezgo-kde/kim4/src/bin/kim_webexport
copy to ezgo-kde5/kim4/src/bin/kim_webexport
diff --git a/ezgo-kde/kim4/src/gallery/index.part1 b/ezgo-kde5/kim4/src/gallery/index.part1
similarity index 100%
copy from ezgo-kde/kim4/src/gallery/index.part1
copy to ezgo-kde5/kim4/src/gallery/index.part1
diff --git a/ezgo-kde/kim4/src/gallery/index.part2 b/ezgo-kde5/kim4/src/gallery/index.part2
similarity index 100%
copy from ezgo-kde/kim4/src/gallery/index.part2
copy to ezgo-kde5/kim4/src/gallery/index.part2
diff --git a/ezgo-kde/kim4/src/kim_compressandresize.desktop b/ezgo-kde5/kim4/src/kim_compressandresize.desktop
similarity index 100%
copy from ezgo-kde/kim4/src/kim_compressandresize.desktop
copy to ezgo-kde5/kim4/src/kim_compressandresize.desktop
diff --git a/ezgo-kde/kim4/src/kim_convertandrotate.desktop b/ezgo-kde5/kim4/src/kim_convertandrotate.desktop
similarity index 100%
copy from ezgo-kde/kim4/src/kim_convertandrotate.desktop
copy to ezgo-kde5/kim4/src/kim_convertandrotate.desktop
diff --git a/ezgo-kde/kim4/src/kim_publication.desktop b/ezgo-kde5/kim4/src/kim_publication.desktop
similarity index 100%
copy from ezgo-kde/kim4/src/kim_publication.desktop
copy to ezgo-kde5/kim4/src/kim_publication.desktop
diff --git a/ezgo-kde/kim4/src/kim_translation b/ezgo-kde5/kim4/src/kim_translation
similarity index 100%
copy from ezgo-kde/kim4/src/kim_translation
copy to ezgo-kde5/kim4/src/kim_translation
diff --git a/ezgo-kde/kim4/src/slideshow/dewslider.swf b/ezgo-kde5/kim4/src/slideshow/dewslider.swf
similarity index 100%
copy from ezgo-kde/kim4/src/slideshow/dewslider.swf
copy to ezgo-kde5/kim4/src/slideshow/dewslider.swf
diff --git a/ezgo-kde/kim4/src/slideshow/index.part1 b/ezgo-kde5/kim4/src/slideshow/index.part1
similarity index 100%
copy from ezgo-kde/kim4/src/slideshow/index.part1
copy to ezgo-kde5/kim4/src/slideshow/index.part1
diff --git a/ezgo-kde/kim4/src/slideshow/index.part2 b/ezgo-kde5/kim4/src/slideshow/index.part2
similarity index 100%
copy from ezgo-kde/kim4/src/slideshow/index.part2
copy to ezgo-kde5/kim4/src/slideshow/index.part2

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list