Permalink
Browse files

bug-desktop-icons: Desktop files and icons for reboot, shutdown and s…

…uspend

Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
  • Loading branch information...
1 parent 9fe6d35 commit 43686adb89312ad0acbff8549dfc917fd7ee19a5 @Stefan-Schmidt Stefan-Schmidt committed Nov 29, 2011
@@ -0,0 +1,18 @@
+DESCRIPTION = "A desktop icon for system reboot."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+PR = "r0"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "file://bug-reboot.desktop"
+
+S = "${WORKDIR}"
+
+FILES_${PN} += "/usr/share/applications/bug-reboot.desktop"
+
+do_install() {
+ install -m 0755 -d ${D}/usr/share/applications
+ install -m 0644 ${S}/bug-reboot.desktop ${D}/usr/share/applications/
+}
@@ -0,0 +1,18 @@
+DESCRIPTION = "A desktop icon for system shutdown."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+PR = "r0"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "file://bug-shutdown.desktop"
+
+S = "${WORKDIR}"
+
+FILES_${PN} += "/usr/share/applications/bug-shutdown.desktop"
+
+do_install() {
+ install -m 0755 -d ${D}/usr/share/applications
+ install -m 0644 ${S}/bug-shutdown.desktop ${D}/usr/share/applications/
+}
@@ -0,0 +1,18 @@
+DESCRIPTION = "A desktop icon for system suspend."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+PR = "r0"
+PACKAGE_ARCH = "all"
+
+SRC_URI = "file://bug-suspend.desktop"
+
+S = "${WORKDIR}"
+
+FILES_${PN} += "/usr/share/applications/bug-suspend.desktop"
+
+do_install() {
+ install -m 0755 -d ${D}/usr/share/applications
+ install -m 0644 ${S}/bug-suspend.desktop ${D}/usr/share/applications/
+}
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Reboot
+Comment=Reboot the BUG.
+Exec=/sbin/reboot
+Icon=system-restart
+Terminal=false
+Categories=Utility;
+StartupNotify=false
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Shutdown
+Comment=Shutdown the BUG.
+Exec=/sbin/shutdown 0 -h
+Icon=system-shutdown
+Terminal=false
+Categories=Utility;
+StartupNotify=false
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Suspend
+Comment=Suspend the BUG.
+Exec=/usr/bin/apm -s
+Icon=system-suspend
+Terminal=false
+Categories=Utility;
+StartupNotify=false

0 comments on commit 43686ad

Please sign in to comment.